Skip to content

get recent audit logs

GET
/api/v1/audit/logs

Controller:

github.com/raghavyuva/nixopus-api/internal/features/audit/controller.(*AuditController).GetRecentAuditLogs

Middlewares:

  • github.com/go-fuego/fuego.defaultLogger.middleware
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).SetupRoutes.(*Router).setupAuthentication.func2
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func1
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func2

Parameters

Header Parameters

Accept
Type
string

Responses

OK

JSON
{
"data": {
"activities": [
{
"action": "string",
"action_color": "string",
"actor": "string",
"id": "string",
"message": "string",
"metadata": {
"additionalProperties": "string"
},
"resource": "string",
"resource_id": "string",
"timestamp": "string"
}
],
"pagination": {
"current_page": 0,
"has_next": true,
"has_prev": true,
"page_size": 0,
"total_count": 0,
"total_pages": 0
}
},
"message": "string",
"status": "string"
}

Playground

Server
Headers

Samples

Powered by VitePress OpenAPI

Made with love
Released under the Functional Source License (FSL)