Activity
List activity events
Paginated list of activity events. Admin only.
Authorization
bearerAuthorizationBearer token
User session token. Obtained from POST /api/auth/login.
In: header
Query Parameters
q*string
type*string
limit*string
offset*string
Response Body
application/json
application/json
application/json
curl -X GET "https://loading/api/activity?q=string&type=string&limit=string&offset=string"{
"data": {
"total": 100,
"limit": 10,
"offset": 0,
"items": [
{
"id": 1,
"type": "user.registered",
"message": "A new user registered.",
"details": null,
"author": "u:1@my-server.com",
"created_at": "2024-01-01T00:00:00.000Z"
}
]
},
"error": null,
"time": 1680000000000,
"request": "/api/endpoint"
}{
"data": null,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found.",
"status": 404
},
"time": 1680000000000,
"request": "/api/endpoint"
}{
"data": null,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found.",
"status": 404
},
"time": 1680000000000,
"request": "/api/endpoint"
}