How to create Folder inside App
Hello All,
Is there a way to create folder inside the App that I created using developer account? The problem I'm facing here is related to the file which i'm uploading using JWT access token. The files are directly getting uploaded inside the app if I will give folder id as 0. If I create any other folder under All Files folder and use its folder ID then nothing happens. Only When I'm giving folder ID as 0 at that time the file is getting uploaded and that also inside the app. I checked collaborators and other security related to folder and it seems everything is in place. So just curious to know if there is a way to create a folder inside the app as that will make my work easier. Any suggestion here will be appreciated. Thanks in advance
-
Hello All,
I created an access_token via JWT authentication method. The file upload is also successful, but when I'm giving folder ID=0. Then instead of uploading to All Files folder its uploaded inside the app which i have created. If I created any other folder and give their ID's then nothing happens at all
-
Hi ,
Great question! The token for an application belongs to the service account:
https://developer.box.com/docs/user-types#section-service-account-user
If you want to impersonate another user, you can use the as-user header:
developer.box.com/reference
Or obtain an access token for a user directly:
https://developer.box.com/docs/work-with-users#section-generate-a-user-access-token
Thanks,
Jason
サインインしてコメントを残してください。
コメント
2件のコメント