/log/filter

Use the interface to filter logs.

Request Mode

POST /api/log/filter
Parameter Description
types Log types, including all, info, warn and error, which can be separated by commas if multiple types are requested.
key The key word for filtering, which can be an empty string

Response Body

{
    "status": 0,
    "logs": [
        {
            "no": 0,
            "time": "2022/09/09 16:11:07.920",
            "type": "info",
            "message": "xxxxxx"
        }, 
        {
            "no": 1,
            "time": "2022/09/09 16:11:04.721",
            "type": "info",
            "message": "xxxxxx"
        }
    ]
}
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.
logs[i].no The log number
logs[i].time The log time
logs[i].type The log type, including info, warn, and error
logs[i].message The log content

results matching ""

    No results matching ""