It's all about the answers!

Ask a question

How to retrieve the Changeset file list via OSLC?

DAVID GUO (35413) | asked Nov 17 '15, 6:02 a.m.
 using the url

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.

One answer

permanent link
Donald Nong (14.5k414) | answered Nov 17 '15, 7:59 p.m.
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.

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.