List a module release's artifacts
Returns the artifacts uploaded to a module release, optionally only those of one platform (darwin, win32, linux or universal), with filename, size and SHA-512. 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 <= lengthoptional filter: darwin, win32, linux, universal
Response Body
application/json
application/json
curl -X POST "https://updater.xeonr.io/xeonr.updater.v1.UpdaterService/ListModuleArtifacts" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"artifacts": [
"map[filename:image-filters-0.3.0-universal.zip platform:universal sha512:0f6be7370b701328483f25fc87a311cf2891c3f968ea328c4968ccd1026bf1805ff899aac0174383416f0b9f6d9eec4b7ee8f21accba0ded25703b17fd708a57 size:2097152]"
]
}List an app's distributions POST
Returns the app's installers and store links that the caller may see. A caller with write access sees all of them. Anyone else sees only public entries, and an entry scoped to targets only when one of those targets is visible to them (a public target, or a private one named in their `X-Updater-Token`). 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`.
List a branch's module releases POST
Returns the module releases on `branch_id` in the order they were created, optionally only those of `module_id` or 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. 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`.