It's all about the answers!

Ask a question

Why am I getting retrieving some artifact revisions in DNG?

Robert Huet (23112078) | asked Feb 01 '18, 2:26 p.m.

I am using the REST API to retrieve the primary text from specific artifact revisions in DNG (6.0.4).

To get the revision URI links I use the published "resources" REST query with "history=true".  In the browser, these URI links will navigate to the revision text in the DNG UI.

However, if I use the following HTTP Request Headers, I can get the revision html content for some revisions:
Accept: application/rdf+xml
Content-Type: application/rdf+xml
DoorsRP-Request-Type: private
X-jazz-downstream-auth-client-level: 4.0

Unfortunately, some of the revisions are returning a 410 error (  Below are examples of the REST queries I'm making.  

Earliest revision (returns 200):

Next revision for same artifact (returns 410).  However link will navigate to revision in UI, so it is not gone.

Be the first one to answer this question!

Register or to post your answer.