Skip to Content
Xeonr Developer Docs
API SpecificationUpdater

List a module release's artifacts

POST
/xeonr.updater.v1.UpdaterService/ListModuleArtifacts

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

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

bucketId?string
Length1 <= length
moduleReleaseId?string
Length1 <= length
platform?string

optional filter: darwin, win32, linux, universal

[key: string]?never

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]"
  ]
}