Skip to Content
Xeonr Developer Docs
API SpecificationUpdater

Create an app

POST
/xeonr.updater.v1.UpdaterService/CreateApp

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.

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

ownerTeam?string
Length1 <= length
slug?string

The bucket's permanent identifier and S3 bucket name: a DNS label.

Formathostname
Length2 <= length <= 64
name?string

Display name; the slug when empty.

Lengthlength <= 64
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://updater.xeonr.io/xeonr.updater.v1.UpdaterService/CreateApp" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "app": "map[bucketId:8c1f5e2a-3b7d-4e9a-9f12-6d0c4b7a21e5 createdAt:2026-10-01T09:30:00Z integrationBucketTypeId:3d2e7a10-6c4b-4f8e-a1d9-0b5c7e9f2a84 name:Pixel ownerTeam:urn:xeonr:auth:team:0f6b5f8c-2a1d-4c3e-9b7a-5e8d1c2f4a60 ownerTeamSlug:pixel-labs private:false publicUrl:https://pixel.upl.im slug:pixel]"
}

Create an updater-cli key POST

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`.

Create a branch POST

Adds a release branch to the app and returns it with its new `br_` id. Set `disable_semver` for freeform versions (git SHAs, build numbers), which are then ordered by publish time; by default versions must be valid semver. The branch starts with no releases. A name already used by another branch of the app is `ALREADY_EXISTS`. The caller needs write access to the app's bucket (a signed-in person's token carrying `upl:uploads:manage`); a read-only token gets `PERMISSION_DENIED`, and so does an API key.