For asynchronous requests it will contain a request ID. This may be used with
tsNet's tsNetGetStatus function. If the request is synchronous and successful the it
variable will be a UTF-8 encoded JSON string in the form:
{
".tag": "in_progress"
}
The tag will be one of:
- in_progress - The asynchronous job is still in progress.
- complete - The asynchronous job has finished.
- failed - The asynchronous job returned an error.
If complete the JSON includes the metadata of the shared folder:
{
".tag": "complete",
"access_type": {
".tag": "owner"
},
"is_team_folder": false,
"policy": {
"acl_update_policy": {
".tag": "owner"
},
"shared_link_policy": {
".tag": "anyone"
},
"member_policy": {
".tag": "anyone"
},
"resolved_member_policy": {
".tag": "team"
}
},
"name": "dir",
"shared_folder_id": "84528192421",
"time_invited": "2016-01-20T00:00:00Z",
"preview_url": "https://www.dropbox.com/scl/fo/fir9vjelf",
"path_lower": "/dir",
"permissions": []
}
If an error occurred the JSON string will be in the following form:
{
"error_summary": string,
"error": {
".tag": string
}
}
|