Deployment
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
GET |
/api/v1/organizations/{org_slug}/pages/deployments/{deployment_id} |
load |
Deployment operation detail page contract |
GET |
/api/v1/organizations/{org_slug}/pages/deployments/architecture |
load |
Deployments Architecture page contract. The view draws one of two canvases and never both: map is the organization topology and is present exactly when no app was selected, and everything below it is the selected app's topology. A scope value that names nothing is ignored rather than rejected |
GET |
/api/v1/organizations/{org_slug}/pages/deployments/feed |
load |
Organization deployment feed page contract. operations is one page of deployment operations for the requested app, service and environment; a scope value that names nothing is ignored rather than rejected |
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
deployment, err := client.Deployment(nil).Load(map[string]any{"id": "example_id", "organization_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(deployment)
Lua
Construct client as shown in the Lua setup, then call the operations:
local deployment, err = client:Deployment():load({ id = "example_id", organization_id = "example" })
PHP
Construct client as shown in the PHP setup, then call the operations:
$deployment = $client->Deployment()->load(["id" => "example_id", "organization_id" => "example"]);
Python
Construct client as shown in the Python setup, then call the operations:
deployment = client.Deployment().load({"id": "example_id", "organization_id": "example"})
Ruby
Construct client as shown in the Ruby setup, then call the operations:
deployment = client.Deployment.load({ "id" => "example_id", "organization_id" => "example" })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const deployment = await client.Deployment().load({ id: "example_id", organization_id: "example" })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
app |
object |
Yes | App |
artifact_locator |
one,string,null |
Yes | Artifact Locator |
build_duration_seconds |
one,integer,null |
Yes | Build Duration Seconds |
build_source |
one,object,null |
Yes | Build Source |
build_status |
string |
Yes | Build Status |
children |
array |
Yes | Children |
ci_pipeline_id |
one,string,null |
Yes | Ci Pipeline Id |
ci_pipeline_run_id |
one,string,null |
Yes | Ci Pipeline Run Id |
commit_sha |
one,string,null |
Yes | Commit Sha |
created_at |
string |
Yes | Created At |
creator |
one,object,null |
Yes | Creator |
deployed_url |
one,string,null |
Yes | Deployed Url |
duration_seconds |
one,integer,null |
Yes | Duration Seconds |
environment |
object |
Yes | Environment |
history_kind |
string |
Yes | History Kind |
history_reason |
one,string,null |
Yes | History Reason |
id |
string |
Yes | Id |
is_live |
boolean |
Yes | Is Live |
is_rollback |
boolean |
Yes | Is Rollback |
live_region_count |
integer |
Yes | Live Region Count |
number |
integer |
Yes | Number |
placement |
one,object,null |
Yes | Placement |
region_count |
integer |
Yes | Region Count |
replicas_per_region |
integer |
Yes | Replicas Per Region |
rollback_reason |
one,string,null |
Yes | Rollback Reason |
rollback_source_release_id |
one,string,null |
Yes | Rollback Source Release Id |
rollback_target_release_id |
one,string,null |
Yes | Rollback Target Release Id |
rollout_predecessor_id |
one,string,null |
Yes | Rollout Predecessor Id |
rollout_status |
string |
Yes | Rollout Status |
rollout_strategy |
string |
Yes | Rollout Strategy |
service |
object |
Yes | Service |
source_ref |
one,string,null |
Yes | Source Ref |
status |
string |
Yes | Status |
total_replicas |
integer |
Yes | Total Replicas |
trigger_kind |
string |
Yes | Trigger Kind |
updated_at |
string |
Yes | Updated At |
load
GET /api/v1/organizations/{org_slug}/pages/deployments/{deployment_id}
Operation ID: get_api_v1_organizations_org_slug_pages_deployments_deployment_id_.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
org_slug |
path |
string |
Yes | |
deployment_id |
path |
string |
Yes |
Responses
200: Deployment operation detail page contract
application/json
| Property | Type | Required | Description |
|---|---|---|---|
operation |
object |
Yes | |
operation.app |
object |
Yes | |
operation.app.id |
string |
Yes | |
operation.app.name |
string |
Yes | |
operation.app.slug |
string |
Yes | |
operation.artifact_locator |
string |
Yes | |
operation.build_duration_seconds |
integer |
Yes | |
operation.build_source |
object |
Yes | |
operation.build_source.canonical_deployment_id |
string |
Yes | |
operation.build_source.deployment_id |
string |
Yes | |
operation.build_source.number |
integer |
Yes | |
operation.build_source.phase |
enum: waiting, reused |
Yes | |
operation.build_status |
enum: queued, building, succeeded, failed, canceled, skipped |
Yes | |
operation.children |
array of object |
Yes | |
operation.children[].build_role |
enum: leader, follower, standalone |
Yes | |
operation.children[].build_status |
enum: queued, building, succeeded, failed, canceled, skipped |
Yes | |
operation.children[].ci_pipeline_id |
string |
Yes | |
operation.children[].ci_pipeline_run_id |
string |
Yes | |
operation.children[].created_at |
string (date-time) |
Yes | |
operation.children[].deployment_id |
string |
Yes | |
operation.children[].desired_replicas |
integer |
Yes | |
operation.children[].environment |
object |
Yes | |
operation.children[].environment.id |
string |
Yes | |
operation.children[].environment.kind |
string |
Yes | |
operation.children[].environment.name |
string |
Yes | |
operation.children[].environment.slug |
string |
Yes | |
operation.children[].failure_message |
string |
Yes | |
operation.children[].finished_at |
string (date-time) |
Yes | |
operation.children[].history_kind |
enum: current, superseded, stale, historical |
Yes | |
operation.children[].history_reason |
string |
Yes | |
operation.children[].is_live |
boolean |
Yes | |
operation.children[].live_replicas |
integer |
Yes | |
operation.children[].location |
object |
Yes | |
operation.children[].location.code |
string |
Yes | |
operation.children[].location.id |
string |
Yes | |
operation.children[].location.name |
string |
Yes | |
operation.children[].number |
integer |
Yes | |
operation.children[].recorded_status |
enum: queued, building, deploying, active, failed, rolled_back, ... |
Yes | |
operation.children[].release_id |
string |
Yes | |
operation.children[].rollout_id |
string |
Yes | |
operation.children[].rollout_status |
enum: not_started, queued, running, succeeded, failed, canceled |
Yes | |
operation.children[].started_at |
string (date-time) |
Yes | |
operation.children[].superseded_by_deployment_id |
string |
Yes | |
operation.children[].target_id |
string |
Yes | |
operation.children[].updated_at |
string (date-time) |
Yes | |
operation.ci_pipeline_id |
string |
Yes | |
operation.ci_pipeline_run_id |
string |
Yes | |
operation.commit_sha |
string |
Yes | |
operation.created_at |
string (date-time) |
Yes | |
operation.creator |
object |
Yes | |
operation.creator.id |
string |
Yes | |
operation.creator.name |
string |
Yes | |
operation.creator.picture_url |
string |
Yes | |
operation.deployed_url |
string (uri) |
Yes | |
operation.duration_seconds |
integer |
Yes | |
operation.environment |
object |
Yes | |
operation.environment.id |
string |
Yes | |
operation.environment.kind |
string |
Yes | |
operation.environment.name |
string |
Yes | |
operation.environment.slug |
string |
Yes | |
operation.history_kind |
enum: current, superseded, stale, historical |
Yes | |
operation.history_reason |
string |
Yes | |
operation.id |
string |
Yes | |
operation.is_live |
boolean |
Yes | |
operation.is_rollback |
boolean |
Yes | |
operation.live_region_count |
integer |
Yes | |
operation.number |
integer |
Yes | |
operation.placement |
object |
Yes | |
operation.placement.id |
string |
Yes | |
operation.placement.mode |
enum: single_region, multi_region |
Yes | |
operation.placement.replicas_per_region |
integer |
Yes | |
operation.placement.rollout_strategy |
enum: health_gated, burst |
Yes | |
operation.placement.total_replicas |
integer |
Yes | |
operation.region_count |
integer |
Yes | |
operation.replicas_per_region |
integer |
Yes | |
operation.rollback_reason |
string |
Yes | |
operation.rollback_source_release_id |
string |
Yes | |
operation.rollback_target_release_id |
string |
Yes | |
operation.rollout_predecessor_id |
string |
Yes | |
operation.rollout_status |
enum: not_started, queued, running, succeeded, failed, canceled, ... |
Yes | |
operation.rollout_strategy |
enum: health_gated, burst |
Yes | |
operation.service |
object |
Yes | |
operation.service.id |
string |
Yes | |
operation.service.name |
string |
Yes | |
operation.service.slug |
string |
Yes | |
operation.source_ref |
string |
Yes | |
operation.status |
enum: queued, building, deploying, active, failed, rolled_back, ... |
Yes | |
operation.total_replicas |
integer |
Yes | |
operation.trigger_kind |
enum: manual, push, schedule, api, rollback |
Yes | |
operation.updated_at |
string (date-time) |
Yes |
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway
GET /api/v1/organizations/{org_slug}/pages/deployments/architecture
Operation ID: api_v1_pages_deployments_architecture.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
org_slug |
path |
string |
Yes | |
app |
query |
string |
No | |
service |
query |
string |
No | |
environment |
query |
string |
No |
Responses
200: Deployments Architecture page contract. The view draws one of two canvases and never both: map is the organization topology and is present exactly when no app was selected, and everything below it is the selected app's topology. A scope value that names nothing is ignored rather than rejected
application/json
| Property | Type | Required | Description |
|---|---|---|---|
app_id |
string |
Yes | |
connections |
array of object |
Yes | |
connections[].binding_types |
array of enum: connection, mount, env, private_network, service |
Yes | |
connections[].source_service_id |
string |
Yes | |
connections[].target_id |
string |
Yes | |
connections[].target_kind |
enum: service, data_resource, storage_resource |
Yes | |
data_resources |
array of object |
Yes | |
data_resources[].app_environment_id |
string |
Yes | |
data_resources[].created_at |
string (date-time) |
Yes | |
data_resources[].engine |
enum: postgres, mysql, valkey |
Yes | |
data_resources[].failure_message |
string |
Yes | |
data_resources[].high_availability |
boolean |
Yes | |
data_resources[].hosted_app_id |
string |
Yes | |
data_resources[].id |
string |
Yes | |
data_resources[].kind |
enum: database, cache, queue, search, vector |
Yes | |
data_resources[].name |
string |
Yes | |
data_resources[].plan |
string |
Yes | |
data_resources[].provider_metadata |
object |
Yes | |
data_resources[].region |
string |
Yes | |
data_resources[].slug |
string |
Yes | |
data_resources[].status |
enum: provisioning, available, updating, failed, archived |
Yes | |
data_resources[].storage_gb |
integer |
Yes | |
data_resources[].storage_label |
string |
Yes | |
data_resources[].updated_at |
string (date-time) |
Yes | |
data_resources[].version |
string |
Yes | |
deploy_targets |
array of object |
Yes | |
deploy_targets[].auto_deploy |
boolean |
Yes | |
deploy_targets[].environment_id |
string |
Yes | |
deploy_targets[].environment_name |
string |
Yes | |
deploy_targets[].placement_id |
string |
Yes | |
deploy_targets[].redeploy |
boolean |
Yes | |
deploy_targets[].region_count |
integer |
Yes | |
deploy_targets[].replicas_per_region |
integer |
Yes | |
deploy_targets[].rollout_strategy |
enum: health_gated, burst |
Yes | |
deploy_targets[].service_id |
string |
Yes | |
deploy_targets[].service_name |
string |
Yes | |
deploy_targets[].source_ref |
string |
Yes | |
environments |
array of object |
Yes | |
environments[].auto_deploy |
boolean |
Yes | |
environments[].base_domain |
string |
Yes | |
environments[].branch_pattern |
string |
Yes | |
environments[].created_at |
string (date-time) |
Yes | |
environments[].created_at_label |
string |
Yes | |
environments[].hosted_app_id |
string |
Yes | |
environments[].id |
string |
Yes | |
environments[].kind |
enum: production, staging, development, preview, ephemeral, custom |
Yes | |
environments[].location |
object or null |
Yes | |
environments[].location_id |
string |
Yes | |
environments[].name |
string |
Yes | |
environments[].slug |
string |
Yes | |
environments[].status |
enum: active, paused, archived |
Yes | |
environments[].updated_at |
string (date-time) |
Yes | |
environments[].updated_at_label |
string |
Yes | |
filters |
object |
Yes | The option lists the deployments page's app, service and stage pickers narrow by. services and environments are empty until an app is selected. |
filters.apps |
array of object |
Yes | |
filters.apps[].created_at |
string (date-time) |
Yes | |
filters.apps[].created_at_label |
string |
Yes | |
filters.apps[].description |
string |
Yes | |
filters.apps[].framework |
string |
Yes | |
filters.apps[].id |
string |
Yes | |
filters.apps[].name |
string |
Yes | |
filters.apps[].organization_id |
string |
Yes | |
filters.apps[].repository_id |
string |
Yes | |
filters.apps[].repository_kind |
string |
Yes | |
filters.apps[].root_path |
string |
Yes | |
filters.apps[].root_path_display |
string |
Yes | |
filters.apps[].slug |
string |
Yes | |
filters.apps[].status |
enum: draft, active, archived |
Yes | |
filters.apps[].updated_at |
string (date-time) |
Yes | |
filters.apps[].updated_at_label |
string |
Yes | |
filters.environments |
array of object |
Yes | |
filters.environments[].id |
string |
Yes | |
filters.environments[].name |
string |
Yes | |
filters.environments[].slug |
string |
Yes | |
filters.services |
array of object |
Yes | |
filters.services[].id |
string |
Yes | |
filters.services[].name |
string |
Yes | |
locations |
array of object |
Yes | |
locations[].code |
string |
Yes | |
locations[].created_at |
string (date-time) |
Yes | |
locations[].id |
string |
Yes | |
locations[].name |
string |
Yes | |
locations[].nomad_datacenter |
string |
Yes | |
locations[].updated_at |
string (date-time) |
Yes | |
managed_database_catalog |
object or null |
Yes | |
map |
object or null |
Yes | |
service_views |
array of object |
Yes | |
service_views[].capacity |
object |
Yes | |
service_views[].capacity.deployment_channel |
string |
Yes | |
service_views[].capacity.reservation_instances |
integer |
Yes | |
service_views[].capacity.resources |
object |
Yes | |
service_views[].capacity.resources.cpu |
object |
Yes | |
service_views[].capacity.resources.cpu.defaulted |
boolean |
Yes | |
service_views[].capacity.resources.cpu.total |
integer |
Yes | |
service_views[].capacity.resources.cpu.total_label |
string |
Yes | |
service_views[].capacity.resources.cpu.value |
integer |
Yes | |
service_views[].capacity.resources.cpu.value_label |
string |
Yes | |
service_views[].capacity.resources.disk |
object |
Yes | |
service_views[].capacity.resources.disk.defaulted |
boolean |
Yes | |
service_views[].capacity.resources.disk.total |
integer |
Yes | |
service_views[].capacity.resources.disk.total_label |
string |
Yes | |
service_views[].capacity.resources.disk.value |
integer |
Yes | |
service_views[].capacity.resources.disk.value_label |
string |
Yes | |
service_views[].capacity.resources.memory |
object |
Yes | |
service_views[].capacity.resources.memory.defaulted |
boolean |
Yes | |
service_views[].capacity.resources.memory.total |
integer |
Yes | |
service_views[].capacity.resources.memory.total_label |
string |
Yes | |
service_views[].capacity.resources.memory.value |
integer |
Yes | |
service_views[].capacity.resources.memory.value_label |
string |
Yes | |
service_views[].capacity.rollout_extra_instances |
integer |
Yes | |
service_views[].capacity.rollout_peak |
object |
Yes | |
service_views[].capacity.rollout_peak.cpu_label |
string |
Yes | |
service_views[].capacity.rollout_peak.cpu_mhz |
integer |
Yes | |
service_views[].capacity.rollout_peak.disk_label |
string |
Yes | |
service_views[].capacity.rollout_peak.disk_mb |
integer |
Yes | |
service_views[].capacity.rollout_peak.instances |
integer |
Yes | |
service_views[].capacity.rollout_peak.memory_label |
string |
Yes | |
service_views[].capacity.rollout_peak.memory_mb |
integer |
Yes | |
service_views[].deployed_url |
string |
Yes | |
service_views[].desired_state |
object or null |
Yes | |
service_views[].latest_release |
object or null |
Yes | |
service_views[].nomad |
object |
Yes | |
service_views[].nomad.datacenter |
string |
Yes | |
service_views[].nomad.latest_job_id |
string |
Yes | |
service_views[].nomad.namespace |
string |
Yes | |
service_views[].nomad.region |
string |
Yes | |
service_views[].region_footprints |
array of object |
Yes | |
service_views[].region_footprints[].desired |
integer |
Yes | |
service_views[].region_footprints[].live |
integer |
Yes | |
service_views[].region_footprints[].location_id |
string |
Yes | |
service_views[].region_footprints[].location_name |
string |
Yes | |
service_views[].rollout |
object or null |
Yes | |
service_views[].runtime_summary |
object |
Yes | |
service_views[].runtime_summary.degraded_instances |
integer |
Yes | |
service_views[].runtime_summary.desired_instances |
integer |
Yes | |
service_views[].runtime_summary.desired_version |
string |
Yes | |
service_views[].runtime_summary.failed_instances |
integer |
Yes | |
service_views[].runtime_summary.running_instances |
integer |
Yes | |
service_views[].runtime_summary.total_instances |
integer |
Yes | |
service_views[].service |
object |
Yes | |
service_views[].service.auto_deploy |
boolean |
Yes | |
service_views[].service.bindings |
array of object |
Yes | |
service_views[].service.bindings[].app_service_id |
string |
Yes | |
service_views[].service.bindings[].bindable_id |
string |
Yes | |
service_views[].service.bindings[].bindable_type |
string |
Yes | |
service_views[].service.bindings[].binding_type |
string |
Yes | |
service_views[].service.bindings[].created_at |
string (date-time) |
Yes | |
service_views[].service.bindings[].hosted_app_id |
string |
Yes | |
service_views[].service.bindings[].id |
string |
Yes | |
service_views[].service.bindings[].mount_path |
string |
Yes | |
service_views[].service.bindings[].name |
string |
Yes | |
service_views[].service.bindings[].read_only |
boolean |
Yes | |
service_views[].service.bindings[].required |
boolean |
Yes | |
service_views[].service.bindings[].updated_at |
string (date-time) |
Yes | |
service_views[].service.build_command |
string |
Yes | |
service_views[].service.cpu_label |
string |
Yes | |
service_views[].service.cpu_mhz |
integer |
Yes | |
service_views[].service.created_at |
string (date-time) |
Yes | |
service_views[].service.created_at_label |
string |
Yes | |
service_views[].service.deploy_paths |
array of string |
Yes | Explicit repo-root-relative path prefixes/globs a push must touch to auto-deploy. Empty means default to the app root_path. |
service_views[].service.desired_instances |
integer |
Yes | |
service_views[].service.disk_label |
string |
Yes | |
service_views[].service.disk_mb |
integer |
Yes | |
service_views[].service.effective_deploy_paths |
array of string |
Yes | Tracked paths actually applied by the auto-deploy trigger (explicit deploy_paths, else [root_path]). |
service_views[].service.healthcheck_path |
string |
Yes | |
service_views[].service.hosted_app_id |
string |
Yes | |
service_views[].service.id |
string |
Yes | |
service_views[].service.internal_port |
integer |
Yes | |
service_views[].service.kind |
enum: web, worker, cron, static, private |
Yes | |
service_views[].service.memory_label |
string |
Yes | |
service_views[].service.memory_max_label |
string |
Yes | |
service_views[].service.memory_max_mb |
integer |
Yes | Hard memory limit in MB the task may burst to (Nomad MemoryMaxMB). memory_mb stays the reservation the scheduler places against, so raising this does not make a rollout harder to place. Must be >= memory_mb. Memory above the reservation is oversubscribed and best effort: under node pressure the kernel reclaims it and can OOM-kill the task. Null/absent renders no limit beyond the reservation. |
service_views[].service.memory_mb |
integer |
Yes | |
service_views[].service.name |
string |
Yes | |
service_views[].service.nomad_constraints_json |
string |
Yes | |
service_views[].service.nomad_kill_timeout_seconds |
integer |
Yes | Seconds the task gets after SIGTERM before SIGKILL. Null/absent leaves Nomad's 5s default. Capped at 30 because a Nomad client silently clamps kill_timeout to its own max_kill_timeout (default 30s). |
service_views[].service.nomad_namespace |
string |
Yes | |
service_views[].service.nomad_region |
string |
Yes | |
service_views[].service.nomad_shutdown_delay_seconds |
integer |
Yes | Seconds Nomad waits between deregistering the group's services and sending SIGTERM, so the edge stops routing new requests to the allocation before it is signalled. Null/absent leaves Nomad's 0s default. |
service_views[].service.nomad_ulimits_json |
string |
Yes | Docker task ulimits as a JSON object of rlimit name to "soft:hard" (for example {"nofile":"65536:65536"}). Null/absent leaves the container on the daemon default. |
service_views[].service.nomad_update_strategy_json |
string |
Yes | |
service_views[].service.prestart_command |
string |
Yes | |
service_views[].service.publicly_accessible |
boolean |
Yes | |
service_views[].service.release_command |
string |
Yes | |
service_views[].service.repo_source_path |
string |
Yes | |
service_views[].service.runtime |
enum: docker, node, ruby, python, go, rust, ... |
Yes | |
service_views[].service.runtime_adapter_kind |
enum: nomad, database |
Yes | |
service_views[].service.runtime_adapter_settings_json |
string |
Yes | |
service_views[].service.schedule |
string |
Yes | |
service_views[].service.slug |
string |
Yes | |
service_views[].service.source_path |
string |
Yes | |
service_views[].service.start_command |
string |
Yes | |
service_views[].service.updated_at |
string (date-time) |
Yes | |
service_views[].service.updated_at_label |
string |
Yes | |
service_views[].status |
string |
Yes | |
storage_resources |
array of object |
Yes | |
storage_resources[].access_mode |
enum: private, public, internal |
Yes | Object-store semantics only; ignored for volume resources |
storage_resources[].app_environment_id |
string |
Yes | |
storage_resources[].attachment |
object |
Yes | Attachment readback: CSI publish state for nomad_csi, or the nodes carrying the directory for local_nvme. Nil until provisioned |
storage_resources[].attachment.alloc_ids |
array of string |
No | |
storage_resources[].attachment.node_ids |
array of string |
No | |
storage_resources[].attachment.state |
enum: attached, detached |
No | |
storage_resources[].capacity_gb |
integer |
Yes | |
storage_resources[].capacity_label |
string |
Yes | |
storage_resources[].created_at |
string (date-time) |
Yes | |
storage_resources[].ephemeral |
boolean |
Yes | True when the contents may be deleted at any time and do not survive the loss of the underlying node. Ephemeral storage is a cache and must never hold a system of record. |
storage_resources[].external_volume_id |
string |
Yes | Nomad/CSI volume id assigned at provisioning |
storage_resources[].hosted_app_id |
string |
Yes | |
storage_resources[].id |
string |
Yes | |
storage_resources[].kind |
enum: bucket, volume |
Yes | |
storage_resources[].location_code |
string |
Yes | |
storage_resources[].location_id |
string |
Yes | Volume datacenter pin (volume kind only) |
storage_resources[].mount_path |
string |
Yes | |
storage_resources[].name |
string |
Yes | |
storage_resources[].provider |
enum: s3, tigris, nomad_csi, local_nvme, local_nvme_authority |
Yes | Storage backend. local_nvme is a directory on the node's own NVMe, created as a Nomad dynamic host volume, fast, node-local and EPHEMERAL: the platform may delete it at any time and it does not survive the loss of its node. Use it as a cache, never as a system of record. local_nvme_authority is a single-node, single-writer authority volume that refuses destructive repair. Node loss requires restoration from remote replication into a new volume. |
storage_resources[].provider_error |
string |
Yes | Last provisioning/teardown error from the storage provider |
storage_resources[].region |
string |
Yes | |
storage_resources[].slug |
string |
Yes | |
storage_resources[].status |
enum: provisioning, available, updating, failed, archived |
Yes | |
storage_resources[].updated_at |
string (date-time) |
Yes |
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway
GET /api/v1/organizations/{org_slug}/pages/deployments/feed
Operation ID: api_v1_pages_deployments_feed.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
org_slug |
path |
string |
Yes | |
app |
query |
string |
No | |
service |
query |
string |
No | |
environment |
query |
string |
No | |
page |
query |
integer |
No |
Responses
200: Organization deployment feed page contract. operations is one page of deployment operations for the requested app, service and environment; a scope value that names nothing is ignored rather than rejected
application/json
| Property | Type | Required | Description |
|---|---|---|---|
deploy_targets |
array of object |
Yes | |
deploy_targets[].auto_deploy |
boolean |
Yes | |
deploy_targets[].environment_id |
string |
Yes | |
deploy_targets[].environment_name |
string |
Yes | |
deploy_targets[].placement_id |
string |
Yes | |
deploy_targets[].redeploy |
boolean |
Yes | |
deploy_targets[].region_count |
integer |
Yes | |
deploy_targets[].replicas_per_region |
integer |
Yes | |
deploy_targets[].rollout_strategy |
enum: health_gated, burst |
Yes | |
deploy_targets[].service_id |
string |
Yes | |
deploy_targets[].service_name |
string |
Yes | |
deploy_targets[].source_ref |
string |
Yes | |
filters |
object |
Yes | The option lists the deployments page's app, service and stage pickers narrow by. services and environments are empty until an app is selected. |
filters.apps |
array of object |
Yes | |
filters.apps[].created_at |
string (date-time) |
Yes | |
filters.apps[].created_at_label |
string |
Yes | |
filters.apps[].description |
string |
Yes | |
filters.apps[].framework |
string |
Yes | |
filters.apps[].id |
string |
Yes | |
filters.apps[].name |
string |
Yes | |
filters.apps[].organization_id |
string |
Yes | |
filters.apps[].repository_id |
string |
Yes | |
filters.apps[].repository_kind |
string |
Yes | |
filters.apps[].root_path |
string |
Yes | |
filters.apps[].root_path_display |
string |
Yes | |
filters.apps[].slug |
string |
Yes | |
filters.apps[].status |
enum: draft, active, archived |
Yes | |
filters.apps[].updated_at |
string (date-time) |
Yes | |
filters.apps[].updated_at_label |
string |
Yes | |
filters.environments |
array of object |
Yes | |
filters.environments[].id |
string |
Yes | |
filters.environments[].name |
string |
Yes | |
filters.environments[].slug |
string |
Yes | |
filters.services |
array of object |
Yes | |
filters.services[].id |
string |
Yes | |
filters.services[].name |
string |
Yes | |
operations |
array of object |
Yes | |
operations[].app |
object |
Yes | |
operations[].app.id |
string |
Yes | |
operations[].app.name |
string |
Yes | |
operations[].app.slug |
string |
Yes | |
operations[].artifact_locator |
string |
Yes | |
operations[].build_duration_seconds |
integer |
Yes | |
operations[].build_source |
object |
Yes | |
operations[].build_source.canonical_deployment_id |
string |
Yes | |
operations[].build_source.deployment_id |
string |
Yes | |
operations[].build_source.number |
integer |
Yes | |
operations[].build_source.phase |
enum: waiting, reused |
Yes | |
operations[].build_status |
enum: queued, building, succeeded, failed, canceled, skipped |
Yes | |
operations[].children |
array of object |
Yes | |
operations[].children[].build_role |
enum: leader, follower, standalone |
Yes | |
operations[].children[].build_status |
enum: queued, building, succeeded, failed, canceled, skipped |
Yes | |
operations[].children[].ci_pipeline_id |
string |
Yes | |
operations[].children[].ci_pipeline_run_id |
string |
Yes | |
operations[].children[].created_at |
string (date-time) |
Yes | |
operations[].children[].deployment_id |
string |
Yes | |
operations[].children[].desired_replicas |
integer |
Yes | |
operations[].children[].environment |
object |
Yes | |
operations[].children[].environment.id |
string |
Yes | |
operations[].children[].environment.kind |
string |
Yes | |
operations[].children[].environment.name |
string |
Yes | |
operations[].children[].environment.slug |
string |
Yes | |
operations[].children[].failure_message |
string |
Yes | |
operations[].children[].finished_at |
string (date-time) |
Yes | |
operations[].children[].history_kind |
enum: current, superseded, stale, historical |
Yes | |
operations[].children[].history_reason |
string |
Yes | |
operations[].children[].is_live |
boolean |
Yes | |
operations[].children[].live_replicas |
integer |
Yes | |
operations[].children[].location |
object |
Yes | |
operations[].children[].location.code |
string |
Yes | |
operations[].children[].location.id |
string |
Yes | |
operations[].children[].location.name |
string |
Yes | |
operations[].children[].number |
integer |
Yes | |
operations[].children[].recorded_status |
enum: queued, building, deploying, active, failed, rolled_back, ... |
Yes | |
operations[].children[].release_id |
string |
Yes | |
operations[].children[].rollout_id |
string |
Yes | |
operations[].children[].rollout_status |
enum: not_started, queued, running, succeeded, failed, canceled |
Yes | |
operations[].children[].started_at |
string (date-time) |
Yes | |
operations[].children[].superseded_by_deployment_id |
string |
Yes | |
operations[].children[].target_id |
string |
Yes | |
operations[].children[].updated_at |
string (date-time) |
Yes | |
operations[].ci_pipeline_id |
string |
Yes | |
operations[].ci_pipeline_run_id |
string |
Yes | |
operations[].commit_sha |
string |
Yes | |
operations[].created_at |
string (date-time) |
Yes | |
operations[].creator |
object |
Yes | |
operations[].creator.id |
string |
Yes | |
operations[].creator.name |
string |
Yes | |
operations[].creator.picture_url |
string |
Yes | |
operations[].deployed_url |
string (uri) |
Yes | |
operations[].duration_seconds |
integer |
Yes | |
operations[].environment |
object |
Yes | |
operations[].environment.id |
string |
Yes | |
operations[].environment.kind |
string |
Yes | |
operations[].environment.name |
string |
Yes | |
operations[].environment.slug |
string |
Yes | |
operations[].history_kind |
enum: current, superseded, stale, historical |
Yes | |
operations[].history_reason |
string |
Yes | |
operations[].id |
string |
Yes | |
operations[].is_live |
boolean |
Yes | |
operations[].is_rollback |
boolean |
Yes | |
operations[].live_region_count |
integer |
Yes | |
operations[].number |
integer |
Yes | |
operations[].placement |
object |
Yes | |
operations[].placement.id |
string |
Yes | |
operations[].placement.mode |
enum: single_region, multi_region |
Yes | |
operations[].placement.replicas_per_region |
integer |
Yes | |
operations[].placement.rollout_strategy |
enum: health_gated, burst |
Yes | |
operations[].placement.total_replicas |
integer |
Yes | |
operations[].region_count |
integer |
Yes | |
operations[].replicas_per_region |
integer |
Yes | |
operations[].rollback_reason |
string |
Yes | |
operations[].rollback_source_release_id |
string |
Yes | |
operations[].rollback_target_release_id |
string |
Yes | |
operations[].rollout_predecessor_id |
string |
Yes | |
operations[].rollout_status |
enum: not_started, queued, running, succeeded, failed, canceled, ... |
Yes | |
operations[].rollout_strategy |
enum: health_gated, burst |
Yes | |
operations[].service |
object |
Yes | |
operations[].service.id |
string |
Yes | |
operations[].service.name |
string |
Yes | |
operations[].service.slug |
string |
Yes | |
operations[].source_ref |
string |
Yes | |
operations[].status |
enum: queued, building, deploying, active, failed, rolled_back, ... |
Yes | |
operations[].total_replicas |
integer |
Yes | |
operations[].trigger_kind |
enum: manual, push, schedule, api, rollback |
Yes | |
operations[].updated_at |
string (date-time) |
Yes | |
pagination |
object |
Yes | |
pagination.count |
integer |
Yes | |
pagination.count_label |
string |
Yes | |
pagination.last |
integer |
Yes | |
pagination.limit |
integer |
Yes | |
pagination.next |
integer |
No | |
pagination.page |
integer |
Yes | |
pagination.previous |
integer |
No | |
pagination.series |
array of integer or enum: gap |
Yes |