List all Activity Logs (Read-Only)

GET/api/activity-logs

Read-only endpoint for audit trail viewing

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
log_type String optional Optional filter by log type
action String optional Optional filter by action (created, updated, deleted)
created_by Number optional Optional filter by user ID
curl -X GET "https://yoursite.com/api/activity-logs" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

[
  {
    "id": "1",
    "log_type": "project",
    "action": "created",
    "created_by": "1",
    "created_at": "2024-01-15 10:00:00"
  }
]
MethodGET
Path/api/activity-logs
GroupActivity Logs
Sincev1.0.0
Defined inRestApi/Controllers/ActivityLogsController.php