How to use box-api to get the Shared item?

ぐ巨炮叔叔 提交于 2019-12-24 08:18:29

问题


Can I have a example of how to use the box-api V2 for getting the shared item details using shared link api.

For example, if the folder is shared for public

1. Do I need use authorization in calling the API get the folder details ?

Thanks,


回答1:


You'll want to check out the documentation for generating shared links (http://developers.box.com/docs/#files-create-a-shared-link-for-a-file) and getting information about files and folders.

If you have access to the file, you can 'Get Information About a File' to determine if the shared link is enabled or not. It will be Null if no, provide a web URL or download URL if it's enabled, as well as if it's a 'Open,' 'Company,' or 'Collaborators Only' link.

If you don't own or have access to the file but do have a shared link to it, though, you might also want to check out this documentation. http://developers.box.com/using-shared-items/



来源:https://stackoverflow.com/questions/15004157/how-to-use-box-api-to-get-the-shared-item

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!