Catalogue API
Everything on this site is also static JSON and YAML under https://catalog.dagweave.com/api/v1/. No key, no rate limit, no server: fetch it, mirror it or put your own front end on it. The contract is the OpenAPI 3.1 description.
Endpoints
| Path | Returns |
|---|---|
/api/v1/index.json | Every item: name, title, description, category, tags, latest version, versions, parameter names, images. |
/api/v1/search-index.json | A flat file for client-side search, one lower-cased text blob per item. |
/api/v1/items/<name>.json | One item: parameters with defaults and enums, images with digests, every version. |
/api/v1/items/<name>/<version>.json | One version: metadata, changelog notes, install commands and the WorkflowTemplate YAML. latest works in place of a version. |
/api/v1/items/<name>/<version>/template.yaml | The raw WorkflowTemplate, byte for byte what the catalogue pins. latest works here too. |
/api/v1/openapi.yaml | This API as OpenAPI 3.1. |
Examples
# every item
curl -s https://catalog.dagweave.com/api/v1/index.json | jq '.items[].name'
# one item, then one version of it
curl -s https://catalog.dagweave.com/api/v1/items/pg-dump-to-s3.json | jq '.parameterDetails'
curl -s https://catalog.dagweave.com/api/v1/items/pg-dump-to-s3/1.0.0.json | jq '.install'
# install straight from the raw URL
kubectl apply -n argo -f https://catalog.dagweave.com/api/v1/items/pg-dump-to-s3/latest/template.yaml
Stability
The path prefix v1 is the contract. Fields are added, never renamed or removed within v1. A breaking change gets /api/v2/, and v1 stays up beside it. A version's template.yaml never changes after release. The documents carry the catalogue commit they were built from (67458f74dbbf) and no timestamps, so a rebuild from the same commit is byte-identical.
Versions
Versions are the semver releases in each item's changelog. Each one has its own template.yaml, parameters and images. They come from the last commit of the catalogue repository that had that version. A version with installable: false has a document with its notes and no template.yaml.