🔒 Получение персонального журнала уведомлений пользователя за последние 30 дней
Получение персонального журнала уведомлений пользователя за последние 30 дней
Access: authorized (10 ) · allowNullCompany: true · Scope: read
Allows: не требуются — own notifications of the session user
TypeScript (copy-paste)
GET /notification/list
<details open><summary><b>Params</b></summary>export interface NotificationListParams {
group?: notification_list_group | null
nextCursor?: string | null
limit?: number | null
}
</details>
<details open><summary><b>Response</b></summary>
export type NotificationListResponse = IServerResponse<Resp_notification_list>
export interface IServerResponse<T = any> {
code: number
data: T
srvTS: number
rkey: string
}
</details>
Полный файл типов: /docs/types · raw: /docs/api-types.ts
Request
- Base URL: http://localhost
- URL: http://localhost/notification/list
- Auth: one of:
- API key in header sid and API key in header rts and API key in header sig
- HTTP bearer
Query parameters
Task = "task", task = "Task", Meeting = "meeting", meeting = "Meeting", Chat = "chatMessage", chatMessage = "Chat", Timeoffs = "usertimeoff", usertimeoff = "Timeoffs", Worklogs = "worklogs", worklogs = "Worklogs", UserEvents = "user_events"
Можно передать header group (сервер мержит headers+query)
Можно передать header nextCursor (сервер мержит headers+query)
Можно передать header limit (сервер мержит headers+query)
Headers
UUID устройства клиента
Таймзона клиента (IANA или offset)
Имя клиентского приложения
Версия клиента
Уникальный ключ запроса для логов/саппорта
Response
OK — IServerResponse<Resp_notification_list>
Example response
{
"code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.