POST
GetPreferences
GetPreferences returns comment and release attention preferences.
/api.v1.notification.NotificationService/GetPreferences Bearer required01
Request
GetNotificationPreferencesRequest
GetNotificationPreferencesRequestapi.v1.notification.GetNotificationPreferencesRequest0 fields
Get Notification Preferences Request message.
No fields — send an empty JSON object.
{}02
Response
GetNotificationPreferencesResponse
GetNotificationPreferencesResponseapi.v1.notification.GetNotificationPreferencesResponse1 fields
Get Notification Preferences Response message.
{
"data": {
"directReplies": false,
"mentions": false,
"releaseNotifications": false,
"quietHoursStart": "string value",
"quietHoursEnd": "string value"
}
}03
Referenced models
1 nested message types
NotificationPreferencesapi.v1.notification.NotificationPreferences5 fields
Notification Preferences message.
directRepliesboolDirect Replies value.
mentionsboolMentions value.
releaseNotificationsboolRelease Notifications value.
quietHoursStartstringQuiet Hours Start value.
quietHoursEndstringQuiet Hours End value.
04
Error handling
Common failure codes
unauthenticatedThe Bearer token is missing or invalid.
invalid_argumentThe request payload failed validation.
internalThe service could not complete the operation.