Skip to content

llard Service Specification

xushiwei edited this page Jun 14, 2026 · 10 revisions

This document specifies the externally observable contract of the llard HTTP service: its request/response format and the guarantees a client may rely on. It does not describe internal mechanisms.

GET artifact

Request

GET /v1/artifacts/<module>@<version>?<matrix query>
  • <module> — package module identifier (e.g. madler/zlib).
  • <version> — version string (e.g. v1.3.1).

Examples:

GET /v1/artifacts/madler/zlib@v1.3.1?arch=amd64&os=linux
GET /v1/artifacts/pnggroup/libpng@v1.6.47?arch=amd64&os=linux&debug=false

Response

  • Content type: application/x-cmdjsonl. See github.com/qiniu/x/cmdjsonl for the line format (Command <space> JSON object, newline-delimited).

Clone this wiki locally