Automations

List automations

Returns all configured automation definitions.

get/api/v1/automations

Response

Automation definitions

Example response

{
  "data": [
    {
      "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 5 of the 134 revisions of this API.66

    • added the required property data/items/environment_id to the response with the 200 status

      response-required-property-added

    • added the required property data/items/last_error to the response with the 200 status

      response-required-property-added

  • 0a0810535f5352See the full diff
    • added GitRunTarget NoneRunTarget FolderRunTarget to the data/items/target response property oneOf list for the response status 200

      response-property-one-of-added

    • the data/items/target response's property type/format changed from object/ to / for status 200

      response-property-type-changed

    • removed the required property data/items/target/ref from the response with the 200 status

      response-required-property-removed

    • removed the required property data/items/target/repository from the response with the 200 status

      response-required-property-removed

    • removed the required property data/items/target/workflow from the response with the 200 status

      response-required-property-removed

    • added discriminator to data/items/target response property for the response status 200

      response-property-discriminator-added

    • added the required property data/items/workflow to the response with the 200 status

      response-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 data/items/enabled from the response with the 200 status

      response-required-property-removed

    • added the required property meta to the response with the 200 status

      response-required-property-added

    • endpoint added

      endpoint-added