API reference
What runs where
What each deployment runs and what changed: its commit, when and how it was rolled, how many merges on main it is behind and which pull requests those are, and main's newest merges with the deployments that run each. Read from what the rolls recorded.
Needs scope decisions:read.
bearerAuthorizationBearer <token>An access token from the identity provider: a person's, or a customer's from the client credentials grant with an API key (developers.inorbit.hr). The gateway verifies it; the audience is iohr-api.
page_size?integerAt most this many deployments; 0 means 50, above 200 means 200.
int32page_token?stringFrom the previous page's next_page_token.
iohr.deployments.v1.ListResponse
application/json- response
iohr.deployments.v1.ListResponse
deployments*array<>main*stringnext_page_token*stringrecent*array<>recorded_at*stringimport { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try { const { value } = await api.deployments.list(); console.log(value);} catch (e) { if (!(e instanceof ApiError)) throw e; console.error(`${e.code}: ${e.problem} (request id ${e.raw.requestId})`);}npm install @inorbithr/sdk. Calls the package's public surface; an operation newer than your package needs the next release or a client generated for your account. The SDKs.
{ "deployments": [ { "behind": 0, "commit": "string", "commit_title": "string", "how": "string", "known": true, "name": "string", "namespace": "string", "pending": [ { "commit": "string", "merged_at": "string", "pr": 0, "running_in": [ "string" ], "title": "string" } ], "rolled_at": "string" } ], "main": "string", "next_page_token": "string", "recent": [ { "commit": "string", "merged_at": "string", "pr": 0, "running_in": [ "string" ], "title": "string" } ], "recorded_at": "string"}Delete a correction DELETE
An owner or an admin of the account, a person, never an assistant. Needs scope `decisions:write`.
List connection kinds GET
What a connection can be (RFC 0018): each kind's authentication, configuration fields and actions, with every action's class (`read`, `write_reversible`, `write_irreversible`), its typed parameters and their JSON Schema. Needs scope `connections:read`.