[feature] Add GET endpoint for single notification (#1719)

This commit is contained in:
tobi
2023-04-29 18:29:51 +02:00
committed by GitHub
parent fdd2487cfb
commit 8b1e2288d8
4 changed files with 145 additions and 0 deletions

View File

@@ -4535,6 +4535,32 @@ paths:
summary: Update a media attachment.
tags:
- media
/api/v1/notification/{id}:
get:
operationId: notification
produces:
- application/json
responses:
"200":
description: Requested notification.
schema:
$ref: '#/definitions/notification'
"400":
description: bad request
"401":
description: unauthorized
"404":
description: not found
"406":
description: not acceptable
"500":
description: internal server error
security:
- OAuth2 Bearer:
- read:notifications
summary: Get a single notification with the given ID.
tags:
- notifications
/api/v1/notifications:
get:
description: |-