Upgrade categories on a node
PUT {{baseUrl}}/v2/nodes/:id/categories/upgrade
Upgrade categories on a node to the latest category definitions. If the upgrade operation fails (because of insufficient permissions, or a category is already the latest version, etc) then nothing will happen to any of the categories on the node (ie. none of them will be upgraded).
NOTE: This can only be done using the 'body' parameter (see the [IMPLEMENTATION NOTES]).
Examples:
Upgrade the category 8479 on the node:body = {
category_id
:[8479] }
Upgrade the categories 8479 and 7534 on the node:body = {
category_id
:[8479,7534] }
Request Body
[{"name"=>"category_id", "value"=>"velit ad adipisicing", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"links":[{"data":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"data":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}]}