Get list of modules and their URI
Hi,
When I use https://servername:9443/rm/publish/modules/*?projectURI= to get the project modules,
I get the modules and their content.
Is it possible to get only the artifacts of type 'Module'?
How can I get the location of the module (the folder name + path)?
|
One answer
Ralph Schoon (63.1k●3●36●46)
| answered Aug 15 '19, 6:57 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER As far as I can tell https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI#Supported_artifact_formats allows to specify the artifact typeName or type URI as a parameter. For modues 'modules' seems to be the typeName.
https://server:port/rm/publish/[artifact_format]?typeName=name1&projectURI=id2
Comments
Oded Mozesh
commented Aug 15 '19, 7:02 a.m.
Thanks Ralph.
The issue is that I get all the descendant artifacts as well (i.e. the module content)
Since we have hundreds of modules I might get huge result.
I need only the modules themselves...
Is it possible to get the folder the module located in? |
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.