List a project's production history
const url = 'https://api.deploybase.eu/api/v1/api/v1/projects/example/production-events';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.deploybase.eu/api/v1/api/v1/projects/example/production-events \ --header 'Authorization: <Authorization>'Every move of the project’s production deployment, newest first, 50 per page: auto_promote (a build of the default branch went live), promote, or rollback (a promotion of an older deployment). Each names who did it (a person, an agent for a person, an API key, a git push, or the platform), through which client, and why when a reason was given. The history is append-only and kept for the project’s lifetime.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Project ID (UUID)
Query Parameters
Section titled “ Query Parameters ”Next_cursor of the previous page
Responses
Section titled “ Responses ”OK
object
object
object
object
object
Example
{ "data": { "data": [ { "actor": { "client": "dashboard", "kind": "user" }, "kind": "auto_promote" } ] }}Bad Request
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}Project not found
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}Live 39b0b6ad built