cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Translate the entire conversation x

How to query links through OSLC api?

RR_12247123
4-Participant

How to query links through OSLC api?

Hello,

 

I am following this document: https://support.ptc.com/help/codebeamer/r2.1/en/index.html#page/codebeamer/cb_dpt_integration/26334048.html%23 to do OSLC integration with Codebeamer server (2.2.0.1).

 

It mentions that "The Codebeamer Server supports application/x-oslc-compact+xml as the content type for allowing OSLC client applications to use content negotiation to access the Compact resource, as per OSLC Core Version 2.0." And it shows how to retrieve link information using that header.

 

But when I used this header, I got http status 406, and an error message "Request to .... has failed". If I switch back to "applicaiton/rdf+xml" then it returns the requirement without the compact resources information.

 

How can I retrieve link information please? Also is it possible to add a link via the OSLC interface?

 

Thank you very much for your help. 

0 REPLIES 0
Announcements


Top Tags