Description
Returns the complete definition of one step template in the requested workspace, including the script body and the JSON-encoded property schema used when adding the template to a project.
Provide exactly one lookup value: stepTemplateId, or name. Use the ID when names are duplicated. Names containing spaces or punctuation must be URL encoded.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
workspaceId |
query | string | yes | ID of the workspace that owns the template. |
stepTemplateId |
query | string | no | Step template ID from List step templates. Required when name is omitted. |
name |
query | string | no | Exact step template name. Required when stepTemplateId is omitted; URL encode the value. |
Errors
| Status | Meaning |
|---|---|
400 |
Invalid workspaceId; neither or both lookup values were supplied; or the template was not found. |
401 |
Missing or invalid Basic auth credentials, or the service account cannot manage step templates in this workspace. |
409 |
The supplied name is not unique in the workspace. Retry with stepTemplateId. |