Query
query Widgets {
widgets {
edges {
cursor
node {
createdAt
createdBy
id
itemType
lastModified
pinnedItems {
__typename
... on PinnedCardDefinition {
__typename
}
}
}
}
nodes {
createdAt
createdBy
id
itemType
lastModified
pinnedItems {
__typename
... on PinnedCardDefinition {
__typename
}
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"widgets": {
"edges": [
{
"cursor": "string",
"node": {
"createdAt": "value",
"createdBy": "value",
"id": "id",
"itemType": "CARD_DEFINITIONS",
"lastModified": "value",
"pinnedItems": [
{
"__typename": "PinnedCardDefinition"
}
]
}
}
],
"nodes": [
{
"createdAt": "value",
"createdBy": "value",
"id": "id",
"itemType": "CARD_DEFINITIONS",
"lastModified": "value",
"pinnedItems": [
{
"__typename": "PinnedCardDefinition"
}
]
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Queries
widgets
Returns a paginated list of landing page widgets for the current tenant, ordered by position.
QUERY
widgets(after: String, before: String, first: Int, last: Int, order: [WidgetSortInput!], where: WidgetFilterInput): WidgetsConnectionArguments
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
[WidgetsEdge!]
A list of edges.
nodes
[Widget!]
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 Widgets {
widgets {
edges {
cursor
node {
createdAt
createdBy
id
itemType
lastModified
pinnedItems {
__typename
... on PinnedCardDefinition {
__typename
}
}
}
}
nodes {
createdAt
createdBy
id
itemType
lastModified
pinnedItems {
__typename
... on PinnedCardDefinition {
__typename
}
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"widgets": {
"edges": [
{
"cursor": "string",
"node": {
"createdAt": "value",
"createdBy": "value",
"id": "id",
"itemType": "CARD_DEFINITIONS",
"lastModified": "value",
"pinnedItems": [
{
"__typename": "PinnedCardDefinition"
}
]
}
}
],
"nodes": [
{
"createdAt": "value",
"createdBy": "value",
"id": "id",
"itemType": "CARD_DEFINITIONS",
"lastModified": "value",
"pinnedItems": [
{
"__typename": "PinnedCardDefinition"
}
]
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Was this page helpful?