JAVA API to retrieve repository url from the sandbox
Hi,
Accepted answer
There is no Java/REST API that is available to gather this information. There is an unofficial way to manually find out which repository this is from however. Navigate to <sandbox>/.jazz5 and open up the binary file called '.descriptors.dat' in a text reader and search for "http", this should reveal the repository URL that the content was loaded from. Somewhere to the right of that you should also see the name of the repository workspace that it was loaded from (Note: be aware that it's possible the repository workspace has since been renamed or deleted from the repo however)
Comments
Thank you David.
Hello David,
There is an internal API. This file is a serialized instance of the class com.ibm.team.filesystem.client.internal.SharingDescriptorsMap.