Querying the General Task List
Function
This API is used to query the general task list.
Calling Method
For details, see Calling APIs.
URI
POST /v5/{project_id}/api/reusable-jobs/list
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
offset |
No |
Integer |
Query offset. |
limit |
No |
Integer |
Page size. |
sort_key |
No |
String |
Sorting field. |
sort_dir |
No |
String |
Sorting direction. |
name |
No |
String |
Name for fuzzy search. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
offset |
Integer |
Offset. |
limit |
Integer |
Number of records queried at a time. |
total |
Integer |
Total number. |
reusableJobs |
Array of reusableJobs objects |
Job list. |
Parameter |
Type |
Description |
---|---|---|
id |
String |
Job ID. |
name |
String |
Job name. |
description |
String |
Job description. |
domain_id |
String |
Tenant ID. |
region |
String |
Region information. |
project_id |
String |
Project ID. |
steps |
Array of steps objects |
Step list. |
deleted |
Boolean |
Whether the object is deleted. |
enabled |
Boolean |
Enable or not. |
creator_id |
String |
Creator ID. |
updater_id |
String |
Updater ID. |
create_time |
Integer |
Creation time. |
update_time |
Integer |
Update time. |
Example Requests
None
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot