It's all about the answers!

Ask a question

How can I see "Implemented By" links in a REST API call?


Glyn Costello (1405555) | asked Jul 23 '21, 7:35 a.m.
edited Jul 23 '21, 7:36 a.m.

The Datasource Schema for a DNG Text Artifact has OSLC "Implemented By" link elements under 


Datasource > Artifact > Traceability > Links > ImplementedBy

...and during "Debug" mode in an RPE studio session, I can see the data coming through when configured. 

However, if I use the same datasource configuration and use a GET request using a browser-based API tester like Talend, I only see the Artifact links, not the "ImplementedBy" links. 

Am I missing some information or headers in the GET method? What is RPE doing differently to my manual method. 

One answer



permanent link
Bartosz Chrabski (3.4k22949) | answered Jul 23 '21, 8:46 a.m.

 Glyn,


Can you share what URL do you use to get the data?.

I used Talend as well as It is best solution to do this but links are displayed correctly.

Maybe your implemented by is base artifact link and you are getting data from in module context artifact?.

If yes then add this parameter: viewDisplayBaseProperties=true


Comments
Glyn Costello commented Jul 26 '21, 12:29 p.m.

 https://[SERVER]/rm/publish/text?resourceURI=[BASE TEXT ARTIFACT URI]&oslc_config.context=[CONFIG]


Bartosz Chrabski commented Jul 26 '21, 1:01 p.m.

Are you sure that oslc_oslc.context is the right one where you have the links? 

Your answer


Register or to post 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.