List operations
const url = 'https://api.deploybase.eu/api/v1/api/v1/operations';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/operations \ --header 'Authorization: <Authorization>'Returns the team’s operations, newest first, 50 per page. Pass next_cursor back as cursor for the next page.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “ Query Parameters ”Only this project’s operations
Only the operations that built this deployment
Working, input_required, completed, failed or cancelled
Next_cursor of the previous page
Responses
Section titled “ Responses ”OK
object
object
object
object
object
object
PollAfterMs is how long a client that does not long-poll should wait before reading again; absent once the operation is terminal.
object
object
object
Component is “static”, “ssr” or “function:
Error says why the component is not ok, when a status code alone does not.
Protected: the site is private and verify could not get past its access gate (DEP-967).
Example
{ "data": { "data": [ { "actor": { "kind": "user" }, "kind": "ship", "reason": "build_failed", "status": "working", "step": "upload", "who_acts": "agent" } ] }}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"}OPERATIONS_API_DISABLED
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