notifications
Vesta API · 6.0.75 · Community
GET/api/v1/notificationsList Notifications
List notifications for the current user (from notification logs).
Parameters
skip · query · Optional
{
"default": 0,
"title": "Skip",
"type": "integer"
}limit · query · Optional
{
"default": 50,
"title": "Limit",
"type": "integer"
}Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json
Schema
GET/api/v1/notifications/logsList Notification Logs
List notification logs
Parameters
skip · query · Optional
{
"default": 0,
"title": "Skip",
"type": "integer"
}limit · query · Optional
{
"default": 50,
"title": "Limit",
"type": "integer"
}Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json
Schema
POST/api/v1/notifications/mark-all-readMark All Notifications Read
Mark all notifications as read.
Authentication
Responses
200
Successful Response
application/json
Schema
{}GET/api/v1/notifications/rulesList Notification Rules
List notification rules
Parameters
event_type · query · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Event Type"
}Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json
Schema
POST/api/v1/notifications/rulesCreate Notification Rule
Create a notification rule
Request body
Required
application/json
Schema
{
"additionalProperties": true,
"title": "Rule Data",
"type": "object"
}Authentication
Responses
201
Successful Response
application/json
Schema
{}422
Validation Error
application/json
Schema
DELETE/api/v1/notifications/rules/{rule_id}Delete Notification Rule
Delete notification rule
Parameters
rule_id · path · Required
{
"title": "Rule Id",
"type": "string"
}Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json
Schema
GET/api/v1/notifications/rules/{rule_id}Get Notification Rule
Get notification rule details
Parameters
rule_id · path · Required
{
"title": "Rule Id",
"type": "string"
}Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json
Schema
PUT/api/v1/notifications/rules/{rule_id}Update Notification Rule
Update notification rule
Parameters
rule_id · path · Required
{
"title": "Rule Id",
"type": "string"
}Request body
Required
application/json
Schema
{
"additionalProperties": true,
"title": "Rule Data",
"type": "object"
}Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json
Schema
GET/api/v1/notifications/settingsGet Notification Settings
Get notification preferences for the current user.
Authentication
Responses
200
Successful Response
application/json
Schema
{}PUT/api/v1/notifications/settingsUpdate Notification Settings
Update notification preferences.
Request body
Required
application/json
Schema
{
"additionalProperties": true,
"title": "Settings Data",
"type": "object"
}Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json
Schema
POST/api/v1/notifications/testTest Notification
Send a test notification email (admin only). Validates SMTP configuration by sending a test email to the specified recipient.
Request body
Required
application/json
Schema
{
"additionalProperties": true,
"title": "Test Data",
"type": "object"
}Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json
Schema
DELETE/api/v1/notifications/{notification_id}Delete Notification
Delete a notification.
Parameters
notification_id · path · Required
{
"title": "Notification Id",
"type": "string"
}Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json
Schema
PUT/api/v1/notifications/{notification_id}/readMark Notification Read
Mark a notification as read.
Parameters
notification_id · path · Required
{
"title": "Notification Id",
"type": "string"
}Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json