Omnidots BV | Potklei 5 | 9351 VS Leek | The Netherlands
Gives a list of measuring points that this token can access.
Parameters: none
Example response:
{
"ok": true,
"measuring_points": [
{
"active": true,
"building_level": "lowerLevel",
"category": "CAT2",
"data_save_level": 10,
"disable_led": false,
"guide_line": "SBR_A_2010",
"id": 544,
"log_flush_interval": 60,
"measurement_duration": 2,
"measuring_type": "indicative",
"name": "Test ",
"schedule_disable_0": "24:00:00",
"schedule_disable_1": "24:00:00",
"schedule_disable_2": "12:20:00",
"schedule_disable_3": "24:00:00",
"schedule_disable_4": "14:00:00",
"schedule_disable_5": "24:00:00",
"schedule_disable_6": "24:00:00"
"schedule_enable_0": "00:00:00",
"schedule_enable_1": "00:00:00",
"schedule_enable_2": "12:10:00",
"schedule_enable_3": "00:00:00",
"schedule_enable_4": "12:10:00",
"schedule_enable_5": "00:00:00",
"schedule_enable_6": "00:00:00",
"timezone": "Europe/Amsterdam",
"trace_post_trigger": 3,
"trace_pre_trigger": 3,
"trace_save_level": 100,
"vibration_type": "continuous",
"user_location": {
"latitude": null,
"longitude": null
},
"sensor": {
"location": {
"latitude": 53.00033187866211,
"longitude": 6.554333209991455
},
"connected_using": "GSM",
"battery_charge": null,
"name": "BANANA",
"lastseen": "2018-12-14T11:10:32.770645Z",
"online": true
},
},
....
],
}
When there are no measuring points created there will be an empty list. If there is no sensor coupled "active" will be false and there will be no "sensor" part.
URL | Description |
---|---|
/api/v1/user/authenticate | Athenticate user and return a temporary API token. |
/api/v1/user/account | Get user account by API token. |
/api/v1/token_details | Tests the token and returns account info if the token is valid. |
/api/v1/list_measuring_points | Gives a list of measuring points that this token can access. |
/api/v1/configure_measuring_point | Configure a measuring point. |
/api/v1/list_sensors | Gives a list of sensors that this token can access. |
/api/v1/get_peak_records | Fetch peak particle velocity/acceleration records for a given measuring point. |
/api/v1/get_vdv_records | Fetch VDV records for a given measuring point. |
/api/v1/get_veff_records | Fetch Veff/KB records for a given measuring point. |
/api/v1/get_traces_list | Get a list of traces for a given time range. |
/api/v1/get_traces | Get detailed traces for a given time range. |