LocatorApiQuery

Every GraphQL schema has a root type for both queries and mutations. The query type defines GraphQL operations that retrieve data from the server.

Fields

checkInArea (Boolean!)

Return if a poi is inside coordinates area.

Argument Type Description
input Area!

Input object for the area query.

poi (Poi)

Return a PoI given a id or uniq_id.

Argument Type Description
id ID

Identifies the primary key from the database.

uniqId String

User defined PoI identifier.

pois ([Poi!]!)

Return all PoIs.

Argument Type Description
limit Int

The maximum number of PoIs to return.

poisByDistance ([PoiDistance!]!)

Return PoIs sorted by distance in meters from the coordinates.

Argument Type Description
input Distance!

Input object for the distance query.