Query
query CardDefinitions {
cardDefinitions {
edges {
cursor
node {
activationStatus {
__typename
}
activePropertySet {
__typename
}
allowsEnrichment
cardsCount
createdAt
createdByUser
}
}
nodes {
activationStatus {
status
steps {
__typename
}
}
activePropertySet {
key
properties {
__typename
}
propertyIds
}
allowsEnrichment
cardsCount
createdAt
createdByUser
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"cardDefinitions": {
"edges": [
{
"cursor": "string",
"node": {
"activationStatus": {
"__typename": "WorkflowStatus"
},
"activePropertySet": {
"__typename": "PropertySet"
},
"allowsEnrichment": true,
"cardsCount": "value",
"createdAt": "value",
"createdByUser": "value"
}
}
],
"nodes": [
{
"activationStatus": {
"status": "RUNNING",
"steps": [
{
"__typename": "KeyValuePairOfStringAndWorkflowStep"
}
]
},
"activePropertySet": {
"key": "string",
"properties": [
{
"__typename": "CardPropertyDefinition"
}
],
"propertyIds": [
"string"
]
},
"allowsEnrichment": true,
"cardsCount": "value",
"createdAt": "value",
"createdByUser": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Queries
cardDefinitions
Lists the tenant’s card definitions, archived ones included.
QUERY
cardDefinitions(after: String, before: String, first: Int, last: Int, order: [CardDefinitionSortInput!], where: CardDefinitionFilterInput): CardDefinitionsConnectionArguments
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
Returns
edges
A list of edges.
nodes
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 CardDefinitions {
cardDefinitions {
edges {
cursor
node {
activationStatus {
__typename
}
activePropertySet {
__typename
}
allowsEnrichment
cardsCount
createdAt
createdByUser
}
}
nodes {
activationStatus {
status
steps {
__typename
}
}
activePropertySet {
key
properties {
__typename
}
propertyIds
}
allowsEnrichment
cardsCount
createdAt
createdByUser
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"cardDefinitions": {
"edges": [
{
"cursor": "string",
"node": {
"activationStatus": {
"__typename": "WorkflowStatus"
},
"activePropertySet": {
"__typename": "PropertySet"
},
"allowsEnrichment": true,
"cardsCount": "value",
"createdAt": "value",
"createdByUser": "value"
}
}
],
"nodes": [
{
"activationStatus": {
"status": "RUNNING",
"steps": [
{
"__typename": "KeyValuePairOfStringAndWorkflowStep"
}
]
},
"activePropertySet": {
"key": "string",
"properties": [
{
"__typename": "CardPropertyDefinition"
}
],
"propertyIds": [
"string"
]
},
"allowsEnrichment": true,
"cardsCount": "value",
"createdAt": "value",
"createdByUser": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Was this page helpful?