DNG Query to read all attributes of all the child resources in the module
When Module has 10 child resources, I need to fire 21 REST Queries to read all the attributes of the child resources.
GET: https://hostname/rm/publish/resources?resourceURI=moduleUUID&oslc_config.context= streamUUID
For each resource returned in the previous call, get the attributes from:
GET: https://hostname/rm/publish/resources?resourceURI=resourceUUID&oslc_config.context= streamUUID
For each resource returned in the first call, get the Primary Text from:
OSLC GET: https://hostname/rm/resources/resourceUUID?oslc_config.context= streamUUID
Can I do this with one query, which will return one big xml with all attributes & primary text of all child resources.
|
One answer
Ian Barnard (2.0k●6●13)
| answered Apr 15, 7:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Check the API page DNGReportableRestAPI < Main < TWiki (jazz.net) for 'filter by module' to see how to do this Comments
Chidambaram L
commented Apr 15, 7:35 a.m.
'filter by module' returns all child resources of the module & all attributes of the Child resources, except Primary Text.
Is it possible to get Primary Text into this response.
Hadn't noticed that - rarely have Name<>Primary Text. Don't think it's possible to include. Another method to get bulk data is to use OSLC Query. |
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.