Skip to Content
Xeonr Developer Docs
API SpecificationUpdater

List a release's artifacts

POST
/xeonr.updater.v1.UpdaterService/ListArtifacts

Returns the artifacts uploaded to a release, optionally only those of one platform, each with its filename, size and the checksums recorded at confirm (SHA-256 for binary <goos>-<goarch> artifacts). A 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
releaseId?string
Length1 <= length
platform?string

optional filter: darwin, win32, win32-squirrel, linux

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://updater.xeonr.io/xeonr.updater.v1.UpdaterService/ListArtifacts" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "artifacts": [
    "map[filename:Pixel-1.4.2-mac.zip platform:darwin sha512:5478894ffb88e2be006df4391f3fb17575b870ff9bc7e8c649ef0d7e9cc5a91adc948a12a4d5819bf9298f57441e2b647680c9bb0ca0a09444b3511c82107c42 size:98566144]"
  ]
}