List entries of a content type
`type` is the content type KEY, not an id. Tag: `entries:{type}`.
/api/sites/v1/entries/{type}type is the content type KEY, not an id. Tag: entries:{type}.
Authorization
websiteToken A Sanctum token scoped to one website.
In: header
Path Parameters
Query Parameters
Comma-separated term slugs or ids; an entry matching any is returned.
A property slug on this website. Returns entries written for that property. Unknown slug is a 404.
1 <= value11 <= value <= 20050Header Parameters
Website id. Overrides Host resolution for builds running where Host is meaningless. The token must still be scoped to this website.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/sites/v1/entries/string"{ "data": [ { "id": "string", "slug": "string", "path": "string", "status": "string", "content_type": "string", "property_id": "string", "data": {}, "seo": {}, "terms": [ { "id": "string", "slug": "string", "label": "string", "taxonomy": "string" } ], "schema": {}, "published_at": "string", "expires_at": "string", "updated_at": "string" } ], "meta": { "content_type": { "key": "string", "singular": "string", "plural": "string", "url_pattern": "string", "schema_type": "string" }, "pagination": { "total": 0, "page": 0, "per_page": 0, "last_page": 0 }, "cache": { "tags": [ "string" ], "ttl": 0 } }}Content types GET
The content types this website renders, each with the URL pattern and template this website uses for it and the field definitions that shape an entry's `data`. A library type the website has not opted into is not listed. Ordered by plural name. Tag: `site`.
One entry GET
The entry, or a redirect when the slug was renamed. Tag: `entries:{type}`.