It's all about the answers!

Ask a question

How to get Stream details in DNG

K P (453) | asked Jul 01 '22, 1:47 a.m.

 Hi Team,

I am using DNG I want to fetch all the streams created under DNG using any reportable API.
After fetching the streams, I want to fetch reviews under particular stream using stream resource URI.
Can anyone help me on the same?


One answer

permanent link
Ralph Schoon (61.8k33643) | answered Jul 01 '22, 7:28 a.m.
edited Jul 01 '22, 7:29 a.m.
I am unsure what your expectations are. This is a forum and there are limits what can be done. Especially questions like yours "I want to use some API to do something complex, can you tell me how" are often beyond what can be done.

I do not want these to sit around as unanswered however, so here some hints:

Here is the API landing page consider to look it up .
DNG has several APIs. The API you are likely interested in are the Reportable REST API or the OSLC RM API.

I do not know if these APIs provide what you want. I have recently played with the OSLC API and it is possible to discover all the configurations in a project area (that includes the streams). Once you have those you could try to access details. It is not a given that you can access what you want though.

I have, long time ago, written and there is source code available you can try using to understand how to get the configurations. Unfortunately the technology Eclipse LYO used in that example is not easy to understand how the communication works. 

There have been many questions around the reviews, even recently, You might want to search for those.

My best strategy to search for answers is using the following question type:
Google some question I have

Your answer

Register or to post your answer.