mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 12:21:34 +00:00
Add: nullable notification creation parameters
This commit is contained in:
parent
d53b148fe0
commit
b49219338c
2 changed files with 6 additions and 1 deletions
|
|
@ -74,7 +74,11 @@ paths:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
libraryId:
|
libraryId:
|
||||||
$ref: '../objects/Library.yaml#/components/schemas/libraryId'
|
type: string
|
||||||
|
description: The ID of the library for the notification. Applies to all libraries if `null`.
|
||||||
|
nullable: true
|
||||||
|
format: uuid
|
||||||
|
example: 'e4bb1afb-4a4f-4dd6-8be0-e615d233185b'
|
||||||
eventName:
|
eventName:
|
||||||
$ref: '../objects/Notification.yaml#/components/schemas/notificationEventName'
|
$ref: '../objects/Notification.yaml#/components/schemas/notificationEventName'
|
||||||
urls:
|
urls:
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,7 @@ components:
|
||||||
notificationType:
|
notificationType:
|
||||||
type: string
|
type: string
|
||||||
enum: ['info', 'success', 'warning', 'failure']
|
enum: ['info', 'success', 'warning', 'failure']
|
||||||
|
nullable: true
|
||||||
default: 'info'
|
default: 'info'
|
||||||
description: The notification's type.
|
description: The notification's type.
|
||||||
Notification:
|
Notification:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue