Action | URL format | Qualifiers | Example |
---|---|---|---|
Put data | at, key, test | http://tzvolcano.chordsrt.com/measurements/url_create?instrument_id=1&lat=Latitude&lon=Longitude&height=Height&at=2015-08-20T19:50:28&key=KeyValue&test | |
Fetch a CSV file | .csv | start, end, last |
http://tzvolcano.chordsrt.com/instruments/1.csv?start=2015-08-01T00:30&end=2015-08-20T12:30
http://tzvolcano.chordsrt.com/instruments/1.csv?last |
Fetch a JSON file | .jsf | start, end, last |
http://tzvolcano.chordsrt.com/instruments/1.jsf
http://tzvolcano.chordsrt.com/instruments/1.jsf?start=2015-08-01T00:30&end=2015-08-20T12:30 http://tzvolcano.chordsrt.com/instruments/1.jsf?last |
Fetch JSON | .json | start, end, last | http://tzvolcano.chordsrt.com/instruments/1.json?last |
Optional Qualifiers |
Meaning |
---|---|
at= time | A time to assign to the measurement. If not present, the measurement will be time stamped with the time that it was received by the portal. |
key= key | An optional validation key. It is required if "Require the security key in order to submit a measurement" is checked in the configuration. The key value is also specified in the configuration. |
test | If present, this measurement will be marked as a test value. Test values can be deleted from the database using the "Delete Test Button" on the instrument page. |
start= time | A start time for the returned measurements. |
end= time | An end time for the returned measurements. |
last | Return all measurements for the most recent measurement time stamp. |