Action Log Services
All services related to action logs are listed in this page.
GET
Action Log List
GET
Action Log ListReturns all action logs with detailed information.
Path: /api/v1/oms/logs/action_log/
Query Parameters
The following query parameters can be used to get the details of action logs.
token
string
header
The API key of the customer account
Example Request
To get a detailed list of all action logs, a GET
request should be sent to
the /api/v1/oms/logs/action_log/
endpoint. In the headers, set
the Authorization
header to include the token for authentication.
Here's an example of how to make the request in python:
Example Response (200 OK)
In a successful response with a status code of 200 OK, the API returns the
details of all action logs. The response body contains a JSON
object with
the action logs and their attributes such as ID, level, logger name, message
etc.
These parameters are described in the following table.
id
integer
The primary key of the action log
level
integer
The level type of the action log
logger_name
string
The logger name of the action log
message
string
The detail of the action log
app_name
string
The app name of the action log (which app belongs to this error)
trace
string
The traceback detail of the action log
created_at
date
The creation date of the action log
This example response serves as a reference to understand the structure and data format returned from this API service.
GET
Single Action Log
GET
Single Action LogReturns detailed information of a single action log with given ID.
Path: /api/v1/oms/logs/action_log/{id}/
Query Parameters
The following query parameters can be used to get the details of action log.
token
string
header
The API key of the customer account
{id}
integer
url
The ID of the action log
Example Request
To retrieve detailed information of given action log, a GET
request should
be sent to the /api/v1/oms/logs/action_log/{id}/
endpoint. In the
headers, set the Authorization
header to include the token for
authentication.
Here's an example of how to make the request in python:
Example Response (200 OK)
In a successful response with a status code of 200 OK, the API returns the
detailed information of given action log. The response body contains
a JSON
object with the given action logs' attributes such as ID, level, logger
name, message etc.
These parameters are described in the following table.
id
integer
The primary key of the action log
level
integer
The level type of the action log
logger_name
string
The logger name of the action log
message
string
The detail of the action log
app_name
string
The app name of the action log (which app belongs to this error)
trace
string
The trace back detail of the action log
created_at
date
The creation date of the action log
This example response serves as a reference to understand the structure and data format returned from this API service.
Last updated
Was this helpful?