Files
NodeBB/public/openapi/write/chats/unread.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