RunBooks
Last updated
Was this helpful?
Last updated
Was this helpful?
Curl Example (to get personal runBooks: isUnskript=false)
Curl Example (isUnskript=true):
Curl Example:
This example gets the details of an unSkript XRunBook. To get a custom/personal xRUnBook, use the workflowId, and remove the isUnskript parameter.
Curl Example:
This xRunBook requires no parameters.
This xRunBook has input Parameters:
List workflows matching the optional filter
/v1alpha1/workflows
tid is the unique request id.
filter expression.
page_size specifies the maximum number of results to be returned.
page_token is used to request a specific page of the list results.
is_unskript describes whether to list unSkript or or custom workflows.
Get workflow details.
/v1alpha1/workflows/{workflowId}
workflow_id is the id of the requested workflow.
tid is the unique request id.
is_unskript describes if the workflow to get is default or custom.
tenant_id is the tenantID of the workflow.
Runs created workflow
/v1alpha1/workflows/{workflowId}/run
workflow_id is the id of the requested workflow.
req_hdr is the common request header.
tenant_id is the id of the tenant (is taken from token in case of http call).
proxyId is the id of proxy.
params describes the input parameters to this particular run.
schedule_id is the id of the scheduler. A workflow can have multiple schedules (is omitted if called by user).
request_id is the id of the request. Is present only in case of running workflow after request approval.