Updated on 2024-05-14 GMT+08:00

Automation APIs

√: supported; x: not supported

Table 1 Automation APIs

Permission

API

Action

IAM Project

Enterprise Project

Creating a task

POST /v1/{project_id}/cms/workflow

cms:workflow:create

×

Modifying a task

PUT /v1/{project_id}/cms/workflow/{workflow_id}/trigger/action

cms:workflow:update

×

Operating a task that has been paused

POST /v1/{project_id}/cms/workflow/{workflow_id}/executions/{execution_id}/operation

cms:execution:create

×

Obtaining the execution details about a workflow

GET /v1/{project_id}/cms/workflow/{workflow_id}/executions/{execution_id}/status

cms:execution:get

×

Terminating a task

POST /v1/{project_id}/cms/workflow/{workflow_id}/executions/{execution_id}/terminate

cms:execution:create

×

Querying a script

POST /v1/{project_id}/cms/script/list

cms:script:list

×

Querying the script version

POST /v1/{project_id}/cms/script-version-list

cms:script:list

×

Performing fuzzy search on the job management page

POST /v1/{project_id}/cms/job/list

cms:job:list

×

Querying the plan (custom template) list based on the job ID

POST /v1/{project_id}/cms/template-list/{job_id}

cms:template:list

×

Querying a plan

GET /v1/{project_id}/cms/template/{template_id}

cms:template:get

×

Querying the task list

POST /v1/{project_id}/cms/workflow-list

cms:workflow:list

×

Querying task execution records

GET /v1/{project_id}/cms/workflow/{workflow_id}/executions

cms:execution:get

×

Executing a workflow

POST /v1/{project_id}/cms/workflow/{workflow_id}/executions

cms:execution:create

×