Filter
One parameter per filter,filter[name]=value. All filters in a request must match.
cURL
With
curl, pass --globoff (-g) or encode the brackets (filter%5Bdraft%5D=false). Most HTTP libraries do it for you.
Sort
One or more fields, comma-separated. A- prefix sorts descending.
publish_at first, then by id. Without sort, the order isn’t guaranteed.
Include
Adds related resources to each item. Separate with commas; use dots for deeper relations.posts.assets.image includes posts and their assets. Include only what you use: each relation makes the response bigger and slower.
Unknown parameters
A filter, sort field or include the endpoint doesn’t accept gets400, with the allowed values in the message. It is never ignored, so a typo can’t turn into a list of everything.
