Open
Description
Automation Testing for CWMSjs - /Basins
Attempting the /cwms-data/basins
endpoint from various means gives no results.
Presuming at least LRH has basins in there database I would expect to get something back.
Using Swagger / CURL default value for LRH returns
(Mimetype is set to pg+json?)
curl -X 'GET' \
'https://cwms-data.usace.army.mil/cwms-data/basins?office=LRH' \
-H 'accept: application/vnd.named+pg+json'
Using a normal mimetype (application/json) gives
curl -X 'GET' \
'https://cwms-data.usace.army.mil/cwms-data/basins?office=LRH' \
-H 'accept: application/json'
An empty string.
I would not expect there to be a version 2, but I tried it. But it also returns the empty string.
It is the same for other districts.
If the basins endpoint is not complete should we consider moving it out of PROD?
EDIT:
If this is an issue with districts not having data in the tables the endpoint looks at, can we consider adding the POST method to start getting data in without needing to use the SQL directly?