Create a distribution
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.
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
1 <= length1 <= length <= 641 <= lengthSet for an external entry. A hosted one is created without a source and gains its file through UploadDistributionFile/ConfirmDistributionFile.
Response Body
application/json
application/json
curl -X POST "https://updater.xeonr.io/xeonr.updater.v1.UpdaterService/CreateDistribution" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"distribution": "map[createdAt:2026-10-01T09:30:00Z id:dst_8e4b2d6f0a1c3e57 label:App Store platform:ios public:true targetIds:[] url:https://apps.apple.com/app/pixel/id1234567890]"
}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.
Create a module POST
Adds a module definition to the app and returns it with its new `mod_` id. A name already used by another module 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.