Items are individual pieces of data in your database.
The Item Object
Items don't have a predefined schema. The format depends completely on the fields it has, an item is the equivalent of a row in a table.
- {
- "id": 1,
- "status": "published",
- "title": "Hello, world!",
- "body": "This is my first article",
- "featured_image": "768eabec-3c54-4110-a6bb-64b548116661",
- "author": "0bc7b36a-9ba9-4ce0-83f0-0a526f354e07"
- }
Get Items
- GET /items/:collection?{query parameters}
- GET /items/:collection/:id?{query parameters}
collection required
Is the name of the collection where you want to get items from
id
You can get a single item by its id
query parameters
optional any query parameters, refer to Global Parameters section