List an app's targets
Returns the app's targets (release channels on a branch), optionally only those of branch_id, in creation order. Visibility follows the caller: a caller with write access sees everything; anyone else (the public download page's client_credentials token, a read-only token) sees public targets only, plus the private targets named in an updater token sent in the X-Updater-Token header and signed with the app's signing secret.
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 <= lengthoptional filter
Response Body
application/json
application/json
curl -X POST "https://updater.xeonr.io/xeonr.updater.v1.UpdaterService/ListTargets" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"targets": [
"map[branchId:br_4f1a9c2e7b3d5a60 createdAt:2026-10-01T09:30:00Z id:tgt_9e2b7c4a1f3d6e05 name:production public:true]",
"map[branchId:br_4f1a9c2e7b3d5a60 createdAt:2026-10-01T09:30:00Z id:tgt_c3a81f5e9d2b7064 name:beta public:false]"
]
}List a branch's releases POST
Returns the releases of `branch_id`, newest first by creation time, optionally only those assigned to `target_id`. Drafts are included only when `include_drafts` is set and the caller has write access. Visibility follows the caller: a caller with write access sees everything; anyone else (the public download page's `client_credentials` token, a read-only token) sees public targets only, plus the private targets named in an updater token sent in the `X-Updater-Token` header and signed with the app's signing secret. There is no pagination. 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`.
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`.