get preferences
GET
/api/v1/notification/preferences
Controller:
github.com/raghavyuva/nixopus-api/internal/features/notification/controller.(*NotificationController).GetPreferences
Middlewares:
github.com/go-fuego/fuego.defaultLogger.middlewaregithub.com/raghavyuva/nixopus-api/internal/routes.(*Router).SetupRoutes.(*Router).setupAuthentication.func2github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func1github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func2github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func3
Parameters
Header Parameters
Accept
Type
string
Responses
OK
JSON
{
"data": {
"activity": [
{
"description": "string",
"enabled": true,
"id": "string",
"label": "string"
}
],
"security": [
{
"description": "string",
"enabled": true,
"id": "string",
"label": "string"
}
],
"update": [
{
"description": "string",
"enabled": true,
"id": "string",
"label": "string"
}
]
},
"message": "string",
"status": "string"
}