Alpaca form for updating a category on a node
GET {{baseUrl}}/v1/forms/nodes/categories/update?id=-11141396&category_id=-11141396&suppress_response_codes=irure labore Duis dolor ea
Gets the Alpaca form for updating a single category applied to a node. The metadata state tokens (for edit conflict resolution) will be under data.{category ID}1.metadatatoken
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
id | number | (Required) The ID of the node | |
category_id | number | (Required) The ID of the category | |
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
{"data":{},"options":{"options":{},"form":{"attributes":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"renderForm":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"schema":{"schema":{},"type":"ad mollit consequat proident eiusmod"}}