USGS-WiM / StreamStatsServices

StreamStats REST Services
https://streamstats.usgs.gov/streamstatsservices
Other
1 stars 0 forks source link

parameters.json endpoint not working as described in documentation #33

Open marsmith opened 6 years ago

marsmith commented 6 years ago

image

A request like https://test.streamstats.usgs.gov/streamstatsservices/parameters.json?rcode=ny&workspaceID=ny20170911151057194000&includeparameters=true

Coming directly after a successful delineation (returning a workspaceID) Results in a list of parameters being returned, but no values computed, like this: {"ID":0,"name":"CENTROIDY","description":"Basin centroid vertical (y) location in state plane units","code":"CENTROIDY","unit":""}

lastly, leaving off includeparameters=true results in an error, when the docs say this argument is optional and defaults to true: The server cannot service the request because the media type is unsupported.

HansVraga commented 4 years ago

after some expermination, looks to still be an issue.