I am trying to get or generate permalinks to files in the box accounts of all users in a enterprise, regardless if the files are shared or not.
The REST API and the Java SDK I am using does not seem to provide such a link, only the shared link can be retrieved from them, but that link certainly only exists if the file is shared and is not really what I need.
So I examined the links that I see in the box UI when I browse the files. For example, when I use the admin console to browse the content of all users I get the following link for a specific file of a specific user:
When I log in as this user and browse the files I get the following link for the same file:
But I could not find out what the numbers 0 and 1 mean and how exactly this links can be built.
So now I have the following questions:
a) Is there a standard way to get this links via the REST API or (preverably) the Java Box SDK, when I know the files id?
b) If not, is there a documentation on how to built the links?
c) Do I have to use different links depending on if I try to access a users file as admin or if I try to access it as this user or can I use some kind of permalink that is valid for all users that can read the file?
I saw this posting but its about shared links which I can not use.
I hope it is understandable what I mean. Would be great if somebody can help me or hint me to some documentation on this.
Please sign in to leave a comment.