Scans files.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /v2/file/scan HTTP/1.1
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| body | object | No | The request parameters. | |
| drive_id | string | Yes | The drive ID. | 1 |
| limit | integer | No | The maximum number of results to return. Valid values: 1 to 100. The number of returned results must be less than or equal to the specified number. | 50 |
| marker | string | No | The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of marker. | NWQ1Yjk4YmI1ZDRlYmU1Y2E0YWE0NmJhYWJmODBhNDQ2NzhlMTRhMg |
| fields | string | No | The file properties to return.
| * |
Response parameters
Error codes
For a list of error codes, visit the Service error codes.
