Skip to content

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.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
  • github.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"
}

Playground

Server
Headers

Samples

Powered by VitePress OpenAPI

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