Skip to main content
QUERY
cardEntries(after: String, definitionId: String!, first: Int, language: String, sort: [SortInput!], where: Predicate): CardEntriesConnection

Arguments

after
String

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

definitionId
String!
required

Raw id of the card definition (e.g. products), not the global CardDefinition.id.

first
Int

Returns the first n elements from the list.

language
String

Language code (e.g. en) that localized properties use in where, sort, facets and relatedEntries. Required when any of them uses a localized property; there's no fallback language. Property values still return every stored language.

sort

Sort keys, applied in order: a card property id, id, @createdAt 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.

Filters the card entries, as a Predicate. Null returns every entry of the card definition.

A list of edges.

The distinct values of one property across every entry that matches the connection's where, each with how many entries have it, with forward paging.

Arguments
after
String

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

contains
String

Keeps only the values that contain this literal text. Text and list properties only.

exclude
[String!]

Values to leave out before counting and paging, matched exactly and case-sensitively. Text and list properties only.

first
Int

Returns the first n elements from the list.

ignoreCase
Boolean!
default:false

Whether contains ignores case. Default false. Values that differ only in case stay separate.

property
String!
required

Id of the property whose values are counted: a card property for card entries, a source property for source entries. A localized property uses the connection's language.

What the values are sorted by. Null sorts by COUNT descending, ties by value ascending.

lifecycleStates

The current state of each lifecycle that a lifecycle filter in where names, even when no entry matches. Empty when where names none.

nodes

A flattened list of the nodes.

pageInfo

Information to aid in pagination.

totalCount
Query
Variables
Response