How to retrieve all attributes for a DNG component using REST/OSLC?
I am trying to retrieve a list of all attributes (custom) defined in a DNG component.
I tried using the Reportable REST API with the following endpoint:
but this gives all the attributes in the entire project area, i want it only for a particular component.
Accepted answer
You can try this:
https://<server>/rm/types?resourceContext=https://<server>/rm/rm-projects/<ProjectItemID>&componentURI=https://<server>/rm/rm-projects/<ProjectItem ID>/components/<ComponentItemID>&oslc_config.context=<LinkToConfiguration>&accept=*&private=true
One other answer
7.1 now provides an API for types - see the link at bottom of this page https://jazz.net/wiki/bin/view/Main/DNGServerAPI