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
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
descriptorSha256 | path | string | yes | sha256 (hex) of the artifact descriptor. |
| Status | Description | Body |
|---|---|---|
| 200 | The frame document (HTML), served under the frame Content-Security-Policy. | text/html string |
| 404 | The descriptor digest is malformed, unknown, or does not match its stored descriptor. | |
| 503 | This 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
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
descriptorSha256 | path | string | yes | sha256 (hex) of the artifact descriptor. |
path | path | any | yes | Canonical relative path of a file the descriptor lists. |
| Status | Description | Body |
|---|---|---|
| 200 | The file bytes. | application/octet-stream string (binary) |