zoneIntersections
Query
Find intersections for a zone based on a set of filters.
Response
Returns ZoneIntersectionConnection
Arguments
| Name | Type | Description |
|---|---|---|
filter | FilterZoneIntersectionInput! | Filter zone intersections based on the zone id, time period, etc. |
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 | [ZoneIntersectionsSort!]! | The field and direction by which to sort the results Default: |
Example
query zoneIntersections( $filter: FilterZoneIntersectionInput!, $first: Int!, $after: String, $sort: [ZoneIntersectionsSort!]!) { zoneIntersections( filter: $filter, first: $first, after: $after, sort: $sort ) { pageInfo { hasNextPage hasPreviousPage startCursor endCursor } edges { node { id startTime endTime } cursor } totalCount }}{ "filter": { "time": {} }, "first": 20, "sort": [ { "field": "START_TIME", "direction": "ASC" }, { "field": "ID", "direction": "ASC" } ]}{ "data": { "zoneIntersections": { "pageInfo": { "hasNextPage": false, "hasPreviousPage": true, "startCursor": "startCursor-867d", "endCursor": "endCursor-f100" }, "edges": [ { "node": { "id": "3e8d4d0c-927e-8530-96d0-45d6d7e4010e", "startTime": "2025-01-01T00:00:00.000Z", "endTime": "2025-01-01T00:00:00.000Z" }, "cursor": "cursor-f414" } ], "totalCount": 418 } }}