mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-02-14 09:19:57 +01:00
Merge pull request #3139 from nichwall/email_notification_linting_fixes
Email notification linting fixes
This commit is contained in:
commit
f0a1ea4d6d
@ -25,7 +25,8 @@ components:
|
|||||||
paths:
|
paths:
|
||||||
/api/emails/settings:
|
/api/emails/settings:
|
||||||
get:
|
get:
|
||||||
description: Get email settings
|
summary: Get email settings
|
||||||
|
description: Get email settings for sending e-books to e-readers.
|
||||||
operationId: getEmailSettings
|
operationId: getEmailSettings
|
||||||
tags:
|
tags:
|
||||||
- Email
|
- Email
|
||||||
@ -42,7 +43,7 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/EmailSettings'
|
$ref: '../objects/settings/EmailSettings.yaml#/components/schemas/EmailSettings'
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/responses/email200'
|
$ref: '#/components/responses/email200'
|
||||||
|
@ -18,6 +18,7 @@ paths:
|
|||||||
/api/notifications:
|
/api/notifications:
|
||||||
get:
|
get:
|
||||||
operationId: getNotifications
|
operationId: getNotifications
|
||||||
|
summary: Get notification settings
|
||||||
description: Get all Apprise notification events and notification settings for server.
|
description: Get all Apprise notification events and notification settings for server.
|
||||||
tags:
|
tags:
|
||||||
- Notification
|
- Notification
|
||||||
@ -41,8 +42,9 @@ paths:
|
|||||||
'404':
|
'404':
|
||||||
$ref: '#/components/responses/notification404'
|
$ref: '#/components/responses/notification404'
|
||||||
patch:
|
patch:
|
||||||
operationId: updateNotificationSettings
|
operationId: configureNotificationSettings
|
||||||
description: Update Notification settings.
|
summary: Update select notification settings
|
||||||
|
description: Update the URL, max failed attempts, and maximum notifications that can be queued for Apprise.
|
||||||
tags:
|
tags:
|
||||||
- Notification
|
- Notification
|
||||||
requestBody:
|
requestBody:
|
||||||
@ -64,7 +66,8 @@ paths:
|
|||||||
$ref: '#/components/responses/notification404'
|
$ref: '#/components/responses/notification404'
|
||||||
post:
|
post:
|
||||||
operationId: createNotification
|
operationId: createNotification
|
||||||
description: Update Notification settings.
|
summary: Create notification settings
|
||||||
|
description: Create or update Notification settings.
|
||||||
tags:
|
tags:
|
||||||
- Notification
|
- Notification
|
||||||
requestBody:
|
requestBody:
|
||||||
@ -107,6 +110,7 @@ paths:
|
|||||||
/api/notificationdata:
|
/api/notificationdata:
|
||||||
get:
|
get:
|
||||||
operationId: getNotificationEventData
|
operationId: getNotificationEventData
|
||||||
|
summary: Get notification event data
|
||||||
description: Get all Apprise notification event data for the server.
|
description: Get all Apprise notification event data for the server.
|
||||||
tags:
|
tags:
|
||||||
- Notification
|
- Notification
|
||||||
@ -127,6 +131,7 @@ paths:
|
|||||||
/api/notifications/test:
|
/api/notifications/test:
|
||||||
get:
|
get:
|
||||||
operationId: sendDefaultTestNotification
|
operationId: sendDefaultTestNotification
|
||||||
|
summary: Send general test notification
|
||||||
description: Send a test notification.
|
description: Send a test notification.
|
||||||
tags:
|
tags:
|
||||||
- Notification
|
- Notification
|
||||||
@ -151,6 +156,7 @@ paths:
|
|||||||
$ref: '../objects/Notification.yaml#/components/schemas/notificationId'
|
$ref: '../objects/Notification.yaml#/components/schemas/notificationId'
|
||||||
delete:
|
delete:
|
||||||
operationId: deleteNotification
|
operationId: deleteNotification
|
||||||
|
summary: Delete a notification
|
||||||
description: Delete the notification by ID and return the notification settings.
|
description: Delete the notification by ID and return the notification settings.
|
||||||
tags:
|
tags:
|
||||||
- Notification
|
- Notification
|
||||||
@ -168,7 +174,8 @@ paths:
|
|||||||
$ref: '#/components/responses/notification404'
|
$ref: '#/components/responses/notification404'
|
||||||
patch:
|
patch:
|
||||||
operationId: updateNotification
|
operationId: updateNotification
|
||||||
description: Update individual Notification
|
summary: Update a notification
|
||||||
|
description: Update an individual Notification by ID
|
||||||
tags:
|
tags:
|
||||||
- Notification
|
- Notification
|
||||||
requestBody:
|
requestBody:
|
||||||
@ -213,7 +220,8 @@ paths:
|
|||||||
$ref: '../objects/Notification.yaml#/components/schemas/notificationId'
|
$ref: '../objects/Notification.yaml#/components/schemas/notificationId'
|
||||||
get:
|
get:
|
||||||
operationId: sendTestNotification
|
operationId: sendTestNotification
|
||||||
description: Send a test to the given notification.
|
summary: Send a test notification
|
||||||
|
description: Send a test to the given notification by ID.
|
||||||
tags:
|
tags:
|
||||||
- Notification
|
- Notification
|
||||||
responses:
|
responses:
|
||||||
|
@ -422,7 +422,8 @@
|
|||||||
},
|
},
|
||||||
"/api/emails/settings": {
|
"/api/emails/settings": {
|
||||||
"get": {
|
"get": {
|
||||||
"description": "Get email settings",
|
"summary": "Get email settings",
|
||||||
|
"description": "Get email settings for sending e-books to e-readers.",
|
||||||
"operationId": "getEmailSettings",
|
"operationId": "getEmailSettings",
|
||||||
"tags": [
|
"tags": [
|
||||||
"Email"
|
"Email"
|
||||||
@ -1162,6 +1163,7 @@
|
|||||||
"/api/notifications": {
|
"/api/notifications": {
|
||||||
"get": {
|
"get": {
|
||||||
"operationId": "getNotifications",
|
"operationId": "getNotifications",
|
||||||
|
"summary": "Get notification settings",
|
||||||
"description": "Get all Apprise notification events and notification settings for server.",
|
"description": "Get all Apprise notification events and notification settings for server.",
|
||||||
"tags": [
|
"tags": [
|
||||||
"Notification"
|
"Notification"
|
||||||
@ -1199,8 +1201,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"patch": {
|
"patch": {
|
||||||
"operationId": "updateNotificationSettings",
|
"operationId": "configureNotificationSettings",
|
||||||
"description": "Update Notification settings.",
|
"summary": "Update select notification settings",
|
||||||
|
"description": "Update the URL, max failed attempts, and maximum notifications that can be queued for Apprise.",
|
||||||
"tags": [
|
"tags": [
|
||||||
"Notification"
|
"Notification"
|
||||||
],
|
],
|
||||||
@ -1235,7 +1238,8 @@
|
|||||||
},
|
},
|
||||||
"post": {
|
"post": {
|
||||||
"operationId": "createNotification",
|
"operationId": "createNotification",
|
||||||
"description": "Update Notification settings.",
|
"summary": "Create notification settings",
|
||||||
|
"description": "Create or update Notification settings.",
|
||||||
"tags": [
|
"tags": [
|
||||||
"Notification"
|
"Notification"
|
||||||
],
|
],
|
||||||
@ -1302,6 +1306,7 @@
|
|||||||
"/api/notificationdata": {
|
"/api/notificationdata": {
|
||||||
"get": {
|
"get": {
|
||||||
"operationId": "getNotificationEventData",
|
"operationId": "getNotificationEventData",
|
||||||
|
"summary": "Get notification event data",
|
||||||
"description": "Get all Apprise notification event data for the server.",
|
"description": "Get all Apprise notification event data for the server.",
|
||||||
"tags": [
|
"tags": [
|
||||||
"Notification"
|
"Notification"
|
||||||
@ -1334,6 +1339,7 @@
|
|||||||
"/api/notifications/test": {
|
"/api/notifications/test": {
|
||||||
"get": {
|
"get": {
|
||||||
"operationId": "sendDefaultTestNotification",
|
"operationId": "sendDefaultTestNotification",
|
||||||
|
"summary": "Send general test notification",
|
||||||
"description": "Send a test notification.",
|
"description": "Send a test notification.",
|
||||||
"tags": [
|
"tags": [
|
||||||
"Notification"
|
"Notification"
|
||||||
@ -1372,6 +1378,7 @@
|
|||||||
],
|
],
|
||||||
"delete": {
|
"delete": {
|
||||||
"operationId": "deleteNotification",
|
"operationId": "deleteNotification",
|
||||||
|
"summary": "Delete a notification",
|
||||||
"description": "Delete the notification by ID and return the notification settings.",
|
"description": "Delete the notification by ID and return the notification settings.",
|
||||||
"tags": [
|
"tags": [
|
||||||
"Notification"
|
"Notification"
|
||||||
@ -1399,7 +1406,8 @@
|
|||||||
},
|
},
|
||||||
"patch": {
|
"patch": {
|
||||||
"operationId": "updateNotification",
|
"operationId": "updateNotification",
|
||||||
"description": "Update individual Notification",
|
"summary": "Update a notification",
|
||||||
|
"description": "Update an individual Notification by ID",
|
||||||
"tags": [
|
"tags": [
|
||||||
"Notification"
|
"Notification"
|
||||||
],
|
],
|
||||||
@ -1471,7 +1479,8 @@
|
|||||||
],
|
],
|
||||||
"get": {
|
"get": {
|
||||||
"operationId": "sendTestNotification",
|
"operationId": "sendTestNotification",
|
||||||
"description": "Send a test to the given notification.",
|
"summary": "Send a test notification",
|
||||||
|
"description": "Send a test to the given notification by ID.",
|
||||||
"tags": [
|
"tags": [
|
||||||
"Notification"
|
"Notification"
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user