It's all about the answers!

Ask a question

Access versioned object via URL


Thomas Pohl (1111) | asked Jul 02 '09, 11:28 a.m.
Is there a possiblity to access a file in a specific version using a URL (deep link)? Either direct on the browser or using deep link with the fat-client...



Thanks!

4 answers



permanent link
Thomas Pohl (1111) | answered Jul 03 '09, 7:33 a.m.
found a solution, but I'm not sure, how reliable this is ...

In the web ui for the source control, there is a "download" button for each file. This link is stateless and looks like this:

https://<host>:9445/jazz/service/com.ibm.team.filesystem.service.internal.rest.IFilesystemContentService/_KUPUoGVvEd6RMq94efcbMQ/_KU-7gGVvEd6RMq94efcbMQ/New%20Text%20Document%20(2).txt?itemId=_iymnMGb_Ed61Yr6HYC8asA&stateId=_wfiDdGe-Ed6RMq94efcbMQ

When removing the "stateId" it always provides the latest version of this stream.

To questions a left:
- Is this reliable?
- What about line-break conversion? Is the download web-app reaction on the target OS?

permanent link
Rob Logie (33825041) | answered Sep 07 '11, 12:43 a.m.
found a solution, but I'm not sure, how reliable this is ...

In the web ui for the source control, there is a "download" button for each file. This link is stateless and looks like this:

https://<host>:9445/jazz/service/com.ibm.team.filesystem.service.internal.rest.IFilesystemContentService/_KUPUoGVvEd6RMq94efcbMQ/_KU-7gGVvEd6RMq94efcbMQ/New%20Text%20Document%20(2).txt?itemId=_iymnMGb_Ed61Yr6HYC8asA&stateId=_wfiDdGe-Ed6RMq94efcbMQ

When removing the "stateId" it always provides the latest version of this stream.

To questions a left:
- Is this reliable?
- What about line-break conversion? Is the download web-app reaction on the target OS?


Was a answer ever found to this question ?

Thanks

permanent link
Thomas Pohl (1111) | answered Sep 07 '11, 3:24 a.m.
no. unfortunately no official answer.

permanent link
Geoffrey Clemm (30.1k33035) | answered Sep 07 '11, 12:57 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
In the Eclipse client, in the file Properties dialog box, there is an
advanced section you can open to see the various URL's for the file.
That should help you decide what are the official URL's (and if you want
access to that information from the WebUI, please submit an enhancement
request).

Cheers,
Geoff

On 9/7/2011 12:53 AM, roblogie wrote:
thpohlwrote:
found a solution, but I'm not sure, how reliable this is ...

In the web ui for the source control, there is a
"download" button for each file. This link is stateless and
looks like this:


https://<host>:9445/jazz/service/com.ibm.team.filesystem.service.internal.rest.IFilesystemContentService/_KUPUoGVvEd6RMq94efcbMQ/_KU-7gGVvEd6RMq94efcbMQ/New%20Text%20Document%20(2).txt?itemId=_iymnMGb_Ed61Yr6HYC8asA&stateId=_wfiDdGe-Ed6RMq94efcbMQ

When removing the "stateId" it always provides the latest
version of this stream.

To questions a left:
- Is this reliable?
- What about line-break conversion? Is the download web-app reaction
on the target OS?

Was a answer ever found to this question ?

Thanks

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.