v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
projectTemplateAutomations

Returns a specific automation for a projecttemplate.

Returns a specific automation of the projecttemplate with the specified id. Returns NotFound if the automation doesnt exist. To get the the automation data the user needs to have 'read' permissions of the feature 'project-manage-config' globally.

<Check title="Required Permissions" icon="key">The user must be an admin or have project-manage-config:read permissions.</Check>

get/projecttemplates/{projectTemplateId}/automations/{automationId}

Path parameters

automationIdstring uuid required

The id of the automation.

projectTemplateIdstring uuid required

The id of the project template.

Headers

Authorizationstring required

Bearer authentication

Response

OK

idstring uuid

The id of the automation.

createdBystring uuid

The id of the user who created the automation.

createdOnstring date-time

The date the automation was created.

updatedBystring uuid

The id of the user who updated the automation.

updatedOnstring date-time

The date the automation was updated.

triggerIdstring uuid

The id of the trigger which is related to the automation.

enabledboolean

Whether the automation is enabled.

statestring nullable

The state of the automation. See AutomationsService.DAL.Models.AutomationState for the possible values.

createdByProjectTemplateboolean

Whether the automation was created from an automation template of a project template.

projectIdstring uuid nullable

The id of the project which is related to the automation.

projectTemplateIdstring uuid nullable

The id of the project template which is related to the automation.

workflowIdstring uuid nullable

The workflow this automation belongs to, if any.

createdByAutomationIdFromWorkflowstring uuid nullable

The id of the workflow automation that served as the template for this automation.