This API call queries recorded data from the database recorder.
Supported HTTP methods: POST, OPTIONS
POST /api/v1/recordingdata
Parameters: none
Expected Payload: A RecorderQuery document specifying which data to query from the database
Replied Payload: A RecorderDataPoint list containing the data replied by the database.
Return Codes:
| Code | Description |
|---|---|
| 200 | OK, returns a JSON document. |
| 401 | not logged in. In this case an ApiError document is returned,describing details of the error. |
| 400 | Bad Request. In case validation falied on payload |
POST /api/v1/recordingdata/raw
This API call queries recorded data from the database recorder and retruns raw data.
Parameters: none
Expected Payload: A RecorderQuery document specifying which data to query from the database
Replied Payload: A RecorderRawDataPoint list containing the data replied by the database.
Return Codes:
| Code | Description |
|---|---|
| 200 | OK, returns a JSON document. |
| 401 | not logged in. In this case an ApiError document is returned,describing details of the error. |
| 400 | Bad Request. In case validation falied on payload |
POST /api/v1/recordingdata/csv
This API call queries recorded data from the database recorder and retruns String (text/csv).
Parameters: none
Expected Payload: A RecorderQuery document specifying which data to query from the database
Replied Payload: String in CSV format.
Return Codes:
| Code | Description |
|---|---|
| 200 | OK, String |
| 401 | not logged in. In this case an ApiError document is returned,describing details of the error. |
| 400 | Bad Request. In case validation falied on payload |