Getting the component details on stream level DNG
2 answers
Hi Minakshi,
If you're using global configs you may find what you need in the GCM REST API. There's also an experimental GCM Extension API that might be helpful as well. The example on that page uses OpenSocial gadgets.
If you know the URI of the DN component, a GET with appropriate Accept header will get you the details of the component.
Discovering all the version resources owned by that component will require some form of query. I'll let someone from the DN dev team answer more definitively. But you could try an OSLC query for requirements specifying an
oslc.where
expression that includes
oslc_config:component=<componentUri>
.
See OSLC 3.0 Core: Discovery for details how to discover services etc.
See OSLC 3.0 Query for details about OSLC Query.
Best regards,
David
David
Comments
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Oct 08 '21, 2:00 p.m.Minakshi Verma
Oct 11 '21, 5:03 a.m.