Queries the jobs of the recycle bin.
Operation description
- Only General-purpose NAS file systems support this operation.
- You can query a maximum of 50 jobs that are recently executed.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
FileSystemId | string | Yes | The ID of the file system. | 1ca404**** |
JobId | string | No | The job ID. | rb-15****ed-r-1625****2441 |
PageSize | long | No | The number of entries per page. Valid values: 1 to 100. Default value: 10. | 10 |
PageNumber | long | No | The page number. Pages start from page 1. Default value: 1. | 1 |
Status | string | No | The status of the job. Valid values:
| All |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "9E15E394-38A6-457A-A62A-D9797C9A****",
"TotalCount": 1,
"PageNumber": 1,
"PageSize": 10,
"Jobs": [
{
"Id": "8C****C54",
"Type": "Restore",
"FileId": "04***08",
"Status": "Running",
"ErrorCode": "",
"Progress": "100",
"CreateTime": "2021-05-30T10:08:08Z",
"FileName": "test001",
"ErrorMessage": ""
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | IllegalCharacters | The parameter contains illegal characters. | The parameter contains illegal characters. |
400 | MissingFileSystemId | FileSystemId is mandatory for this action. | - |
400 | InvalidStatus | Specified parameter Status is not valid. | The specified parameter Status is invalid. |
404 | InvalidFileSystem.NotFound | The specified file system does not exist. | The specified file system does not exist. |
404 | InvalidJobId.NotFound | The specified JobId(%JobId) does not exist. | The specified JobId (%JobId) does not exist. |
For a list of error codes, visit the Service error codes.