Replace automation
Replaces an automation definition when If-Match matches the current automation revision.
Authorizations
Raw dev token passed as Authorization: Bearer fabro_dev_... when server.auth.methods includes dev-token.
Headers
Current resource revision used for optimistic concurrency, as returned in the ETag response header.
Path Parameters
Unique automation identifier.
^[a-z0-9][a-z0-9-]{0,62}$Body
Request body for replacing an automation.
"Nightly dependency update"
Server-managed Docker or Daytona environment selected when the automation fires.
"daytona-smoke"
Workspace content and location requested for a run.
- Option 1
- Option 2
- Option 3
Workflow slug or path resolved in the run-target checkout when workflow_source is omitted, or in the explicit workflow-source checkout when present.
"dependency-update"
Automation trigger configuration. Unknown type discriminator values
are reported by handlers as domain validation errors with HTTP 422.
- Option 1
- Option 2
"Keeps dependencies fresh."
Explicit GitHub coordinate from which an automation acquires workflow bytes. The branch is the fallback selector and audit context. An optional tag overrides the branch, and an optional exact SHA overrides both without requiring branch ancestry. This source is independent of the run target and does not provide its working branch.
Response
Automation replaced
Public automation definition.
^[a-z0-9][a-z0-9-]{0,62}$"nightly-deps"
Stable revision used with If-Match for optimistic concurrency.
^[0-9a-f]{64}$"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
"Nightly dependency update"
"Keeps dependencies fresh."
Server-managed Docker or Daytona environment selected when the automation fires. Null only for an incomplete definition migrated from a release that predated environment selection.
"daytona-smoke"
Most recent scheduled-run failure, cleared after a scheduled run is queued successfully.
Workspace content and location requested for a run.
- Option 1
- Option 2
- Option 3
Workflow slug or path resolved in the run-target checkout when workflow_source is omitted, or in the explicit workflow-source checkout when present.
"dependency-update"
Automation trigger configuration. Unknown type discriminator values
are reported by handlers as domain validation errors with HTTP 422.
- Option 1
- Option 2
Explicit GitHub coordinate from which an automation acquires workflow bytes. The branch is the fallback selector and audit context. An optional tag overrides the branch, and an optional exact SHA overrides both without requiring branch ancestry. This source is independent of the run target and does not provide its working branch.