Template builds

Search apt, pip or npm packages for a recipe

apt: the base’s package index (409 package_index_unavailable when the base has none); pip: the daily PyPI name list (names only; 409 package_index_unavailable before its first refresh); npm: the registry search. Upstreams are bounded (503 dependency_unavailable, retryable, when they do not answer within 2.5 s) and each organization may make 120 lookups a minute (429 rate_limited). Owners/admins and API keys with a tool permission.

get/v1/organizations/{organization_id}/template-packages

Request

  • Base URL: https://api.shardflux.dev
  • URL: https://api.shardflux.dev/v1/organizations/{organization_id}/template-packages
  • Auth: HTTP bearer

Path parameters

organization_idstring uuid required

UUIDv7, lowercase canonical form.

Query parameters

ecosystem'apt' | 'pip' | 'npm' required
qstring required
basestring

<slug>@<version> (apt: the base whose apt index is searched).

limitinteger

Response

Default Response

source'apt_index' | 'pypi_names' | 'npm_search' required

apt_index: the base’s apt index; pypi_names: the daily PyPI name list (no versions: fetch one package for them); npm_search: the npm registry search.

Changes

No recorded changes to this operation across all 1 revision of this API.