Module: controllers/api

Members

(route) 404

Route:
Method Path
ALL /api/*
Sends the errorImage to the user for any unhandled request.
Source:

(route) Data

Route:
Method Path
GET /api/data/:sensorHub/:dateTime
Handles the pop-menu data.
Route Parameters:
Name Type Description
:sensorHub String SensorHub to get data from.
:dateTime String unix-timestamp.
Source:

(route) Mapbox

Route:
Method Path
GET /api/mapbox/:z/:x/:y
Handles the Mapbox tile services; also used for caching the tiles.
Route Parameters:
Name Type Description
:z String is the z-coordinate.
:x String is the x-coordinate.
:y String is the y-coordinate.
Source:

(route) Planet

Route:
Method Path
GET /api/planet/:datetime/:z/:x/:y
Handles the Planet tile services; also used for caching the tiles.
Route Parameters:
Name Type Description
:dateTime String unix-timestamp.
:z String is the z-coordinate.
:x String is the x-coordinate.
:y String is the y-coordinate.
Source:

(route) SensorHubs

Route:
Method Path
GET /api/sensorhubs
Renders a KML file containing the locations of all SensorHubs.
Source:

(route) Type

Route:
Method Path
GET /:type/:dateTime/:z/:x/:y
Handles the PDS tile services; also used for caching the tiles.
Route Parameters:
Name Type Description
:type String type of data.
:dateTime String unix-timestamp.
:z String is the z-coordinate.
:x String is the x-coordinate.
:y String is the y-coordinate.
Source: