It's all about the answers!

Ask a question

How get text content of artifact from history in RDNG with OSLC/REST

Dmitry A. Lesin (21012543) | asked Nov 02 '17, 10:40 a.m.
edited Nov 02 '17, 10:44 a.m.
Is any way to get text data for Rational DOORs Next Generation text artifact with OSLC or Reportable API?
I was trying to get history of an artifact with:
It gives a history of entries with such data as:
<history:oldValue type="url">
<history:value type="url">
But I can not get text content with these values from an external program.
If I do a request for revisions:
So I can not find text data there.
May be somebody realized the same ever. If it's available, can somebody give a little advice how to do it correctly? If not possible, so could you confirm it? 
My question is made after investigating of other questions:
But I can not find there clear answer to my question!
Thank you very much in advance!

One answer

permanent link
Benjamin Silverman (4.1k59) | answered Nov 02 '17, 3:17 p.m.

Hi Dmitry,

I think your best bet is using the "history" parameter as described in one of the other posts you mentioned.  This ends up using the reportable REST API, for example:


Dmitry A. Lesin commented Nov 03 '17, 1:23 a.m.

Hi Benjamin,

Thank you for quick answer! But the problem is that I applied this parameter, and I can not extract text data from the response's data. The response returns such attributes as:

<history:oldValue type="url">
<history:value type="url">

But I don't know how extract their values with a typical GET request. I can only input them in address field of a browser and open the related web page but not more.

Your answer

Register or to post your answer.