Skip to navigation

Cluster partner locations for a map (deprecated)

Deprecated

Deprecated: use GET /emsp/locations/map. Kept for one minor version. Groups locations into grid cells sized for the zoom level. A cell lists its location ids when it holds 20 or fewer.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

zoom_levelintegerRequired0-22

Map zoom level (0 = whole world, 22 = street).

network_idinteger or nullOptional>=1

Only locations this network reaches. Not together with token_group_id.

token_group_idinteger or nullOptional>=1

Only locations the group’s networks reach. Not together with network_id.

bounding_boxstring or nullOptionalformat: "^-?\d+(\.\d+)?(,-?\d+(\.\d+)?){3}$"

Only locations inside min_lon,min_lat,max_lon,max_lat (WGS84).

Response

The map cells that hold locations.
datalist of objects
paginationobject

Spirii cursor page. Pass end_cursor as the next after value.

Errors

400
Bad Request Error
401
Unauthorized Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error