Up - API Reference - Home
Requires JWT.
Rename an ordering.
POST /api/p/<project gid>/orderings/update
Authorization: Bearer <JWT>
{
"ordering": "f6c547a3-23ec-4e70-92bc-1826ae53570a",
"name": "Documentation Ordering"
}
Authorization: <JWT>
{
"success": true,
"result": {
"project": "<project gid>"
},
"data": {
"cc.projects": {
"<project gid>": {
…,
"options": {
"orderings": {
"87b53a4e-359d-45c7-81cb-5e1c3ef444ec": "Catalog",
"e4c44479-56ca-47c0-b1f1-9acf40ee3459": "Webshop",
"f6c547a3-23ec-4e70-92bc-1826ae53570a": "Documentation Ordering"
},
…
},
…
}
}
}
}
project
the current project.
cc.projects
Project updated with renamed ordering.
400
Bad request - missing parameters or wrong type or value
401
Unauthorized - missing or expired JWT
403
Forbidden - not a member of this project