ReferenceModel
Create a folder or a model
POST
Creates a folder or an empty model in a folder of the tenant of the request, as the 3.x new_folder and new_file do; a model gets a new uuid, and its diagram is saved apart. Requires the 3.x authority 2.1.3 or 2.1.4.
bearerheader
AuthorizationBearer <token>The token of a session that createSession opened
The parent folder, name, and kind
application/json- body
isFolder?booleanTrue for a folder, false for a model
name?stringName of the node, up to 255 characters
parentId?integerId of the folder that will hold the node
Format
int64The created node; Location names it
application/json- response
id?integerFormat
int64isFolder?booleanname?stringparent?The folder that holds the node; absent on a root
curl -X POST 'https://bpms.bpms.work/api/v1/model/nodes' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": 0, "isFolder": true, "name": "string", "parent": { "id": 0, "isFolder": true, "name": "string" }}