Status: Open
Status: Answered
Status: Closed
Status: Duplicate

Get categories attributes using REST

0
Posted Jul 05 by Cristian Suciu.

Hi,

"GET /api/v1/ping" returns

{"rest_api":[{"build":2,"href":"api\/v1","version":1}]}

If I do a "GET /api/v1/nodes/{category_id}/content" the body contains all the attributes in some format, ex:

"… <1,?,'DisplayName'='attDateField','FixedRows'=true,'ID'=2,'MaxRows'=1,'NumRows'=1,'Required'=false,'Search'=true,'TimeField'=false,'Type'=-7>…"

  1. Is there any documentation about this format?
  2. Are there any other REST calls to get the same info in JSON, directly from the category object?

"GET /api/v1/nodes/{doc_id}/categories/{cat_id}" returns all the category attributes but I need to know them before applying a category to a document.

Regards,
Cristian

1 Answer

0
BEST ANSWER: As chosen by the author.

The answer is:

GET /api/v1/forms/nodes/properties/specific?id={category_id}


 You have subscribed and will receive email notifications of updates to this topic. To unsubscribe, uncheck the checkbox.

Statistics

Your answer

To leave an answer, please sign in.