-
Type:
Sub-Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Inactive
-
Affects Version/s: 2.0.0
-
Fix Version/s: Someday
-
Component/s: Projects > Common
-
Labels:
For remote editor input support for editor in IDE-625 we can potentially use Journal** APIs for
Structures
Get companyId
/company/get-company-by-virtual-host?virtualHost='localhost'
Get userId
/user/get-user-by-email-address?companyId='10153'&emailAddress='[email protected]'
Get user sites
/group/get-user-sites
Get structures
/journalstructure/get-structures?groupId=10179
Update structure
/journalstructure/update-structure?groupId=''&structureId=''&parentStructureId=''&nameMap=''&descriptionMap=''&xsd=''
Templates
GetStructureTemplates
/journaltemplate/get-structure-templates?groupId=''&structureId=''
Update Template:
curl http://localhost:8080/api/secure/jsonws/journaltemplate/update-template \
-u [email protected]:test \
-d groupId=10179 \
-d templateId='10434' \
-d structureId='10428' \
-d nameMap=
\
-d descriptionMap={} \
-d xsl='abc123' \
-d formatXsl=true \
-d langType='vm' \
-d cacheable=true