List a release's artifacts
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
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
1 <= length1 <= lengthoptional filter: darwin, win32, win32-squirrel, linux
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]"
]
}List a team's apps POST
Lists the upl buckets the team in `owner_team` owns that are Updater apps, read through upl-im-api as the caller, each with its slug, display name, owning team, privacy, creation time, public URL and the bucket type it was created with. Only buckets of the updater's bucket type (`UPDATER_BUCKET_TYPE_ID`) are returned; a deployment with none configured returns every bucket. There is no pagination. Needs a signed-in person's token; the download page's `client_credentials` token gets `PERMISSION_DENIED`, and so does an API key. upl's own refusals (for example, a caller who is not in the team) are passed through.
List an app's branches POST
Returns every branch of the app, in the order they were created, with its id, name, creation time and whether it enforces semver. Branches are not filtered by visibility: any caller who can read the app sees them all. 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`.