get-logs

Use this interface to obtain system logs list which can include up to 1000 records with administrator rights.

HTTP Request

GET http://ip/usapi?method=get-logs&types=all
Parameter Description
method get-logs
types Log types including all, info, warn and error, separated by comma when there are multiple values.

Response Body

{
  "result": 0
  "logs:[
    {
      "type": "warn",
      "time": "2022-03-19 09:53:03.047",
      "message": "USB state: disconnected"
    },
    ...
  ]"
}
Item Description
result Returned status.
0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""