Get categories for specified version
GET {{baseUrl}}/v2/nodes/:id/versions/:version_number/categories?metadata=irure labore Duis dolor ea&suppress_response_codes=irure labore Duis dolor ea
Gets info on the categories on the specified version on the node. Use the metadata flag to get the category attribute ordering.
If the specified version does not have categories, the 'results' list will be empty.
If there are multiple categories on that version, they will be returned under the 'results' list in the order they were applied to that version.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
metadata | string | Returns metadata (data type, field length, min/max values, etc.) about data. This is an empty parameter, thus no value is required (e.g. ?metadata). | |
suppress_response_codes | string | Forces 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
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"links":[{"data":{"self":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},{"data":{"self":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}],"results":[{"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"}]}]}