A valid request URL is required to generate request examples{
"settings": {
"min_successful_releases": 5,
"release_retention_limit": 5
},
"converged_release": {
"sequence": 2,
"completed_at": "2000-01-23T04:56:07.000Z",
"health": null,
"created_at": "2000-01-23T04:56:07.000Z",
"id": "id",
"state": null,
"message": "message"
},
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"created_at": "2000-01-23T04:56:07.000Z",
"spec": {
"stack_resources": [
{
"outputs": [
{
"name": "name",
"sensitive": true,
"type": "string"
},
{
"name": "name",
"sensitive": true,
"type": "string"
}
],
"depends_on": [
"depends_on",
"depends_on"
],
"replicas": 0,
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"init_spec": {
"args": [
"args",
"args"
],
"command": [
"command",
"command"
]
},
"execution_config": {
"args": [
"args",
"args"
],
"environment_variables": [
{
"name": "name",
"self_output": "self_output",
"value": "value"
},
{
"name": "name",
"self_output": "self_output",
"value": "value"
}
],
"command": [
"command",
"command"
]
},
"volume_mounts": [
{
"stack_resource_id": "stack_resource_id",
"source_volume_name": "source_volume_name",
"source_volume_type": null,
"source_sub_path": "source_sub_path",
"target_path": "target_path"
},
{
"stack_resource_id": "stack_resource_id",
"source_volume_name": "source_volume_name",
"source_volume_type": null,
"source_sub_path": "source_sub_path",
"target_path": "target_path"
}
],
"source": {
"volume": {
"volume_id": "volume_id",
"current_volume_hash": "current_volume_hash",
"volume_name": "volume_name",
"build_context": ".",
"dockerfile_path": "Dockerfile"
},
"image": {
"ref": "ref",
"registry_credentials_id": "registry_credentials_id"
},
"git": {
"repo_url": "repo_url",
"integration_id": "integration_id",
"commit": "commit",
"build_context": ".",
"tag": "tag",
"dockerfile_path": "Dockerfile",
"branch": "branch",
"push": {
"registry_credentials_id": "registry_credentials_id",
"repository": "repository"
}
}
},
"ports": [
{
"number": 0,
"protocol": "protocol",
"exposed_to_public": true,
"name": "name",
"subdomain_prefix": "subdomain_prefix"
},
{
"number": 0,
"protocol": "protocol",
"exposed_to_public": true,
"name": "name",
"subdomain_prefix": "subdomain_prefix"
}
],
"workload_type": "Service",
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"revision": "revision",
"schedule": "schedule",
"stack_id": "stack_id",
"name": "name",
"lifecycle_config": {
"restart_request_time": "2000-01-23T04:56:07.000Z"
},
"id": "id"
},
{
"outputs": [
{
"name": "name",
"sensitive": true,
"type": "string"
},
{
"name": "name",
"sensitive": true,
"type": "string"
}
],
"depends_on": [
"depends_on",
"depends_on"
],
"replicas": 0,
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"init_spec": {
"args": [
"args",
"args"
],
"command": [
"command",
"command"
]
},
"execution_config": {
"args": [
"args",
"args"
],
"environment_variables": [
{
"name": "name",
"self_output": "self_output",
"value": "value"
},
{
"name": "name",
"self_output": "self_output",
"value": "value"
}
],
"command": [
"command",
"command"
]
},
"volume_mounts": [
{
"stack_resource_id": "stack_resource_id",
"source_volume_name": "source_volume_name",
"source_volume_type": null,
"source_sub_path": "source_sub_path",
"target_path": "target_path"
},
{
"stack_resource_id": "stack_resource_id",
"source_volume_name": "source_volume_name",
"source_volume_type": null,
"source_sub_path": "source_sub_path",
"target_path": "target_path"
}
],
"source": {
"volume": {
"volume_id": "volume_id",
"current_volume_hash": "current_volume_hash",
"volume_name": "volume_name",
"build_context": ".",
"dockerfile_path": "Dockerfile"
},
"image": {
"ref": "ref",
"registry_credentials_id": "registry_credentials_id"
},
"git": {
"repo_url": "repo_url",
"integration_id": "integration_id",
"commit": "commit",
"build_context": ".",
"tag": "tag",
"dockerfile_path": "Dockerfile",
"branch": "branch",
"push": {
"registry_credentials_id": "registry_credentials_id",
"repository": "repository"
}
}
},
"ports": [
{
"number": 0,
"protocol": "protocol",
"exposed_to_public": true,
"name": "name",
"subdomain_prefix": "subdomain_prefix"
},
{
"number": 0,
"protocol": "protocol",
"exposed_to_public": true,
"name": "name",
"subdomain_prefix": "subdomain_prefix"
}
],
"workload_type": "Service",
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"revision": "revision",
"schedule": "schedule",
"stack_id": "stack_id",
"name": "name",
"lifecycle_config": {
"restart_request_time": "2000-01-23T04:56:07.000Z"
},
"id": "id"
}
],
"volumes": [
{
"project_id": "project_id",
"name": "name",
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"id": "id",
"spec": {
"needs_sync_before_use": true,
"storage_class": "storage_class",
"size": "size",
"source": {
"git_repo_source": {
"repo_url": "repo_url",
"revision": {
"commit": "commit",
"tag": "tag",
"branch": "branch"
}
},
"remote_source": {
"path": "path",
"current_directory_hash": "current_directory_hash"
},
"build_source": [
{
"destination_path": "destination_path",
"resource_ref": "resource_ref",
"source_path": "source_path"
},
{
"destination_path": "destination_path",
"resource_ref": "resource_ref",
"source_path": "source_path"
}
],
"source_type": null
},
"access_mode": null
},
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"status": {
"phase": "phase",
"build_artifact_syncs": [
{
"build_id": "build_id",
"resource_name": "resource_name",
"status": "status"
},
{
"build_id": "build_id",
"resource_name": "resource_name",
"status": "status"
}
],
"last_synced_git_revision": "last_synced_git_revision",
"last_remote_sync_hash": "last_remote_sync_hash",
"conditions": [
{
"reason": "reason",
"last_transition_time": "2000-01-23T04:56:07.000Z",
"type": "type",
"message": "message",
"observed_generation": 1,
"status": "status"
},
{
"reason": "reason",
"last_transition_time": "2000-01-23T04:56:07.000Z",
"type": "type",
"message": "message",
"observed_generation": 1,
"status": "status"
}
]
}
},
{
"project_id": "project_id",
"name": "name",
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"id": "id",
"spec": {
"needs_sync_before_use": true,
"storage_class": "storage_class",
"size": "size",
"source": {
"git_repo_source": {
"repo_url": "repo_url",
"revision": {
"commit": "commit",
"tag": "tag",
"branch": "branch"
}
},
"remote_source": {
"path": "path",
"current_directory_hash": "current_directory_hash"
},
"build_source": [
{
"destination_path": "destination_path",
"resource_ref": "resource_ref",
"source_path": "source_path"
},
{
"destination_path": "destination_path",
"resource_ref": "resource_ref",
"source_path": "source_path"
}
],
"source_type": null
},
"access_mode": null
},
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"status": {
"phase": "phase",
"build_artifact_syncs": [
{
"build_id": "build_id",
"resource_name": "resource_name",
"status": "status"
},
{
"build_id": "build_id",
"resource_name": "resource_name",
"status": "status"
}
],
"last_synced_git_revision": "last_synced_git_revision",
"last_remote_sync_hash": "last_remote_sync_hash",
"conditions": [
{
"reason": "reason",
"last_transition_time": "2000-01-23T04:56:07.000Z",
"type": "type",
"message": "message",
"observed_generation": 1,
"status": "status"
},
{
"reason": "reason",
"last_transition_time": "2000-01-23T04:56:07.000Z",
"type": "type",
"message": "message",
"observed_generation": 1,
"status": "status"
}
]
}
}
],
"connections": [
{
"mappings": [
{
"value": {
"output": "output",
"template": "template",
"values": {
"key": {
"output": "output"
}
}
},
"target": {
"path": "path",
"name": "name",
"type": "env"
}
},
{
"value": {
"output": "output",
"template": "template",
"values": {
"key": {
"output": "output"
}
}
},
"target": {
"path": "path",
"name": "name",
"type": "env"
}
}
],
"kind": "env",
"from": {
"name": "name",
"id": "id",
"type": "stack_resource"
},
"id": "id",
"to": {
"name": "name",
"id": "id",
"type": "stack_resource"
},
"config": null
},
{
"mappings": [
{
"value": {
"output": "output",
"template": "template",
"values": {
"key": {
"output": "output"
}
}
},
"target": {
"path": "path",
"name": "name",
"type": "env"
}
},
{
"value": {
"output": "output",
"template": "template",
"values": {
"key": {
"output": "output"
}
}
},
"target": {
"path": "path",
"name": "name",
"type": "env"
}
}
],
"kind": "env",
"from": {
"name": "name",
"id": "id",
"type": "stack_resource"
},
"id": "id",
"to": {
"name": "name",
"id": "id",
"type": "stack_resource"
},
"config": null
}
]
},
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"revision": "revision",
"latest_release": {
"sequence": 2,
"completed_at": "2000-01-23T04:56:07.000Z",
"health": null,
"created_at": "2000-01-23T04:56:07.000Z",
"id": "id",
"state": null,
"message": "message"
},
"lifecycle": null,
"organisation_id": "organisation_id",
"updated_at": "2000-01-23T04:56:07.000Z",
"project_id": "project_id",
"user_id": "user_id",
"name": "name",
"namespace": "namespace",
"id": "id"
}{
"settings": {
"min_successful_releases": 5,
"release_retention_limit": 5
},
"converged_release": {
"sequence": 2,
"completed_at": "2000-01-23T04:56:07.000Z",
"health": null,
"created_at": "2000-01-23T04:56:07.000Z",
"id": "id",
"state": null,
"message": "message"
},
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"created_at": "2000-01-23T04:56:07.000Z",
"spec": {
"stack_resources": [
{
"outputs": [
{
"name": "name",
"sensitive": true,
"type": "string"
},
{
"name": "name",
"sensitive": true,
"type": "string"
}
],
"depends_on": [
"depends_on",
"depends_on"
],
"replicas": 0,
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"init_spec": {
"args": [
"args",
"args"
],
"command": [
"command",
"command"
]
},
"execution_config": {
"args": [
"args",
"args"
],
"environment_variables": [
{
"name": "name",
"self_output": "self_output",
"value": "value"
},
{
"name": "name",
"self_output": "self_output",
"value": "value"
}
],
"command": [
"command",
"command"
]
},
"volume_mounts": [
{
"stack_resource_id": "stack_resource_id",
"source_volume_name": "source_volume_name",
"source_volume_type": null,
"source_sub_path": "source_sub_path",
"target_path": "target_path"
},
{
"stack_resource_id": "stack_resource_id",
"source_volume_name": "source_volume_name",
"source_volume_type": null,
"source_sub_path": "source_sub_path",
"target_path": "target_path"
}
],
"source": {
"volume": {
"volume_id": "volume_id",
"current_volume_hash": "current_volume_hash",
"volume_name": "volume_name",
"build_context": ".",
"dockerfile_path": "Dockerfile"
},
"image": {
"ref": "ref",
"registry_credentials_id": "registry_credentials_id"
},
"git": {
"repo_url": "repo_url",
"integration_id": "integration_id",
"commit": "commit",
"build_context": ".",
"tag": "tag",
"dockerfile_path": "Dockerfile",
"branch": "branch",
"push": {
"registry_credentials_id": "registry_credentials_id",
"repository": "repository"
}
}
},
"ports": [
{
"number": 0,
"protocol": "protocol",
"exposed_to_public": true,
"name": "name",
"subdomain_prefix": "subdomain_prefix"
},
{
"number": 0,
"protocol": "protocol",
"exposed_to_public": true,
"name": "name",
"subdomain_prefix": "subdomain_prefix"
}
],
"workload_type": "Service",
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"revision": "revision",
"schedule": "schedule",
"stack_id": "stack_id",
"name": "name",
"lifecycle_config": {
"restart_request_time": "2000-01-23T04:56:07.000Z"
},
"id": "id"
},
{
"outputs": [
{
"name": "name",
"sensitive": true,
"type": "string"
},
{
"name": "name",
"sensitive": true,
"type": "string"
}
],
"depends_on": [
"depends_on",
"depends_on"
],
"replicas": 0,
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"init_spec": {
"args": [
"args",
"args"
],
"command": [
"command",
"command"
]
},
"execution_config": {
"args": [
"args",
"args"
],
"environment_variables": [
{
"name": "name",
"self_output": "self_output",
"value": "value"
},
{
"name": "name",
"self_output": "self_output",
"value": "value"
}
],
"command": [
"command",
"command"
]
},
"volume_mounts": [
{
"stack_resource_id": "stack_resource_id",
"source_volume_name": "source_volume_name",
"source_volume_type": null,
"source_sub_path": "source_sub_path",
"target_path": "target_path"
},
{
"stack_resource_id": "stack_resource_id",
"source_volume_name": "source_volume_name",
"source_volume_type": null,
"source_sub_path": "source_sub_path",
"target_path": "target_path"
}
],
"source": {
"volume": {
"volume_id": "volume_id",
"current_volume_hash": "current_volume_hash",
"volume_name": "volume_name",
"build_context": ".",
"dockerfile_path": "Dockerfile"
},
"image": {
"ref": "ref",
"registry_credentials_id": "registry_credentials_id"
},
"git": {
"repo_url": "repo_url",
"integration_id": "integration_id",
"commit": "commit",
"build_context": ".",
"tag": "tag",
"dockerfile_path": "Dockerfile",
"branch": "branch",
"push": {
"registry_credentials_id": "registry_credentials_id",
"repository": "repository"
}
}
},
"ports": [
{
"number": 0,
"protocol": "protocol",
"exposed_to_public": true,
"name": "name",
"subdomain_prefix": "subdomain_prefix"
},
{
"number": 0,
"protocol": "protocol",
"exposed_to_public": true,
"name": "name",
"subdomain_prefix": "subdomain_prefix"
}
],
"workload_type": "Service",
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"revision": "revision",
"schedule": "schedule",
"stack_id": "stack_id",
"name": "name",
"lifecycle_config": {
"restart_request_time": "2000-01-23T04:56:07.000Z"
},
"id": "id"
}
],
"volumes": [
{
"project_id": "project_id",
"name": "name",
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"id": "id",
"spec": {
"needs_sync_before_use": true,
"storage_class": "storage_class",
"size": "size",
"source": {
"git_repo_source": {
"repo_url": "repo_url",
"revision": {
"commit": "commit",
"tag": "tag",
"branch": "branch"
}
},
"remote_source": {
"path": "path",
"current_directory_hash": "current_directory_hash"
},
"build_source": [
{
"destination_path": "destination_path",
"resource_ref": "resource_ref",
"source_path": "source_path"
},
{
"destination_path": "destination_path",
"resource_ref": "resource_ref",
"source_path": "source_path"
}
],
"source_type": null
},
"access_mode": null
},
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"status": {
"phase": "phase",
"build_artifact_syncs": [
{
"build_id": "build_id",
"resource_name": "resource_name",
"status": "status"
},
{
"build_id": "build_id",
"resource_name": "resource_name",
"status": "status"
}
],
"last_synced_git_revision": "last_synced_git_revision",
"last_remote_sync_hash": "last_remote_sync_hash",
"conditions": [
{
"reason": "reason",
"last_transition_time": "2000-01-23T04:56:07.000Z",
"type": "type",
"message": "message",
"observed_generation": 1,
"status": "status"
},
{
"reason": "reason",
"last_transition_time": "2000-01-23T04:56:07.000Z",
"type": "type",
"message": "message",
"observed_generation": 1,
"status": "status"
}
]
}
},
{
"project_id": "project_id",
"name": "name",
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"id": "id",
"spec": {
"needs_sync_before_use": true,
"storage_class": "storage_class",
"size": "size",
"source": {
"git_repo_source": {
"repo_url": "repo_url",
"revision": {
"commit": "commit",
"tag": "tag",
"branch": "branch"
}
},
"remote_source": {
"path": "path",
"current_directory_hash": "current_directory_hash"
},
"build_source": [
{
"destination_path": "destination_path",
"resource_ref": "resource_ref",
"source_path": "source_path"
},
{
"destination_path": "destination_path",
"resource_ref": "resource_ref",
"source_path": "source_path"
}
],
"source_type": null
},
"access_mode": null
},
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"status": {
"phase": "phase",
"build_artifact_syncs": [
{
"build_id": "build_id",
"resource_name": "resource_name",
"status": "status"
},
{
"build_id": "build_id",
"resource_name": "resource_name",
"status": "status"
}
],
"last_synced_git_revision": "last_synced_git_revision",
"last_remote_sync_hash": "last_remote_sync_hash",
"conditions": [
{
"reason": "reason",
"last_transition_time": "2000-01-23T04:56:07.000Z",
"type": "type",
"message": "message",
"observed_generation": 1,
"status": "status"
},
{
"reason": "reason",
"last_transition_time": "2000-01-23T04:56:07.000Z",
"type": "type",
"message": "message",
"observed_generation": 1,
"status": "status"
}
]
}
}
],
"connections": [
{
"mappings": [
{
"value": {
"output": "output",
"template": "template",
"values": {
"key": {
"output": "output"
}
}
},
"target": {
"path": "path",
"name": "name",
"type": "env"
}
},
{
"value": {
"output": "output",
"template": "template",
"values": {
"key": {
"output": "output"
}
}
},
"target": {
"path": "path",
"name": "name",
"type": "env"
}
}
],
"kind": "env",
"from": {
"name": "name",
"id": "id",
"type": "stack_resource"
},
"id": "id",
"to": {
"name": "name",
"id": "id",
"type": "stack_resource"
},
"config": null
},
{
"mappings": [
{
"value": {
"output": "output",
"template": "template",
"values": {
"key": {
"output": "output"
}
}
},
"target": {
"path": "path",
"name": "name",
"type": "env"
}
},
{
"value": {
"output": "output",
"template": "template",
"values": {
"key": {
"output": "output"
}
}
},
"target": {
"path": "path",
"name": "name",
"type": "env"
}
}
],
"kind": "env",
"from": {
"name": "name",
"id": "id",
"type": "stack_resource"
},
"id": "id",
"to": {
"name": "name",
"id": "id",
"type": "stack_resource"
},
"config": null
}
]
},
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"revision": "revision",
"latest_release": {
"sequence": 2,
"completed_at": "2000-01-23T04:56:07.000Z",
"health": null,
"created_at": "2000-01-23T04:56:07.000Z",
"id": "id",
"state": null,
"message": "message"
},
"lifecycle": null,
"organisation_id": "organisation_id",
"updated_at": "2000-01-23T04:56:07.000Z",
"project_id": "project_id",
"user_id": "user_id",
"name": "name",
"namespace": "namespace",
"id": "id"
}{
"id": "<string>",
"kind": "<string>",
"href": "<string>",
"code": "<string>",
"reason": "<string>",
"operation_id": "<string>",
"details": {}
}{
"id": "<string>",
"kind": "<string>",
"href": "<string>",
"code": "<string>",
"reason": "<string>",
"operation_id": "<string>",
"details": {}
}Apply a full stack document by name (declarative upsert)
Name-addressed declarative whole-document apply. Stack identity is the
name in the request body (unique per project). If a stack with that name
exists in the project it is reconciled exactly like the id-addressed apply
(resources and connections not present in the body are deleted, volumes
are add-only); otherwise the stack and its children are created
atomically after full validation. Idempotent — clients need not know
whether the stack already exists.
A valid request URL is required to generate request examples{
"settings": {
"min_successful_releases": 5,
"release_retention_limit": 5
},
"converged_release": {
"sequence": 2,
"completed_at": "2000-01-23T04:56:07.000Z",
"health": null,
"created_at": "2000-01-23T04:56:07.000Z",
"id": "id",
"state": null,
"message": "message"
},
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"created_at": "2000-01-23T04:56:07.000Z",
"spec": {
"stack_resources": [
{
"outputs": [
{
"name": "name",
"sensitive": true,
"type": "string"
},
{
"name": "name",
"sensitive": true,
"type": "string"
}
],
"depends_on": [
"depends_on",
"depends_on"
],
"replicas": 0,
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"init_spec": {
"args": [
"args",
"args"
],
"command": [
"command",
"command"
]
},
"execution_config": {
"args": [
"args",
"args"
],
"environment_variables": [
{
"name": "name",
"self_output": "self_output",
"value": "value"
},
{
"name": "name",
"self_output": "self_output",
"value": "value"
}
],
"command": [
"command",
"command"
]
},
"volume_mounts": [
{
"stack_resource_id": "stack_resource_id",
"source_volume_name": "source_volume_name",
"source_volume_type": null,
"source_sub_path": "source_sub_path",
"target_path": "target_path"
},
{
"stack_resource_id": "stack_resource_id",
"source_volume_name": "source_volume_name",
"source_volume_type": null,
"source_sub_path": "source_sub_path",
"target_path": "target_path"
}
],
"source": {
"volume": {
"volume_id": "volume_id",
"current_volume_hash": "current_volume_hash",
"volume_name": "volume_name",
"build_context": ".",
"dockerfile_path": "Dockerfile"
},
"image": {
"ref": "ref",
"registry_credentials_id": "registry_credentials_id"
},
"git": {
"repo_url": "repo_url",
"integration_id": "integration_id",
"commit": "commit",
"build_context": ".",
"tag": "tag",
"dockerfile_path": "Dockerfile",
"branch": "branch",
"push": {
"registry_credentials_id": "registry_credentials_id",
"repository": "repository"
}
}
},
"ports": [
{
"number": 0,
"protocol": "protocol",
"exposed_to_public": true,
"name": "name",
"subdomain_prefix": "subdomain_prefix"
},
{
"number": 0,
"protocol": "protocol",
"exposed_to_public": true,
"name": "name",
"subdomain_prefix": "subdomain_prefix"
}
],
"workload_type": "Service",
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"revision": "revision",
"schedule": "schedule",
"stack_id": "stack_id",
"name": "name",
"lifecycle_config": {
"restart_request_time": "2000-01-23T04:56:07.000Z"
},
"id": "id"
},
{
"outputs": [
{
"name": "name",
"sensitive": true,
"type": "string"
},
{
"name": "name",
"sensitive": true,
"type": "string"
}
],
"depends_on": [
"depends_on",
"depends_on"
],
"replicas": 0,
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"init_spec": {
"args": [
"args",
"args"
],
"command": [
"command",
"command"
]
},
"execution_config": {
"args": [
"args",
"args"
],
"environment_variables": [
{
"name": "name",
"self_output": "self_output",
"value": "value"
},
{
"name": "name",
"self_output": "self_output",
"value": "value"
}
],
"command": [
"command",
"command"
]
},
"volume_mounts": [
{
"stack_resource_id": "stack_resource_id",
"source_volume_name": "source_volume_name",
"source_volume_type": null,
"source_sub_path": "source_sub_path",
"target_path": "target_path"
},
{
"stack_resource_id": "stack_resource_id",
"source_volume_name": "source_volume_name",
"source_volume_type": null,
"source_sub_path": "source_sub_path",
"target_path": "target_path"
}
],
"source": {
"volume": {
"volume_id": "volume_id",
"current_volume_hash": "current_volume_hash",
"volume_name": "volume_name",
"build_context": ".",
"dockerfile_path": "Dockerfile"
},
"image": {
"ref": "ref",
"registry_credentials_id": "registry_credentials_id"
},
"git": {
"repo_url": "repo_url",
"integration_id": "integration_id",
"commit": "commit",
"build_context": ".",
"tag": "tag",
"dockerfile_path": "Dockerfile",
"branch": "branch",
"push": {
"registry_credentials_id": "registry_credentials_id",
"repository": "repository"
}
}
},
"ports": [
{
"number": 0,
"protocol": "protocol",
"exposed_to_public": true,
"name": "name",
"subdomain_prefix": "subdomain_prefix"
},
{
"number": 0,
"protocol": "protocol",
"exposed_to_public": true,
"name": "name",
"subdomain_prefix": "subdomain_prefix"
}
],
"workload_type": "Service",
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"revision": "revision",
"schedule": "schedule",
"stack_id": "stack_id",
"name": "name",
"lifecycle_config": {
"restart_request_time": "2000-01-23T04:56:07.000Z"
},
"id": "id"
}
],
"volumes": [
{
"project_id": "project_id",
"name": "name",
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"id": "id",
"spec": {
"needs_sync_before_use": true,
"storage_class": "storage_class",
"size": "size",
"source": {
"git_repo_source": {
"repo_url": "repo_url",
"revision": {
"commit": "commit",
"tag": "tag",
"branch": "branch"
}
},
"remote_source": {
"path": "path",
"current_directory_hash": "current_directory_hash"
},
"build_source": [
{
"destination_path": "destination_path",
"resource_ref": "resource_ref",
"source_path": "source_path"
},
{
"destination_path": "destination_path",
"resource_ref": "resource_ref",
"source_path": "source_path"
}
],
"source_type": null
},
"access_mode": null
},
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"status": {
"phase": "phase",
"build_artifact_syncs": [
{
"build_id": "build_id",
"resource_name": "resource_name",
"status": "status"
},
{
"build_id": "build_id",
"resource_name": "resource_name",
"status": "status"
}
],
"last_synced_git_revision": "last_synced_git_revision",
"last_remote_sync_hash": "last_remote_sync_hash",
"conditions": [
{
"reason": "reason",
"last_transition_time": "2000-01-23T04:56:07.000Z",
"type": "type",
"message": "message",
"observed_generation": 1,
"status": "status"
},
{
"reason": "reason",
"last_transition_time": "2000-01-23T04:56:07.000Z",
"type": "type",
"message": "message",
"observed_generation": 1,
"status": "status"
}
]
}
},
{
"project_id": "project_id",
"name": "name",
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"id": "id",
"spec": {
"needs_sync_before_use": true,
"storage_class": "storage_class",
"size": "size",
"source": {
"git_repo_source": {
"repo_url": "repo_url",
"revision": {
"commit": "commit",
"tag": "tag",
"branch": "branch"
}
},
"remote_source": {
"path": "path",
"current_directory_hash": "current_directory_hash"
},
"build_source": [
{
"destination_path": "destination_path",
"resource_ref": "resource_ref",
"source_path": "source_path"
},
{
"destination_path": "destination_path",
"resource_ref": "resource_ref",
"source_path": "source_path"
}
],
"source_type": null
},
"access_mode": null
},
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"status": {
"phase": "phase",
"build_artifact_syncs": [
{
"build_id": "build_id",
"resource_name": "resource_name",
"status": "status"
},
{
"build_id": "build_id",
"resource_name": "resource_name",
"status": "status"
}
],
"last_synced_git_revision": "last_synced_git_revision",
"last_remote_sync_hash": "last_remote_sync_hash",
"conditions": [
{
"reason": "reason",
"last_transition_time": "2000-01-23T04:56:07.000Z",
"type": "type",
"message": "message",
"observed_generation": 1,
"status": "status"
},
{
"reason": "reason",
"last_transition_time": "2000-01-23T04:56:07.000Z",
"type": "type",
"message": "message",
"observed_generation": 1,
"status": "status"
}
]
}
}
],
"connections": [
{
"mappings": [
{
"value": {
"output": "output",
"template": "template",
"values": {
"key": {
"output": "output"
}
}
},
"target": {
"path": "path",
"name": "name",
"type": "env"
}
},
{
"value": {
"output": "output",
"template": "template",
"values": {
"key": {
"output": "output"
}
}
},
"target": {
"path": "path",
"name": "name",
"type": "env"
}
}
],
"kind": "env",
"from": {
"name": "name",
"id": "id",
"type": "stack_resource"
},
"id": "id",
"to": {
"name": "name",
"id": "id",
"type": "stack_resource"
},
"config": null
},
{
"mappings": [
{
"value": {
"output": "output",
"template": "template",
"values": {
"key": {
"output": "output"
}
}
},
"target": {
"path": "path",
"name": "name",
"type": "env"
}
},
{
"value": {
"output": "output",
"template": "template",
"values": {
"key": {
"output": "output"
}
}
},
"target": {
"path": "path",
"name": "name",
"type": "env"
}
}
],
"kind": "env",
"from": {
"name": "name",
"id": "id",
"type": "stack_resource"
},
"id": "id",
"to": {
"name": "name",
"id": "id",
"type": "stack_resource"
},
"config": null
}
]
},
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"revision": "revision",
"latest_release": {
"sequence": 2,
"completed_at": "2000-01-23T04:56:07.000Z",
"health": null,
"created_at": "2000-01-23T04:56:07.000Z",
"id": "id",
"state": null,
"message": "message"
},
"lifecycle": null,
"organisation_id": "organisation_id",
"updated_at": "2000-01-23T04:56:07.000Z",
"project_id": "project_id",
"user_id": "user_id",
"name": "name",
"namespace": "namespace",
"id": "id"
}{
"settings": {
"min_successful_releases": 5,
"release_retention_limit": 5
},
"converged_release": {
"sequence": 2,
"completed_at": "2000-01-23T04:56:07.000Z",
"health": null,
"created_at": "2000-01-23T04:56:07.000Z",
"id": "id",
"state": null,
"message": "message"
},
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"created_at": "2000-01-23T04:56:07.000Z",
"spec": {
"stack_resources": [
{
"outputs": [
{
"name": "name",
"sensitive": true,
"type": "string"
},
{
"name": "name",
"sensitive": true,
"type": "string"
}
],
"depends_on": [
"depends_on",
"depends_on"
],
"replicas": 0,
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"init_spec": {
"args": [
"args",
"args"
],
"command": [
"command",
"command"
]
},
"execution_config": {
"args": [
"args",
"args"
],
"environment_variables": [
{
"name": "name",
"self_output": "self_output",
"value": "value"
},
{
"name": "name",
"self_output": "self_output",
"value": "value"
}
],
"command": [
"command",
"command"
]
},
"volume_mounts": [
{
"stack_resource_id": "stack_resource_id",
"source_volume_name": "source_volume_name",
"source_volume_type": null,
"source_sub_path": "source_sub_path",
"target_path": "target_path"
},
{
"stack_resource_id": "stack_resource_id",
"source_volume_name": "source_volume_name",
"source_volume_type": null,
"source_sub_path": "source_sub_path",
"target_path": "target_path"
}
],
"source": {
"volume": {
"volume_id": "volume_id",
"current_volume_hash": "current_volume_hash",
"volume_name": "volume_name",
"build_context": ".",
"dockerfile_path": "Dockerfile"
},
"image": {
"ref": "ref",
"registry_credentials_id": "registry_credentials_id"
},
"git": {
"repo_url": "repo_url",
"integration_id": "integration_id",
"commit": "commit",
"build_context": ".",
"tag": "tag",
"dockerfile_path": "Dockerfile",
"branch": "branch",
"push": {
"registry_credentials_id": "registry_credentials_id",
"repository": "repository"
}
}
},
"ports": [
{
"number": 0,
"protocol": "protocol",
"exposed_to_public": true,
"name": "name",
"subdomain_prefix": "subdomain_prefix"
},
{
"number": 0,
"protocol": "protocol",
"exposed_to_public": true,
"name": "name",
"subdomain_prefix": "subdomain_prefix"
}
],
"workload_type": "Service",
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"revision": "revision",
"schedule": "schedule",
"stack_id": "stack_id",
"name": "name",
"lifecycle_config": {
"restart_request_time": "2000-01-23T04:56:07.000Z"
},
"id": "id"
},
{
"outputs": [
{
"name": "name",
"sensitive": true,
"type": "string"
},
{
"name": "name",
"sensitive": true,
"type": "string"
}
],
"depends_on": [
"depends_on",
"depends_on"
],
"replicas": 0,
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"init_spec": {
"args": [
"args",
"args"
],
"command": [
"command",
"command"
]
},
"execution_config": {
"args": [
"args",
"args"
],
"environment_variables": [
{
"name": "name",
"self_output": "self_output",
"value": "value"
},
{
"name": "name",
"self_output": "self_output",
"value": "value"
}
],
"command": [
"command",
"command"
]
},
"volume_mounts": [
{
"stack_resource_id": "stack_resource_id",
"source_volume_name": "source_volume_name",
"source_volume_type": null,
"source_sub_path": "source_sub_path",
"target_path": "target_path"
},
{
"stack_resource_id": "stack_resource_id",
"source_volume_name": "source_volume_name",
"source_volume_type": null,
"source_sub_path": "source_sub_path",
"target_path": "target_path"
}
],
"source": {
"volume": {
"volume_id": "volume_id",
"current_volume_hash": "current_volume_hash",
"volume_name": "volume_name",
"build_context": ".",
"dockerfile_path": "Dockerfile"
},
"image": {
"ref": "ref",
"registry_credentials_id": "registry_credentials_id"
},
"git": {
"repo_url": "repo_url",
"integration_id": "integration_id",
"commit": "commit",
"build_context": ".",
"tag": "tag",
"dockerfile_path": "Dockerfile",
"branch": "branch",
"push": {
"registry_credentials_id": "registry_credentials_id",
"repository": "repository"
}
}
},
"ports": [
{
"number": 0,
"protocol": "protocol",
"exposed_to_public": true,
"name": "name",
"subdomain_prefix": "subdomain_prefix"
},
{
"number": 0,
"protocol": "protocol",
"exposed_to_public": true,
"name": "name",
"subdomain_prefix": "subdomain_prefix"
}
],
"workload_type": "Service",
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"revision": "revision",
"schedule": "schedule",
"stack_id": "stack_id",
"name": "name",
"lifecycle_config": {
"restart_request_time": "2000-01-23T04:56:07.000Z"
},
"id": "id"
}
],
"volumes": [
{
"project_id": "project_id",
"name": "name",
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"id": "id",
"spec": {
"needs_sync_before_use": true,
"storage_class": "storage_class",
"size": "size",
"source": {
"git_repo_source": {
"repo_url": "repo_url",
"revision": {
"commit": "commit",
"tag": "tag",
"branch": "branch"
}
},
"remote_source": {
"path": "path",
"current_directory_hash": "current_directory_hash"
},
"build_source": [
{
"destination_path": "destination_path",
"resource_ref": "resource_ref",
"source_path": "source_path"
},
{
"destination_path": "destination_path",
"resource_ref": "resource_ref",
"source_path": "source_path"
}
],
"source_type": null
},
"access_mode": null
},
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"status": {
"phase": "phase",
"build_artifact_syncs": [
{
"build_id": "build_id",
"resource_name": "resource_name",
"status": "status"
},
{
"build_id": "build_id",
"resource_name": "resource_name",
"status": "status"
}
],
"last_synced_git_revision": "last_synced_git_revision",
"last_remote_sync_hash": "last_remote_sync_hash",
"conditions": [
{
"reason": "reason",
"last_transition_time": "2000-01-23T04:56:07.000Z",
"type": "type",
"message": "message",
"observed_generation": 1,
"status": "status"
},
{
"reason": "reason",
"last_transition_time": "2000-01-23T04:56:07.000Z",
"type": "type",
"message": "message",
"observed_generation": 1,
"status": "status"
}
]
}
},
{
"project_id": "project_id",
"name": "name",
"annotations": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"id": "id",
"spec": {
"needs_sync_before_use": true,
"storage_class": "storage_class",
"size": "size",
"source": {
"git_repo_source": {
"repo_url": "repo_url",
"revision": {
"commit": "commit",
"tag": "tag",
"branch": "branch"
}
},
"remote_source": {
"path": "path",
"current_directory_hash": "current_directory_hash"
},
"build_source": [
{
"destination_path": "destination_path",
"resource_ref": "resource_ref",
"source_path": "source_path"
},
{
"destination_path": "destination_path",
"resource_ref": "resource_ref",
"source_path": "source_path"
}
],
"source_type": null
},
"access_mode": null
},
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"status": {
"phase": "phase",
"build_artifact_syncs": [
{
"build_id": "build_id",
"resource_name": "resource_name",
"status": "status"
},
{
"build_id": "build_id",
"resource_name": "resource_name",
"status": "status"
}
],
"last_synced_git_revision": "last_synced_git_revision",
"last_remote_sync_hash": "last_remote_sync_hash",
"conditions": [
{
"reason": "reason",
"last_transition_time": "2000-01-23T04:56:07.000Z",
"type": "type",
"message": "message",
"observed_generation": 1,
"status": "status"
},
{
"reason": "reason",
"last_transition_time": "2000-01-23T04:56:07.000Z",
"type": "type",
"message": "message",
"observed_generation": 1,
"status": "status"
}
]
}
}
],
"connections": [
{
"mappings": [
{
"value": {
"output": "output",
"template": "template",
"values": {
"key": {
"output": "output"
}
}
},
"target": {
"path": "path",
"name": "name",
"type": "env"
}
},
{
"value": {
"output": "output",
"template": "template",
"values": {
"key": {
"output": "output"
}
}
},
"target": {
"path": "path",
"name": "name",
"type": "env"
}
}
],
"kind": "env",
"from": {
"name": "name",
"id": "id",
"type": "stack_resource"
},
"id": "id",
"to": {
"name": "name",
"id": "id",
"type": "stack_resource"
},
"config": null
},
{
"mappings": [
{
"value": {
"output": "output",
"template": "template",
"values": {
"key": {
"output": "output"
}
}
},
"target": {
"path": "path",
"name": "name",
"type": "env"
}
},
{
"value": {
"output": "output",
"template": "template",
"values": {
"key": {
"output": "output"
}
}
},
"target": {
"path": "path",
"name": "name",
"type": "env"
}
}
],
"kind": "env",
"from": {
"name": "name",
"id": "id",
"type": "stack_resource"
},
"id": "id",
"to": {
"name": "name",
"id": "id",
"type": "stack_resource"
},
"config": null
}
]
},
"labels": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
],
"revision": "revision",
"latest_release": {
"sequence": 2,
"completed_at": "2000-01-23T04:56:07.000Z",
"health": null,
"created_at": "2000-01-23T04:56:07.000Z",
"id": "id",
"state": null,
"message": "message"
},
"lifecycle": null,
"organisation_id": "organisation_id",
"updated_at": "2000-01-23T04:56:07.000Z",
"project_id": "project_id",
"user_id": "user_id",
"name": "name",
"namespace": "namespace",
"id": "id"
}{
"id": "<string>",
"kind": "<string>",
"href": "<string>",
"code": "<string>",
"reason": "<string>",
"operation_id": "<string>",
"details": {}
}{
"id": "<string>",
"kind": "<string>",
"href": "<string>",
"code": "<string>",
"reason": "<string>",
"operation_id": "<string>",
"details": {}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the organization
The name of the project
Body
Show child attributes
Show child attributes
{ "stack_resources": [ { "outputs": [ { "name": "name", "sensitive": true, "type": "string" }, { "name": "name", "sensitive": true, "type": "string" } ], "depends_on": ["depends_on", "depends_on"], "replicas": 0, "annotations": [ { "value": "value", "key": "key" }, { "value": "value", "key": "key" } ], "init_spec": { "args": ["args", "args"], "command": ["command", "command"] }, "execution_config": { "args": ["args", "args"], "environment_variables": [ { "name": "name", "self_output": "self_output", "value": "value" }, { "name": "name", "self_output": "self_output", "value": "value" } ], "command": ["command", "command"] }, "volume_mounts": [ { "stack_resource_id": "stack_resource_id", "source_volume_name": "source_volume_name", "source_volume_type": null, "source_sub_path": "source_sub_path", "target_path": "target_path" }, { "stack_resource_id": "stack_resource_id", "source_volume_name": "source_volume_name", "source_volume_type": null, "source_sub_path": "source_sub_path", "target_path": "target_path" } ], "source": { "volume": { "volume_id": "volume_id", "current_volume_hash": "current_volume_hash", "volume_name": "volume_name", "build_context": ".", "dockerfile_path": "Dockerfile" }, "image": { "ref": "ref", "registry_credentials_id": "registry_credentials_id" }, "git": { "repo_url": "repo_url", "integration_id": "integration_id", "commit": "commit", "build_context": ".", "tag": "tag", "dockerfile_path": "Dockerfile", "branch": "branch", "push": { "registry_credentials_id": "registry_credentials_id", "repository": "repository" } } }, "ports": [ { "number": 0, "protocol": "protocol", "exposed_to_public": true, "name": "name", "subdomain_prefix": "subdomain_prefix" }, { "number": 0, "protocol": "protocol", "exposed_to_public": true, "name": "name", "subdomain_prefix": "subdomain_prefix" } ], "workload_type": "Service", "labels": [ { "value": "value", "key": "key" }, { "value": "value", "key": "key" } ], "revision": "revision", "schedule": "schedule", "stack_id": "stack_id", "name": "name", "lifecycle_config": { "restart_request_time": "2000-01-23T04:56:07.000Z" }, "id": "id" }, { "outputs": [ { "name": "name", "sensitive": true, "type": "string" }, { "name": "name", "sensitive": true, "type": "string" } ], "depends_on": ["depends_on", "depends_on"], "replicas": 0, "annotations": [ { "value": "value", "key": "key" }, { "value": "value", "key": "key" } ], "init_spec": { "args": ["args", "args"], "command": ["command", "command"] }, "execution_config": { "args": ["args", "args"], "environment_variables": [ { "name": "name", "self_output": "self_output", "value": "value" }, { "name": "name", "self_output": "self_output", "value": "value" } ], "command": ["command", "command"] }, "volume_mounts": [ { "stack_resource_id": "stack_resource_id", "source_volume_name": "source_volume_name", "source_volume_type": null, "source_sub_path": "source_sub_path", "target_path": "target_path" }, { "stack_resource_id": "stack_resource_id", "source_volume_name": "source_volume_name", "source_volume_type": null, "source_sub_path": "source_sub_path", "target_path": "target_path" } ], "source": { "volume": { "volume_id": "volume_id", "current_volume_hash": "current_volume_hash", "volume_name": "volume_name", "build_context": ".", "dockerfile_path": "Dockerfile" }, "image": { "ref": "ref", "registry_credentials_id": "registry_credentials_id" }, "git": { "repo_url": "repo_url", "integration_id": "integration_id", "commit": "commit", "build_context": ".", "tag": "tag", "dockerfile_path": "Dockerfile", "branch": "branch", "push": { "registry_credentials_id": "registry_credentials_id", "repository": "repository" } } }, "ports": [ { "number": 0, "protocol": "protocol", "exposed_to_public": true, "name": "name", "subdomain_prefix": "subdomain_prefix" }, { "number": 0, "protocol": "protocol", "exposed_to_public": true, "name": "name", "subdomain_prefix": "subdomain_prefix" } ], "workload_type": "Service", "labels": [ { "value": "value", "key": "key" }, { "value": "value", "key": "key" } ], "revision": "revision", "schedule": "schedule", "stack_id": "stack_id", "name": "name", "lifecycle_config": { "restart_request_time": "2000-01-23T04:56:07.000Z" }, "id": "id" } ], "volumes": [ { "project_id": "project_id", "name": "name", "annotations": [ { "value": "value", "key": "key" }, { "value": "value", "key": "key" } ], "id": "id", "spec": { "needs_sync_before_use": true, "storage_class": "storage_class", "size": "size", "source": { "git_repo_source": { "repo_url": "repo_url", "revision": { "commit": "commit", "tag": "tag", "branch": "branch" } }, "remote_source": { "path": "path", "current_directory_hash": "current_directory_hash" }, "build_source": [ { "destination_path": "destination_path", "resource_ref": "resource_ref", "source_path": "source_path" }, { "destination_path": "destination_path", "resource_ref": "resource_ref", "source_path": "source_path" } ], "source_type": null }, "access_mode": null }, "labels": [ { "value": "value", "key": "key" }, { "value": "value", "key": "key" } ], "status": { "phase": "phase", "build_artifact_syncs": [ { "build_id": "build_id", "resource_name": "resource_name", "status": "status" }, { "build_id": "build_id", "resource_name": "resource_name", "status": "status" } ], "last_synced_git_revision": "last_synced_git_revision", "last_remote_sync_hash": "last_remote_sync_hash", "conditions": [ { "reason": "reason", "last_transition_time": "2000-01-23T04:56:07.000Z", "type": "type", "message": "message", "observed_generation": 1, "status": "status" }, { "reason": "reason", "last_transition_time": "2000-01-23T04:56:07.000Z", "type": "type", "message": "message", "observed_generation": 1, "status": "status" } ] } }, { "project_id": "project_id", "name": "name", "annotations": [ { "value": "value", "key": "key" }, { "value": "value", "key": "key" } ], "id": "id", "spec": { "needs_sync_before_use": true, "storage_class": "storage_class", "size": "size", "source": { "git_repo_source": { "repo_url": "repo_url", "revision": { "commit": "commit", "tag": "tag", "branch": "branch" } }, "remote_source": { "path": "path", "current_directory_hash": "current_directory_hash" }, "build_source": [ { "destination_path": "destination_path", "resource_ref": "resource_ref", "source_path": "source_path" }, { "destination_path": "destination_path", "resource_ref": "resource_ref", "source_path": "source_path" } ], "source_type": null }, "access_mode": null }, "labels": [ { "value": "value", "key": "key" }, { "value": "value", "key": "key" } ], "status": { "phase": "phase", "build_artifact_syncs": [ { "build_id": "build_id", "resource_name": "resource_name", "status": "status" }, { "build_id": "build_id", "resource_name": "resource_name", "status": "status" } ], "last_synced_git_revision": "last_synced_git_revision", "last_remote_sync_hash": "last_remote_sync_hash", "conditions": [ { "reason": "reason", "last_transition_time": "2000-01-23T04:56:07.000Z", "type": "type", "message": "message", "observed_generation": 1, "status": "status" }, { "reason": "reason", "last_transition_time": "2000-01-23T04:56:07.000Z", "type": "type", "message": "message", "observed_generation": 1, "status": "status" } ] } } ], "connections": [ { "mappings": [ { "value": { "output": "output", "template": "template", "values": { "key": { "output": "output" } } }, "target": { "path": "path", "name": "name", "type": "env" } }, { "value": { "output": "output", "template": "template", "values": { "key": { "output": "output" } } }, "target": { "path": "path", "name": "name", "type": "env" } } ], "kind": "env", "from": { "name": "name", "id": "id", "type": "stack_resource" }, "id": "id", "to": { "name": "name", "id": "id", "type": "stack_resource" }, "config": null }, { "mappings": [ { "value": { "output": "output", "template": "template", "values": { "key": { "output": "output" } } }, "target": { "path": "path", "name": "name", "type": "env" } }, { "value": { "output": "output", "template": "template", "values": { "key": { "output": "output" } } }, "target": { "path": "path", "name": "name", "type": "env" } } ], "kind": "env", "from": { "name": "name", "id": "id", "type": "stack_resource" }, "id": "id", "to": { "name": "name", "id": "id", "type": "stack_resource" }, "config": null } ] }
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
{ "min_successful_releases": 5, "release_retention_limit": 5 }
Response
Stack updated successfully
Show child attributes
Show child attributes
{ "stack_resources": [ { "outputs": [ { "name": "name", "sensitive": true, "type": "string" }, { "name": "name", "sensitive": true, "type": "string" } ], "depends_on": ["depends_on", "depends_on"], "replicas": 0, "annotations": [ { "value": "value", "key": "key" }, { "value": "value", "key": "key" } ], "init_spec": { "args": ["args", "args"], "command": ["command", "command"] }, "execution_config": { "args": ["args", "args"], "environment_variables": [ { "name": "name", "self_output": "self_output", "value": "value" }, { "name": "name", "self_output": "self_output", "value": "value" } ], "command": ["command", "command"] }, "volume_mounts": [ { "stack_resource_id": "stack_resource_id", "source_volume_name": "source_volume_name", "source_volume_type": null, "source_sub_path": "source_sub_path", "target_path": "target_path" }, { "stack_resource_id": "stack_resource_id", "source_volume_name": "source_volume_name", "source_volume_type": null, "source_sub_path": "source_sub_path", "target_path": "target_path" } ], "source": { "volume": { "volume_id": "volume_id", "current_volume_hash": "current_volume_hash", "volume_name": "volume_name", "build_context": ".", "dockerfile_path": "Dockerfile" }, "image": { "ref": "ref", "registry_credentials_id": "registry_credentials_id" }, "git": { "repo_url": "repo_url", "integration_id": "integration_id", "commit": "commit", "build_context": ".", "tag": "tag", "dockerfile_path": "Dockerfile", "branch": "branch", "push": { "registry_credentials_id": "registry_credentials_id", "repository": "repository" } } }, "ports": [ { "number": 0, "protocol": "protocol", "exposed_to_public": true, "name": "name", "subdomain_prefix": "subdomain_prefix" }, { "number": 0, "protocol": "protocol", "exposed_to_public": true, "name": "name", "subdomain_prefix": "subdomain_prefix" } ], "workload_type": "Service", "labels": [ { "value": "value", "key": "key" }, { "value": "value", "key": "key" } ], "revision": "revision", "schedule": "schedule", "stack_id": "stack_id", "name": "name", "lifecycle_config": { "restart_request_time": "2000-01-23T04:56:07.000Z" }, "id": "id" }, { "outputs": [ { "name": "name", "sensitive": true, "type": "string" }, { "name": "name", "sensitive": true, "type": "string" } ], "depends_on": ["depends_on", "depends_on"], "replicas": 0, "annotations": [ { "value": "value", "key": "key" }, { "value": "value", "key": "key" } ], "init_spec": { "args": ["args", "args"], "command": ["command", "command"] }, "execution_config": { "args": ["args", "args"], "environment_variables": [ { "name": "name", "self_output": "self_output", "value": "value" }, { "name": "name", "self_output": "self_output", "value": "value" } ], "command": ["command", "command"] }, "volume_mounts": [ { "stack_resource_id": "stack_resource_id", "source_volume_name": "source_volume_name", "source_volume_type": null, "source_sub_path": "source_sub_path", "target_path": "target_path" }, { "stack_resource_id": "stack_resource_id", "source_volume_name": "source_volume_name", "source_volume_type": null, "source_sub_path": "source_sub_path", "target_path": "target_path" } ], "source": { "volume": { "volume_id": "volume_id", "current_volume_hash": "current_volume_hash", "volume_name": "volume_name", "build_context": ".", "dockerfile_path": "Dockerfile" }, "image": { "ref": "ref", "registry_credentials_id": "registry_credentials_id" }, "git": { "repo_url": "repo_url", "integration_id": "integration_id", "commit": "commit", "build_context": ".", "tag": "tag", "dockerfile_path": "Dockerfile", "branch": "branch", "push": { "registry_credentials_id": "registry_credentials_id", "repository": "repository" } } }, "ports": [ { "number": 0, "protocol": "protocol", "exposed_to_public": true, "name": "name", "subdomain_prefix": "subdomain_prefix" }, { "number": 0, "protocol": "protocol", "exposed_to_public": true, "name": "name", "subdomain_prefix": "subdomain_prefix" } ], "workload_type": "Service", "labels": [ { "value": "value", "key": "key" }, { "value": "value", "key": "key" } ], "revision": "revision", "schedule": "schedule", "stack_id": "stack_id", "name": "name", "lifecycle_config": { "restart_request_time": "2000-01-23T04:56:07.000Z" }, "id": "id" } ], "volumes": [ { "project_id": "project_id", "name": "name", "annotations": [ { "value": "value", "key": "key" }, { "value": "value", "key": "key" } ], "id": "id", "spec": { "needs_sync_before_use": true, "storage_class": "storage_class", "size": "size", "source": { "git_repo_source": { "repo_url": "repo_url", "revision": { "commit": "commit", "tag": "tag", "branch": "branch" } }, "remote_source": { "path": "path", "current_directory_hash": "current_directory_hash" }, "build_source": [ { "destination_path": "destination_path", "resource_ref": "resource_ref", "source_path": "source_path" }, { "destination_path": "destination_path", "resource_ref": "resource_ref", "source_path": "source_path" } ], "source_type": null }, "access_mode": null }, "labels": [ { "value": "value", "key": "key" }, { "value": "value", "key": "key" } ], "status": { "phase": "phase", "build_artifact_syncs": [ { "build_id": "build_id", "resource_name": "resource_name", "status": "status" }, { "build_id": "build_id", "resource_name": "resource_name", "status": "status" } ], "last_synced_git_revision": "last_synced_git_revision", "last_remote_sync_hash": "last_remote_sync_hash", "conditions": [ { "reason": "reason", "last_transition_time": "2000-01-23T04:56:07.000Z", "type": "type", "message": "message", "observed_generation": 1, "status": "status" }, { "reason": "reason", "last_transition_time": "2000-01-23T04:56:07.000Z", "type": "type", "message": "message", "observed_generation": 1, "status": "status" } ] } }, { "project_id": "project_id", "name": "name", "annotations": [ { "value": "value", "key": "key" }, { "value": "value", "key": "key" } ], "id": "id", "spec": { "needs_sync_before_use": true, "storage_class": "storage_class", "size": "size", "source": { "git_repo_source": { "repo_url": "repo_url", "revision": { "commit": "commit", "tag": "tag", "branch": "branch" } }, "remote_source": { "path": "path", "current_directory_hash": "current_directory_hash" }, "build_source": [ { "destination_path": "destination_path", "resource_ref": "resource_ref", "source_path": "source_path" }, { "destination_path": "destination_path", "resource_ref": "resource_ref", "source_path": "source_path" } ], "source_type": null }, "access_mode": null }, "labels": [ { "value": "value", "key": "key" }, { "value": "value", "key": "key" } ], "status": { "phase": "phase", "build_artifact_syncs": [ { "build_id": "build_id", "resource_name": "resource_name", "status": "status" }, { "build_id": "build_id", "resource_name": "resource_name", "status": "status" } ], "last_synced_git_revision": "last_synced_git_revision", "last_remote_sync_hash": "last_remote_sync_hash", "conditions": [ { "reason": "reason", "last_transition_time": "2000-01-23T04:56:07.000Z", "type": "type", "message": "message", "observed_generation": 1, "status": "status" }, { "reason": "reason", "last_transition_time": "2000-01-23T04:56:07.000Z", "type": "type", "message": "message", "observed_generation": 1, "status": "status" } ] } } ], "connections": [ { "mappings": [ { "value": { "output": "output", "template": "template", "values": { "key": { "output": "output" } } }, "target": { "path": "path", "name": "name", "type": "env" } }, { "value": { "output": "output", "template": "template", "values": { "key": { "output": "output" } } }, "target": { "path": "path", "name": "name", "type": "env" } } ], "kind": "env", "from": { "name": "name", "id": "id", "type": "stack_resource" }, "id": "id", "to": { "name": "name", "id": "id", "type": "stack_resource" }, "config": null }, { "mappings": [ { "value": { "output": "output", "template": "template", "values": { "key": { "output": "output" } } }, "target": { "path": "path", "name": "name", "type": "env" } }, { "value": { "output": "output", "template": "template", "values": { "key": { "output": "output" } } }, "target": { "path": "path", "name": "name", "type": "env" } } ], "kind": "env", "from": { "name": "name", "id": "id", "type": "stack_resource" }, "id": "id", "to": { "name": "name", "id": "id", "type": "stack_resource" }, "config": null } ] }
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
{ "min_successful_releases": 5, "release_retention_limit": 5 }
Coarse stack entity lifecycle. Deploy/runtime status lives on releases.
active, deleting Lightweight release reference embedded in the stack for list views.
Show child attributes
Show child attributes
{ "sequence": 2, "completed_at": "2000-01-23T04:56:07.000Z", "health": null, "created_at": "2000-01-23T04:56:07.000Z", "id": "id", "state": null, "message": "message" }
Lightweight release reference embedded in the stack for list views.
Show child attributes
Show child attributes
{ "sequence": 2, "completed_at": "2000-01-23T04:56:07.000Z", "health": null, "created_at": "2000-01-23T04:56:07.000Z", "id": "id", "state": null, "message": "message" }