Update: bundled spec

This commit is contained in:
Nicholas Wallace 2024-06-23 18:27:27 +00:00
parent 820f8a9d2a
commit ef79dfbb3f

View file

@ -430,6 +430,9 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"libraries": {
"type": "array",
"items": {
"$ref": "#/components/schemas/library"
@ -439,6 +442,8 @@
}
}
}
}
}
},
"post": {
"operationId": "createLibrary",
@ -1109,9 +1114,15 @@
"application/json": {
"schema": {
"type": "object",
"required": [
"eventName",
"urls",
"titleTemplate",
"bodyTemplate"
],
"properties": {
"libraryId": {
"$ref": "#/components/schemas/libraryId"
"$ref": "#/components/schemas/libraryIdNullable"
},
"eventName": {
"$ref": "#/components/schemas/notificationEventName"
@ -1131,13 +1142,7 @@
"type": {
"$ref": "#/components/schemas/notificationType"
}
},
"required": [
"eventName",
"urls",
"titleTemplate",
"bodyTemplate"
]
}
}
}
}
@ -1263,8 +1268,8 @@
}
},
"patch": {
"operationId": "createNotification",
"description": "Update Notification settings.",
"operationId": "updateNotification",
"description": "Update individual Notification",
"tags": [
"Notification"
],
@ -1274,9 +1279,6 @@
"schema": {
"type": "object",
"properties": {
"id": {
"$ref": "#/components/schemas/notificationId"
},
"libraryId": {
"$ref": "#/components/schemas/libraryId"
},
@ -1298,10 +1300,7 @@
"type": {
"$ref": "#/components/schemas/notificationType"
}
},
"required": [
"id"
]
}
}
}
}
@ -2196,8 +2195,13 @@
"$ref": "#/components/schemas/libraryItemBase"
},
{
"type": "object",
"properties": {
"sequence": {
"$ref": "#/components/schemas/sequence"
}
}
}
]
},
"seriesBooks": {
@ -2363,14 +2367,20 @@
"notificationId": {
"type": "string",
"description": "The ID of the notification.",
"format": "uuid",
"example": "e4bb1afb-4a4f-4dd6-8be0-e615d233185b"
"example": "notification-settings"
},
"appriseApiUrl": {
"type": "string",
"nullable": true,
"description": "The full URL where the Apprise API to use is located."
},
"libraryIdNullable": {
"type": "string",
"description": "The ID of the library. Applies to all libraries if `null`.",
"format": "uuid",
"nullable": true,
"example": "e4bb1afb-4a4f-4dd6-8be0-e615d233185b"
},
"notificationEventName": {
"type": "string",
"description": "The name of the event the notification will fire on.",
@ -2410,6 +2420,7 @@
"warning",
"failure"
],
"nullable": true,
"default": "info",
"description": "The notification's type."
},
@ -2420,7 +2431,7 @@
"$ref": "#/components/schemas/notificationId"
},
"libraryId": {
"$ref": "#/components/schemas/libraryId"
"$ref": "#/components/schemas/libraryIdNullable"
},
"eventName": {
"$ref": "#/components/schemas/notificationEventName"