Alpaca form(s) for updating a node
GET {{baseUrl}}/v1/forms/nodes/update?id=-11141396&role=in laboris magna&role=in&{attribute_name}=aliquip aute&suppress_response_codes=irure labore Duis dolor ea
Gets the Alpaca form(s) for updating a node. The metadata state token (for edit conflict resolution) on the node data will be under data.metadatatoken. The category-specific metadata state tokens will be on the categories form (rolename: categories) under data.{category ID}.{category ID}1.metadatatoken
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
id | number | (Required) The ID of the node that will be updated | |
role | string | If roles are specified then only forms for these roles are returned (e.g. role=categories&role=versionscontrol). | |
role | string | If roles are specified then only forms for these roles are returned (e.g. role=categories&role=versionscontrol). | |
{attribute_name} | string | Value for the Additional Node Attribute | |
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
{"forms":[{"data":{},"options":{},"schema":{}},{"data":{},"options":{},"schema":{}}]}