Queries the sharing authorization records of a file.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /v2/file/list_permission HTTP/1.1
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| body | object | No | The request parameters. | |
| drive_id | string | No | The drive ID. | 1 |
| file_id | string | No | The file ID. | 4221bf6e6ab43a255edc4463bffa6f5f5d317401 |
Response parameters
Examples
Sample success responses
JSONformat
[
{
"identity": {
"identity_type": "IT_User",
"identity_id": "16435bdf934248b788b7b3771ee9a3dw"
},
"role_id": "SystemFileDownloader",
"expire_time": 1633598085642,
"disinherit_sub_group": false,
"action_list": [
"FILE.CREATE"
]
}
]Error codes
For a list of error codes, visit the Service error codes.
