Get observations for a station
GET/observations/:stationId
Retrieves a set of observations for a specified station. The data can be filtered by a date/time range or by the most recent number of minutes.
Usage examples:
- Get latest observation: Use
?sort=-time&limit=1 - Get last 10 minutes: Use
?last_minutes=10 - Get a specific time range: Use
?from_date_time=...&to_date_time=...
Note: last_minutes cannot be used with from_date_time or to_date_time.
Request
Responses
- 200
- 400
- 401
- 404
- 500
A set of observations for the specified station and time range.
Bad Request. The request was invalid.
Unauthorized. A valid API key was not provided.
The specified resource was not found.
Internal Server Error.