Blesyum Core

notifications

6 uç · /api/v1/notifications

İstek örnekleri ucun GERÇEK metodu ve yolundan üretilir. 6 ucun elle doğrulanmış gövde örneği henüz yok; o uçlarda iskelet gövdesizdir — uydurma bir alan yazmıyoruz.

GET/api/v1/notifications

Notifications list

Oturum
İstek
curl -X GET "https://api.blesyum.com/api/v1/notifications" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
GET/api/v1/notifications/catalog

NOT-40 P5 · tercih matrisinin olay kataloğu.

Oturum

⚠ Metin BURADA render EDİLMEZ: etiketi panel kendi sözlüğünden çevirir (core.notify.<kind>). Sunucu yalnız "hangi olaylar var ve hangisi kapatılabilir" der — çeviri zinciri I18N-30'un işidir ve kataloğu üç dilde buradan döndürmek o zinciri ikiye bölerdi.

İstek
curl -X GET "https://api.blesyum.com/api/v1/notifications/catalog" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
GET/api/v1/notifications/preferences

Read the user's notification preferences (NOT-05).

Oturum
İstek
curl -X GET "https://api.blesyum.com/api/v1/notifications/preferences" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
PATCH/api/v1/notifications/preferences

Merge a patch into the user's notification preferences (NOT-05).

Oturum
İstek
curl -X PATCH "https://api.blesyum.com/api/v1/notifications/preferences" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/v1/notifications/read

Mark one notification (or all) read (NOT-02).

Oturum
İstek
curl -X POST "https://api.blesyum.com/api/v1/notifications/read" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
GET/api/v1/notifications/unread-count

Unread notification count (the bell badge, NOT-02).

Oturum
İstek
curl -X GET "https://api.blesyum.com/api/v1/notifications/unread-count" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
Bu sayfa işine yaradı mı?