Fetching category and its attributes metadata
I need to fetch all categories and their attributes for further processing. I have problems with fetching category metainfo for understanding which attributes are in it. The most convenient way for fetching all categories and their attributes that I've discovered is to search through "api/v2/search" endpoint with OTSubType=131, and then, when receiving categories content as a stream, - try to parse it in convenient format(list of attributes metadata).
Question: is there any way to get the categories metadata(attribute types, names, etc.) as a JSON or some other simple structure instead of content stream?
Comments
-
Since there is no API to get Category Definition, you can try this
Create a WebReport as below with destination mime type set to
application/json
[LL_WEBREPORT_EXCLUDEHTML /] [LL_REPTAG_&category_id CATINFO:DEFINITION TOJSON /]
Then you can call this WebReport using AJAX, or use the Rest API for WebReport
/api/v1/nodes/{id}/output
0
Categories
- All Categories
- 109 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 122 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management