web-artifacts

Operations of the Biome Host API. Paths are relative to your deployment's API host.

GET /api/biome-host-api/web-artifacts/{descriptorSha256}/_frame

Return the frame document an isolated web biome runs in, by descriptor digest.

Authentication: none

ParameterInTypeRequiredDescription
descriptorSha256pathstringyessha256 (hex) of the artifact descriptor.
StatusDescriptionBody
200The frame document (HTML), served under the frame Content-Security-Policy.text/html string
404The descriptor digest is malformed, unknown, or does not match its stored descriptor.
503This deployment declares no web artifact origin or no web host origin to frame a web biome.

GET /api/biome-host-api/web-artifacts/{descriptorSha256}/{path}

Return one file of an installed web artifact, by descriptor digest and path.

Authentication: none

ParameterInTypeRequiredDescription
descriptorSha256pathstringyessha256 (hex) of the artifact descriptor.
pathpathanyyesCanonical relative path of a file the descriptor lists.
StatusDescriptionBody
200The file bytes.application/octet-stream string (binary)