agentejo / cockpit

Add content management functionality to any site - plug & play / headless / api-first CMS
http://getcockpit.com
MIT License
5.39k stars 523 forks source link

Get unpublished collection items #1500

Closed adiba closed 1 year ago

adiba commented 1 year ago

In the API playground below the response text field GET /content/items/{model}, the description "Get list of published model items" made me realize that this list is pre-filtered.

How can I get the entire unfiltered list, i.e., including unpublished items (i.e., items with _state=0)?

Even with filter={_state:0}, the result list didn't change (still only published items).

aheinze commented 1 year ago

You're at the wrong repository. Please crete your issue here: https://github.com/Cockpit-HQ/Cockpit/issues