Create an updater-cli key
Creates a Xeonr Auth API key owned by the team, carrying updater:apps:read and updater:releases:edit, and returns it with its secret (xk_…), which is shown only this once. With no bucket_ids the key reaches every app the team owns, now and later; otherwise it is bound to those apps, each of which must be the team's (INVALID_ARGUMENT otherwise, NOT_FOUND for an unknown app). expires_at is optional and bounded by the updater application's key policy at Xeonr Auth, whose refusals are passed through.
The key is created on behalf of the calling admin, whom Xeonr Auth's audit trail names. A key reaches only the publishing RPCs (config, branch, target and module reads, and creating, updating and publishing releases, module releases, their artifacts and distributions).
The caller needs the upl admin role in owner_team, else PERMISSION_DENIED; a blank name is INVALID_ARGUMENT. API keys are refused. A deployment without API keys configured answers UNAVAILABLE.
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
1 <= length1 <= length <= 64length <= 512Empty: every app the team owns, now and later. Otherwise only these apps, each of which must be the team's.
items <= 50Unset: no expiry, where the application's key policy allows it. validate:skip bounded by auth's key policy
date-timeResponse Body
application/json
application/json
curl -X POST "https://updater.xeonr.io/xeonr.updater.v1.UpdaterService/CreateApiKey" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"key": "map[bucketIds:[8c1f5e2a-3b7d-4e9a-9f12-6d0c4b7a21e5] createdAt:2026-10-01T09:30:00Z createdBy:urn:xeonr:auth:user:6a1e4c9b-7d2f-4b8a-a3c5-1e9f0d7b2c48 description:Publishes Pixel from CI. effectiveScopes:[updater:apps:read updater:releases:edit] expiresAt:2027-10-22T00:00:00Z keyId:urn:xeonr:auth:api-key:01JB7Q4XK2M9P3R5T8V6W0Y1Z4 keyPrefix:a1b2c3d4 lastUsedAt:2026-10-22T08:15:00Z name:GitHub Actions scopes:[updater:apps:read updater:releases:edit]]",
"secret": "xk_a1b2c3d4_EXAMPLE0000000000000000000000"
}Confirm a module artifact upload POST
Completes an upload started with `UploadModuleArtifact`: stores the `.zip` under the module release's platform directory and records its SHA-512 in the release manifest. The stored file is private unless the module release is on a public target. Returns the artifact's platform, filename and SHA-512. A filename that does not end in `.zip` is `INVALID_ARGUMENT`; a published module release is `FAILED_PRECONDITION`; an unknown one is `NOT_FOUND`. The caller needs write access to the app's bucket: a signed-in person's token carrying `upl:uploads:manage`, or a team API key. A read-only token (the download page's `client_credentials` token, or one without that scope) gets `PERMISSION_DENIED`. An updater-cli team API key (carrying `updater:apps:read` and `updater:releases:edit`) may call this for an app its team owns (and, for a bound key, one of its apps); a key for another team's app gets `NOT_FOUND`.
Create an app POST
Creates a upl bucket of the updater's bucket type, owned by `owner_team`, with `slug` as its permanent identifier and DNS label, and returns it as an `App`. `name` is the display name and defaults to the slug; it is written to the app's seeded `/config.json` together with a new signing secret (best effort: the bucket exists even if the seed fails, and `UpdateConfig` can write it later). Bucket administration: the caller's token needs write access and the `upl:bucket:manage` scope, else `PERMISSION_DENIED` (that scope is not yet delegated to the updater's console session); upl-im-api also requires the upl admin role in the owning team. API keys are refused. An empty slug is `INVALID_ARGUMENT`; a deployment with no updater bucket type configured answers `FAILED_PRECONDITION`. upl's refusals (a slug already taken, for one) are passed through.