Queries the data processing jobs of a specified PolarFS instance, with support for filtering by job ID and pagination.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the job resides. |
cn-hangzhou |
| SourceId |
string |
Yes |
The ID of the source PolarFS instance. |
pfs-123456 |
| JobId |
string |
No |
The ID of the data processing job used for filtering. |
job-123456 |
| PageSize |
integer |
No |
The number of entries to return on each page. Default value: 30. |
30 |
| PageNumber |
integer |
No |
The page number. Pages start from 1. Default value: 1. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
2921D843-433A-5FB3-A03B-4EC093B219F8 |
| Items |
array<object> |
The list of data processing jobs. |
|
|
object |
|||
| JobId |
string |
The ID of the data processing job. |
job-123456 |
| Description |
string |
The description of the data processing job. |
Image data processing job |
| RegionId |
string |
The ID of the region where the data processing job resides. |
cn-hangzhou |
| TemplateId |
string |
The ID of the template used by the job. |
tpl-123456 |
| Status |
string |
The status of the data processing job. |
Running |
| CreationTime |
string |
The time when the job was created, in RFC 3339 format. |
2025-01-01T00:00:00Z |
| SourceType |
string |
The type of the data source. Currently, only PolarFS is supported. |
PolarFS |
| SourceId |
string |
The ID of the source PolarFS instance. |
pfs-123456 |
| SourcePath |
string |
The source data path in PolarFS. |
/data/input |
| DestinationType |
string |
The destination type. Currently, only PolarDB is supported. |
PolarDB |
| DestinationId |
string |
The ID of the destination PolarDB cluster. |
pc-test123456 |
| DestinationPath |
string |
The name of the destination database. |
testdb |
| ProcessingMode |
string |
The data processing mode. Valid values: Full, Incremental, and Both. |
Full |
| TotalRecordCount |
string |
The total number of jobs that meet the query conditions. |
1 |
| PageRecordCount |
string |
The number of jobs returned on the current page. |
1 |
| PageNumber |
string |
The current page number. |
1 |
Examples
Success response
JSON format
{
"RequestId": "2921D843-433A-5FB3-A03B-4EC093B219F8",
"Items": [
{
"JobId": "job-123456",
"Description": "图片数据处理任务",
"RegionId": "cn-hangzhou",
"TemplateId": "tpl-123456",
"Status": "Running",
"CreationTime": "2025-01-01T00:00:00Z",
"SourceType": "PolarFS",
"SourceId": "pfs-123456",
"SourcePath": "/data/input",
"DestinationType": "PolarDB",
"DestinationId": "pc-test123456",
"DestinationPath": "testdb",
"ProcessingMode": "Full"
}
],
"TotalRecordCount": "1",
"PageRecordCount": "1",
"PageNumber": "1"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.