Get the full configuration of a specific revision
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 In: header
Path Parameters
Deployment ID or name.
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"}List revision history events of a deployment GET
Returns the revision history of the deployment, in descending order. Defaults to the most recent events. Only the 200 most recent events are retained per deployment; paginating past that returns an empty list.
Roll back a deployment to a previous revision POST
Re-applies the spec of a previous revision. Pods running the target revision will be retained. Other pods will be drained and restarted with the target revision. Only the 50 most recent revisions per deployment can be rolled back to; older targets return 404.