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

How can i get file with the help of UUID

Hello,

   I am having  File UUID and with the help of this UUID i want to download file from server using plain java Api.

  or is there any way to get the File web link using this UUID ? 

  If some more details required then let me know.

Regards,
Vikas
 
 

0 votes



One answer

Permanent link
Hi Vikas,

It is possible to use the UUID of the file to build a web link.  Notice if you access a file from the web, the UUID is in the URL:
https://mkivisto.canlab.ibm.com:9443/ccm/web/projects/SCM%20Workshop#action=com.ibm.team.scm.browseElement&workspaceItemId=_5KSp6-3OEeSPSe3NHeogNQ&componentItemId=_4M_vW-2zEeSPSe3NHeogNQ&itemType=com.ibm.team.filesystem.FileItem&itemId=_4g-EoCmSEeW2AYtWIdydbw

I was playing around a bit and i wasn't able to remove any of the elements of the URL, but I didn't try all combinations.  Also note, I got to this URL by navigating from Source Control > Stream > myStream > myComponent > myFile

Edit to add:  I'm not super familiar with the Java API to give you pointers, but you should be able to use the UUID to get the file.

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

Question asked: Jul 15 '15, 7:16 a.m.

Question was seen: 2,125 times

Last updated: Jul 15 '15, 9:16 a.m.

Confirmation Cancel Confirm