Deployments

Get the full configuration of a specific revision

GET
/deployments/{id}/revisions/{revisionIdentifier}

Returns the deployment configuration defined by the specified revision. Only the 50 most recent revisions per deployment retain their configuration; older revisions return 404 even while they still appear in the revision history. The deployment's currently active revision is always available, regardless of age.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Deployment ID or name.

revisionIdentifier*string

Revision number or revision ID.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/deployments/string/revisions/string"
{  "object": "revision",  "revision_id": "string",  "image": "string",  "min_replicas": 0,  "max_replicas": 0,  "port": 0,  "protocol": "string",  "capacity_type": "stable",  "command": [    "string"  ],  "args": [    "string"  ],  "environment_variables": [    {      "name": "string",      "value": "string",      "value_from_secret": "string"    }  ],  "volumes": [    {      "mount_path": "string",      "name": "string",      "version": 0    }  ],  "gpu_type": "string",  "gpu_count": 0,  "cpu": 0,  "memory": 0,  "storage": 0,  "health_check_path": "string",  "autoscaling": {    "metric": "HTTPTotalRequests",    "target": 0,    "time_interval_minutes": 0  },  "termination_grace_period_seconds": 0,  "created_at": "2019-08-24T14:15:22Z"}