STA Query Examples

 

OSE Pods

 

 

Outdated: 8/25/21

Retrieve all Things in CGWMN. (really all things with properties/project equal to CGWMN)

https://st.newmexicowaterdata.org/FROST-Server/v1.1/Things?$filter=properties/project eq 'CGWMN'&$orderby=name

 

with number of things in CGWMN

https://st.newmexicowaterdata.org/FROST-Server/v1.1/Things?$filter=properties/project eq 'CGWMN'&$orderby=name&$count=true

 

Retrieve all Locations and associated data

https://st.newmexicowater.data.org/FROST-Server/v1.1/Locations?$expand=Things/Datastreams/Sensor