Trail

API for audit trails

Method & Permission

API

GET

POST

PUT

PATCH

DELETE

Trail List

Admin, Project Admin, Project Edit, Project View

-

-

-

-

Trail Detail

Admin, Project Admin, Project Edit, Project View

-

-

-

-

get
Trail List

{{ base_url }}/tables/trail/list/{level}/{sid}/{serializer}/
This endpoint allows you to get free cakes.
Request
Response
Request
Path Parameters
level
required
string
organization
sid
required
string
organization sid
serializer
required
string
Headers
token
required
string
Authentication token
Query Parameters
row__sid
required
string
Row sid
Response
200: OK
Cake successfully retrieved.
# serializer = name
{
"page_size": 10,
"page_number": 1,
"page_count": 1,
"count": 7,
"next": null,
"previous": null,
"add_permission": true,
"results": [
{
"sid": "svyB0a40xf8fuzEJOTY4",
"name": "Updated Section (Overview) date_updated"
},
...
]
}
# serializer = list
{
"page_size": 10,
"page_number": 1,
"page_count": 1,
"count": 7,
"next": null,
"previous": null,
"add_permission": true,
"results": [
{
"icon": "edit",
"user": {
"sid": "hknq0a40x42jotyDINS",
"first_name": "Test",
"last_name": "Labii",
"email": "test@labii.com"
},
"action": "Updated",
"field": "Section (Overview) date_updated",
"date_created": "2020-09-22T22:56:59.337833Z",
"change_permission": false
},
...
]
}
# serializer = detail
{
"page_size": 10,
"page_number": 1,
"page_count": 1,
"count": 7,
"next": null,
"previous": null,
"add_permission": true,
"results": [
{
"icon": "edit",
"row": {
"sid": "xADG0a40x6702zEJOTY49",
"name": "EP1055: Test Name 20200922155614"
},
"version": {
"sid": "470c0a40x2bfc26afkpuzE",
"name": "EP1055: Test Name 20200922155614 (v2)"
},
"user": {
"sid": "hknq0a40x42jotyDINS",
"first_name": "Test",
"last_name": "Labii",
"email": "test@labii.com"
},
"action": "Updated",
"field": "Section (Overview) date_updated",
"old_data": "2020-09-22 22:56:44.452333+00:00",
"new_data": "2020-09-22 22:56:59.327526+00:00",
"date_created": "2020-09-22T22:56:59.337833Z",
"change_permission": false
},
...
]
}

get
Trail Detail

{{ base_url }}/tables/trail/detail/{sid}/
Request
Response
Request
Path Parameters
sid
required
string
trail sid
Headers
token
required
string
Response
200: OK
{
"icon": "edit",
"row": {
"sid": "xADG0a40x6702zEJOTY49",
"name": "EP1055: Test Name 20200922155614"
},
"version": {
"sid": "470c0a40x2bfc26afkpuzE",
"name": "EP1055: Test Name 20200922155614 (v2)"
},
"user": {
"sid": "hknq0a40x42jotyDINS",
"first_name": "Test",
"last_name": "Labii",
"email": "test@labii.com"
},
"action": "Updated",
"field": "Section (Overview) date_updated",
"old_data": "2020-09-22 22:56:44.452333+00:00",
"new_data": "2020-09-22 22:56:59.327526+00:00",
"date_created": "2020-09-22T22:56:59.337833Z",
"change_permission": false
}