Hello,
I am trying to get sharing_info from /search api response by passing query string for search using user_access_token.
api:
https://api.dropboxapi.com/2/files/search_v2
Response should contain "Sharing_info" field as per the document. https://www.dropbox.com/developers/documentation/http/documentation#files-search
But I am not able to see "Sharing_info" field inside response which I received.
Response:
{
"has_more": false,
"matches": [
{
"match_type": {
".tag": "filename"
},
"metadata": {
".tag": "metadata",
"metadata": {
".tag": "file",
"client_modified": "2021-05-05T07:49:41Z",
"content_hash": "bc7f0447e809e1c278dca5092f6b7d14ab8ebfc72e182147a8b722471857acb8",
"id": "id:K0967Nm-QfUAAAAAAAAAHg",
"is_downloadable": true,
"name": "untitled.h",
"path_display": "/docs/untitled.h",
"path_lower": "/docs/untitled.h",
"rev": "015c1906ff650310000000233586740",
"server_modified": "2021-05-05T07:49:41Z",
"size": 783
}
}
}
]
}
As per document its shows that this field is an optional filed.
What is meaning of that optional?
In which case I will get this data and in which case I will not get this data?
Is there any other alternative to find owner_detail of file which are shared to me (received files).