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.

当前语言暂无代码示例

参数

FieldTypeReqDefaultDescription
stringN

请求体

FieldTypeReqDefaultDescription
workspaceIdstringY
idempotencyKeystringY
rootobjectY
filenamestringY
sourcestringY
sourceHashstringY
resourcesany[]Y
pathstringY
fromPathstringN
bytesBase64stringY
contentHashstringY
integritystringY
mimestringY
usagestring (harness-manifest | harness-script | harness-style | harness-resource | image | video | audio | file | data)Y

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test