Get a module release and its artifacts
Returns one module release, found on whichever branch holds it, with its dependencies and every artifact uploaded to it. A module release that does not exist, or is on no target visible to the caller, is NOT_FOUND. 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 <= length1 <= lengthResponse Body
application/json
application/json
curl -X POST "https://updater.xeonr.io/xeonr.updater.v1.UpdaterService/GetModuleRelease" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"moduleRelease": "map[branchId:br_4f1a9c2e7b3d5a60 createdAt:2026-10-20T14:05:00Z dependencies:[map[moduleId:mod_e1f4a7c2b9d36058 versionConstraint:>=1.0.0]] draft:false id:mrel_5d8a2f6c1e9b3a47 minBaseVersion:1.4.0 moduleId:mod_7b3e1d9a5c2f4e86 notes:Adds a sepia filter. publishedAt:2026-10-22T08:15:00Z rescinded:false targetIds:[tgt_9e2b7c4a1f3d6e05] version:0.3.0]",
"artifacts": [
"map[filename:image-filters-0.3.0-universal.zip platform:universal sha512:0f6be7370b701328483f25fc87a311cf2891c3f968ea328c4968ccd1026bf1805ff899aac0174383416f0b9f6d9eec4b7ee8f21accba0ded25703b17fd708a57 size:2097152]"
]
}Get an app's download statistics POST
Returns download counts for the app from the download events the updater records in ClickHouse: the total, counts by version, platform and target, and a daily series (UTC days, oldest first). Narrow it with `release_id`, `target`, `platform` and a `from`/`to` time range; every filter is optional. The caller must be able to read the app, as for `GetConfig`. A deployment that records no download events, or a failed query, answers `UNAVAILABLE`. An API key is refused with `PERMISSION_DENIED`: this needs a signed-in person.
Get a release and its artifacts POST
Returns one release, found on whichever branch holds it, with every artifact uploaded to it (platform, filename, size and checksums). A release that does not exist, or that is on no target visible to the caller, is `NOT_FOUND`. 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`.