Use BaseURL and locate NID data #1094
Replies: 2 comments 2 replies
-
Start here : The data is available in JSON. The Swagger UI has more information https://cwms-data.usace.army.mil/cwms-data/swagger-ui.html If you find the data you want, swagger will formulate the json get url for you. Admittedly, I am still struggling with the change myself. The new system requires timestamps for the json get to work properly and thus far I have not been able to replace the same functionality that I previously had. A bit frustrating, knowing I had been using the legacy system for years without problems. Good luck! |
Beta Was this translation helpful? Give feedback.
-
For the NID data, CWMS (and A2W) aren't the authoritative source of data, those were provided for convience, and admittedtly we just didn't think about them when porting the API as they were served out by another system (Access-to-Water) that has also just been modernized. @JeremyDKellett is there an actual authoritative source of the National Inventory of Dams data that has an API the @waswapeter can use? If not we can expose that data again through CDA, that data itself should still be within our database though we will want to make sure we have a mechanism of keeping it up-to-date - not that I think it changes all that often.. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In the previous api the following URLs could work
However, these nolonger work. Could anyone help me fomulate 1 and 2, so that am able to acquire data from the new api?.
Thank you in advance.
Peter
Beta Was this translation helpful? Give feedback.
All reactions