update copy API help text for recent changes

This commit is contained in:
AlanCoding
2017-01-17 14:35:30 -05:00
parent ba07f467ed
commit ca704cdb5c
2 changed files with 14 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
# Cancel Workflow Job # Cancel Workflow Job
Make a GET request to this resource to determine if the workflow job can be Make a GET request to this resource to determine if the workflow job can be
cancelled. The response will include the following field: canceled. The response will include the following field:
* `can_cancel`: Indicates whether this workflow job is in a state that can * `can_cancel`: Indicates whether this workflow job is in a state that can
be canceled (boolean, read-only) be canceled (boolean, read-only)

View File

@@ -1,8 +1,9 @@
Copy a Workflow Job Template: Copy a Workflow Job Template:
Make a GET request to this resource to determine if the workflow_job_template Make a GET request to this resource to determine if the current user has
can be copied and whether any passwords are required to launch the permission to copy the workflow_job_template and whether any linked
workflow_job_template. The response will include the following fields: templates or prompted fields will be ignored due to permissions problems.
The response will include the following fields:
* `can_copy`: Flag indicating whether the active user has permission to make * `can_copy`: Flag indicating whether the active user has permission to make
a copy of this workflow_job_template, provides same content as the a copy of this workflow_job_template, provides same content as the
@@ -10,15 +11,15 @@ workflow_job_template. The response will include the following fields:
(boolean, read-only) (boolean, read-only)
* `can_copy_without_user_input`: Flag indicating if the user should be * `can_copy_without_user_input`: Flag indicating if the user should be
prompted for confirmation before the copy is executed (boolean, read-only) prompted for confirmation before the copy is executed (boolean, read-only)
* `templates_unable_to_copy`: Names of job templates, projects, and inventory * `templates_unable_to_copy`: List of node ids of nodes that have a related
sources that the active user lacks permission to use and will be missing in job template, project, or inventory that the current user lacks permission
workflow nodes of the copy (array, read-only) to use and will be missing in workflow nodes of the copy (array, read-only)
* `inventories_unable_to_copy`: Names of inventories that the active user * `inventories_unable_to_copy`: List of node ids of nodes that have a related
lacks permission to use and will be missing in the workflow nodes of the prompted inventory that the current user lacks permission
copy (array, read-only) to use and will be missing in workflow nodes of the copy (array, read-only)
* `credentials_unable_to_copy`: Names of credentials that the active user * `credentials_unable_to_copy`: List of node ids of nodes that have a related
lacks permission to use and will be missing in the workflow nodes of the prompted credential that the current user lacks permission
copy (array, read-only) to use and will be missing in workflow nodes of the copy (array, read-only)
Make a POST request to this endpoint to save a copy of this Make a POST request to this endpoint to save a copy of this
workflow_job_template. No POST data is accepted for this action. workflow_job_template. No POST data is accepted for this action.