Replace automation
Changed onReplaces an automation definition when If-Match matches the current automation revision.
Request
- The document declares no server URL.
- Auth
- HTTP bearer
- or API key in cookie __fabro_session
Path parameters
Unique automation identifier.
Headers
Current resource revision used for optimistic concurrency, as returned in the ETag response header.
Request body
Example request
{
"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",
"workflow_source": {
"repo": "acme/workflows",
"branch": "main",
"tag": "v1.2.3"
},
"triggers": [
{
"id": "manual",
"enabled": true
}
]
}Response
Automation replaced
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",
"workflow_source": {
"repo": "acme/workflows",
"branch": "main",
"tag": "v1.2.3"
},
"triggers": [
{
"id": "manual",
"enabled": true
}
]
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
added the new required request property
/ - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
removed the request property
/ - warning
removed the request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the required property
/to the response with the status
- breaking