api-docs v5.116.0
API Docs
Table of contents
Activity_Log
Activity Log - Find
Get list of activity logs
GET /activity-logs
Headers - Header
Name | Type | Description |
---|---|---|
Authorization | string |
key to place the API token to using the grant 'Bearer' |
Header examples
Authorization-Example
{
"Authorization": "Bearer <your-api-token>"
}
Examples
Example usage:
curl "https://yourdomain.com/activity-logs" \
-X GET \
-H "Authorization: Bearer <your-api-token>"
Success response
Success response - Success 200
Name | Type | Description |
---|---|---|
activityLogs | object[] |
array of activityLog |
activityLogs.id | string |
|
activityLogs.createdAt | number |
|
activityLogs.type | string |
|
activityLogs.text | string |
history in text |
activityLogs.account | string |
|
activityLogs.action | string |
create, patch, remove |
activityLogs.record | object |
Success response example
Success response example - Success-Response:
HTTP/1.1 200 OK
[
{
"id": "id-1",
"createdAt": 1564661697125
},
{
"id": "id-2",
"createdAt": 1564661697125
}
]
Activity Log - Get
Get a specific activity log
GET /activity-logs/:id
Headers - Header
Name | Type | Description |
---|---|---|
Authorization | string |
key to place the API token to using the grant 'Bearer' |
Header examples
Authorization-Example
{
"Authorization": "Bearer <your-api-token>"
}
Examples
Example usage:
curl "https://yourdomain.com/activity-logs/<activity-log-id>" \
-X GET \
-H "Authorization: Bearer <your-api-token>"
Success response
Success response - Success 200
Name | Type | Description |
---|---|---|
id | string |
|
createdAt | number |
|
type | string |
|
text | string |
history in text |
account | string |
|
action | string |
create, patch, remove |
record | object |
Success response example
Success response example - Success-Response:
HTTP/1.1 200 OK
{
"id": "id-1",
"createdAt": 1564661697125
}