mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-24 04:44:57 +02:00
Add: EmailController to root.yaml
This commit is contained in:
parent
e60a91379a
commit
b8e17de8b4
2 changed files with 22 additions and 2 deletions
|
@ -27,12 +27,16 @@ paths:
|
|||
get:
|
||||
description: Get email settings
|
||||
operationId: getEmailSettings
|
||||
tags:
|
||||
- Email
|
||||
responses:
|
||||
200:
|
||||
$ref: '#/components/responses/email200'
|
||||
patch:
|
||||
summary: Update email settings
|
||||
operationId: updateEmailSettings
|
||||
tags:
|
||||
- Email
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
|
@ -46,6 +50,8 @@ paths:
|
|||
post:
|
||||
summary: Send test email
|
||||
operationId: sendTestEmail
|
||||
tags:
|
||||
- Email
|
||||
responses:
|
||||
200:
|
||||
description: Successful response
|
||||
|
@ -53,6 +59,8 @@ paths:
|
|||
post:
|
||||
summary: Update e-reader devices
|
||||
operationId: updateEReaderDevices
|
||||
tags:
|
||||
- Email
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
|
@ -63,7 +71,7 @@ paths:
|
|||
ereaderDevices:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/EreaderDeviceObject'
|
||||
$ref: '../objects/settings/EmailSettings.yaml#/components/schemas/EreaderDeviceObject'
|
||||
responses:
|
||||
200:
|
||||
$ref: '#/components/responses/ereader200'
|
||||
|
@ -73,6 +81,8 @@ paths:
|
|||
post:
|
||||
summary: Send ebook to device
|
||||
operationId: sendEBookToDevice
|
||||
tags:
|
||||
- Email
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
|
@ -83,7 +93,7 @@ paths:
|
|||
libraryItemId:
|
||||
$ref: '../objects/LibraryItem.yaml#/components/schemas/libraryItemId'
|
||||
deviceName:
|
||||
$ref: '../objects/schemas/EmailSettings.yaml#/components/schemas/ereaderName'
|
||||
$ref: '../objects/settings/EmailSettings.yaml#/components/schemas/ereaderName'
|
||||
responses:
|
||||
200:
|
||||
description: Successful response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue