Template builds

The recipe languages a base offers: version, default, whether the base already has it, and the hosts its install needs

The language table read for the chain’s platform base of base, resolved as a build resolves recipe.base (422 validation_failed with details.field "base" and the build’s reasons: base_not_found, base_archived, base_not_published, architecture_not_supported). included: the base already has that version (python-node-browser: python and node), so the build installs nothing for it. A version the base has another version of is left out (a build would refuse it with language_conflict). Owners/admins and API keys with a tool permission.

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

Request

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

Path parameters

organization_idstring uuid required

UUIDv7, lowercase canonical form.

Query parameters

basestring required

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

Response

Default Response

basestring required

<slug>@<version> as asked.

platform_basestring required

The chain’s platform base (the base itself for a platform version): the table is read for it.

apt_hostsstring[] required

Hosts apt installs need while an auto build runs (the platform base’s build_inputs.apt_pin.hosts, else snapshot.ubuntu.com).

Changes

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