Skip to main content
4-Participant
November 20, 2024
Question

How to query links through OSLC api?

  • November 20, 2024
  • 0 replies
  • 355 views

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.