user2137279
user2137279

Reputation: 21

How to get all users that can acces or view a file?

I need to get all users that have view permissions over a file. I´m watching this http://developers.box.com/docs/, but only can see the creator, the owner and the last user who modified the file. Is there any way to get this? Thanks, Cristian

Upvotes: 1

Views: 110

Answers (1)

seanrose
seanrose

Reputation: 8685

Permissions in Box are handled on the folder level. In order to figure out what users have access to a given file, you would need to get the 'collaborations' on its parent folder e.g. for file 123 contained in folder ABC I would do

GET https://api.box.com/2.0/folders/ABC/collaborations

Upvotes: 1

Related Questions