OMS Audit Events Service
The OMS Audit Events Service contains records of model changes and various events that occur within the OMS. This service is responsible for retrieving these event logs from the OMS.
GET
List OMS Audit Events
GET
List OMS Audit EventsThis service is used to retrieve list of audit events from OMS.
Path: /api/v1/oms/settings/audit_events/
Payload
No payload is required.
Filters
url
string
query param
Filters the event url
content_type
int
query param
Filters the event object content type
object_id
int
query param
Filters the event object
start_date
datetime
query param
Filters the event start date
end_date
datetime
body
Filters the event end date
Example Request
To run this service, a GET
request should be sent to /api/v1/oms/settings/audit_events/
endpoint.
Here's an example of how to make the request in python:
Example Response (201 CREATED)
In a successful response with a status code of 200 OK, the response body contains list of audit event objects.
uuid
uuid
Unique ID of the audit event
timestamp
datetime
Timestamp of the event
remote_addr
string
If event has remote address, this parameter shows the remote address of the event
url
string
URL of the event
query_params
object
If event has query params, this parameter shows the query params of the event
post_data
object
If event has post data, this parameter shows the post data of the event
headers
object
Headers of the event
object_id
int
Related object ID of the event
content
object
Content of the event
user
int
If event is triggered by user, this parameter shows the user of the event.
content_type
int
Related object content type of the event
Was this helpful?