v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Deployment Gates

Get all deployment gates

Returns a paginated list of all deployment gates for the organization. Use page[cursor] and page[size] query parameters to paginate through results.

get/api/v2/deployment_gates

Query parameters

page[cursor]string

Cursor for pagination. Use the meta.page.next_cursor value from the previous response.

page[size]integer

Number of results per page. Defaults to 50. Must be between 1 and 1000.

Response

OK

Example response

{
  "data": [
    {
      "attributes": {
        "created_at": "2021-01-01T00:00:00Z",
        "created_by": {
          "handle": "test-user",
          "id": "1111-2222-3333-4444-555566667777",
          "name": "Test User"
        },
        "env": "production",
        "identifier": "pre",
        "service": "my-service",
        "updated_at": "2021-01-01T00:00:00Z",
        "updated_by": {
          "handle": "test-user",
          "id": "1111-2222-3333-4444-555566667777",
          "name": "Test User"
        }
      },
      "id": "1111-2222-3333-4444-555566667777",
      "type": "deployment_gate"
    }
  ]
}