跳转到内容
EN

列出画册

GET /canvas/v1/collections

Find collections and ids for filtering or moving canvases. All organization collections are returned in name order in one response; next_cursor is always null. canvas_count excludes deleted canvases. total_count counts all live canvases, rather than collections, and uncategorized_count counts live canvases without a collection. Use canvases.list with collection_id to read a collection or none to read uncategorized canvases.

支持状态: supported

响应

HTTP 200

All collections with live canvas counts, the organization canvas total and its uncategorized count.

application/json

名称 类型 说明
data array<object> All collections belonging to the API key organization, ordered by name ascending; at most 200 collections are returned.
data[].id string Assigned collection identifier; pass this as collection_id to retrieve, rename, delete or move canvases into the collection.
data[].name string Collection display name, 1–100 characters after trimming surrounding whitespace; duplicate names within the organization are allowed.
data[].canvas_count integer Number of non-deleted canvases currently assigned to this collection in the owning organization.
data[].created_at string ISO 8601 timestamp recording when this collection was created.
data[].updated_at string ISO 8601 timestamp of the latest collection rename; moving a canvas does not change this timestamp.
next_cursor null Always null because all organization collections fit in one response; no follow-up page is required.
total_count integer Number of all non-deleted canvases in the organization, including canvases assigned to collections and uncategorized canvases.
uncategorized_count integer Number of non-deleted canvases with no collection; use canvases.list with collection_id set to none to read them.