Stacks are the core organizational unit in Cloud 66, representing a complete application environment including servers, services, databases, and configurations.
uid
stringThe unique identifier of the stack.
name
stringThe display name of the stack.
account_id
integerThe ID of the account that owns this stack.
git
stringThe git repository URL associated with the stack.
git_branch
stringThe git branch or reference being deployed.
environment
stringThe environment name for this stack (e.g., production, staging, development).
cloud
stringThe cloud provider name or "no_cloud" for BYOS stacks.
fqdn
stringThe fully qualified domain name for the stack.
language
stringThe primary programming language of the stack.
framework
stringThe framework used by the stack (e.g., rails, nodejs, docker).
status
integerThe current status code of the stack.
health
integerThe current health state code of the stack.
last_activity
stringThe date and time of the last activity on the stack.
last_activity_iso
datetimeThe date and time of the last activity in ISO 8601 format.
maintenance_mode
booleanWhether the stack is currently in maintenance mode.
has_loadbalancer
booleanWhether the stack has a load balancer configured.
created_at
datetimeThe date and time the stack was created, in ISO 8601 format.
updated_at
datetimeThe date and time the stack was last updated, in ISO 8601 format.
deploy_directory
stringThe deployment directory path on the servers.
cloud_status
stringThe status of cloud resources for this stack.
backend
stringThe backend type for the stack.
version
stringThe implementation version of the stack.
revision
stringThe current stack revision number.
is_busy
booleanWhether the stack is currently performing an operation.
account_name
stringThe friendly name and email of the account owner.
is_cluster
booleanWhether this stack is a Kubernetes cluster.
is_inside_cluster
booleanWhether this stack is deployed inside a cluster.
cluster_name
stringThe name of the cluster this stack belongs to, if applicable.
application_address
stringThe main application address for accessing the stack.
configstore_namespace
stringThe UUID namespace for the stack's configuration store.
namespaces
arrayFor Kubernetes stacks, the list of namespaces used.
considerations
objectImportant considerations or warnings about the stack state.
redeploy_hook
stringThe webhook URL for triggering redeployments (when exposed).
Example
{
"uid": "stack-550e8400-e29b-41d4-a716",
"name": "my-production-app",
"account_id": 12345,
"git": "git@github.com:mycompany/myapp.git",
"git_branch": "main",
"environment": "production",
"cloud": "aws",
"fqdn": "myapp.example.com",
"language": "ruby",
"framework": "rails",
"status": 1,
"health": 3,
"last_activity": "2024-02-15 14:30:00 UTC",
"last_activity_iso": "2024-02-15T14:30:00Z",
"maintenance_mode": false,
"has_loadbalancer": true,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-02-15T14:30:00Z",
"deploy_directory": "/var/deploy/myapp",
"cloud_status": "deployed",
"backend": "kubernetes",
"version": "4",
"revision": "42",
"is_busy": false,
"account_name": "Production Team (team@example.com)",
"is_cluster": false,
"is_inside_cluster": true,
"cluster_name": "production-cluster",
"application_address": "https://myapp.example.com",
"configstore_namespace": "550e8400-e29b-41d4-a716-446655440000",
"namespaces": [
"myapp-production",
"myapp-staging"
],
"considerations": {
"warnings": [],
"notices": [
"Stack is healthy"
]
},
"redeploy_hook": "https://hooks.cloud66.com/stacks/redeploy/abc123def456"
}