Skip to content

zoneIntersections

Query

Find intersections for a zone based on a set of filters.

Response

Returns ZoneIntersectionConnection

Arguments

NameTypeDescription
filterFilterZoneIntersectionInput!

Filter zone intersections based on the zone id, time period, etc.

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[ZoneIntersectionsSort!]!

The field and direction by which to sort the results

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

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
}
}