It's all about the answers!

Ask a question

OSLC/REST API for fetching details about Changeset in DNG/ERM in java


Rajat Krishnan (722223) | asked Aug 17 '22, 2:30 a.m.
Hello,
I am looking for an API using which i can view details of a particular changeset like
  • what artifacts are changed
  • type of artifacts
  • Changeset linked workitem,....
Could you please help me here
I can see an under web inspect an API but not sure whether it will be compatible with java
API : https://port-server/rm/queryvvc/changesetresources?vvc.configuration=https://port-server//rm/cm/stream/_0VANljWQEeyIq_xC-8aqNw&changeSetUri=https://port-server//rm/cm/changeset/_3HkToJ6-EeyewK14D7-PnA&page=0

But here also if i hit this api ,we are just getting the changed artifact name and url of artifact not what content was changed and other details like linked workitems, artifact type

Thank you

Comments
Ian Barnard commented Aug 17 '22, 5:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

This is an internal API. 


Rajat Krishnan commented Aug 17 '22, 6:37 a.m. | edited Aug 17 '22, 6:40 a.m.
Hello @Ian Barnard,
So do we have any API apart from this using which i can achieve my usecase?
I have also created one more thread connecting to this

I think this will help you in understanding my pain area and what exactly i am looking for
Thank you

One answer



permanent link
Ralph Schoon (63.7k33648) | answered Aug 17 '22, 10:51 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 For all I know, these are the APIs that are public: https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding

There are a few additional ones e.g. how to create a change set and iterate configurations, however I am not aware of an API that is published and would allow deep analysis or compare of configurations.


Comments
Rajat Krishnan commented Aug 18 '22, 4:10 a.m.
@Ralph Schoon,
Yes agree with you, we have very limited API's available in terms of detailed Schema Comparison of 2 configuration for DNG/ERM but we came across one of the API which possibly providing us all the required details but only the concern is somehow the elements in response file are not properly interlinked with each other.
where i have provided the API and the outcome from it also also the open point
Thank you

Ralph Schoon commented Aug 18 '22, 4:46 a.m. | edited Aug 18 '22, 4:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

As Ian already told you, the API in this thread is an internal API that is not documented.

If you use that, you are on your own and out of support, in case anything bad happens.

It is easy enough to reverse engineer the Web UI's these days, that does not mean you should or you would be covered if anything harmful happens. 

Also, internal APIs can change any time without warning.

With respect to your other question: I do not know right away if that is a public API. If you have a documentation reference, please let us know. Until then I assume it is internal. Regardless what your open points are, we can not answer questions to internal APIs.


Ralph Schoon commented Aug 18 '22, 4:51 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Rajat Krishnan commented Aug 18 '22, 6:54 a.m.
Hello @Ralph Schoon,
I know its an internal API , but my question is not whether we have any documentation available for internal API , My question is
  1. do we have any OSLC API or Reportable REST API available for Changeset?
  2. If i hit Diff API for comparing 2 Local Baseline , then i will get a xml file with two tags i.e.</ds:changeSet> & </ds:artifact> but now how to do i identify relationship between changeset and artifacts meaning how do i know that which artifact is part of which changeset ?  incase of multiple changeset & artifacts as shown below
Image

1
Ralph Schoon commented Aug 18 '22, 7:21 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

This is the API landing page that points to the available public APIs: https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding


I do not know all details of the reportable REST API and will not be able to help much.


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.