Deployments

List revision history events of a deployment

GET
/deployments/{id}/revisions

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.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Deployment ID or name.

Query Parameters

limit?integer

Maximum number of events to return (default 10, max 100).

before?integer

Return only events with event_number strictly less than this value for pagination.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/deployments/string/revisions"
{  "data": [    {      "object": "revision_event",      "event_number": 0,      "revision_id": "string",      "revision_number": 0,      "image": "string",      "action": "create",      "activated_at": "2019-08-24T14:15:22Z"    }  ],  "object": "list"}