Get all RM artifacts that have links of any type / specific type
Accepted answer
You can also use the URL https://host:port/rm/links?private=true to get all the "links" in RM. For each item in the response, the "subject" is the source artifact, "predicate" is the link type, and "object" is the target artifact.
Comments
Great, Thanks.
Is there possibility to refine the query to specific project?
Oded
Since the request requires a private header, it is not a published interface. I have not been able to figure out what other parameters it will take, except for "sourceOrTarget" (which limit the result to the resource specified by the parameter).
2 other answers
Hi,
Check https://jazz.net/library/article/1197, section "...For queries that are based on a link type that is linked to a specific URL ...." for specific types.
Best Regards.
Check https://jazz.net/library/article/1197, section "...For queries that are based on a link type that is linked to a specific URL ...." for specific types.
Best Regards.