Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

OSLC/REST API: Get a revision of a DNG artefact when using Configuration Management.

Hello all,
Is there a way to get a revision of a DNG artefact when querying it through REST.
I'm trying this query that either returns an HTTP 410 Gone with HTTP Header Accept: application/rdf+xml
or HTTP 403 Forbidden  with error message CRRRS4142E getInternalRequestHandlerService(context) returned null. This error used to report 'The requested service requires a private header'. when using HTTP Header Accept application/x-oslc-cm-change-request+xml

Am I missing a header or a query parameter ?
Thank you for your help

0 votes



One answer

Permanent link

I cannot reproduce what you described in my own DNG 6.0.5 iFix003a environment. As long as I add the private header, I can retrieve different revisions of the artifact using the said URL.

0 votes

Comments

Hello Donald,
Well yes, I supposed that their is a private header to add.
Can I get it from somewhere ?
Is it documented ?
Am I missing something in my query ?

In any case, thank you for your help.

The private header is DoorsRP-Request-Type:"private". It usually only appears in rm.log file, so it is not widely known. It gets mentioned in some documents.
http://www-01.ibm.com/support/docview.wss?uid=swg21685872
http://www-01.ibm.com/support/docview.wss?uid=swg1PI66345

P.S. For some strange and yet unknown reason, it no longer works for me. I may try to figure it out when I have more time.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,496

Question asked: Mar 26 '18, 3:08 p.m.

Question was seen: 2,816 times

Last updated: Apr 05 '18, 7:57 a.m.

Confirmation Cancel Confirm