Listing DNG types using OSLC in context of component and stream
Hi Jazz Community,
I am aware that I can get list of artifact types, link types using DNG private api for particular project using
Is there a way to get list of artifact types and links in context of component and stream when CM is enabled.
Without any issue I can get list of artifacts but I need list of artifact types.
Thanks!
|
Accepted answer
Hi Bartosz,
in general retrieving artefacts/resources configuration-aware, you just need to add the Configuration-Context header with the configuration's URL to your request when fetching the type model:
Configuration-Context : https://.../rm/cm/stream/_I5GKcDzrEeWJpodFEUUUBg Alternatively, but the less prefered way, is to add a query parameter to the resource URL itself http://myserver/rm/types?resourceContext=<my_project_URL>&
Please see the Configuration Management Specification for more details. Bartosz Chrabski selected this answer as the correct answer
Comments
Bartosz Chrabski
commented Feb 06 '19, 6:17 a.m.
Thanks, I will checked the first option, because the second one was not working well when working with 6.0.4 |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.