List Audit Log entries.
GET/audit-log/
Request
Query Parameters
Include instances created before ISO-formatted timestamp
Number of results to return per page.
Which field to use when ordering the results.
A page number within the paginated result set.
A search term.
Include instances created after ISO-formatted timestamp
Base58 ID to filter instances by the user linked to the entry
Responses
- 200
- 400
- 401
- 500
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
Total number of results.
Total number of pages.
Number of the current page.
The first page is 1.
Defaults to 1 if no specific page is requested.
Number of results returned per page.
results
object[]
ID of the user who made the change.
Username of the user who made the change.
Name of the user who made the change.
Date and time of the change.
Type of the changed object.
ID of the changed object.
updated_fields
object
required
List of updated fields.
field_name
object[]
required
Name of updated field.
Original value of the field.
New value of the field.
{
"count": 6,
"page_total": 1,
"page": 1,
"length": 10,
"results": [
{
"user_id": "string",
"username": "string",
"user_name": "string",
"date": "2024-07-29T15:51:28.071Z",
"object_model": "string",
"object_id": "string",
"updated_fields": {
"field_name": [
{
"old_value": "string",
"new_value": "string"
}
]
}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
{
"<field name>": [
"Errors related to field <field name>."
],
"non_field_errors": [
"Errors not related to any field specific field."
]
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Unexpected error while handling your request."
}