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
One answer
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
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.
Comments
Donald Nong
Mar 26 '18, 8:56 p.m.What is the exact URL that you tried to access?
Sany Maamari
Mar 29 '18, 1:34 p.m.Hello Donald,
I'm using this URL
https://jazz-server:9443/rm/resources/CAV_efdb55f040bc4dfca2d9c10ea2d9ef89?revision=_xivk0S3rEeiZxrtce45PMA&vvc.version=true
I'm getting it from this URL
https://jazz-server:9443/rm/publish/revisions?resourceURI=https://jazz-server:9443/rm/resources/CA_299a87523905457bb608a1bc0eadbff0&history=true
Thank you for your help