mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-28 02:09:52 +01:00
28 lines
803 B
YAML
28 lines
803 B
YAML
get:
|
|
tags:
|
|
- notifications
|
|
summary: get notification
|
|
description: This operation returns the content of a single notification
|
|
parameters:
|
|
- in: path
|
|
name: nid
|
|
schema:
|
|
type: number
|
|
required: true
|
|
description: The notification id to retrieve
|
|
example: uploads:export:1
|
|
responses:
|
|
'200':
|
|
description: notification successfully retrieved
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
status:
|
|
$ref: ../../components/schemas/Status.yaml#/Status
|
|
response:
|
|
type: object
|
|
properties:
|
|
notification:
|
|
$ref: ../../components/schemas/NotificationObject.yaml#/NotificationObject |