Skip to main content

Composition Connection

Get Composition resources with pagination.

Query

query CompositionConnection($first: Int, $after: String) {
compositionConnection(first: $first, after: $after) {
edges {
node {
id
# Add other fields as needed
}
}
pageInfo {
hasNextPage
endCursor
}
totalCount
}
}

Parameters

  • first: Number of items to retrieve
  • after: Cursor for pagination

Return Type

Returns a connection object containing Composition resources.