Getting Started
Filtering
To efficiently retrieve a specific set of objects, the Plate API supports filtering index endpoints by id[]
. This allows you to fetch multiple known records in a single request—rather than sending multiple requests.
How to Use
To filter by ID, add the id[]
query parameter for each object you want to retrieve.
Example
To retrieve posts with IDs 1
, 5
, and 6
:
GET {base_url}/site_translations/12/posts?id[]=1&id[]=5&id[]=6
This request will return all matching posts in a single response.
Supported Resources
Filtering by id[]
is currently supported on the following index endpoints:
- Site Translations
- Posts
- Sections
- Elements
- Content Objects
- Authentication Objects