Is there a URL to link to the latest version of an asset in RAM?
Hello,
We would like to setup some static web pages we have with links into RAM for some documentation we want to manage there. However, we would like the links to point to the latest version of the particular asset, rather than requiring a particular version number within the URL. For example:
http://svljazz14.svl.ibm.com:9080/ram/oslc/assets/EED4C42C-0663-3F78-15D6-A75029054887/1.1
points to version 1.1 of the asset, but I would like to do is:
http://svljazz14.svl.ibm.com:9080/ram/oslc/assets/EED4C42C-0663-3F78-15D6-A75029054887/LATEST
The above doesn't work. However, I stumbled upon:
http://svljazz14.svl.ibm.com:9080/ram/oslc/assets/EED4C42C-0663-3F78-15D6-A75029054887/*
which does seem to work, but I haven't found any documentation to support that it is correct. Can anyone confirm that this is a supported way to link to the latest version of an asset?
Thanks,
Chris
We would like to setup some static web pages we have with links into RAM for some documentation we want to manage there. However, we would like the links to point to the latest version of the particular asset, rather than requiring a particular version number within the URL. For example:
http://svljazz14.svl.ibm.com:9080/ram/oslc/assets/EED4C42C-0663-3F78-15D6-A75029054887/1.1
points to version 1.1 of the asset, but I would like to do is:
http://svljazz14.svl.ibm.com:9080/ram/oslc/assets/EED4C42C-0663-3F78-15D6-A75029054887/LATEST
The above doesn't work. However, I stumbled upon:
http://svljazz14.svl.ibm.com:9080/ram/oslc/assets/EED4C42C-0663-3F78-15D6-A75029054887/*
which does seem to work, but I haven't found any documentation to support that it is correct. Can anyone confirm that this is a supported way to link to the latest version of an asset?
Thanks,
Chris
Accepted answer
If you use the link provided from the asset details 's "general details" link, it will be a form like this:
assetDetail/generalDetails.faces?guid=8CAE4066-F665-E80A-D923-94DB0A23607C&v=1.0
If you remove the &v=1.0 (the version), it will link to the latest asset version (given that the version is in a numeric "." form.
assetDetail/generalDetails.faces?guid=8CAE4066-F665-E80A-D923-94DB0A23607C&v=1.0
If you remove the &v=1.0 (the version), it will link to the latest asset version (given that the version is in a numeric "." form.