chronicleProducers
Query
Search for chronicle producers based on a set of filters.
Response
Returns ChronicleProducerConnection
Arguments
| Name | Type | Description |
|---|---|---|
filter | FilterChronicleProducerInput | Filter chronicle producers by unique identifier or name |
first | Int! | Returns the first n elements from the list. Default: |
after | String | 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: |
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 }}{ "first": 20, "sort": [ { "field": "NAME", "direction": "ASC" }, { "field": "ID", "direction": "ASC" } ]}{ "data": { "chronicleProducers": { "edges": [ { "node": { "id": "26751004-ad68-8f41-856e-216be713b752", "name": "name-67f9", "description": "description-2044", "timezone": "timezone-8d5b", "active": true, "validationReasons": [ "validationReasons-c6e6" ], "metadata": {} }, "cursor": "cursor-affc" } ], "pageInfo": { "hasNextPage": false, "hasPreviousPage": true, "startCursor": "startCursor-867d", "endCursor": "endCursor-f100" }, "totalCount": 373 } }}