How to access all the entries in path_collection under fileObject?
My use case:
1. User clicks on app integration, and Box passes the callback url with auth_code, file_id.
2. My app makes call the below call to get access token
https://api.box.com/oauth2/token { grant_type: 'authorization_code', code: auth_code, client_id: , client_secret: }
3. My app makes call the below call to get access token
https://api.box.com/2.0/files/${fileId} Headers: Authorization: Bearer
4. I get path_collection in the response object, but it just has the immediate parent folder under entries, not all the folders till root.
Am I missing something? like scope or some permissions? When I make the call from readme documentation site, it gives me all the entries in path_collection till the root folder.
-
,
You'll have better luck posting this to the Box Developer Forum. This is a general user and admin forum.
Best of luck,
Bob
サインインしてコメントを残してください。
コメント
2件のコメント