API documentation for get_vdv_records

Back to main page
URL
/api/v1/get_vdv_records

Fetch VDV records for a given measuring point.

Parameters:
measuring_point_id:
From what measuring point to fetch samples. This is the "id" field when fetching details about measuring points
start_time:
From what time to fetch samples, time is given in milliseconds since epoch
end_time:
Till what time to fetch samples, time is given in milliseconds since epoch (optional)

Example response:

{
    "ok": true,
    "samples": [
        {
            "timestamp": 12312312312,
            "vdv_period": 5,
            "vdv_x": "BS6841_Wd",
            "vdv_y": "BS6841_Wd",
            "vdv_z": "BS6841_Wb",
            "x": 123.4,
            "y": 124.4,
            "z": 125.4,
        },
        ....
    ]
}
Details:
timestamp:
Milliseconds since epoch for the given sample
vdv_period:
Amount of seconds between every measurement
vdv_x, vdv_y, vdv_z:
Frequency weighting used for filtering the acceleration
x, y, z:
VDV (vibration dose value) in m/s^1.75

Available API endpoints:

URL Description
/api/v1/user/authenticate Athenticate user and return a temperary 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.