agentejo / cockpit

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

Get unpublished collection items #1500

Closed adiba closed 2 years ago

adiba commented 2 years 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 2 years ago

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