Reachability

The newest runs of an environment.

Changed on
get/projects/{project_id}/environments/{environment_id}/reachability/runs

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

Project ID

environment_idinteger required

Environment ID

Response

addressstring nullable
audience'public' | 'private' | 'signed_in' | 'tailnet_users' | 'unsupported' required

Who an address is for.

created_atstring date-time required
environment_idinteger nullable
errorstring nullable

What went wrong or what is still missing, and what to do.

finished_atstring date-time nullable
idinteger required
live_urlstring nullable

The address, once it is reachable.

optionstring required
plan_idstring nullable
project_idinteger nullable
state'running' | 'succeeded' | 'waiting' | 'failed' | 'interrupted' | 'recovering' | 'conflict' | 'undoing' | 'undo_paused' | 'undone' required
updated_atstring date-time required

Example response

[
  {
    "created": [
      {
        "after": {
          "principals": [
            {
              "value": "alice@example.com"
            }
          ]
        },
        "before": {
          "principals": [
            {
              "value": "alice@example.com"
            }
          ]
        }
      }
    ],
    "journal": [
      {
        "intent": {
          "after": {
            "principals": [
              {
                "value": "alice@example.com"
              }
            ]
          },
          "before": {
            "principals": [
              {
                "value": "alice@example.com"
              }
            ]
          }
        },
        "resource": {
          "after": {
            "principals": [
              {
                "value": "alice@example.com"
              }
            ]
          },
          "before": {
            "principals": [
              {
                "value": "alice@example.com"
              }
            ]
          }
        }
      }
    ],
    "undo": [
      {
        "resource": {
          "after": {
            "principals": [
              {
                "value": "alice@example.com"
              }
            ]
          },
          "before": {
            "principals": [
              {
                "value": "alice@example.com"
              }
            ]
          }
        }
      }
    ]
  }
]

Changes

    • breaking

      added subschema #16 subschema #17 to the items/created/items response property oneOf list for the response status

    • breaking

      added subschema #16 subschema #17 to the items/journal/items/intent response property oneOf list for the response status

    • breaking

      added subschema #16 subschema #17 to the items/journal/items/resource/oneOf[#/components/schemas/RunResource] response property oneOf list for the response status

    4 more changes in this revision