Get User Activity
Get user activity timeline.
Quick Navigation
Endpoint
GET /api/v1/users/{user_id}/activity
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <access_token> |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | integer | Yes | User ID |
Response
Success (200)
{
"success": true,
"data": {
"activities": [
{
"id": 1,
"action": "auth.login.success",
"timestamp": "2024-01-01T10:00:00Z",
"ip_address": "192.168.1.1"
}
],
"total_count": 50,
"message": "User activity retrieved successfully"
},
"message": "User activity retrieved successfully"
}
Features
- Activity timeline
- Login history
- Action tracking
Status
[WARNING] TODO: Not Implemented
This endpoint is defined in the router but the implementation logic is not yet complete.