ponzu-cms / ponzu

Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.
https://docs.ponzu-cms.org
BSD 3-Clause "New" or "Revised" License
5.68k stars 387 forks source link

get all records of type... #293

Closed tomazbracic closed 5 years ago

tomazbracic commented 5 years ago

Hi,

passing through the Ponsu documentation. Can't seem to find ...is there an option for fetching all the records of one content type?

For instance, I have a type Author. Can I retreive all authors with 1 GET call?

Best, Tomaz

nilslice commented 5 years ago

Hi @tomazbracic -

See here for reference to this endpoint: https://docs.ponzu-cms.org/HTTP-APIs/Content/#get-contents-by-type