Logs
Route | Capability | Description |
---|---|---|
List logs GET /logs |
logs-list | List all logs with pagination. |
Get logs GET /logs/:log_id |
logs-detail | Get details of a log. |
List log paths GET /log/paths |
logs-list | List all log paths without pagination. |
List logs
GET logs
List all logs with pagination.
Parameters
Route | Capability | Description |
---|---|---|
path | string | Search logs by logs path. Variants: path_startswith and path_contains |
code | string |
Search logs by code. Variants: code_startswith and code_contains |
token | string | Search logs by token. Variants: token_startswith and token_contains |
host | string | Search logs by host. Variants: host_startswith and host_contains |
body | string | Search logs by body. Variants: body_startswith and body_contains |
sort_column | string | Sort logs. Standard on title |
sort_order | string | Sort order. Standard on ASC |
Get log
GET logs/:logs_id
Get details of a logs.
List log paths
GET log/paths
List all logs without pagination.
Sample Response
Status: 200 OK Content path: application/json;charset=UTF-8
{ "code": 200, "message": "OK", "data": [ { "path": "V1/logs" }, { "path": "V1/logs/1" }, { "path": "V1/logs/33" }, { "path": "V1/logs/34" }, { "path": "V1/logs/38" }, { "path": "V1/logs/42" }, { "path": "V1/users" }, { "path": "V1/logs/66" }, { "path": "V1/logs/67" }, { "path": "V1/logs/69" }, { "path": "V1/logs/86" }, { "path": "V1/logs/90" }, { "path": "V1/users/1" }, { "path": "V1/users/1/inactive" }, { "path": "V1/logs/96" }, { "path": "V1/logs/paths" }, { "path": "V1/log/paths" }, { "path": "V1/logs/110" } ] }