跳转到内容
EN

读取画册

GET /canvas/v1/collections/{collection_id}

Inspect one collection and its current live canvas count using an id from collections.list or collections.create. The collection must belong to the API key organization. To read its canvases, pass the same id as collection_id to canvases.list; this response contains collection metadata only.

支持状态: supported

参数

名称位置类型必填说明
collection_idpathstringtrueCollection id from collections.create or collections.list, in the form col_ followed by 16 lowercase letters or digits; a display name is not an identifier.

响应

HTTP 200

The requested collection metadata and count of non-deleted canvases.

application/json

名称 类型 说明
id string Assigned collection identifier; pass this as collection_id to retrieve, rename, delete or move canvases into the collection.
name string Collection display name, 1–100 characters after trimming surrounding whitespace; duplicate names within the organization are allowed.
canvas_count integer Number of non-deleted canvases currently assigned to this collection in the owning organization.
created_at string ISO 8601 timestamp recording when this collection was created.
updated_at string ISO 8601 timestamp of the latest collection rename; moving a canvas does not change this timestamp.