CogniCity Server /floodgauges endpoint
- Source:
(require("src/api/floodgauges/index"))(config, db, logger) → {Object}
Endpoint specification for floodgauges data
Parameters:
Name | Type | Description |
---|---|---|
config |
Object | Server configuration |
db |
Object | PG Promise database instance |
logger |
Object | Configured Winston logger instance |
- Source:
Returns:
api Express router object for reports route
- Type
- Object