v1

latestOpenAPI 3.0.02026-08-066425196.1 KB
Users

Recieve the users notifications.

Recieve the users notifications, including edited transcriptions, moderated contributions, and replies to comments. Notifications are contributions, with an additional field 'notificationType' to denote type.

get/users/notifications/:userId

Path parameters

userIdstring required

userId of the user recieving notifications.

Query parameters

countOnlyboolean

Recieve only the count of notifications, and none of the contributions.

datestring

Recieve only the notifications past a certain date. Date must be in YYYY-MM-DD format.

{"stackTrail":"paths:/users/notifications/%3AuserId:get:parameters:3:schema","oasType":"schema","type":"unknown"}

Limit the amount of returned notifications.

{"stackTrail":"paths:/users/notifications/%3AuserId:get:parameters:4:schema","oasType":"schema","type":"unknown"}

Page number for pagination of notifications. Page size is denoted by limit, defaults to 5. For example, if page = 3 notifications 10-14 will be returned.

Response

Successfully retrieved notifications