Replace an app's hostnames
Replaces the app's hostnames with hostnames and sets primary_hostname as the primary, then returns the resulting list as GetAppDomains does. The slug's own hostname is always kept, whatever is sent; an upl.im name may be given whole (downloads.upl.im) or as its label (downloads), and duplicates are dropped. A custom domain is live once its CNAME to cname_target verifies; until then its status is pending.
A primary_hostname that is not among the app's hostnames is INVALID_ARGUMENT; upl refuses an unverified custom domain as primary. 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.
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
1 <= lengthEvery hostname the app should answer on, besides the slug's own (which is always kept). An upl.im name may be given whole or as its label.
items <= 8One of the app's hostnames, or the slug's own. A custom domain can be primary only once it is verified.
1 <= length <= 253Response Body
application/json
application/json
curl -X POST "https://updater.xeonr.io/xeonr.updater.v1.UpdaterService/SetAppDomains" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"domains": [
"map[hostname:pixel.upl.im kind:slug primary:false status:active]",
"map[cnameTarget:custom.upl.im hostname:downloads.pixel-labs.com kind:custom primary:true status:active verifiedAt:2026-10-20T14:05:00Z]"
],
"publicUrl": "https://downloads.pixel-labs.com"
}Search for a CI publisher POST
Lists Forge repositories and groups visible to the signed-in administrator of this app.
Set the repositories an app is published from POST
Replaces the forge repositories whose CI may publish releases to the app with a workload token (a CI step's own identity, exchanged at Xeonr Auth) instead of a stored API key, and returns the list as stored. A workload needs an exact repository grant or membership beneath a granted group path. The repository team must own the app. Empty grants (the default) admit no workload; API keys are unaffected. Repositories are forge paths, `group/project` or deeper (`xeonr/burrow/cli`); they are trimmed, lower-cased and de-duplicated. The same call sets what a workload may publish: `tag_prefix` (a release version is the run's tag with it stripped; empty is `v`), `packages` (the step packages that may publish; empty is `updater/publish` and `ci/updater-publish`) and `prerelease_branch_ids` (the only branches that take a version with a pre-release part from CI). The principals field replaces both kinds of grant. Older callers that send repository paths preserve the existing group grants. The response, and `GetConfig` to a caller who reads the app in full, carry them as `publishing`, with Forge IDs resolved as the signed-in app administrator. Only a signed-in person with write access to the app may call this: an API key, a CI workload and another product acting for a person (the caller exchange) get `PERMISSION_DENIED`.