We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
Mark L.45
9 years agoCollaborator | Level 9
shared app directory, exists but inaccessible to my app
Created an app, linked to a specific directory. Lets call it acme.
Create acme directory on my dropbox which I shared and placed some more directories and files within it.
Able to authenticate a...
Mark L.45
9 years agoCollaborator | Level 9
Yes, now I understand. Just tried it and it worked perfectly; will modify my app, this is a far better solution than creating links!! I find
mymac:acme1066 localuser$ pwd
/Users/localuser/Dropbox/Apps/acme1066
I created Monday, Tuesday, Wednesday etc within it and I list it with ..
curl -X POST https://api.dropboxapi.com/2/files/list_folder --header "Authorization: Bearer <REDACTED>" --header "Content-Type: application/json" --data "{\"path\": \"\",\"recursive\": false,\"include_media_info\": false,\"include_deleted\": false,\"include_has_explicit_shared_members\": false}"
{"entries": [{".tag": "file", "name": "Monday", "path_lower": "/monday", "path_display": "/Monday", "id": "id:-jRneIVvgyAAAAAAAAAAAQ", "client_modified": "2016-06-21T05:12:51Z", "server_modified": "2016-06-21T05:12:56Z", "rev": "14a2437b4", "size": 0}, {".tag": "file", "name": "Tuesday", "path_lower": "/tuesday", "path_display": "/Tuesday", "id": "id:L1y7LIaRepAAAAAAAAAAAQ", "client_modified": "2016-06-21T05:12:56Z", "server_modified": "2016-06-21T05:13:02Z", "rev": "24a2437b4", "size": 0}, {".tag": "file", "name": "Friday", "path_lower": "/friday", "path_display": "/Friday", "id": "id:14SCeRsPtOAAAAAAAAAAAQ", "client_modified": "2016-06-21T05:13:11Z", "server_modified": "2016-06-21T05:13:16Z", "rev": "54a2437b4", "size": 0}, {".tag": "file", "name": "Wednesday", "path_lower": "/wednesday", "path_display": "/Wednesday", "id": "id:1VmOHG4gINAAAAAAAAAAAQ", "client_modified": "2016-06-21T05:13:00Z", "server_modified": "2016-06-21T05:13:06Z", "rev": "34a2437b4", "size": 0}, {".tag": "file", "name": "Thursday", "path_lower": "/thursday", "path_display": "/Thursday", "id": "id:_X1Hb6Ty6VAAAAAAAAAAAQ", "client_modified": "2016-06-21T05:13:06Z", "server_modified": "2016-06-21T05:13:12Z", "rev": "44a2437b4", "size": 0}], "cursor": "AAH6ZRqDays_h4zJR0z1EgLGtQzbKadBnTqOSd_O-sOp4I8gVBWLKvP4PInbvHxLhQrttjnS6NfHNVyP61piiIbf8Hvxi2K8QoW_T3ykuCjLwb9k6kuBpJ9_KpluePvypAY", "has_more": false}
And it works perfectly!!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 hours agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!