Access versioned object via URL
4 answers
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?
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?
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
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:
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