Create a node
Log in to add to favouritesPOST/api/management/projects/{projectId}/nodes/{parentNodeId}/children
Parameters
Name | Parameter type | Type | Format | Description |
---|---|---|---|---|
projectId(required) | path | string | - | The project identifier found in the project overview screen of the management console. |
parentNodeId(required) | path | string | uuid | The parent node identifier for the children which have an order. |
node(required) | body | object | node | The node object to update |
Responses
Examples
An example of posting all fields to create a node
POST: /api/management/projects/website/nodes/f3322e4f-72b5-4064-be88-fcfed6c82635/children
{
"id": "d6bdea41-729c-4a07-85bf-a392aa0afc2b",
"parentId": "f3322e4f-72b5-4064-be88-fcfed6c82635",
"displayName": {
"en-GB": "Fight club",
"fr-FR": "Club de combat"
},
"slug": {
"en-GB": "fight-club",
"fr-FR": "club-de-combat"
},
"restrictedToLanguages": [
"en-GB",
"fr-FR"
],
"entryId": "9272ac06-1b3a-4e68-ac1b-a05828b0f7d6",
"includeInMenu": true
}
Minimum fields required to create a node
POST: /api/management/projects/website/nodes/f3322e4f-72b5-4064-be88-fcfed6c82635/children
{
"parentId": "f3322e4f-72b5-4064-be88-fcfed6c82635",
"displayName": {
"en-GB": "Fight club"
}
}