It's all about the answers!

Ask a question

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


Sany Maamari (13243851) | asked Mar 26 '18, 3:08 p.m.

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


Comments
Donald Nong commented Mar 26 '18, 8:56 p.m.

What is the exact URL that you tried to access?


One answer



permanent link
Donald Nong (14.5k614) | answered Mar 29 '18, 10:54 p.m.

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.


Comments
Sany Maamari commented Mar 30 '18, 6:58 a.m.

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.


Donald Nong commented Apr 05 '18, 7:57 a.m.

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 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.