← All requests

GET /v1/employee/notifications/unread-count

Status
200
Duration
8.7 ms
Started (UTC)
2026-11-23 19:41:43.813
Route
/v1/employee/notifications/unread-count
Request ID
140a5cbf-6cfd-49ee-ad84-b7f235651945
Subject
employee:01a14dea-2256-7573-a05a-b6226a48f00d
IP
156.197.236.82
User agent
Dart/3.13 (dart:io)
Language
ar
Queries
1 (5.6 ms)
Cache hit / miss
2 / 0

Timeline

cache +0.3 ms 0.7 ms
hit rec:session:dfecdff3bf7d004e2ecb375b4a3c7dc5b4db803ff2835bc2ccb9f8605276ba2f
cache +1.8 ms 0.2 ms
hit rec:subject:employee:01a14dea-2256-7573-a05a-b6226a48f00d
query +2.0 ms 5.6 ms
select count(*) from "notifications" where (("notifications"."recipient_type" = $1 and "notifications"."recipient_id" = $2) and "notifications"."read_at" is null)

Parameters

[
  "employee",
  "01a14dea-2256-7573-a05a-b6226a48f00d"
]

1 rows

Request

Headers
{
  "host": "motaah-api.dev-moltaqa.cloud",
  "user-agent": "Dart/3.13 (dart:io)",
  "accept": "application/json",
  "accept-encoding": "gzip",
  "accept-language": "ar",
  "authorization": "********",
  "x-forwarded-for": "156.197.236.82",
  "x-forwarded-host": "motaah-api.dev-moltaqa.cloud",
  "x-forwarded-port": "443",
  "x-forwarded-proto": "https",
  "x-forwarded-server": "fad62b7fb5fb",
  "x-real-ip": "156.197.236.82"
}
Query
{}

Response

Body
{
  "count": 1
}