ALHP API (1.0.2)

Download OpenAPI specification:

The ALHP API allows to retrieve package information and general build statistics.

Useful resources:

package

Endpoints related to package data and metadata

Retrieve package information

Fetch packages from the ALHP system. You can filter results using query parameters.

query Parameters
status
Array of strings
Items Enum: "latest" "failed" "built" "skipped" "delayed" "building" "signing" "unknown" "queued"
Example: status=latest&status=failed

Filter by package status. Accepts multiple values via repeated parameters.

pkgbase
string
Example: pkgbase=linux-zen

Filter by the base package name (pkgbase). This is often the main identifier of a package group.

exact
boolean
Default: false
Example: exact=true

If present, matches the pkgbase exactly. If not provided, allows partial matches.

repo
string
Example: repo=extra-x86-64-v4

Filter by repository name.

offset
required
number
Example: offset=0

Number of results to skip (for pagination).

limit
required
number
Example: limit=25

Maximum number of results to return.

Responses

Response samples

Content type
application/json
{
  • "packages": [
    ],
  • "total": 1423,
  • "offset": 0,
  • "limit": 25
}

general

Endpoints providing overall project status and statistics

Retrieve general build statistics

Responses

Response samples

Content type
application/json
{
  • "failed": 17,
  • "skipped": 29,
  • "latest": 743,
  • "queued": 5,
  • "lto": {
    }
}