zones
Costs
10 units
Scope
providers:read
Query providers zones according to location within a radius of 1000 meters. You can restrict to some providers by specifing an array of providers slugs.
zones (
lat:
Float! ,
lng:
Float! ,
radius:
Int ,
providers:
[String] ,
types:
[ZoneType] ,
vehicleTypes:
[String]
) :
[Zone]
Fields
Name | Type | Description |
---|---|---|
lat | Float! | The requested latitude |
lng | Float! | The requested longitude |
radius | Int | In meters. Filter result to vehicle inside a radius. Maximum 100000 |
providers | [String] | Filter by of providers. list of slug, eg: ["mobike", "ofo"]. |
types | [ZoneType] | Filter by types. List of type, eg: ["no_parking", "no_ride"] |
vehicleTypes | [String] | Filter by vehicle types. List of vehicle type, eg: ["SCOOTER", "MOTORSCOOTER"] |