This API end point returns the recorded data for a File-Recorder device
Supported HTTP methods: GET, HEAD, OPTIONS
GET /api/v1/filerecordings/{mncName}/{deviceName}
Reads the recorded data from the given File-Recorder device
Parameters:
| Parameter | Description |
|---|---|
| mncName | The name of the M&C to read the data from |
| deviceName | The name of the File-Recorder device to read the data from |
Expected Payload: none.
Replied Payload: The recorded data in CSV format (text/plain). Columns are separated by comma characters, the first column contains the time stamp in 'YYYY-MM-DD HH:MM:SS' format (UTC). All other columns contain the recorded data. Example:
2023-02-16 09:12:38,28.3,,,
2023-02-16 09:13:39,28.4,,,
2023-02-16 09:14:39,28.5,,,
2023-02-16 09:15:38,28.4,,,
2023-02-16 09:16:38,28.5,,,
2023-02-16 09:17:38,28.3,,,
2023-02-16 09:18:38,28.4,,,
2023-02-16 09:19:38,28.4,,,
Return Codes:
| Code | Description |
|---|---|
| 200 | OK, the requested file recorder data is returned. |
| 400 | The M&C is offline, cannot be queried. In this case an ApiError document is returned, describing details of the error. |
| 401 | Not logged in. In this case an ApiError document is returned, describing details of the error. |
| 404 | Either the referred M&C or the device does not exists or the device is not a File-Recorder device. In this case an ApiError document is returned, describing details of the error. |