Skip to main content

Set the node order

Log in to add to favourites
PUT/api/management/projects/{projectId}/nodes/{parentNodeId}/children/order

Parameters

NameParameter typeTypeFormatDescriptionExampleRequired
projectIdpathstringThe project identifier found in the project overview screen of the management consolemovieDbtrue
parentNodeIdpathstringuuidThe parent node identifier for the children which have an order.true
languagequerystringlanguageThe specified language for the node. If no value is provided then the menu order is removed for all languagesfalse

Responses

HTTP status codeReasonModel
204Success
401UnauthorizedError
404Project not foundError
404Parent node not foundError
422Language is invalidError
500Internal server errorError

Examples

The example below is setting the node order specifically for French.

JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
PUT: /api/management/projects/website/nodes/62722a79-4507-4969-b65e-f6c769ce1336/children/order?language=fr-FR [ "62722a79-4507-4969-b65e-f6c769ce1336", "9caa58f7-20f5-44ba-a493-685c88556644", "ba77f063-77c9-4416-af1a-8f5002650da3", "58277007-6c36-4d46-bdba-3ebb11809f9f", "59808362-5f55-4fa8-863f-7cc98c1dafca", "30be3bac-e671-41a3-af3e-e2acdebe39f1", "43224e9e-15a2-40fc-a41f-b239253cc6f1", "7ce5f200-9d7c-4025-bf5c-e611c1e3e6b4", "f30a1a70-1bea-4292-a7f8-7477b7943675", "c4c751ab-9e7d-4843-9458-f38a39ddbfab", "163129f1-f459-4ca5-a200-216778b487b1" ]

Remarks

Still need help?

New support request