Skip to main content

Download a release asset for the agent self-update

GET 

/api/v1/agent/releases/:version/:asset

A self-updating agent (SP_AGENT_SELF_UPDATE) downloads the release binary of the server's version through this route, then verifies it against the checksums file. Authenticated with the agent's Ed25519 signed headers (X-Sp-Agent-Uid, X-Sp-Timestamp, X-Sp-Nonce, X-Sp-Signature, signature version 2), never a bearer token. Answers a 307 to the GitHub release asset.

Request​

Responses​

Redirect to the GitHub release asset

Response Headers
    Location