mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-07 08:02:50 +01:00
24 lines
707 B
YAML
24 lines
707 B
YAML
get:
|
|
tags:
|
|
- chats
|
|
summary: get unread count
|
|
description: >
|
|
This operation retrieves the calling user's count of unread chat rooms.
|
|
|
|
Note that this API call is open-ended.
|
|
It currently only returns the unread count, but can be expanded upon in the future.
|
|
responses:
|
|
'200':
|
|
description: Count of unread chat rooms successfully retrieved.
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
status:
|
|
$ref: ../../components/schemas/Status.yaml#/Status
|
|
response:
|
|
type: object
|
|
properties:
|
|
count:
|
|
type: number |