diff --git a/ImmichFrame.Core/Logic/ImmichFrameLogic.cs b/ImmichFrame.Core/Logic/ImmichFrameLogic.cs index d2296d1..76bb4dc 100644 --- a/ImmichFrame.Core/Logic/ImmichFrameLogic.cs +++ b/ImmichFrame.Core/Logic/ImmichFrameLogic.cs @@ -312,13 +312,12 @@ private async Task> GetPeopleAssets() var searchBody = new RandomSearchDto { Size = 250, - Page = 1, Type = AssetTypeEnum.IMAGE, WithExif = true }; var searchResponse = await immichApi.SearchRandomAsync(searchBody); - var randomAssets = searchResponse.Assets.Items; + var randomAssets = searchResponse; if (randomAssets.Any()) { diff --git a/ImmichFrame.Core/OpenAPIs/immich-openapi-specs.json b/ImmichFrame.Core/OpenAPIs/immich-openapi-specs.json index 99ea313..004bc9f 100644 --- a/ImmichFrame.Core/OpenAPIs/immich-openapi-specs.json +++ b/ImmichFrame.Core/OpenAPIs/immich-openapi-specs.json @@ -2853,41 +2853,6 @@ ] } }, - "/libraries/{id}/removeOffline": { - "post": { - "operationId": "removeOfflineFiles", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "schema": { - "format": "uuid", - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "" - } - }, - "security": [ - { - "bearer": [] - }, - { - "cookie": [] - }, - { - "api_key": [] - } - ], - "tags": [ - "Libraries" - ] - } - }, "/libraries/{id}/scan": { "post": { "operationId": "scanLibrary", @@ -2902,16 +2867,6 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ScanLibraryDto" - } - } - }, - "required": true - }, "responses": { "204": { "description": "" @@ -3491,6 +3446,13 @@ }, "responses": { "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TestEmailResponseDto" + } + } + }, "description": "" } }, @@ -4653,7 +4615,10 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SearchResponseDto" + "items": { + "$ref": "#/components/schemas/AssetResponseDto" + }, + "type": "array" } } }, @@ -5123,6 +5088,30 @@ ] } }, + "/server/version-history": { + "get": { + "operationId": "getVersionHistory", + "parameters": [], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ServerVersionHistoryResponseDto" + }, + "type": "array" + } + } + }, + "description": "" + } + }, + "tags": [ + "Server" + ] + } + }, "/sessions": { "delete": { "operationId": "deleteAllSessions", @@ -7447,7 +7436,7 @@ "info": { "title": "Immich", "description": "Immich API", - "version": "1.115.0", + "version": "1.117.0", "contact": {} }, "tags": [], @@ -8280,9 +8269,6 @@ "isFavorite": { "type": "boolean" }, - "isOffline": { - "type": "boolean" - }, "isVisible": { "type": "boolean" }, @@ -10504,10 +10490,6 @@ "nullable": true, "type": "string" }, - "page": { - "minimum": 1, - "type": "number" - }, "personIds": { "items": { "format": "uuid", @@ -10621,17 +10603,6 @@ ], "type": "object" }, - "ScanLibraryDto": { - "properties": { - "refreshAllFiles": { - "type": "boolean" - }, - "refreshModifiedFiles": { - "type": "boolean" - } - }, - "type": "object" - }, "SearchAlbumResponseDto": { "properties": { "count": { @@ -10833,6 +10804,18 @@ "sourceUrl": { "type": "string" }, + "thirdPartyBugFeatureUrl": { + "type": "string" + }, + "thirdPartyDocumentationUrl": { + "type": "string" + }, + "thirdPartySourceUrl": { + "type": "string" + }, + "thirdPartySupportUrl": { + "type": "string" + }, "version": { "type": "string" }, @@ -11083,6 +11066,26 @@ ], "type": "object" }, + "ServerVersionHistoryResponseDto": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "id": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "createdAt", + "id", + "version" + ], + "type": "object" + }, "ServerVersionResponseDto": { "properties": { "major": { @@ -11706,42 +11709,48 @@ ], "type": "object" }, - "SystemConfigImageDto": { + "SystemConfigGeneratedImageDto": { "properties": { - "colorspace": { - "$ref": "#/components/schemas/Colorspace" - }, - "extractEmbedded": { - "type": "boolean" - }, - "previewFormat": { + "format": { "$ref": "#/components/schemas/ImageFormat" }, - "previewSize": { - "minimum": 1, - "type": "integer" - }, "quality": { "maximum": 100, "minimum": 1, "type": "integer" }, - "thumbnailFormat": { - "$ref": "#/components/schemas/ImageFormat" - }, - "thumbnailSize": { + "size": { "minimum": 1, "type": "integer" } }, + "required": [ + "format", + "quality", + "size" + ], + "type": "object" + }, + "SystemConfigImageDto": { + "properties": { + "colorspace": { + "$ref": "#/components/schemas/Colorspace" + }, + "extractEmbedded": { + "type": "boolean" + }, + "preview": { + "$ref": "#/components/schemas/SystemConfigGeneratedImageDto" + }, + "thumbnail": { + "$ref": "#/components/schemas/SystemConfigGeneratedImageDto" + } + }, "required": [ "colorspace", "extractEmbedded", - "previewFormat", - "previewSize", - "quality", - "thumbnailFormat", - "thumbnailSize" + "preview", + "thumbnail" ], "type": "object" }, @@ -12348,6 +12357,17 @@ }, "type": "object" }, + "TestEmailResponseDto": { + "properties": { + "messageId": { + "type": "string" + } + }, + "required": [ + "messageId" + ], + "type": "object" + }, "TimeBucketResponseDto": { "properties": { "count": {