Pular para o conteúdo

Update Notification

PUT
/api/v1/notifications/{notification_id}

Update a notification (mark as read/unread).

notification_id
required
Notification Id
integer
x-tenant-id
Any of:
integer
NotificationUpdate

Update notification schema.

object
is_read
Any of:
boolean

Successful Response

NotificationResponse

Notification response schema.

object
type
string
Allowed values: info success warning error message
icon
string
Allowed values: bell mail calendar users building check alert
title
required
Title
string
>= 1 characters <= 500 characters
message
required
Message
string
>= 1 characters
link
Any of:
string
<= 1000 characters
entity_type
Any of:
string
<= 50 characters
entity_id
Any of:
integer
id
required
Id
integer
user_id
required
User Id
integer
is_read
required
Is Read
boolean
read_at
required
Any of:
string format: date-time
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string