hit rec:session:dfecdff3bf7d004e2ecb375b4a3c7dc5b4db803ff2835bc2ccb9f8605276ba2f
GET /v1/employee/notifications/unread-count
- Status
- 200
- Duration
- 22.8 ms
- Started (UTC)
- 2026-11-23 21:24:04.934
- Route
- /v1/employee/notifications/unread-count
- Request ID
- 32bcda51-b574-4814-8ddb-9d08d21735b6
- Subject
- employee:01a14dea-2256-7573-a05a-b6226a48f00d
- IP
- 156.197.236.82
- User agent
- Dart/3.13 (dart:io)
- Language
- ar
- Queries
- 1 (19.1 ms)
- Cache hit / miss
- 2 / 0
Timeline
hit rec:subject:employee:01a14dea-2256-7573-a05a-b6226a48f00d
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
}