Skip to content

chronicleProducers

Query

Search for chronicle producers based on a set of filters.

Response

Returns ChronicleProducerConnection

Arguments

NameTypeDescription
filterFilterChronicleProducerInput

Filter chronicle producers by unique identifier or name

firstInt!

Returns the first n elements from the list.

Default: 20

afterString

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

sort[ChronicleProducersSort!]!

The field and direction by which to sort the results

Default: [{ field: NAME, direction: ASC }, { field: ID, direction: ASC }]

Example

query chronicleProducers(
$filter: FilterChronicleProducerInput,
$first: Int!,
$after: String,
$sort: [ChronicleProducersSort!]!
) {
chronicleProducers(
filter: $filter,
first: $first,
after: $after,
sort: $sort
) {
edges {
node {
id
name
description
timezone
active
validationReasons
metadata
}
cursor
}
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
totalCount
}
}