POST
/api/pkf/bundles/commit
Atomically commit a PKF root and its root-bound dependency graph
The JSON wire body is bounded to 6291456 bytes before parsing. X-Prismer-Agent is only honored for an authenticated workspace-owner API key and is verified server-side.
No code sample available for this language
Parameters
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| string | N | — |
Request Body
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| workspaceId | string | Y | — | |
| idempotencyKey | string | Y | — | |
| root | object | Y | — | |
| └ filename | string | Y | — | |
| └ source | string | Y | — | |
| └ sourceHash | string | Y | — | |
| resources | any[] | Y | — | |
| └ path | string | Y | — | |
| └ fromPath | string | N | — | |
| └ bytesBase64 | string | Y | — | |
| └ contentHash | string | Y | — | |
| └ integrity | string | Y | — | |
| └ mime | string | Y | — | |
| └ usage | string (harness-manifest | harness-script | harness-style | harness-resource | image | video | audio | file | data) | Y | — |