Skip to content
Gaiko plugins
For operators

Release downloads

RatioCore production releases, as Gaiko promoted them, with their signed release evidence. The RatioCore Deployer fetches and verifies them for you; the API below is for automation and air-gapped transfers.

Using the RatioCore Deployer?Set its release source to https://plugins.gaiko.ai and its download token. It refuses any release whose signature does not verify.

API

Every route needs Authorization: Bearer <token> with release:product and channel:stable. Files support HTTP Range, so interrupted downloads resume.

RouteWhat it allows
GET /v1/products/ratiocore/channels/stable/versions?profile=productVersions published on a channel, newest first.
GET /v1/products/ratiocore/channels/stable/latest?profile=productThe current release on a channel, with the URLs, sizes and sha256 of its files.
GET /v1/products/ratiocore/releases/<tag>?profile=productOne release, by tag, version or source commit.
GET /v1/blobs/ratiocore/<tag>/<file>A release file: the .rcrel, RELEASE.json, and the signed evidence manifest with its signature.
List versions
curl -fsS -H "Authorization: Bearer $(cat ~/.config/ratiocore-deployer/download-token)" \
  "https://plugins.gaiko.ai/v1/products/ratiocore/channels/stable/versions?profile=product"
Download (resumable)
curl -fSL -C - -H "Authorization: Bearer $(cat ~/.config/ratiocore-deployer/download-token)" \
  -o ratiocore-<tag>.rcrel "https://plugins.gaiko.ai/v1/blobs/ratiocore/<tag>/ratiocore-<tag>.rcrel"

Verify by hand

The evidence manifest is signed by Gaiko's release evidence key. allowed_signers ships with the RatioCore Deployer (trust/allowed_signers).

Check the signature, then the RELEASE.json binding
ssh-keygen -Y verify -f allowed_signers -I release-evidence@ratiocore -n ratiocore-release-evidence \
  -s ratiocore-<tag>.evidence.txt.sig < ratiocore-<tag>.evidence.txt
shasum -a 256 ratiocore-<tag>.RELEASE.json    # = release_json_sha256 in the evidence