/api/collection
GET /api/collection/root/items/metadata
Changed onMetadata about the Root Collection's items list: the models with at least one visible item plus the item count. Unlike GET /api/collection/root/items, the result does not depend on search text; pass that endpoint's other scope params so the metadata describes the list being shown.
get/api/collection/root/items/metadata
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-API-Key
Query parameters
modelsstring[] nullable
archivedboolean nullable
value must be a valid boolean string ('true' or 'false').
namespacestring nullable
value must be a non-blank string.
pinned-state'is_not_pinned' | 'is_pinned' | 'all' nullable
collection-type'remote-synced'
include-libraryboolean nullable
value must be a valid boolean string ('true' or 'false').
show-dashboard-questionsboolean nullable
value must be a valid boolean string ('true' or 'false').
show-exploration-documentsboolean nullable
value must be a valid boolean string ('true' or 'false').
Response
Successful response
Changes
- info
endpoint added
- info