How to create a link to a folder for existing collaborators? (Not creating a shared link)
I am writing a web app that integrates with Box, and I want to include a link to a folder that I know the current user is alreadya collaborator on.
I do not need a "shared link" (and I don't want to create one) as I don't need to give access to the folder, just to allow them to navigate their browser to it.
I can see that right now I could create a link to http://box.com/folder/{folderId} (which will then redirect to the correct box enterprise subdomain). However, I cannot find this documented anywhere, so I presume it is subject to change without warning.
I see in this old developer forum post that the URL structure used to be different: https://community.box.com/t5/Developer-Forum/Understanding-a-files-URL-when-viewed-in-Box/m-p/18509/highlight/true#M493 - so there's precedent for it to change. (I presumeit changed when moving from the "old experience" to the "new experience".)
So my questions are:
- Is there any official way to get a link like this?
- If not, can the current path structure be officially documented so I can know I can rely on it? (Doc request)
- Even better: can the folder object in the REST API have a "url" field (or perhaps named differently to make it clear that it's for existing owner/collaborators) so I can use that to get the correct URL to link to? (Feature request)
Please sign in to leave a comment.
Comments
0 comments