Publish a draft release
Publishes a draft: sets published_at and clears the update-check cache, so the release is offered on its targets on the next update check. A release that is already published, or has no artifacts, is refused with FAILED_PRECONDITION; an unknown release is NOT_FOUND. Returns the published release.
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.
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
1 <= length1 <= lengthResponse Body
application/json
application/json
curl -X POST "https://updater.xeonr.io/xeonr.updater.v1.UpdaterService/PublishRelease" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"release": "map[branchId:br_4f1a9c2e7b3d5a60 createdAt:2026-10-20T14:05:00Z draft:false gitCommit:3f9c2e7a1b4d6f80e5c3a9b7d1f2e4c6a8b0d3e5 id:rel_2c7e9a1b4d6f8035 notes:Fixes the crash on resume from sleep. publishedAt:2026-10-22T08:15:00Z repoUrl:https://github.com/pixel-labs/pixel rescinded:false targetIds:[tgt_9e2b7c4a1f3d6e05] version:1.4.2]"
}Publish a draft module release POST
Publishes a draft module release: sets `published_at` and clears the update-check cache, so module checks offer it at once. One already published, or with no artifacts, is refused with `FAILED_PRECONDITION`; an unknown one is `NOT_FOUND`. Returns the published module release. 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`.
Re-verify an app's custom domains POST
Asks upl to re-verify every custom domain of the app now, instead of waiting for its periodic check, and returns the hostnames with their status afterwards, as `GetAppDomains` does. Useful right after a CNAME record is created. 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.