We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
PIttsburgh Menn
10 years agoNew member | Level 1
How to retrieve Shared Folder and Modifier information in /metadata call
I'm having issues with the shared_folder and modifier fields being returned in /metadata. I can't seem to get the API to return anything for shared_folder, and modifier always comes back as null. ...
PIttsburgh Menn
10 years agoNew member | Level 1
I've edited out any tokens / unique identifiers with dashes. Let me know if you need the hashes or revs and I can open a private ticket.
This is the request from Fiddler:
GET https://api.dropbox.com/1/metadata/auto/Test?include_deleted=False&include_membership=True HTTP/1.1
Authorization: Bearer ---------------
Accept: application/json, application/xml, text/json, text/x-json, text/javascript, text/xml
User-Agent: RestSharp/104.4.0.0
Host: api.dropbox.com
Accept-Encoding: gzip, deflate
Connection: Keep-Alive
Here is the response:
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 22 Apr 2015 18:31:00 GMT
Content-Type: application/json
Connection: keep-alive
x-content-type-options: nosniff
set-cookie: gvc=-------------------; expires=Mon, 20 Apr 2020 18:31:00 GMT; httponly; Path=/; secure
x-server-response-time: 87
x-dropbox-request-id: ----------------
pragma: no-cache
cache-control: no-cache
x-dropbox-http-protocol: None
x-frame-options: SAMEORIGIN
Content-Length: 690
{
"read_only":false,
"hash":"--------------------",
"revision":1615,
"bytes":0,
"thumb_exists":false,
"rev":"----------",
"modified":"Tue, 14 Apr 2015 21:43:04 +0000",
"size":"0 bytes",
"path":"/Test",
"is_dir":true,
"modifier":null,
"root":"dropbox",
"contents":[
{
"rev":"--------------",
"thumb_exists":false,
"path":"/Test/Training Relevant Courses.txt",
"is_dir":false,
"client_mtime":"Tue, 21 Apr 2015 23:21:29 +0000",
"icon":"page_white_text",
"read_only":false,
"modifier":null,
"bytes":2947,
"modified":"Tue, 21 Apr 2015 23:21:29 +0000",
"size":"2.9 KB",
"root":"dropbox",
"mime_type":"text/plain",
"revision":1617
}
],
"icon":"folder"
}
Thanks for the help.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,876 PostsLatest Activity: 5 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!