From e9c171f7ab0a6b706aa6f3adc991d040cc102c56 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 8 Apr 2023 22:18:22 -0500 Subject: [PATCH] fix(web): show OAuth login button when disabled (#2219) * fix(web): show OAuth login button when disable * update api --- mobile/openapi/doc/APIKeyApi.md | 10 ++ mobile/openapi/doc/AlbumApi.md | 24 ++++ mobile/openapi/doc/AssetApi.md | 32 ++++++ mobile/openapi/doc/AuthenticationApi.md | 10 ++ mobile/openapi/doc/DeviceInfoApi.md | 2 + mobile/openapi/doc/JobApi.md | 4 + mobile/openapi/doc/OAuthApi.md | 10 ++ mobile/openapi/doc/SearchApi.md | 6 + mobile/openapi/doc/ServerInfoApi.md | 8 ++ mobile/openapi/doc/ShareApi.md | 10 ++ mobile/openapi/doc/SystemConfigApi.md | 8 ++ mobile/openapi/doc/TagApi.md | 10 ++ mobile/openapi/doc/UserApi.md | 20 ++++ mobile/openapi/lib/api/album_api.dart | 82 ++++++++++++-- mobile/openapi/lib/api/api_key_api.dart | 33 +++++- mobile/openapi/lib/api/asset_api.dart | 104 +++++++++++++++--- .../openapi/lib/api/authentication_api.dart | 31 +++++- mobile/openapi/lib/api/device_info_api.dart | 7 +- mobile/openapi/lib/api/job_api.dart | 12 +- mobile/openapi/lib/api/o_auth_api.dart | 31 +++++- mobile/openapi/lib/api/search_api.dart | 17 ++- mobile/openapi/lib/api/server_info_api.dart | 20 +++- mobile/openapi/lib/api/share_api.dart | 33 +++++- mobile/openapi/lib/api/system_config_api.dart | 22 +++- mobile/openapi/lib/api/tag_api.dart | 33 +++++- mobile/openapi/lib/api/user_api.dart | 68 ++++++++++-- mobile/openapi/test/album_api_test.dart | 24 ++++ mobile/openapi/test/api_key_api_test.dart | 10 ++ mobile/openapi/test/asset_api_test.dart | 32 ++++++ .../openapi/test/authentication_api_test.dart | 10 ++ mobile/openapi/test/device_info_api_test.dart | 2 + mobile/openapi/test/job_api_test.dart | 4 + mobile/openapi/test/o_auth_api_test.dart | 10 ++ mobile/openapi/test/search_api_test.dart | 6 + mobile/openapi/test/server_info_api_test.dart | 8 ++ mobile/openapi/test/share_api_test.dart | 10 ++ .../openapi/test/system_config_api_test.dart | 8 ++ mobile/openapi/test/tag_api_test.dart | 10 ++ mobile/openapi/test/user_api_test.dart | 20 ++++ server/immich-openapi-specs.json | 77 +++++++++++++ .../lib/components/forms/login-form.svelte | 2 +- 41 files changed, 802 insertions(+), 78 deletions(-) diff --git a/mobile/openapi/doc/APIKeyApi.md b/mobile/openapi/doc/APIKeyApi.md index b3815f7da..f28922c0d 100644 --- a/mobile/openapi/doc/APIKeyApi.md +++ b/mobile/openapi/doc/APIKeyApi.md @@ -21,6 +21,8 @@ Method | HTTP request | Description + + ### Example ```dart import 'package:openapi/api.dart'; @@ -72,6 +74,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -122,6 +126,8 @@ void (empty response body) + + ### Example ```dart import 'package:openapi/api.dart'; @@ -173,6 +179,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -220,6 +228,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; diff --git a/mobile/openapi/doc/AlbumApi.md b/mobile/openapi/doc/AlbumApi.md index 8f9ae1699..c711e6a78 100644 --- a/mobile/openapi/doc/AlbumApi.md +++ b/mobile/openapi/doc/AlbumApi.md @@ -28,6 +28,8 @@ Method | HTTP request | Description + + ### Example ```dart import 'package:openapi/api.dart'; @@ -83,6 +85,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -136,6 +140,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -187,6 +193,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -238,6 +246,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -288,6 +298,8 @@ void (empty response body) + + ### Example ```dart import 'package:openapi/api.dart'; @@ -345,6 +357,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -392,6 +406,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; @@ -445,6 +461,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -498,6 +516,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -551,6 +571,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -603,6 +625,8 @@ void (empty response body) + + ### Example ```dart import 'package:openapi/api.dart'; diff --git a/mobile/openapi/doc/AssetApi.md b/mobile/openapi/doc/AssetApi.md index 3a910edb2..de0ad6a8b 100644 --- a/mobile/openapi/doc/AssetApi.md +++ b/mobile/openapi/doc/AssetApi.md @@ -39,6 +39,8 @@ Method | HTTP request | Description + + ### Example ```dart import 'package:openapi/api.dart'; @@ -200,6 +202,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -251,6 +255,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -302,6 +308,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -355,6 +363,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -577,6 +587,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -628,6 +640,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -679,6 +693,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -726,6 +742,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; @@ -773,6 +791,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; @@ -828,6 +848,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -875,6 +897,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; @@ -975,6 +999,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -1028,6 +1054,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -1079,6 +1107,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -1191,6 +1221,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; diff --git a/mobile/openapi/doc/AuthenticationApi.md b/mobile/openapi/doc/AuthenticationApi.md index 5b529cadb..4ce630177 100644 --- a/mobile/openapi/doc/AuthenticationApi.md +++ b/mobile/openapi/doc/AuthenticationApi.md @@ -21,6 +21,8 @@ Method | HTTP request | Description + + ### Example ```dart import 'package:openapi/api.dart'; @@ -62,6 +64,8 @@ No authorization required + + ### Example ```dart import 'package:openapi/api.dart'; @@ -113,6 +117,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -154,6 +160,8 @@ No authorization required + + ### Example ```dart import 'package:openapi/api.dart'; @@ -201,6 +209,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; diff --git a/mobile/openapi/doc/DeviceInfoApi.md b/mobile/openapi/doc/DeviceInfoApi.md index 092487151..e0a9a7de3 100644 --- a/mobile/openapi/doc/DeviceInfoApi.md +++ b/mobile/openapi/doc/DeviceInfoApi.md @@ -17,6 +17,8 @@ Method | HTTP request | Description + + ### Example ```dart import 'package:openapi/api.dart'; diff --git a/mobile/openapi/doc/JobApi.md b/mobile/openapi/doc/JobApi.md index 5c6dff1cc..96979c4e1 100644 --- a/mobile/openapi/doc/JobApi.md +++ b/mobile/openapi/doc/JobApi.md @@ -18,6 +18,8 @@ Method | HTTP request | Description + + ### Example ```dart import 'package:openapi/api.dart'; @@ -65,6 +67,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; diff --git a/mobile/openapi/doc/OAuthApi.md b/mobile/openapi/doc/OAuthApi.md index b0952f865..e6ceb2bdc 100644 --- a/mobile/openapi/doc/OAuthApi.md +++ b/mobile/openapi/doc/OAuthApi.md @@ -21,6 +21,8 @@ Method | HTTP request | Description + + ### Example ```dart import 'package:openapi/api.dart'; @@ -62,6 +64,8 @@ No authorization required + + ### Example ```dart import 'package:openapi/api.dart'; @@ -103,6 +107,8 @@ No authorization required + + ### Example ```dart import 'package:openapi/api.dart'; @@ -154,6 +160,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -190,6 +198,8 @@ No authorization required + + ### Example ```dart import 'package:openapi/api.dart'; diff --git a/mobile/openapi/doc/SearchApi.md b/mobile/openapi/doc/SearchApi.md index d7bb42f0c..7c351ea3b 100644 --- a/mobile/openapi/doc/SearchApi.md +++ b/mobile/openapi/doc/SearchApi.md @@ -19,6 +19,8 @@ Method | HTTP request | Description + + ### Example ```dart import 'package:openapi/api.dart'; @@ -66,6 +68,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; @@ -113,6 +117,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; diff --git a/mobile/openapi/doc/ServerInfoApi.md b/mobile/openapi/doc/ServerInfoApi.md index b9d3ab5a2..aa74bf56c 100644 --- a/mobile/openapi/doc/ServerInfoApi.md +++ b/mobile/openapi/doc/ServerInfoApi.md @@ -20,6 +20,8 @@ Method | HTTP request | Description + + ### Example ```dart import 'package:openapi/api.dart'; @@ -67,6 +69,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; @@ -104,6 +108,8 @@ No authorization required + + ### Example ```dart import 'package:openapi/api.dart'; @@ -151,6 +157,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; diff --git a/mobile/openapi/doc/ShareApi.md b/mobile/openapi/doc/ShareApi.md index e669d1c41..335c39d08 100644 --- a/mobile/openapi/doc/ShareApi.md +++ b/mobile/openapi/doc/ShareApi.md @@ -21,6 +21,8 @@ Method | HTTP request | Description + + ### Example ```dart import 'package:openapi/api.dart'; @@ -74,6 +76,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -121,6 +125,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; @@ -172,6 +178,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -223,6 +231,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; diff --git a/mobile/openapi/doc/SystemConfigApi.md b/mobile/openapi/doc/SystemConfigApi.md index 9cd479fc8..d033f2f8d 100644 --- a/mobile/openapi/doc/SystemConfigApi.md +++ b/mobile/openapi/doc/SystemConfigApi.md @@ -20,6 +20,8 @@ Method | HTTP request | Description + + ### Example ```dart import 'package:openapi/api.dart'; @@ -67,6 +69,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; @@ -114,6 +118,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; @@ -161,6 +167,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; diff --git a/mobile/openapi/doc/TagApi.md b/mobile/openapi/doc/TagApi.md index c3cf63232..ba0aea9c2 100644 --- a/mobile/openapi/doc/TagApi.md +++ b/mobile/openapi/doc/TagApi.md @@ -21,6 +21,8 @@ Method | HTTP request | Description + + ### Example ```dart import 'package:openapi/api.dart'; @@ -72,6 +74,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -122,6 +126,8 @@ void (empty response body) + + ### Example ```dart import 'package:openapi/api.dart'; @@ -169,6 +175,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; @@ -220,6 +228,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; diff --git a/mobile/openapi/doc/UserApi.md b/mobile/openapi/doc/UserApi.md index 872a6cb5f..d820878b4 100644 --- a/mobile/openapi/doc/UserApi.md +++ b/mobile/openapi/doc/UserApi.md @@ -26,6 +26,8 @@ Method | HTTP request | Description + + ### Example ```dart import 'package:openapi/api.dart'; @@ -77,6 +79,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -128,6 +132,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -179,6 +185,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -230,6 +238,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -277,6 +287,8 @@ This endpoint does not need any parameter. + + ### Example ```dart import 'package:openapi/api.dart'; @@ -328,6 +340,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -379,6 +393,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; @@ -420,6 +436,8 @@ No authorization required + + ### Example ```dart import 'package:openapi/api.dart'; @@ -471,6 +489,8 @@ Name | Type | Description | Notes + + ### Example ```dart import 'package:openapi/api.dart'; diff --git a/mobile/openapi/lib/api/album_api.dart b/mobile/openapi/lib/api/album_api.dart index c0f5c0da5..8f7fe5ab3 100644 --- a/mobile/openapi/lib/api/album_api.dart +++ b/mobile/openapi/lib/api/album_api.dart @@ -16,7 +16,10 @@ class AlbumApi { final ApiClient apiClient; - /// Performs an HTTP 'PUT /album/{albumId}/assets' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] albumId (required): @@ -54,6 +57,8 @@ class AlbumApi { ); } + /// + /// /// Parameters: /// /// * [String] albumId (required): @@ -76,7 +81,10 @@ class AlbumApi { return null; } - /// Performs an HTTP 'PUT /album/{albumId}/users' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] albumId (required): @@ -108,6 +116,8 @@ class AlbumApi { ); } + /// + /// /// Parameters: /// /// * [String] albumId (required): @@ -128,7 +138,10 @@ class AlbumApi { return null; } - /// Performs an HTTP 'POST /album' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [CreateAlbumDto] createAlbumDto (required): @@ -157,6 +170,8 @@ class AlbumApi { ); } + /// + /// /// Parameters: /// /// * [CreateAlbumDto] createAlbumDto (required): @@ -175,7 +190,10 @@ class AlbumApi { return null; } - /// Performs an HTTP 'POST /album/create-shared-link' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [CreateAlbumShareLinkDto] createAlbumShareLinkDto (required): @@ -204,6 +222,8 @@ class AlbumApi { ); } + /// + /// /// Parameters: /// /// * [CreateAlbumShareLinkDto] createAlbumShareLinkDto (required): @@ -222,7 +242,10 @@ class AlbumApi { return null; } - /// Performs an HTTP 'DELETE /album/{albumId}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] albumId (required): @@ -252,6 +275,8 @@ class AlbumApi { ); } + /// + /// /// Parameters: /// /// * [String] albumId (required): @@ -262,7 +287,10 @@ class AlbumApi { } } - /// Performs an HTTP 'GET /album/{albumId}/download' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] albumId (required): @@ -308,6 +336,8 @@ class AlbumApi { ); } + /// + /// /// Parameters: /// /// * [String] albumId (required): @@ -332,7 +362,9 @@ class AlbumApi { return null; } - /// Performs an HTTP 'GET /album/count-by-user-id' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getAlbumCountByUserIdWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/album/count-by-user-id'; @@ -358,6 +390,7 @@ class AlbumApi { ); } + /// Future getAlbumCountByUserId() async { final response = await getAlbumCountByUserIdWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -373,7 +406,10 @@ class AlbumApi { return null; } - /// Performs an HTTP 'GET /album/{albumId}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] albumId (required): @@ -409,6 +445,8 @@ class AlbumApi { ); } + /// + /// /// Parameters: /// /// * [String] albumId (required): @@ -429,7 +467,10 @@ class AlbumApi { return null; } - /// Performs an HTTP 'GET /album' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [bool] shared: @@ -468,6 +509,8 @@ class AlbumApi { ); } + /// + /// /// Parameters: /// /// * [bool] shared: @@ -492,7 +535,10 @@ class AlbumApi { return null; } - /// Performs an HTTP 'DELETE /album/{albumId}/assets' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] albumId (required): @@ -524,6 +570,8 @@ class AlbumApi { ); } + /// + /// /// Parameters: /// /// * [String] albumId (required): @@ -544,7 +592,10 @@ class AlbumApi { return null; } - /// Performs an HTTP 'DELETE /album/{albumId}/user/{userId}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] albumId (required): @@ -577,6 +628,8 @@ class AlbumApi { ); } + /// + /// /// Parameters: /// /// * [String] albumId (required): @@ -589,7 +642,10 @@ class AlbumApi { } } - /// Performs an HTTP 'PATCH /album/{albumId}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] albumId (required): @@ -621,6 +677,8 @@ class AlbumApi { ); } + /// + /// /// Parameters: /// /// * [String] albumId (required): diff --git a/mobile/openapi/lib/api/api_key_api.dart b/mobile/openapi/lib/api/api_key_api.dart index fb6cc9941..e13eb32e1 100644 --- a/mobile/openapi/lib/api/api_key_api.dart +++ b/mobile/openapi/lib/api/api_key_api.dart @@ -16,7 +16,10 @@ class APIKeyApi { final ApiClient apiClient; - /// Performs an HTTP 'POST /api-key' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [APIKeyCreateDto] aPIKeyCreateDto (required): @@ -45,6 +48,8 @@ class APIKeyApi { ); } + /// + /// /// Parameters: /// /// * [APIKeyCreateDto] aPIKeyCreateDto (required): @@ -63,7 +68,10 @@ class APIKeyApi { return null; } - /// Performs an HTTP 'DELETE /api-key/{id}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] id (required): @@ -93,6 +101,8 @@ class APIKeyApi { ); } + /// + /// /// Parameters: /// /// * [String] id (required): @@ -103,7 +113,10 @@ class APIKeyApi { } } - /// Performs an HTTP 'GET /api-key/{id}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] id (required): @@ -133,6 +146,8 @@ class APIKeyApi { ); } + /// + /// /// Parameters: /// /// * [String] id (required): @@ -151,7 +166,9 @@ class APIKeyApi { return null; } - /// Performs an HTTP 'GET /api-key' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getKeysWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/api-key'; @@ -177,6 +194,7 @@ class APIKeyApi { ); } + /// Future?> getKeys() async { final response = await getKeysWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -195,7 +213,10 @@ class APIKeyApi { return null; } - /// Performs an HTTP 'PUT /api-key/{id}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] id (required): @@ -227,6 +248,8 @@ class APIKeyApi { ); } + /// + /// /// Parameters: /// /// * [String] id (required): diff --git a/mobile/openapi/lib/api/asset_api.dart b/mobile/openapi/lib/api/asset_api.dart index 620da42f7..ea05bf844 100644 --- a/mobile/openapi/lib/api/asset_api.dart +++ b/mobile/openapi/lib/api/asset_api.dart @@ -16,7 +16,10 @@ class AssetApi { final ApiClient apiClient; - /// Performs an HTTP 'PATCH /asset/shared-link/add' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [AddAssetsDto] addAssetsDto (required): @@ -51,6 +54,8 @@ class AssetApi { ); } + /// + /// /// Parameters: /// /// * [AddAssetsDto] addAssetsDto (required): @@ -183,7 +188,10 @@ class AssetApi { return null; } - /// Performs an HTTP 'POST /asset/shared-link' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [CreateAssetsShareLinkDto] createAssetsShareLinkDto (required): @@ -212,6 +220,8 @@ class AssetApi { ); } + /// + /// /// Parameters: /// /// * [CreateAssetsShareLinkDto] createAssetsShareLinkDto (required): @@ -230,7 +240,10 @@ class AssetApi { return null; } - /// Performs an HTTP 'DELETE /asset' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [DeleteAssetDto] deleteAssetDto (required): @@ -259,6 +272,8 @@ class AssetApi { ); } + /// + /// /// Parameters: /// /// * [DeleteAssetDto] deleteAssetDto (required): @@ -280,7 +295,10 @@ class AssetApi { return null; } - /// Performs an HTTP 'GET /asset/download/{assetId}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] assetId (required): @@ -316,6 +334,8 @@ class AssetApi { ); } + /// + /// /// Parameters: /// /// * [String] assetId (required): @@ -336,7 +356,10 @@ class AssetApi { return null; } - /// Performs an HTTP 'POST /asset/download-files' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [DownloadFilesDto] downloadFilesDto (required): @@ -371,6 +394,8 @@ class AssetApi { ); } + /// + /// /// Parameters: /// /// * [DownloadFilesDto] downloadFilesDto (required): @@ -598,7 +623,10 @@ class AssetApi { return null; } - /// Performs an HTTP 'POST /asset/time-bucket' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [GetAssetByTimeBucketDto] getAssetByTimeBucketDto (required): @@ -627,6 +655,8 @@ class AssetApi { ); } + /// + /// /// Parameters: /// /// * [GetAssetByTimeBucketDto] getAssetByTimeBucketDto (required): @@ -648,7 +678,10 @@ class AssetApi { return null; } - /// Performs an HTTP 'POST /asset/count-by-time-bucket' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [GetAssetCountByTimeBucketDto] getAssetCountByTimeBucketDto (required): @@ -677,6 +710,8 @@ class AssetApi { ); } + /// + /// /// Parameters: /// /// * [GetAssetCountByTimeBucketDto] getAssetCountByTimeBucketDto (required): @@ -695,7 +730,9 @@ class AssetApi { return null; } - /// Performs an HTTP 'GET /asset/count-by-user-id' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getAssetCountByUserIdWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/asset/count-by-user-id'; @@ -721,6 +758,7 @@ class AssetApi { ); } + /// Future getAssetCountByUserId() async { final response = await getAssetCountByUserIdWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -736,7 +774,9 @@ class AssetApi { return null; } - /// Performs an HTTP 'GET /asset/search-terms' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getAssetSearchTermsWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/asset/search-terms'; @@ -762,6 +802,7 @@ class AssetApi { ); } + /// Future?> getAssetSearchTerms() async { final response = await getAssetSearchTermsWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -780,7 +821,10 @@ class AssetApi { return null; } - /// Performs an HTTP 'GET /asset/thumbnail/{assetId}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] assetId (required): @@ -821,6 +865,8 @@ class AssetApi { ); } + /// + /// /// Parameters: /// /// * [String] assetId (required): @@ -843,7 +889,9 @@ class AssetApi { return null; } - /// Performs an HTTP 'GET /asset/curated-locations' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getCuratedLocationsWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/asset/curated-locations'; @@ -869,6 +917,7 @@ class AssetApi { ); } + /// Future?> getCuratedLocations() async { final response = await getCuratedLocationsWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -887,7 +936,9 @@ class AssetApi { return null; } - /// Performs an HTTP 'GET /asset/curated-objects' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getCuratedObjectsWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/asset/curated-objects'; @@ -913,6 +964,7 @@ class AssetApi { ); } + /// Future?> getCuratedObjects() async { final response = await getCuratedObjectsWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -987,7 +1039,10 @@ class AssetApi { return null; } - /// Performs an HTTP 'PATCH /asset/shared-link/remove' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [RemoveAssetsDto] removeAssetsDto (required): @@ -1022,6 +1077,8 @@ class AssetApi { ); } + /// + /// /// Parameters: /// /// * [RemoveAssetsDto] removeAssetsDto (required): @@ -1042,7 +1099,10 @@ class AssetApi { return null; } - /// Performs an HTTP 'POST /asset/search' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [SearchAssetDto] searchAssetDto (required): @@ -1071,6 +1131,8 @@ class AssetApi { ); } + /// + /// /// Parameters: /// /// * [SearchAssetDto] searchAssetDto (required): @@ -1092,7 +1154,10 @@ class AssetApi { return null; } - /// Performs an HTTP 'GET /asset/file/{assetId}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] assetId (required): @@ -1138,6 +1203,8 @@ class AssetApi { ); } + /// + /// /// Parameters: /// /// * [String] assetId (required): @@ -1219,7 +1286,10 @@ class AssetApi { return null; } - /// Performs an HTTP 'POST /asset/upload' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [AssetTypeEnum] assetType (required): @@ -1325,6 +1395,8 @@ class AssetApi { ); } + /// + /// /// Parameters: /// /// * [AssetTypeEnum] assetType (required): diff --git a/mobile/openapi/lib/api/authentication_api.dart b/mobile/openapi/lib/api/authentication_api.dart index 39888550d..628ee2f1f 100644 --- a/mobile/openapi/lib/api/authentication_api.dart +++ b/mobile/openapi/lib/api/authentication_api.dart @@ -16,7 +16,10 @@ class AuthenticationApi { final ApiClient apiClient; - /// Performs an HTTP 'POST /auth/admin-sign-up' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [SignUpDto] signUpDto (required): @@ -45,6 +48,8 @@ class AuthenticationApi { ); } + /// + /// /// Parameters: /// /// * [SignUpDto] signUpDto (required): @@ -63,7 +68,10 @@ class AuthenticationApi { return null; } - /// Performs an HTTP 'POST /auth/change-password' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [ChangePasswordDto] changePasswordDto (required): @@ -92,6 +100,8 @@ class AuthenticationApi { ); } + /// + /// /// Parameters: /// /// * [ChangePasswordDto] changePasswordDto (required): @@ -110,7 +120,10 @@ class AuthenticationApi { return null; } - /// Performs an HTTP 'POST /auth/login' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [LoginCredentialDto] loginCredentialDto (required): @@ -139,6 +152,8 @@ class AuthenticationApi { ); } + /// + /// /// Parameters: /// /// * [LoginCredentialDto] loginCredentialDto (required): @@ -157,7 +172,9 @@ class AuthenticationApi { return null; } - /// Performs an HTTP 'POST /auth/logout' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future logoutWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/auth/logout'; @@ -183,6 +200,7 @@ class AuthenticationApi { ); } + /// Future logout() async { final response = await logoutWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -198,7 +216,9 @@ class AuthenticationApi { return null; } - /// Performs an HTTP 'POST /auth/validateToken' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future validateAccessTokenWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/auth/validateToken'; @@ -224,6 +244,7 @@ class AuthenticationApi { ); } + /// Future validateAccessToken() async { final response = await validateAccessTokenWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { diff --git a/mobile/openapi/lib/api/device_info_api.dart b/mobile/openapi/lib/api/device_info_api.dart index b65b6bd71..ac3c81842 100644 --- a/mobile/openapi/lib/api/device_info_api.dart +++ b/mobile/openapi/lib/api/device_info_api.dart @@ -16,7 +16,10 @@ class DeviceInfoApi { final ApiClient apiClient; - /// Performs an HTTP 'PUT /device-info' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [UpsertDeviceInfoDto] upsertDeviceInfoDto (required): @@ -45,6 +48,8 @@ class DeviceInfoApi { ); } + /// + /// /// Parameters: /// /// * [UpsertDeviceInfoDto] upsertDeviceInfoDto (required): diff --git a/mobile/openapi/lib/api/job_api.dart b/mobile/openapi/lib/api/job_api.dart index 7e4037832..a3c0e87aa 100644 --- a/mobile/openapi/lib/api/job_api.dart +++ b/mobile/openapi/lib/api/job_api.dart @@ -16,7 +16,9 @@ class JobApi { final ApiClient apiClient; - /// Performs an HTTP 'GET /jobs' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getAllJobsStatusWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/jobs'; @@ -42,6 +44,7 @@ class JobApi { ); } + /// Future getAllJobsStatus() async { final response = await getAllJobsStatusWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -57,7 +60,10 @@ class JobApi { return null; } - /// Performs an HTTP 'PUT /jobs/{jobId}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [JobName] jobId (required): @@ -89,6 +95,8 @@ class JobApi { ); } + /// + /// /// Parameters: /// /// * [JobName] jobId (required): diff --git a/mobile/openapi/lib/api/o_auth_api.dart b/mobile/openapi/lib/api/o_auth_api.dart index b8778596a..61165c9a2 100644 --- a/mobile/openapi/lib/api/o_auth_api.dart +++ b/mobile/openapi/lib/api/o_auth_api.dart @@ -16,7 +16,10 @@ class OAuthApi { final ApiClient apiClient; - /// Performs an HTTP 'POST /oauth/callback' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [OAuthCallbackDto] oAuthCallbackDto (required): @@ -45,6 +48,8 @@ class OAuthApi { ); } + /// + /// /// Parameters: /// /// * [OAuthCallbackDto] oAuthCallbackDto (required): @@ -63,7 +68,10 @@ class OAuthApi { return null; } - /// Performs an HTTP 'POST /oauth/config' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [OAuthConfigDto] oAuthConfigDto (required): @@ -92,6 +100,8 @@ class OAuthApi { ); } + /// + /// /// Parameters: /// /// * [OAuthConfigDto] oAuthConfigDto (required): @@ -110,7 +120,10 @@ class OAuthApi { return null; } - /// Performs an HTTP 'POST /oauth/link' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [OAuthCallbackDto] oAuthCallbackDto (required): @@ -139,6 +152,8 @@ class OAuthApi { ); } + /// + /// /// Parameters: /// /// * [OAuthCallbackDto] oAuthCallbackDto (required): @@ -157,7 +172,9 @@ class OAuthApi { return null; } - /// Performs an HTTP 'GET /oauth/mobile-redirect' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future mobileRedirectWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/oauth/mobile-redirect'; @@ -183,6 +200,7 @@ class OAuthApi { ); } + /// Future mobileRedirect() async { final response = await mobileRedirectWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -190,7 +208,9 @@ class OAuthApi { } } - /// Performs an HTTP 'POST /oauth/unlink' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future unlinkWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/oauth/unlink'; @@ -216,6 +236,7 @@ class OAuthApi { ); } + /// Future unlink() async { final response = await unlinkWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { diff --git a/mobile/openapi/lib/api/search_api.dart b/mobile/openapi/lib/api/search_api.dart index 96a67c103..645ccf876 100644 --- a/mobile/openapi/lib/api/search_api.dart +++ b/mobile/openapi/lib/api/search_api.dart @@ -16,7 +16,9 @@ class SearchApi { final ApiClient apiClient; - /// Performs an HTTP 'GET /search/explore' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getExploreDataWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/search/explore'; @@ -42,6 +44,7 @@ class SearchApi { ); } + /// Future?> getExploreData() async { final response = await getExploreDataWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -60,7 +63,9 @@ class SearchApi { return null; } - /// Performs an HTTP 'GET /search/config' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getSearchConfigWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/search/config'; @@ -86,6 +91,7 @@ class SearchApi { ); } + /// Future getSearchConfig() async { final response = await getSearchConfigWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -101,7 +107,10 @@ class SearchApi { return null; } - /// Performs an HTTP 'GET /search' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] q: @@ -199,6 +208,8 @@ class SearchApi { ); } + /// + /// /// Parameters: /// /// * [String] q: diff --git a/mobile/openapi/lib/api/server_info_api.dart b/mobile/openapi/lib/api/server_info_api.dart index 8cc3460c9..a939f885e 100644 --- a/mobile/openapi/lib/api/server_info_api.dart +++ b/mobile/openapi/lib/api/server_info_api.dart @@ -16,7 +16,9 @@ class ServerInfoApi { final ApiClient apiClient; - /// Performs an HTTP 'GET /server-info' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getServerInfoWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/server-info'; @@ -42,6 +44,7 @@ class ServerInfoApi { ); } + /// Future getServerInfo() async { final response = await getServerInfoWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -57,7 +60,9 @@ class ServerInfoApi { return null; } - /// Performs an HTTP 'GET /server-info/version' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getServerVersionWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/server-info/version'; @@ -83,6 +88,7 @@ class ServerInfoApi { ); } + /// Future getServerVersion() async { final response = await getServerVersionWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -98,7 +104,9 @@ class ServerInfoApi { return null; } - /// Performs an HTTP 'GET /server-info/stats' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getStatsWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/server-info/stats'; @@ -124,6 +132,7 @@ class ServerInfoApi { ); } + /// Future getStats() async { final response = await getStatsWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -139,7 +148,9 @@ class ServerInfoApi { return null; } - /// Performs an HTTP 'GET /server-info/ping' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future pingServerWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/server-info/ping'; @@ -165,6 +176,7 @@ class ServerInfoApi { ); } + /// Future pingServer() async { final response = await pingServerWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { diff --git a/mobile/openapi/lib/api/share_api.dart b/mobile/openapi/lib/api/share_api.dart index 53993285a..ce0e4d8d0 100644 --- a/mobile/openapi/lib/api/share_api.dart +++ b/mobile/openapi/lib/api/share_api.dart @@ -16,7 +16,10 @@ class ShareApi { final ApiClient apiClient; - /// Performs an HTTP 'PATCH /share/{id}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] id (required): @@ -48,6 +51,8 @@ class ShareApi { ); } + /// + /// /// Parameters: /// /// * [String] id (required): @@ -68,7 +73,9 @@ class ShareApi { return null; } - /// Performs an HTTP 'GET /share' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getAllSharedLinksWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/share'; @@ -94,6 +101,7 @@ class ShareApi { ); } + /// Future?> getAllSharedLinks() async { final response = await getAllSharedLinksWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -112,7 +120,10 @@ class ShareApi { return null; } - /// Performs an HTTP 'GET /share/me' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] key: @@ -145,6 +156,8 @@ class ShareApi { ); } + /// + /// /// Parameters: /// /// * [String] key: @@ -163,7 +176,10 @@ class ShareApi { return null; } - /// Performs an HTTP 'GET /share/{id}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] id (required): @@ -193,6 +209,8 @@ class ShareApi { ); } + /// + /// /// Parameters: /// /// * [String] id (required): @@ -211,7 +229,10 @@ class ShareApi { return null; } - /// Performs an HTTP 'DELETE /share/{id}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] id (required): @@ -241,6 +262,8 @@ class ShareApi { ); } + /// + /// /// Parameters: /// /// * [String] id (required): diff --git a/mobile/openapi/lib/api/system_config_api.dart b/mobile/openapi/lib/api/system_config_api.dart index d2d0ac5ba..328a1fc3b 100644 --- a/mobile/openapi/lib/api/system_config_api.dart +++ b/mobile/openapi/lib/api/system_config_api.dart @@ -16,7 +16,9 @@ class SystemConfigApi { final ApiClient apiClient; - /// Performs an HTTP 'GET /system-config' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getConfigWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/system-config'; @@ -42,6 +44,7 @@ class SystemConfigApi { ); } + /// Future getConfig() async { final response = await getConfigWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -57,7 +60,9 @@ class SystemConfigApi { return null; } - /// Performs an HTTP 'GET /system-config/defaults' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getDefaultsWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/system-config/defaults'; @@ -83,6 +88,7 @@ class SystemConfigApi { ); } + /// Future getDefaults() async { final response = await getDefaultsWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -98,7 +104,9 @@ class SystemConfigApi { return null; } - /// Performs an HTTP 'GET /system-config/storage-template-options' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getStorageTemplateOptionsWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/system-config/storage-template-options'; @@ -124,6 +132,7 @@ class SystemConfigApi { ); } + /// Future getStorageTemplateOptions() async { final response = await getStorageTemplateOptionsWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -139,7 +148,10 @@ class SystemConfigApi { return null; } - /// Performs an HTTP 'PUT /system-config' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [SystemConfigDto] systemConfigDto (required): @@ -168,6 +180,8 @@ class SystemConfigApi { ); } + /// + /// /// Parameters: /// /// * [SystemConfigDto] systemConfigDto (required): diff --git a/mobile/openapi/lib/api/tag_api.dart b/mobile/openapi/lib/api/tag_api.dart index 3591cf11c..1869e0ade 100644 --- a/mobile/openapi/lib/api/tag_api.dart +++ b/mobile/openapi/lib/api/tag_api.dart @@ -16,7 +16,10 @@ class TagApi { final ApiClient apiClient; - /// Performs an HTTP 'POST /tag' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [CreateTagDto] createTagDto (required): @@ -45,6 +48,8 @@ class TagApi { ); } + /// + /// /// Parameters: /// /// * [CreateTagDto] createTagDto (required): @@ -63,7 +68,10 @@ class TagApi { return null; } - /// Performs an HTTP 'DELETE /tag/{id}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] id (required): @@ -93,6 +101,8 @@ class TagApi { ); } + /// + /// /// Parameters: /// /// * [String] id (required): @@ -103,7 +113,9 @@ class TagApi { } } - /// Performs an HTTP 'GET /tag' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future findAllWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/tag'; @@ -129,6 +141,7 @@ class TagApi { ); } + /// Future?> findAll() async { final response = await findAllWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -147,7 +160,10 @@ class TagApi { return null; } - /// Performs an HTTP 'GET /tag/{id}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] id (required): @@ -177,6 +193,8 @@ class TagApi { ); } + /// + /// /// Parameters: /// /// * [String] id (required): @@ -195,7 +213,10 @@ class TagApi { return null; } - /// Performs an HTTP 'PATCH /tag/{id}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] id (required): @@ -227,6 +248,8 @@ class TagApi { ); } + /// + /// /// Parameters: /// /// * [String] id (required): diff --git a/mobile/openapi/lib/api/user_api.dart b/mobile/openapi/lib/api/user_api.dart index f187652ac..51bd6180f 100644 --- a/mobile/openapi/lib/api/user_api.dart +++ b/mobile/openapi/lib/api/user_api.dart @@ -16,7 +16,10 @@ class UserApi { final ApiClient apiClient; - /// Performs an HTTP 'POST /user/profile-image' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [MultipartFile] file (required): @@ -55,6 +58,8 @@ class UserApi { ); } + /// + /// /// Parameters: /// /// * [MultipartFile] file (required): @@ -73,7 +78,10 @@ class UserApi { return null; } - /// Performs an HTTP 'POST /user' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [CreateUserDto] createUserDto (required): @@ -102,6 +110,8 @@ class UserApi { ); } + /// + /// /// Parameters: /// /// * [CreateUserDto] createUserDto (required): @@ -120,7 +130,10 @@ class UserApi { return null; } - /// Performs an HTTP 'DELETE /user/{userId}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] userId (required): @@ -150,6 +163,8 @@ class UserApi { ); } + /// + /// /// Parameters: /// /// * [String] userId (required): @@ -168,7 +183,10 @@ class UserApi { return null; } - /// Performs an HTTP 'GET /user' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [bool] isAll (required): @@ -199,6 +217,8 @@ class UserApi { ); } + /// + /// /// Parameters: /// /// * [bool] isAll (required): @@ -220,7 +240,9 @@ class UserApi { return null; } - /// Performs an HTTP 'GET /user/me' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. Future getMyUserInfoWithHttpInfo() async { // ignore: prefer_const_declarations final path = r'/user/me'; @@ -246,6 +268,7 @@ class UserApi { ); } + /// Future getMyUserInfo() async { final response = await getMyUserInfoWithHttpInfo(); if (response.statusCode >= HttpStatus.badRequest) { @@ -261,7 +284,10 @@ class UserApi { return null; } - /// Performs an HTTP 'GET /user/profile-image/{userId}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] userId (required): @@ -291,6 +317,8 @@ class UserApi { ); } + /// + /// /// Parameters: /// /// * [String] userId (required): @@ -309,7 +337,10 @@ class UserApi { return null; } - /// Performs an HTTP 'GET /user/info/{userId}' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] userId (required): @@ -339,6 +370,8 @@ class UserApi { ); } + /// + /// /// Parameters: /// /// * [String] userId (required): @@ -357,7 +390,10 @@ class UserApi { return null; } - /// Performs an HTTP 'GET /user/count' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [bool] admin: @@ -390,6 +426,8 @@ class UserApi { ); } + /// + /// /// Parameters: /// /// * [bool] admin: @@ -408,7 +446,10 @@ class UserApi { return null; } - /// Performs an HTTP 'POST /user/{userId}/restore' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [String] userId (required): @@ -438,6 +479,8 @@ class UserApi { ); } + /// + /// /// Parameters: /// /// * [String] userId (required): @@ -456,7 +499,10 @@ class UserApi { return null; } - /// Performs an HTTP 'PUT /user' operation and returns the [Response]. + /// + /// + /// Note: This method returns the HTTP [Response]. + /// /// Parameters: /// /// * [UpdateUserDto] updateUserDto (required): @@ -485,6 +531,8 @@ class UserApi { ); } + /// + /// /// Parameters: /// /// * [UpdateUserDto] updateUserDto (required): diff --git a/mobile/openapi/test/album_api_test.dart b/mobile/openapi/test/album_api_test.dart index 8dde0b9f0..fbb2e166c 100644 --- a/mobile/openapi/test/album_api_test.dart +++ b/mobile/openapi/test/album_api_test.dart @@ -17,61 +17,85 @@ void main() { // final instance = AlbumApi(); group('tests for AlbumApi', () { + // + // //Future addAssetsToAlbum(String albumId, AddAssetsDto addAssetsDto, { String key }) async test('test addAssetsToAlbum', () async { // TODO }); + // + // //Future addUsersToAlbum(String albumId, AddUsersDto addUsersDto) async test('test addUsersToAlbum', () async { // TODO }); + // + // //Future createAlbum(CreateAlbumDto createAlbumDto) async test('test createAlbum', () async { // TODO }); + // + // //Future createAlbumSharedLink(CreateAlbumShareLinkDto createAlbumShareLinkDto) async test('test createAlbumSharedLink', () async { // TODO }); + // + // //Future deleteAlbum(String albumId) async test('test deleteAlbum', () async { // TODO }); + // + // //Future downloadArchive(String albumId, { String name, num skip, String key }) async test('test downloadArchive', () async { // TODO }); + // + // //Future getAlbumCountByUserId() async test('test getAlbumCountByUserId', () async { // TODO }); + // + // //Future getAlbumInfo(String albumId, { String key }) async test('test getAlbumInfo', () async { // TODO }); + // + // //Future> getAllAlbums({ bool shared, String assetId }) async test('test getAllAlbums', () async { // TODO }); + // + // //Future removeAssetFromAlbum(String albumId, RemoveAssetsDto removeAssetsDto) async test('test removeAssetFromAlbum', () async { // TODO }); + // + // //Future removeUserFromAlbum(String albumId, String userId) async test('test removeUserFromAlbum', () async { // TODO }); + // + // //Future updateAlbumInfo(String albumId, UpdateAlbumDto updateAlbumDto) async test('test updateAlbumInfo', () async { // TODO diff --git a/mobile/openapi/test/api_key_api_test.dart b/mobile/openapi/test/api_key_api_test.dart index 2e02bae72..a91662168 100644 --- a/mobile/openapi/test/api_key_api_test.dart +++ b/mobile/openapi/test/api_key_api_test.dart @@ -17,26 +17,36 @@ void main() { // final instance = APIKeyApi(); group('tests for APIKeyApi', () { + // + // //Future createKey(APIKeyCreateDto aPIKeyCreateDto) async test('test createKey', () async { // TODO }); + // + // //Future deleteKey(String id) async test('test deleteKey', () async { // TODO }); + // + // //Future getKey(String id) async test('test getKey', () async { // TODO }); + // + // //Future> getKeys() async test('test getKeys', () async { // TODO }); + // + // //Future updateKey(String id, APIKeyUpdateDto aPIKeyUpdateDto) async test('test updateKey', () async { // TODO diff --git a/mobile/openapi/test/asset_api_test.dart b/mobile/openapi/test/asset_api_test.dart index f6b5dbd40..3430b2e03 100644 --- a/mobile/openapi/test/asset_api_test.dart +++ b/mobile/openapi/test/asset_api_test.dart @@ -17,6 +17,8 @@ void main() { // final instance = AssetApi(); group('tests for AssetApi', () { + // + // //Future addAssetsToSharedLink(AddAssetsDto addAssetsDto, { String key }) async test('test addAssetsToSharedLink', () async { // TODO @@ -36,21 +38,29 @@ void main() { // TODO }); + // + // //Future createAssetsSharedLink(CreateAssetsShareLinkDto createAssetsShareLinkDto) async test('test createAssetsSharedLink', () async { // TODO }); + // + // //Future> deleteAsset(DeleteAssetDto deleteAssetDto) async test('test deleteAsset', () async { // TODO }); + // + // //Future downloadFile(String assetId, { String key }) async test('test downloadFile', () async { // TODO }); + // + // //Future downloadFiles(DownloadFilesDto downloadFilesDto, { String key }) async test('test downloadFiles', () async { // TODO @@ -77,36 +87,50 @@ void main() { // TODO }); + // + // //Future> getAssetByTimeBucket(GetAssetByTimeBucketDto getAssetByTimeBucketDto) async test('test getAssetByTimeBucket', () async { // TODO }); + // + // //Future getAssetCountByTimeBucket(GetAssetCountByTimeBucketDto getAssetCountByTimeBucketDto) async test('test getAssetCountByTimeBucket', () async { // TODO }); + // + // //Future getAssetCountByUserId() async test('test getAssetCountByUserId', () async { // TODO }); + // + // //Future> getAssetSearchTerms() async test('test getAssetSearchTerms', () async { // TODO }); + // + // //Future getAssetThumbnail(String assetId, { ThumbnailFormat format, String key }) async test('test getAssetThumbnail', () async { // TODO }); + // + // //Future> getCuratedLocations() async test('test getCuratedLocations', () async { // TODO }); + // + // //Future> getCuratedObjects() async test('test getCuratedObjects', () async { // TODO @@ -119,16 +143,22 @@ void main() { // TODO }); + // + // //Future removeAssetsFromSharedLink(RemoveAssetsDto removeAssetsDto, { String key }) async test('test removeAssetsFromSharedLink', () async { // TODO }); + // + // //Future> searchAsset(SearchAssetDto searchAssetDto) async test('test searchAsset', () async { // TODO }); + // + // //Future serveFile(String assetId, { bool isThumb, bool isWeb, String key }) async test('test serveFile', () async { // TODO @@ -141,6 +171,8 @@ void main() { // TODO }); + // + // //Future uploadFile(AssetTypeEnum assetType, MultipartFile assetData, String deviceAssetId, String deviceId, String fileCreatedAt, String fileModifiedAt, bool isFavorite, String fileExtension, { String key, MultipartFile livePhotoData, bool isVisible, String duration }) async test('test uploadFile', () async { // TODO diff --git a/mobile/openapi/test/authentication_api_test.dart b/mobile/openapi/test/authentication_api_test.dart index f855d3239..45f283f8a 100644 --- a/mobile/openapi/test/authentication_api_test.dart +++ b/mobile/openapi/test/authentication_api_test.dart @@ -17,26 +17,36 @@ void main() { // final instance = AuthenticationApi(); group('tests for AuthenticationApi', () { + // + // //Future adminSignUp(SignUpDto signUpDto) async test('test adminSignUp', () async { // TODO }); + // + // //Future changePassword(ChangePasswordDto changePasswordDto) async test('test changePassword', () async { // TODO }); + // + // //Future login(LoginCredentialDto loginCredentialDto) async test('test login', () async { // TODO }); + // + // //Future logout() async test('test logout', () async { // TODO }); + // + // //Future validateAccessToken() async test('test validateAccessToken', () async { // TODO diff --git a/mobile/openapi/test/device_info_api_test.dart b/mobile/openapi/test/device_info_api_test.dart index 9fd25bcd3..94897849a 100644 --- a/mobile/openapi/test/device_info_api_test.dart +++ b/mobile/openapi/test/device_info_api_test.dart @@ -17,6 +17,8 @@ void main() { // final instance = DeviceInfoApi(); group('tests for DeviceInfoApi', () { + // + // //Future upsertDeviceInfo(UpsertDeviceInfoDto upsertDeviceInfoDto) async test('test upsertDeviceInfo', () async { // TODO diff --git a/mobile/openapi/test/job_api_test.dart b/mobile/openapi/test/job_api_test.dart index 54d9a510d..7cc1a4b2a 100644 --- a/mobile/openapi/test/job_api_test.dart +++ b/mobile/openapi/test/job_api_test.dart @@ -17,11 +17,15 @@ void main() { // final instance = JobApi(); group('tests for JobApi', () { + // + // //Future getAllJobsStatus() async test('test getAllJobsStatus', () async { // TODO }); + // + // //Future sendJobCommand(JobName jobId, JobCommandDto jobCommandDto) async test('test sendJobCommand', () async { // TODO diff --git a/mobile/openapi/test/o_auth_api_test.dart b/mobile/openapi/test/o_auth_api_test.dart index bc8b5f381..db5e6c0a2 100644 --- a/mobile/openapi/test/o_auth_api_test.dart +++ b/mobile/openapi/test/o_auth_api_test.dart @@ -17,26 +17,36 @@ void main() { // final instance = OAuthApi(); group('tests for OAuthApi', () { + // + // //Future callback(OAuthCallbackDto oAuthCallbackDto) async test('test callback', () async { // TODO }); + // + // //Future generateConfig(OAuthConfigDto oAuthConfigDto) async test('test generateConfig', () async { // TODO }); + // + // //Future link(OAuthCallbackDto oAuthCallbackDto) async test('test link', () async { // TODO }); + // + // //Future mobileRedirect() async test('test mobileRedirect', () async { // TODO }); + // + // //Future unlink() async test('test unlink', () async { // TODO diff --git a/mobile/openapi/test/search_api_test.dart b/mobile/openapi/test/search_api_test.dart index 85204a5bb..89037f3c4 100644 --- a/mobile/openapi/test/search_api_test.dart +++ b/mobile/openapi/test/search_api_test.dart @@ -17,16 +17,22 @@ void main() { // final instance = SearchApi(); group('tests for SearchApi', () { + // + // //Future> getExploreData() async test('test getExploreData', () async { // TODO }); + // + // //Future getSearchConfig() async test('test getSearchConfig', () async { // TODO }); + // + // //Future search({ String q, String query, bool clip, String type, bool isFavorite, String exifInfoPeriodCity, String exifInfoPeriodState, String exifInfoPeriodCountry, String exifInfoPeriodMake, String exifInfoPeriodModel, List smartInfoPeriodObjects, List smartInfoPeriodTags, bool recent, bool motion }) async test('test search', () async { // TODO diff --git a/mobile/openapi/test/server_info_api_test.dart b/mobile/openapi/test/server_info_api_test.dart index b662587ee..e2222244e 100644 --- a/mobile/openapi/test/server_info_api_test.dart +++ b/mobile/openapi/test/server_info_api_test.dart @@ -17,21 +17,29 @@ void main() { // final instance = ServerInfoApi(); group('tests for ServerInfoApi', () { + // + // //Future getServerInfo() async test('test getServerInfo', () async { // TODO }); + // + // //Future getServerVersion() async test('test getServerVersion', () async { // TODO }); + // + // //Future getStats() async test('test getStats', () async { // TODO }); + // + // //Future pingServer() async test('test pingServer', () async { // TODO diff --git a/mobile/openapi/test/share_api_test.dart b/mobile/openapi/test/share_api_test.dart index e05839a79..d746800de 100644 --- a/mobile/openapi/test/share_api_test.dart +++ b/mobile/openapi/test/share_api_test.dart @@ -17,26 +17,36 @@ void main() { // final instance = ShareApi(); group('tests for ShareApi', () { + // + // //Future editSharedLink(String id, EditSharedLinkDto editSharedLinkDto) async test('test editSharedLink', () async { // TODO }); + // + // //Future> getAllSharedLinks() async test('test getAllSharedLinks', () async { // TODO }); + // + // //Future getMySharedLink({ String key }) async test('test getMySharedLink', () async { // TODO }); + // + // //Future getSharedLinkById(String id) async test('test getSharedLinkById', () async { // TODO }); + // + // //Future removeSharedLink(String id) async test('test removeSharedLink', () async { // TODO diff --git a/mobile/openapi/test/system_config_api_test.dart b/mobile/openapi/test/system_config_api_test.dart index 6cb7aa79d..28a3b0ed2 100644 --- a/mobile/openapi/test/system_config_api_test.dart +++ b/mobile/openapi/test/system_config_api_test.dart @@ -17,21 +17,29 @@ void main() { // final instance = SystemConfigApi(); group('tests for SystemConfigApi', () { + // + // //Future getConfig() async test('test getConfig', () async { // TODO }); + // + // //Future getDefaults() async test('test getDefaults', () async { // TODO }); + // + // //Future getStorageTemplateOptions() async test('test getStorageTemplateOptions', () async { // TODO }); + // + // //Future updateConfig(SystemConfigDto systemConfigDto) async test('test updateConfig', () async { // TODO diff --git a/mobile/openapi/test/tag_api_test.dart b/mobile/openapi/test/tag_api_test.dart index a504aedfa..ffb6c70a4 100644 --- a/mobile/openapi/test/tag_api_test.dart +++ b/mobile/openapi/test/tag_api_test.dart @@ -17,26 +17,36 @@ void main() { // final instance = TagApi(); group('tests for TagApi', () { + // + // //Future create(CreateTagDto createTagDto) async test('test create', () async { // TODO }); + // + // //Future delete(String id) async test('test delete', () async { // TODO }); + // + // //Future> findAll() async test('test findAll', () async { // TODO }); + // + // //Future findOne(String id) async test('test findOne', () async { // TODO }); + // + // //Future update(String id, UpdateTagDto updateTagDto) async test('test update', () async { // TODO diff --git a/mobile/openapi/test/user_api_test.dart b/mobile/openapi/test/user_api_test.dart index 5163a1500..d24f36590 100644 --- a/mobile/openapi/test/user_api_test.dart +++ b/mobile/openapi/test/user_api_test.dart @@ -17,51 +17,71 @@ void main() { // final instance = UserApi(); group('tests for UserApi', () { + // + // //Future createProfileImage(MultipartFile file) async test('test createProfileImage', () async { // TODO }); + // + // //Future createUser(CreateUserDto createUserDto) async test('test createUser', () async { // TODO }); + // + // //Future deleteUser(String userId) async test('test deleteUser', () async { // TODO }); + // + // //Future> getAllUsers(bool isAll) async test('test getAllUsers', () async { // TODO }); + // + // //Future getMyUserInfo() async test('test getMyUserInfo', () async { // TODO }); + // + // //Future getProfileImage(String userId) async test('test getProfileImage', () async { // TODO }); + // + // //Future getUserById(String userId) async test('test getUserById', () async { // TODO }); + // + // //Future getUserCount({ bool admin }) async test('test getUserCount', () async { // TODO }); + // + // //Future restoreUser(String userId) async test('test restoreUser', () async { // TODO }); + // + // //Future updateUser(UpdateUserDto updateUserDto) async test('test updateUser', () async { // TODO diff --git a/server/immich-openapi-specs.json b/server/immich-openapi-specs.json index 49b71ae11..7318739e2 100644 --- a/server/immich-openapi-specs.json +++ b/server/immich-openapi-specs.json @@ -4,6 +4,7 @@ "/album": { "get": { "operationId": "getAllAlbums", + "description": "", "parameters": [ { "name": "shared", @@ -53,6 +54,7 @@ }, "post": { "operationId": "createAlbum", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -92,6 +94,7 @@ "/api-key": { "post": { "operationId": "createKey", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -129,6 +132,7 @@ }, "get": { "operationId": "getKeys", + "description": "", "parameters": [], "responses": { "200": { @@ -161,6 +165,7 @@ "/api-key/{id}": { "get": { "operationId": "getKey", + "description": "", "parameters": [ { "name": "id", @@ -198,6 +203,7 @@ }, "put": { "operationId": "updateKey", + "description": "", "parameters": [ { "name": "id", @@ -245,6 +251,7 @@ }, "delete": { "operationId": "deleteKey", + "description": "", "parameters": [ { "name": "id", @@ -277,6 +284,7 @@ "/auth/login": { "post": { "operationId": "login", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -308,6 +316,7 @@ "/auth/admin-sign-up": { "post": { "operationId": "adminSignUp", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -342,6 +351,7 @@ "/auth/validateToken": { "post": { "operationId": "validateAccessToken", + "description": "", "parameters": [], "responses": { "201": { @@ -371,6 +381,7 @@ "/auth/change-password": { "post": { "operationId": "changePassword", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -410,6 +421,7 @@ "/auth/logout": { "post": { "operationId": "logout", + "description": "", "parameters": [], "responses": { "201": { @@ -439,6 +451,7 @@ "/device-info": { "put": { "operationId": "upsertDeviceInfo", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -478,6 +491,7 @@ "/jobs": { "get": { "operationId": "getAllJobsStatus", + "description": "", "parameters": [], "responses": { "200": { @@ -507,6 +521,7 @@ "/jobs/{jobId}": { "put": { "operationId": "sendJobCommand", + "description": "", "parameters": [ { "name": "jobId", @@ -555,6 +570,7 @@ "/oauth/mobile-redirect": { "get": { "operationId": "mobileRedirect", + "description": "", "parameters": [], "responses": { "200": { @@ -569,6 +585,7 @@ "/oauth/config": { "post": { "operationId": "generateConfig", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -600,6 +617,7 @@ "/oauth/callback": { "post": { "operationId": "callback", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -631,6 +649,7 @@ "/oauth/link": { "post": { "operationId": "link", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -670,6 +689,7 @@ "/oauth/unlink": { "post": { "operationId": "unlink", + "description": "", "parameters": [], "responses": { "201": { @@ -699,6 +719,7 @@ "/search": { "get": { "operationId": "search", + "description": "", "parameters": [ { "name": "q", @@ -853,6 +874,7 @@ "/search/config": { "get": { "operationId": "getSearchConfig", + "description": "", "parameters": [], "responses": { "200": { @@ -882,6 +904,7 @@ "/search/explore": { "get": { "operationId": "getExploreData", + "description": "", "parameters": [], "responses": { "200": { @@ -914,6 +937,7 @@ "/server-info": { "get": { "operationId": "getServerInfo", + "description": "", "parameters": [], "responses": { "200": { @@ -943,6 +967,7 @@ "/server-info/ping": { "get": { "operationId": "pingServer", + "description": "", "parameters": [], "responses": { "200": { @@ -964,6 +989,7 @@ "/server-info/version": { "get": { "operationId": "getServerVersion", + "description": "", "parameters": [], "responses": { "200": { @@ -985,6 +1011,7 @@ "/server-info/stats": { "get": { "operationId": "getStats", + "description": "", "parameters": [], "responses": { "200": { @@ -1014,6 +1041,7 @@ "/share": { "get": { "operationId": "getAllSharedLinks", + "description": "", "parameters": [], "responses": { "200": { @@ -1046,6 +1074,7 @@ "/share/me": { "get": { "operationId": "getMySharedLink", + "description": "", "parameters": [ { "name": "key", @@ -1084,6 +1113,7 @@ "/share/{id}": { "get": { "operationId": "getSharedLinkById", + "description": "", "parameters": [ { "name": "id", @@ -1121,6 +1151,7 @@ }, "delete": { "operationId": "removeSharedLink", + "description": "", "parameters": [ { "name": "id", @@ -1151,6 +1182,7 @@ }, "patch": { "operationId": "editSharedLink", + "description": "", "parameters": [ { "name": "id", @@ -1200,6 +1232,7 @@ "/system-config": { "get": { "operationId": "getConfig", + "description": "", "parameters": [], "responses": { "200": { @@ -1227,6 +1260,7 @@ }, "put": { "operationId": "updateConfig", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -1266,6 +1300,7 @@ "/system-config/defaults": { "get": { "operationId": "getDefaults", + "description": "", "parameters": [], "responses": { "200": { @@ -1295,6 +1330,7 @@ "/system-config/storage-template-options": { "get": { "operationId": "getStorageTemplateOptions", + "description": "", "parameters": [], "responses": { "200": { @@ -1324,6 +1360,7 @@ "/user": { "get": { "operationId": "getAllUsers", + "description": "", "parameters": [ { "name": "isAll", @@ -1363,6 +1400,7 @@ }, "post": { "operationId": "createUser", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -1400,6 +1438,7 @@ }, "put": { "operationId": "updateUser", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -1439,6 +1478,7 @@ "/user/info/{userId}": { "get": { "operationId": "getUserById", + "description": "", "parameters": [ { "name": "userId", @@ -1478,6 +1518,7 @@ "/user/me": { "get": { "operationId": "getMyUserInfo", + "description": "", "parameters": [], "responses": { "200": { @@ -1507,6 +1548,7 @@ "/user/count": { "get": { "operationId": "getUserCount", + "description": "", "parameters": [ { "name": "admin", @@ -1538,6 +1580,7 @@ "/user/{userId}": { "delete": { "operationId": "deleteUser", + "description": "", "parameters": [ { "name": "userId", @@ -1577,6 +1620,7 @@ "/user/{userId}/restore": { "post": { "operationId": "restoreUser", + "description": "", "parameters": [ { "name": "userId", @@ -1616,6 +1660,7 @@ "/user/profile-image": { "post": { "operationId": "createProfileImage", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -1656,6 +1701,7 @@ "/user/profile-image/{userId}": { "get": { "operationId": "getProfileImage", + "description": "", "parameters": [ { "name": "userId", @@ -1695,6 +1741,7 @@ "/asset/upload": { "post": { "operationId": "uploadFile", + "description": "", "parameters": [ { "name": "key", @@ -1744,6 +1791,7 @@ "/asset/download/{assetId}": { "get": { "operationId": "downloadFile", + "description": "", "parameters": [ { "name": "assetId", @@ -1792,6 +1840,7 @@ "/asset/download-files": { "post": { "operationId": "downloadFiles", + "description": "", "parameters": [ { "name": "key", @@ -1900,6 +1949,7 @@ "/asset/file/{assetId}": { "get": { "operationId": "serveFile", + "description": "", "parameters": [ { "name": "isThumb", @@ -1966,6 +2016,7 @@ "/asset/thumbnail/{assetId}": { "get": { "operationId": "getAssetThumbnail", + "description": "", "parameters": [ { "name": "assetId", @@ -2022,6 +2073,7 @@ "/asset/curated-objects": { "get": { "operationId": "getCuratedObjects", + "description": "", "parameters": [], "responses": { "200": { @@ -2054,6 +2106,7 @@ "/asset/curated-locations": { "get": { "operationId": "getCuratedLocations", + "description": "", "parameters": [], "responses": { "200": { @@ -2086,6 +2139,7 @@ "/asset/search-terms": { "get": { "operationId": "getAssetSearchTerms", + "description": "", "parameters": [], "responses": { "200": { @@ -2118,6 +2172,7 @@ "/asset/search": { "post": { "operationId": "searchAsset", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -2160,6 +2215,7 @@ "/asset/count-by-time-bucket": { "post": { "operationId": "getAssetCountByTimeBucket", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -2199,6 +2255,7 @@ "/asset/count-by-user-id": { "get": { "operationId": "getAssetCountByUserId", + "description": "", "parameters": [], "responses": { "200": { @@ -2285,6 +2342,7 @@ }, "delete": { "operationId": "deleteAsset", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -2327,6 +2385,7 @@ "/asset/time-bucket": { "post": { "operationId": "getAssetByTimeBucket", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -2599,6 +2658,7 @@ "/asset/shared-link": { "post": { "operationId": "createAssetsSharedLink", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -2638,6 +2698,7 @@ "/asset/shared-link/add": { "patch": { "operationId": "addAssetsToSharedLink", + "description": "", "parameters": [ { "name": "key", @@ -2686,6 +2747,7 @@ "/asset/shared-link/remove": { "patch": { "operationId": "removeAssetsFromSharedLink", + "description": "", "parameters": [ { "name": "key", @@ -2734,6 +2796,7 @@ "/tag": { "post": { "operationId": "create", + "description": "", "parameters": [], "requestBody": { "required": true, @@ -2771,6 +2834,7 @@ }, "get": { "operationId": "findAll", + "description": "", "parameters": [], "responses": { "200": { @@ -2803,6 +2867,7 @@ "/tag/{id}": { "get": { "operationId": "findOne", + "description": "", "parameters": [ { "name": "id", @@ -2840,6 +2905,7 @@ }, "patch": { "operationId": "update", + "description": "", "parameters": [ { "name": "id", @@ -2887,6 +2953,7 @@ }, "delete": { "operationId": "delete", + "description": "", "parameters": [ { "name": "id", @@ -2919,6 +2986,7 @@ "/album/count-by-user-id": { "get": { "operationId": "getAlbumCountByUserId", + "description": "", "parameters": [], "responses": { "200": { @@ -2948,6 +3016,7 @@ "/album/{albumId}/users": { "put": { "operationId": "addUsersToAlbum", + "description": "", "parameters": [ { "name": "albumId", @@ -2997,6 +3066,7 @@ "/album/{albumId}/assets": { "put": { "operationId": "addAssetsToAlbum", + "description": "", "parameters": [ { "name": "albumId", @@ -3052,6 +3122,7 @@ }, "delete": { "operationId": "removeAssetFromAlbum", + "description": "", "parameters": [ { "name": "albumId", @@ -3101,6 +3172,7 @@ "/album/{albumId}": { "get": { "operationId": "getAlbumInfo", + "description": "", "parameters": [ { "name": "albumId", @@ -3146,6 +3218,7 @@ }, "delete": { "operationId": "deleteAlbum", + "description": "", "parameters": [ { "name": "albumId", @@ -3176,6 +3249,7 @@ }, "patch": { "operationId": "updateAlbumInfo", + "description": "", "parameters": [ { "name": "albumId", @@ -3225,6 +3299,7 @@ "/album/{albumId}/user/{userId}": { "delete": { "operationId": "removeUserFromAlbum", + "description": "", "parameters": [ { "name": "albumId", @@ -3265,6 +3340,7 @@ "/album/{albumId}/download": { "get": { "operationId": "downloadArchive", + "description": "", "parameters": [ { "name": "albumId", @@ -3329,6 +3405,7 @@ "/album/create-shared-link": { "post": { "operationId": "createAlbumSharedLink", + "description": "", "parameters": [], "requestBody": { "required": true, diff --git a/web/src/lib/components/forms/login-form.svelte b/web/src/lib/components/forms/login-form.svelte index 2bea72867..0fecd8687 100644 --- a/web/src/lib/components/forms/login-form.svelte +++ b/web/src/lib/components/forms/login-form.svelte @@ -124,7 +124,7 @@ {/if} -{#if !authConfig.enabled} +{#if authConfig.enabled} {#if authConfig.passwordLoginEnabled}