Export logs
1. API Description
This API is used to export the current system log of the device as a .html file.
Request mode: POST [ip]/api/log/export
Administrator Rights | Logged-in |
---|---|
Yes | Yes |
2. Input Parameters
Name | Required | Type | Description |
---|---|---|---|
filename | Yes | String | The exported filename |
3. Output Parameters
The log is downloaded as a .html file and saved to a local folder.
4. Example
Exporting the current system log of the device as Log_2024_04_11_14_01_08.html.
Input Example
{
"filename": "Log_2024_04_11_14_01_08.html"
}
Output Example
Download the html file and save to a local folder.
5. Error Code
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Status | Definition | Description |
---|---|---|
7 | MW_STATUS_INVALID_ARG | Missing required parameters |