List all Activity Logs (Read-Only)
GET/api/activity-logs
Read-only endpoint for audit trail viewing
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| 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"
}
]