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
- 307
- 400
- 401
Redirect to the GitHub release asset
Response Headers
Location
Not a release version, or an asset that is not forwarded
Missing or invalid agent signature, or a revoked agent