It's all about the answers!

Ask a question

Fetch List of Views Programmatically from Configuration Context

jyoti mishra (45141) | asked Nov 15 '21, 6:25 a.m.

 Hello Everyone,

Is there OSLC API or Reportable REST API , to get all views from specific stream or baseline. The response should contain view UUID.

Thanks and Regards,

One answer

permanent link
Ian Barnard (1.9k613) | answered Nov 16 '21, 3:28 a.m.
edited Nov 16 '21, 3:37 a.m.

Hi Jyotl

1. One of the DOORS Next QueryCapability sections in services.xml is to OSLC query for views. AFAICT it doesn't use oslc.where so you have to filter the query results for the view you want. Also isn't used.

Work from rootservices to find the services.xml for a project/component in the configuration you're interested in - for an example of this see my answer here

Once you get to services.xml the query capability for views is identified by <oslc:resourceType rdf:resource=""/>, for example:
            <oslc_config:component rdf:resource=""/>
            <oslc:resourceType rdf:resource=""/>
            <oslc:queryBase rdf:resource="
            <dcterms:title rdf:datatype="">View Definition Query Capability</dcterms:title>
This is configuration-specific, so keep applying the oslc_config.context parameter or Configuration-Context header, and always use OSLC-Core-Version: 2.0.

2. The DOORS Next Reportable REST API returns content (e.g. resources) from views when using the viewName or viewURI filter. If using viewName then you don't need the view UUID. See


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.