Create a branch
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.
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
1 <= length1 <= length <= 64when true, versions are freeform
Response Body
application/json
application/json
curl -X POST "https://updater.xeonr.io/xeonr.updater.v1.UpdaterService/CreateBranch" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"branch": "map[createdAt:2026-10-01T09:30:00Z disableSemver:false id:br_4f1a9c2e7b3d5a60 name:stable]"
}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.
Create a distribution POST
Adds an installer or store listing to the app and returns it with its new `dst_` id. With `url` set it is an external entry: the download endpoint redirects there. Without it the entry is hosted, and gets its binary through `UploadDistributionFile` and `ConfirmDistributionFile`. Empty `target_ids` offers it on every target. A target id that does not exist is `INVALID_ARGUMENT`. 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`.