Main API알림 API
PATCH /ai/notification/read
알림 읽음 처리
알림 읽음 처리
여러 알림을 읽음 상태로 변경합니다.
| 항목 | 값 |
|---|---|
| 메서드 | PATCH |
| 경로 | /ai/notification/read |
| 인증 | 필요 |
| Content-Type | application/json |
요청
PATCH /ai/notification/read HTTP/1.1
Host: api.glowb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
Content-Type: application/json
{
"notificationIds": [1, 2, 3]
}curl -X PATCH "https://api.glowb.com/ai/notification/read" \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '{"notificationIds": [1, 2, 3]}'const response = await fetch('/ai/notification/read', {
method: 'PATCH',
headers: {
'Authorization': `Bearer ${accessToken}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
notificationIds: [1, 2, 3]
})
});Request Body
{
"notificationIds": [1, 2, 3]
}Request Body 스키마
Prop
Type
응답
성공 응답 (200 OK)
(빈 응답)