Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to retrieve the Changeset file list via OSLC?

 using the url
https://test.com:9443/ccm/oslc/workitems/9315/rtc_cm:com.ibm.team.filesystem.workitems.change_set.com.ibm.team.scm.ChangeSet

can get ChangeSet ID.

But how to retrieve the Changeset file list via OSLC?

Not only is the name of the file or directory, but also need their relative path.

0 votes



One answer

Permanent link
I don't think the SCM OSLC API has ever been officially published. So we're getting into the "internal API" territory.

To get the relative path, we will need a "workspace", which I have not figured out how RTC picks it internally. Most of the internal APIs only return contents in JSON format so you will need to set request header "Accept: text/json". When you get a resource URI, you can follow it and get more details most of the time, but without knowing how to pick a workspace, there is no way to resolve the path of the involved files.

You can use network trace (Firebug/Chrome) to find out as many details as possible, in general.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,940

Question asked: Nov 17 '15, 6:02 a.m.

Question was seen: 2,463 times

Last updated: Nov 17 '15, 7:59 p.m.

Confirmation Cancel Confirm