Skip to main content
QUERY
destinationEntries(after: String, destinationId: String!, endpoint: String!, first: Int, language: String, sort: [SortInput!], version: Int!, where: Predicate): DestinationEntriesConnection

Arguments

after
String

Returns the elements in the list that come after the specified cursor.

destinationId
String!
required

Raw id of the destination (Destination.safeName, e.g. products), not the global Destination.id. Case-insensitive.

endpoint
String!
required

Name of the endpoint in the version's API URL (Endpoint.safeName), not the global Endpoint.id. Case-insensitive.

first
Int

Returns the first n elements from the list.

language
String

Output language code (e.g. en) of the content, also used by localized properties in where and sort. One of the languages the API version publishes; null uses the version's default language.

sort

Sort keys, applied in order: a card property the endpoint exposes (by id or alias), id or @updatedAt. At most 16 keys, each once (case-insensitive), with id only as the last key. Null or empty sorts by entry id ascending, and entry id ascending breaks ties. Missing values sort last.

version
Int!
required

Number of the destination's API version (ApiVersion.version), from 1. Versions that were never published are included; versions being deleted aren't.

Filters the endpoint's entries, as a Predicate over the card properties and relations the endpoint exposes, named by id or by their alias in the endpoint, plus id (the entry id, as text) and @updatedAt (when the entry last changed, as a timestamp). segment takes only segments the endpoint's segment filters include or exclude, and lifecycle is rejected. Null returns every entry the endpoint serves.

A list of edges.

A flattened list of the nodes.

pageInfo

Information to aid in pagination.

totalCount
Query
Variables
Response