app-notifications

Update User Notifications

Changed on

Updates notification acknowledgement state for the current user.

patch/api/v1/notifications

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

UpdateUserNotificationsRequest required

Request to update notification acknowledgement state for the current user.

key, 'most_recent_app_update' | 'most_recent_tes_update' required

Enum class to type the values of the notifications possible for actioning on the frontend.

Response

Successful Response

UserResponse required

User information to send to the client.

id, string uuid required
username, string required
jurisdiction_id, string required
notifications, NotificationsToRender required

Map of booleans for each of the notificaiton keys as to whether to render frontend banners.

Changes

    • warning

      added the new most_recent_tes_update enum value to the notifications/to_render/propertyNames response property for the response status

    • info

      added the new most_recent_tes_update enum value to the request property key

    • info

      endpoint added