It's all about the answers!

Ask a question

How to fetch all project area, components in ETM using OSLC API?


Bharath Rao (915137) | asked Jun 20 '23, 2:00 a.m.

 Is there a way in ETM to fetch all the projects and components using OSLC API?

One answer



permanent link
Bharath Rao (915137) | answered Jun 20 '23, 2:10 a.m.

This question has been answered as part of https://jazz.net/forum/questions/272350.


Here are the specific OSLC APIs to fetch the details:

ProjectAreas:
OSLC Catalog contains details of the project areas in ETM.

Components and Configurations:
Use the OSLC Configuration catalog to review the query capabilities.

Fetching the OSLC Configuration catalog, we have the following query capabilities for Components and Configurations:

<rdf:Description rdf:nodeID="A19">
    <oslc:resourceType rdf:resource="http://open-services.net/ns/config#Component"/>
    <dcterms:title rdf:parseType="Literal">Default query capability for Component</dcterms:title>
  </rdf:Description>

<rdf:Description rdf:nodeID="A20">
    <oslc:resourceType rdf:resource="http://open-services.net/ns/config#Configuration"/>
    <dcterms:title rdf:parseType="Literal">Default query capability for Configuration</dcterms:title>
  </rdf:Description>

A GET on the querybase URL will provide the components / configurations available in ETM.

Note:
For any OSLC GET requests the following headers should be used
Accept: application/rdf+xml
OSLC-Core-Version: 2.0

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.