UserService · UserService_ListUserNotifications
Access
Owner-only: the user named in the path must be the authenticated caller. Instance administrator status does not allow acting on another account here.
Visibility-filtered inbox
Returns the owner's current readable notifications in newest-first order. The reserved pageSize, pageToken and filter inputs are ignored. Notifications whose subject is no longer readable can disappear from this projection even if a stored inbox record remains; the owner may still delete such an entry by name.
Request
ListUserNotifications lists notifications for a user.
/api/v1/users/{user}/notificationsParameters
| Name / location | Type / requirement | Description |
|---|---|---|
userpath | string Required | The user id. |
pageSizequery | integer (int32) Not marked required in OpenAPI | |
pageTokenquery | string Not marked required in OpenAPI | |
filterquery | string Not marked required in OpenAPI |
Request body
No request body is declared.
Responses
200 · OK
application/json · ListUserNotificationsResponse
default · Default error response
application/json · Status
Complete operation definition
All declared constraints, media types and response details are retained below. Schema references link to their complete definitions.
Open JSON definition
{
"tags": [
"UserService"
],
"description": "ListUserNotifications lists notifications for a user.",
"operationId": "UserService_ListUserNotifications",
"parameters": [
{
"name": "user",
"in": "path",
"description": "The user id.",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "pageSize",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "pageToken",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "filter",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ListUserNotificationsResponse"
}
}
}
},
"default": {
"description": "Default error response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Status"
}
}
}
}
}
}