GET /api/collection/{id}/items
Changed onFetch a specific Collection's items with the following options:
- models - only include objects of a specific set of models. If unspecified, returns objects of all models
- archived - when true, return archived objects instead of unarchived ones. Defaults to false.
- pinned-state - when is_pinned, return pinned objects only. when is_not_pinned, return non pinned objects only. when all, return everything. By default returns everything.
- q - filter items by name or last editor. Blank or whitespace-only values are ignored.
- include-available-models - include the models that have at least one visible item in the requested scope.
Note that this endpoint should return results in a similar shape to /api/dashboard/:id/items, so if this is changed, that should too.
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
Path parameters
Query parameters
value must be a valid boolean string ('true' or 'false').
value must be a valid boolean string ('true' or 'false').
value must be a valid boolean string ('true' or 'false').
value must be a valid boolean string ('true' or 'false').
value must be a valid boolean string ('true' or 'false').
Request body
Response
Successful response
Changes
- warning
deleted the
queryrequest parameterinclude_can_run_adhoc_query - warning
deleted the
queryrequest parameterofficial_collections_first - warning
deleted the
queryrequest parameterpinned_state - warning
deleted the
queryrequest parametershow_dashboard_questions - warning
deleted the
queryrequest parametersort_column - warning
deleted the
queryrequest parametersort_direction - info
added the new optional
queryrequest parameterinclude-available-models - info
added the new optional
queryrequest parameterofficial-collections-first - info
added the new optional
queryrequest parameterpinned-state - info
added the new optional
queryrequest parameterq - info
added the new optional
queryrequest parametershow-dashboard-questions - info
added the new optional
queryrequest parametershow-exploration-documents - info
added the new optional
queryrequest parametersort-column - info
added the new optional
queryrequest parametersort-direction - info
added optional request body
- info
the
queryrequest parameterarchivedbecame optional - info
added the media type
application/jsonfor the response with the status
- warning
- info
added the enum value
measureto the propertyoneOf[subschema #1]/items/of thequeryrequest parametermodels
- info