It's all about the answers!

Ask a question

Reponse content from RRC DNG API

Rajat Krishnan (70116) | asked Aug 25 '22, 2:37 a.m.
I have 2 queries from this blog (Provide Artifact history)
  1. What is meaning of resource URI here in this api (https://server:port/rm/publish/resources?resourceURI=_c1cm0L3VEeCPFbe791FOoQ&history=true) is it artifact UUID ?
  2. What will be the content i will get in response to above API ? will i get Changeset details as well? because in blog, the description of Provide Artifact history is written in very generalized fashion
Thank you

2 answers

permanent link
Ian Barnard (1.9k613) | answered Aug 25 '22, 12:35 p.m.
edited Aug 25 '22, 12:47 p.m.

1.. As Rakesh says, yes it's the UUID

2..Try it for yourself. As of 7.0.2 you get history as a series of <history:changelog> tags with various content about the change. For opt-in projects you seem to get a link to the changeset abut I don't know if you'll get any useful info from that URL - the key points are already in the output: who made the change, when, what the new value is what the previous value is, etc.

One of the very convenient things about the DOORS Next Reportable REST API is that it doesn't need any special headers - if needed you can include the configuration in the URL and open it in a browser tab and you'll see the XML results, although bear in mind if the results exceed one page you'll only see the first page. If results are paged the ds:datSource tag contains attributes:

permanent link
Rakesh S (39112) | answered Aug 25 '22, 6:17 a.m.

Hi Rajath,

resourceURI=_c1cm0L3VEeCPFbe791FOoQ is nothing but the artifact UUID.

Running the below URL against the browser will result in the history/changes been done on the particular artifact.

Related forum for reviewing the changeset details Via API:

Hope this helps!

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.