Query
query Favorites {
favorites {
edges {
cursor
node {
blockIdentifier
blockType
id
objectId
tenantId
userId
}
}
nodes {
blockIdentifier
blockType
id
objectId
tenantId
userId
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"favorites": {
"edges": [
{
"cursor": "string",
"node": {
"blockIdentifier": "string",
"blockType": "NONE",
"id": "id",
"objectId": "string",
"tenantId": "value",
"userId": "value"
}
}
],
"nodes": [
{
"blockIdentifier": "string",
"blockType": "NONE",
"id": "id",
"objectId": "string",
"tenantId": "value",
"userId": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Queries
favorites
QUERY
favorites(after: String, before: String, first: Int, last: Int, order: [FavoriteSortInput!], where: FavoriteFilterInput): FavoritesConnectionArguments
after
String
Returns the elements in the list that come after the specified cursor.
before
String
Returns the elements in the list that come before the specified cursor.
first
Int
Returns the first n elements from the list.
last
Int
Returns the last n elements from the list.
order
where
Returns
edges
A list of edges.
nodes
[Favorite!]
A flattened list of the nodes.
pageInfo
Information to aid in pagination.
totalCount
Int!
Identifies the total count of items in the connection.
Query
query Favorites {
favorites {
edges {
cursor
node {
blockIdentifier
blockType
id
objectId
tenantId
userId
}
}
nodes {
blockIdentifier
blockType
id
objectId
tenantId
userId
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"favorites": {
"edges": [
{
"cursor": "string",
"node": {
"blockIdentifier": "string",
"blockType": "NONE",
"id": "id",
"objectId": "string",
"tenantId": "value",
"userId": "value"
}
}
],
"nodes": [
{
"blockIdentifier": "string",
"blockType": "NONE",
"id": "id",
"objectId": "string",
"tenantId": "value",
"userId": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Was this page helpful?