Get categories for specified version

GET {{baseUrl}}/v1/nodes/:id/versions/:version_number/categories?fields=aliquip aute&expand=aliquip aute&expand_fields=aliquip aute&suppress_response_codes=irure labore Duis dolor ea

Gets info on the categories on the specified version on the node. If the specified version does not have categories, the return data structure(s) will be empty.

Request Params

KeyDatatypeRequiredDescription
fieldsstringExclude all fields except the one(s) that are specified (e.g. fields=data&fields=definitions).
expandstringExpand all fields that belong to the specified persona (e.g. expand=node&expand=member).
expand_fieldsstringExpand specified field. Note: field must belong to a persona (e.g. expand_fields=id&expand_fields=owner_user_id).
suppress_response_codesstringForces the server to always return a HTTP Response of '200 OK'. The data returned from the call will have an additional integer feature named 'statusCode', which will contain the actual status code (the 'statusCode' feature will be added regardless of whether the REST API call was successful or not).<br><br>NOTE: This parameter does not require a value, so it should be specified as <ul><li><b>[Query String]:</b><code>?suppress_response_codes</code></li><li><b>[Form Body (where the value is an empty string)]</b>: <code>suppress_response_codes = </code></li></ul>

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;{attribute_key}&quot;:&quot;occaecat non dolor mollit&quot;},{&quot;{attribute_key}&quot;:&quot;sint qui cupid&quot;}],&quot;definitions&quot;:{&quot;type&quot;:&quot;object&quot;},&quot;definitions_order&quot;:[&quot;commodo sed&quot;,&quot;officia&quot;],&quot;definitions_map&quot;:{}}