Omnidots BV | Potklei 5 | 9351 VS Leek | The Netherlands
Gives a list of sensors that this token can access. These sensors are only the current active sensors, not historical sensors.
Parameters: None
Example response:
{
"ok": true,
"sensors": [
{
"name": "LASOPA",
"lastseen": "2017-10-24T14:48:06.989830Z",
"connected_using": "WIFI",
"location": {
"latitude": 53.329993,
"longitude": 6.513752,
}
"measuring_point": {
"name": "Test measuring point name",
"id": 123,
"user_location": {
"latitude": 53.329993,
"longitude": 6.513752,
}
"active": true,
"category": "CAT1",
"measuring_type": "indicative",
"vibration_type": "continuous",
"guide_line": "DIN4150-3",
"alarm_percentage": 90,
"data_save_level": 0.2,
"disable_led": true,
"measurement_duration": 2,
"trace_post_trigger": 3,
"trace_pre_trigger": 3,
"trace_save_level": 14,
}
},
....
]
}
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. |