How can we pull category information via the REST api?
Hi Paul,
Thank you for posting your question on AppWorks Developer.
The APIs to access categories and attributes of Content Server objects are not available yet. This is expected in a future release.
Thanks,
Werner
This functionality is not available yet. The data and their structure have not been finalized yet. The UI Widgets released in December do show a limited subset of metadata, though. You'd see the calls on the network web browser panel when the properties dialog is opened.
I understand that you're working on a proof of concept and you need just some way to make the information appear. The internal API request the UI Widgets use is /forms/info?id={node_id}, but I can assure you that it is going to change. (The upcoming 2014.06 CS releases will include the final API.)
/forms/info?id={node_id}
The response complies to the JSON Schema - this is going to stay - and is processed by the Alpaca library, if you needed to understand the response better. Currently, the first object contains general data and the second one the categories. You should be able to figure out how the category ID and attribute number connect the data, schema and options objects and how the information is nested by inspecting the JSON response. Good luck!
data
schema
options
Thanks so much Ferdinand!
Are the changes for the 2014-06 release going to be for 10.0 or just 10.5? -Hugh
Yes, they are. However, they are delayed and will be released after the 2014.06 as a patch. Our current plan is the end of July.