Get Latest Publications
Required scope:
public-api:read
Description
The endpoint provides an unresolved Publication with 4 possible top-level properties:
- systemdata
- metadata
- content
- references
Use Cases
- Bulk export of data, e.g. a specific
Content Type
Endpoint
GET /api/v1/documents/latestPublications
Parameters
Name | Type | Required | Notes |
---|---|---|---|
?fields | string | Filters which (comma separated) properties are included in the response. Defaults to systemdata,metadata,content (no renditions) | |
?reverse | boolean | Order publications in ascending order instead of the default descending order (the property used for sorting is lastPublicationDate ). This is useful if you want to paginate using a time based filter | |
?homepage | boolean | Return only the document labeled as homepage in the current project | |
?contentTypes | string | Comma separated list of content types to use as filter | |
?documentTypes | string | Comma separated list of document types to use as filter. Can be one of | |
?id.gte | string | Filter by document id range. Supported filters: The id range filter is useful if you want to export a lot of documents. You can do many requests in parallel against the api, where you filter by the specific ranges. This query is much more flexible than an offset-based filter and works with millions of documents. Request 1: | |
?id | string | Filter by one or multiple document ids. Example 1: | |
?publishedAt.gte | string | Filter by publish date range. Supported filters: Example: To retrieve all publications since a specific timestamp, use | |
?ignoreComponentConditions | boolean | Added in: release-2024-03 Provides a way to opt out of component filtering and return all content regardless of whether each component passes the conditional checks. Default: | |
?componentConditions | string | Added in: release-2024-03 JSON stringified object which contains the component conditions you would like to apply. Default: | |
?limit | integer | A limit for how much published documents to retrieve. Defaults to 100. Max. 100 | |
?offset | integer | An offset into the query. Useful when getting more than 100 results (pagination). Max. 10000. Prefer range based filters like id.get or publishedAt.gte |