We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
Ashley B.15
8 years agoHelpful | Level 7
include_has_explicit_shared_members returns false
Hi, I was wondering if there was any documentation around include_has_explicit_shared_members? Should this return true for the following example I have a shared folder with a number of files. I...
- 8 years ago
Hi Ashley, "include_has_explicit_shared_members" is a parameter that you can set on some endpoints, such as /2/files/get_metadata. The documenation there documents it as:
"include_has_explicit_shared_members Boolean If true, the results will include a flag for each file indicating whether or not that file has any explicit members. The default for this field is False."
If you click on the "FileMetadata" return type to expand it, you'll also see the corresponding "has_explicit_shared_members" response field, which is documented as:
"has_explicit_shared_members Boolean? This flag will only be present if include_has_explicit_shared_members is true in list_folder or get_metadata. If this flag is present, it will be true if this file has any explicit shared members. This is different from sharing_info in that this could be true in the case where a file has explicit members but is not contained within a shared folder. This field is optional."
You asked about what "include_has_explicit_shared_members" would return, but that's the argument, not part of the response. To summarize though, "has_explicit_shared_members" will only be returned if you did set "include_has_explicit_shared_members" to true in the call, and then the value of "has_explicit_shared_members" will only be true if the file has explicit shared members. That should include the particular scenario you described.
Greg-DB
8 years agoDropbox Staff
Hi Ashley, "include_has_explicit_shared_members" is a parameter that you can set on some endpoints, such as /2/files/get_metadata. The documenation there documents it as:
"include_has_explicit_shared_members Boolean If true, the results will include a flag for each file indicating whether or not that file has any explicit members. The default for this field is False."
If you click on the "FileMetadata" return type to expand it, you'll also see the corresponding "has_explicit_shared_members" response field, which is documented as:
"has_explicit_shared_members Boolean? This flag will only be present if include_has_explicit_shared_members is true in list_folder or get_metadata. If this flag is present, it will be true if this file has any explicit shared members. This is different from sharing_info in that this could be true in the case where a file has explicit members but is not contained within a shared folder. This field is optional."
You asked about what "include_has_explicit_shared_members" would return, but that's the argument, not part of the response. To summarize though, "has_explicit_shared_members" will only be returned if you did set "include_has_explicit_shared_members" to true in the call, and then the value of "has_explicit_shared_members" will only be true if the file has explicit shared members. That should include the particular scenario you described.
- webfort8 years agoExplorer | Level 3
Thanks, been a long day. Can't believe I missed that one.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months 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!