Explorer API
The API for managing the folders and documents in the explorer tree.
Creating a New Document
The explorer API is responsible for creation of all document types. The explorer API is used to create the initial skeleton of a document then the API specific to the document type in question is used to update the document skeleton with additional settings/content.
This is an example request file req.json
:
{
"docType": "Feed",
"docName": "MY_FEED",
"destinationFolder": {
"type": "Folder",
"uuid": "3dfab6a2-dbd5-46ee-b6e9-6df45f90cd85",
"name": "My Folder",
"rootNodeUuid": "0"
},
"permissionInheritance": "DESTINATION"
}
You need to set the following properties in the JSON:
docType
- The type of the document being created, see Documents.docName
- The name of the new document.destinationFolder.uuid
- The UUID of the destination folder (or0
if the document is being created in the System root.rootNodeUuid
- This is always0
for the System root.
To create the skeleton document run the following:
This will create the document and return its new UUID to stdout.
Last modified November 13, 2024: Merge branch '7.4' into 7.5 (03eacad)