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.
Variantspath_startswith and path_contains
code string
Search logs by code.
Variantscode_startswith and code_contains
token string Search logs by token.
Variantstoken_startswith and token_contains
host string Search logs by host.
Variantshost_startswith and host_contains
body string Search logs by body.
Variantsbody_startswith and body_contains
sort_column string

Sort logs. Standard on title
Allowed Valuespath,token,request,response,codecreated_at and updated_at

sort_order string

Sort order. Standard on ASC
Allowed ValuesASC,DESC

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"
    }
  ]
}