Files
Barış Uşaklı 2612340bc9 refactor socket notifications (#14135)
* refactor socket notifications

* dunno why these two gut fubared

* add missing yaml files

* more fixes

* fix: schema

* lint: fix lint issues
2026-03-30 12:02:34 -04:00

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