refactor(api): notification state changes use PATCH with JSON body

This commit is contained in:
2026-05-14 21:05:30 +02:00
parent d5a116e483
commit abc5f2b936
3 changed files with 126 additions and 10 deletions

View File

@@ -83,6 +83,6 @@ pub struct SearchQuery {
#[derive(serde::Deserialize, utoipa::ToSchema)]
#[serde(rename_all = "camelCase")]
pub struct FollowRemoteRequest {
pub handle: String,
pub struct NotificationUpdateRequest {
pub read: bool,
}