DNG OSLC API documentation
Hello all,
|
Accepted answer
The doc is not out of date as far as we know. But at the time it was provided, it was done to help out with some examples.
The OSLC start off set of discovery calls is always the same and has not changed over time.
The OSLC workshop at https://jazz.net/library/article/635 provides a primer with JAVA samples.
1) rm/rootservices
2) then the rm/oslc_rm/catalog which is where you will find the service providers for each project area
3) rm/<project area ID>/services.xml
From there you can a number of services that you can call and are further elaborated in the 1197 article.
Make sure you are using the right headers. OSLC-Core-Version: 2.0 and Accept: application/rdf+xml
Kazuki Nobutani selected this answer as the correct answer
Comments
Kazuki Nobutani
commented Jul 31 '18, 4:20 a.m.
Thank you. I followed the steps and I could create and modify artifacts!
1
Hello
I think this is because you are not using the right headers. I mentioned this in my previous post:
Make sure you are using the right headers.
OSLC-Core-Version: 2.0
Accept: application/rdf+xml
You are awesome. @ianbarnard you too.
|
One other answer
Ian Barnard (2.0k●6●13)
| answered Jul 26 '18, 8:09 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jul 26 '18, 12:24 p.m. I don't think the doc is out of date at that point, but the result may look different from the example shown. You are looking for tag oslc_rm:rmServiceProviders and the rdf:resource will then give you the RM Catalog e.g. (for my test environment, 6.0.5, checked just now) https://ibmjazz:9443/rm/oslc_rm/catalog - which then gives the list of projects in XML/RDF. |
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.