Create a node
Log in to add to favouritesPOST/api/management/projects/{projectId}/nodes/{parentNodeId}/children
Parameters
Name | Parameter type | Type | Format | Description | Example | Required |
---|---|---|---|---|---|---|
projectId | path | string | The project identifier found in the project overview screen of the management console | movieDb | true | |
parentNodeId | path | string | uuid | The parent node identifier for the children which have an order. | true | |
node | body | object | node | The node object to update | true |
Responses
Examples
An example of posting all fields to create a node
1234567891011121314151617181920
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
12345678
POST: /api/management/projects/website/nodes/f3322e4f-72b5-4064-be88-fcfed6c82635/children
{
"parentId": "f3322e4f-72b5-4064-be88-fcfed6c82635",
"displayName": {
"en-GB": "Fight club"
}
}