feat(server): improve validation of albums (#2188)

* feat(server): improve validation of albums

* regenerate openapi + fix downloadArchive for web
This commit is contained in:
Michel Heusschen
2023-04-06 19:50:55 +02:00
committed by GitHub
parent b03ce897c7
commit 8e3a7caebd
23 changed files with 164 additions and 83 deletions

View File

@@ -1895,6 +1895,14 @@
"operationId": "downloadLibrary",
"description": "Current this is not used in any UI element",
"parameters": [
{
"name": "name",
"required": false,
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "skip",
"required": false,
@@ -3343,6 +3351,14 @@
"type": "string"
}
},
{
"name": "name",
"required": false,
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "skip",
"required": false,
@@ -5359,7 +5375,8 @@
"assetIds": {
"type": "array",
"items": {
"type": "string"
"type": "string",
"format": "uuid"
}
}
},
@@ -5373,7 +5390,8 @@
"assetIds": {
"type": "array",
"items": {
"type": "string"
"type": "string",
"format": "uuid"
}
}
},
@@ -5435,13 +5453,15 @@
"sharedWithUserIds": {
"type": "array",
"items": {
"type": "string"
"type": "string",
"format": "uuid"
}
},
"assetIds": {
"type": "array",
"items": {
"type": "string"
"type": "string",
"format": "uuid"
}
}
},
@@ -5455,7 +5475,8 @@
"sharedUserIds": {
"type": "array",
"items": {
"type": "string"
"type": "string",
"format": "uuid"
}
}
},
@@ -5491,7 +5512,8 @@
"type": "string"
},
"albumThumbnailAssetId": {
"type": "string"
"type": "string",
"format": "uuid"
}
}
},
@@ -5499,10 +5521,12 @@
"type": "object",
"properties": {
"albumId": {
"type": "string"
"type": "string",
"format": "uuid"
},
"expiresAt": {
"type": "string"
"type": "string",
"format": "date-time"
},
"allowUpload": {
"type": "boolean"