Retrieve automation
Returns one automation definition by id.
Path parameters
Unique automation identifier.
Response
Automation definition
Example response
{
"id": "nightly-deps",
"revision": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"name": "Nightly dependency update",
"description": "Keeps dependencies fresh.",
"environment_id": "daytona-smoke",
"target": {
"repo": "acme/my-app",
"branch": "feature/foo",
"tag": "v1.2.3"
},
"workflow": "dependency-update",
"triggers": [
{
"id": "manual",
"enabled": true
}
]
}Changes
Changed in 4 of the 134 revisions of this API.65
- ○
added the required property
environment_idto the response with the200statusresponse-required-property-added
- ○
added the required property
last_errorto the response with the200statusresponse-required-property-added
- ○
- ▲
added
GitRunTargetNoneRunTargetFolderRunTargetto thetargetresponse propertyoneOflist for the response status200response-property-one-of-added
- ▲
the
targetresponse's property type/format changed fromobject/to/for status200response-property-type-changed
- ▲
removed the required property
target/reffrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
target/repositoryfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
target/workflowfrom the response with the200statusresponse-required-property-removed
- ○
added discriminator to
targetresponse property for the response status200response-property-discriminator-added
- ○
added the required property
workflowto the response with the200statusresponse-required-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
removed the required property
enabledfrom the response with the200statusresponse-required-property-removed
- ▲
- ○
endpoint added
endpoint-added
- ○