列出素材库绑定
GET /cut/v1/projects/{project_id}/bindings
Discover the named media libraries available to this project before selecting source assets or an import/export destination. read bindings supply source assets; read_write bindings also accept uploads. Exactly one writable binding supplies the default upload destination.
支持状态: supported
参数
| 名称 | 位置 | 类型 | 必填 | 说明 |
|---|---|---|---|---|
| project_id | path | string | true | Project identifier returned by its create or list operation; use the id, not a display name. |
响应
HTTP 200
Requested resource or operation result; use its revision when preparing a guarded edit.
application/json
| 名称 | 类型 | 说明 |
|---|---|---|
| bindings | array<object> | Named libraries available to scripts and media operations. |
| bindings[].name | string | Unique binding alias used in imports and exports; begins with a lowercase letter. |
| bindings[].library_id | string | Media library id from praxis.media.libraries.create or list; must be accessible to this organization. |
| bindings[].access | string | read permits using library assets; read_write also permits imports and exports into the library. |
| bindings[].default_upload | boolean | True selects the one read_write library used when an import or export omits binding. |