diff --git a/mobile/openapi/README.md b/mobile/openapi/README.md index 2efbf56fb4..da4a892dc9 100644 --- a/mobile/openapi/README.md +++ b/mobile/openapi/README.md @@ -43,6 +43,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -260,6 +264,12 @@ Class | Method | HTTP request | Description - **API key parameter name**: immich_access_token - **Location**: +## api_key + +- **Type**: API key +- **API key parameter name**: x-api-key +- **Location**: HTTP header + ## Author diff --git a/mobile/openapi/doc/APIKeyApi.md b/mobile/openapi/doc/APIKeyApi.md index b3815f7da3..807cb5317e 100644 --- a/mobile/openapi/doc/APIKeyApi.md +++ b/mobile/openapi/doc/APIKeyApi.md @@ -28,6 +28,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -58,7 +62,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -79,6 +83,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -108,7 +116,7 @@ void (empty response body) ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -129,6 +137,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -159,7 +171,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -180,6 +192,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -206,7 +222,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -227,6 +243,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -259,7 +279,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers diff --git a/mobile/openapi/doc/AlbumApi.md b/mobile/openapi/doc/AlbumApi.md index 8f9ae1699a..034750a4dc 100644 --- a/mobile/openapi/doc/AlbumApi.md +++ b/mobile/openapi/doc/AlbumApi.md @@ -35,6 +35,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -69,7 +73,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -90,6 +94,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -122,7 +130,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -143,6 +151,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -173,7 +185,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -194,6 +206,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -224,7 +240,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -245,6 +261,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -274,7 +294,7 @@ void (empty response body) ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -295,6 +315,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -331,7 +355,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -352,6 +376,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -378,7 +406,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -399,6 +427,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -431,7 +463,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -452,6 +484,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -484,7 +520,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -505,6 +541,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -537,7 +577,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -558,6 +598,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -589,7 +633,7 @@ void (empty response body) ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -610,6 +654,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -642,7 +690,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers diff --git a/mobile/openapi/doc/AssetApi.md b/mobile/openapi/doc/AssetApi.md index 5752cb086e..213369d797 100644 --- a/mobile/openapi/doc/AssetApi.md +++ b/mobile/openapi/doc/AssetApi.md @@ -47,6 +47,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -79,7 +83,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -102,6 +106,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -134,7 +142,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -157,6 +165,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -187,7 +199,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -208,6 +220,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -238,7 +254,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -259,6 +275,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -289,7 +309,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -310,6 +330,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -342,7 +366,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -363,6 +387,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -395,7 +423,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -418,6 +446,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -452,7 +484,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -475,6 +507,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -511,7 +547,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -532,6 +568,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -558,7 +598,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -581,6 +621,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -613,7 +657,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -634,6 +678,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -664,7 +712,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -685,6 +733,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -715,7 +767,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -736,6 +788,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -762,7 +818,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -783,6 +839,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -809,7 +869,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -830,6 +890,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -864,7 +928,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -885,6 +949,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -911,7 +979,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -932,6 +1000,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -958,7 +1030,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -981,6 +1053,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -1011,7 +1087,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -1032,6 +1108,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -1064,7 +1144,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -1085,6 +1165,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -1115,7 +1199,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -1136,6 +1220,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -1172,7 +1260,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -1195,6 +1283,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -1227,7 +1319,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -1248,6 +1340,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -1302,7 +1398,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers diff --git a/mobile/openapi/doc/AuthenticationApi.md b/mobile/openapi/doc/AuthenticationApi.md index b515698fd0..ae9755147a 100644 --- a/mobile/openapi/doc/AuthenticationApi.md +++ b/mobile/openapi/doc/AuthenticationApi.md @@ -71,6 +71,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -101,7 +105,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -122,6 +126,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -148,7 +156,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -210,6 +218,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -236,7 +248,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -257,6 +269,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -286,7 +302,7 @@ void (empty response body) ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -307,6 +323,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -333,7 +353,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers diff --git a/mobile/openapi/doc/JobApi.md b/mobile/openapi/doc/JobApi.md index 5c6dff1cc3..b1fe36e44a 100644 --- a/mobile/openapi/doc/JobApi.md +++ b/mobile/openapi/doc/JobApi.md @@ -25,6 +25,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -51,7 +55,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -72,6 +76,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -104,7 +112,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers diff --git a/mobile/openapi/doc/OAuthApi.md b/mobile/openapi/doc/OAuthApi.md index b0952f865c..519a96d9ee 100644 --- a/mobile/openapi/doc/OAuthApi.md +++ b/mobile/openapi/doc/OAuthApi.md @@ -110,6 +110,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -140,7 +144,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -197,6 +201,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -223,7 +231,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers diff --git a/mobile/openapi/doc/SearchApi.md b/mobile/openapi/doc/SearchApi.md index a5e22f2b0d..2ada86a470 100644 --- a/mobile/openapi/doc/SearchApi.md +++ b/mobile/openapi/doc/SearchApi.md @@ -26,6 +26,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -52,7 +56,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -73,6 +77,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -99,7 +107,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -120,6 +128,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -178,7 +190,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers diff --git a/mobile/openapi/doc/ServerInfoApi.md b/mobile/openapi/doc/ServerInfoApi.md index b9d3ab5a22..3b39ef93ee 100644 --- a/mobile/openapi/doc/ServerInfoApi.md +++ b/mobile/openapi/doc/ServerInfoApi.md @@ -27,6 +27,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -53,7 +57,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -111,6 +115,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -137,7 +145,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers diff --git a/mobile/openapi/doc/ShareApi.md b/mobile/openapi/doc/ShareApi.md index e669d1c41f..b28da306ea 100644 --- a/mobile/openapi/doc/ShareApi.md +++ b/mobile/openapi/doc/ShareApi.md @@ -28,6 +28,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -60,7 +64,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -81,6 +85,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -107,7 +115,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -128,6 +136,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -158,7 +170,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -179,6 +191,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -209,7 +225,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -230,6 +246,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -259,7 +279,7 @@ void (empty response body) ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers diff --git a/mobile/openapi/doc/SystemConfigApi.md b/mobile/openapi/doc/SystemConfigApi.md index 9cd479fc89..5767f7bb5c 100644 --- a/mobile/openapi/doc/SystemConfigApi.md +++ b/mobile/openapi/doc/SystemConfigApi.md @@ -27,6 +27,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -53,7 +57,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -74,6 +78,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -100,7 +108,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -121,6 +129,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -147,7 +159,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -168,6 +180,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -198,7 +214,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers diff --git a/mobile/openapi/doc/TagApi.md b/mobile/openapi/doc/TagApi.md index c3cf63232b..3dd11aab6b 100644 --- a/mobile/openapi/doc/TagApi.md +++ b/mobile/openapi/doc/TagApi.md @@ -28,6 +28,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -58,7 +62,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -79,6 +83,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -108,7 +116,7 @@ void (empty response body) ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -129,6 +137,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -155,7 +167,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -176,6 +188,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -206,7 +222,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -227,6 +243,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -259,7 +279,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers diff --git a/mobile/openapi/doc/UserApi.md b/mobile/openapi/doc/UserApi.md index 872a6cb5f3..4c7d2b6979 100644 --- a/mobile/openapi/doc/UserApi.md +++ b/mobile/openapi/doc/UserApi.md @@ -33,6 +33,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -63,7 +67,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -84,6 +88,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -114,7 +122,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -135,6 +143,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -165,7 +177,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -186,6 +198,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -216,7 +232,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -237,6 +253,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -263,7 +283,7 @@ This endpoint does not need any parameter. ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -284,6 +304,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -314,7 +338,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -335,6 +359,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -365,7 +393,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -427,6 +455,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -457,7 +489,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers @@ -478,6 +510,10 @@ import 'package:openapi/api.dart'; //defaultApiClient.getAuthentication('cookie').apiKey = 'YOUR_API_KEY'; // uncomment below to setup prefix (e.g. Bearer) for API key, if needed //defaultApiClient.getAuthentication('cookie').apiKeyPrefix = 'Bearer'; +// TODO Configure API key authorization: api_key +//defaultApiClient.getAuthentication('api_key').apiKey = 'YOUR_API_KEY'; +// uncomment below to setup prefix (e.g. Bearer) for API key, if needed +//defaultApiClient.getAuthentication('api_key').apiKeyPrefix = 'Bearer'; // TODO Configure HTTP Bearer authorization: bearer // Case 1. Use String Token //defaultApiClient.getAuthentication('bearer').setAccessToken('YOUR_ACCESS_TOKEN'); @@ -508,7 +544,7 @@ Name | Type | Description | Notes ### Authorization -[cookie](../README.md#cookie), [bearer](../README.md#bearer) +[cookie](../README.md#cookie), [api_key](../README.md#api_key), [bearer](../README.md#bearer) ### HTTP request headers diff --git a/server/apps/immich/src/decorators/authenticated.decorator.ts b/server/apps/immich/src/decorators/authenticated.decorator.ts index c176f95f73..5101db73cd 100644 --- a/server/apps/immich/src/decorators/authenticated.decorator.ts +++ b/server/apps/immich/src/decorators/authenticated.decorator.ts @@ -1,5 +1,6 @@ +import { IMMICH_API_KEY_NAME } from '@app/domain'; import { applyDecorators, SetMetadata } from '@nestjs/common'; -import { ApiBearerAuth, ApiCookieAuth, ApiQuery } from '@nestjs/swagger'; +import { ApiBearerAuth, ApiCookieAuth, ApiQuery, ApiSecurity } from '@nestjs/swagger'; interface AuthenticatedOptions { admin?: boolean; @@ -12,10 +13,13 @@ export enum Metadata { SHARED_ROUTE = 'shared_route', } -export const Authenticated = (options?: AuthenticatedOptions) => { - const decorators: MethodDecorator[] = [ApiBearerAuth(), ApiCookieAuth(), SetMetadata(Metadata.AUTH_ROUTE, true)]; - - options = options || {}; +export const Authenticated = (options: AuthenticatedOptions = {}) => { + const decorators: MethodDecorator[] = [ + ApiBearerAuth(), + ApiCookieAuth(), + ApiSecurity(IMMICH_API_KEY_NAME), + SetMetadata(Metadata.AUTH_ROUTE, true), + ]; if (options.admin) { decorators.push(SetMetadata(Metadata.ADMIN_ROUTE, true)); diff --git a/server/apps/immich/src/main.ts b/server/apps/immich/src/main.ts index 7dae533d73..c6773cf9e0 100644 --- a/server/apps/immich/src/main.ts +++ b/server/apps/immich/src/main.ts @@ -9,8 +9,15 @@ import { AppModule } from './app.module'; import { RedisIoAdapter } from '@app/infra'; import { json } from 'body-parser'; import { patchOpenAPI } from './utils/patch-open-api.util'; -import { getLogLevels, MACHINE_LEARNING_ENABLED } from '@app/domain'; -import { SERVER_VERSION, IMMICH_ACCESS_COOKIE, SearchService } from '@app/domain'; +import { + getLogLevels, + MACHINE_LEARNING_ENABLED, + SERVER_VERSION, + IMMICH_ACCESS_COOKIE, + SearchService, + IMMICH_API_KEY_HEADER, + IMMICH_API_KEY_NAME, +} from '@app/domain'; const logger = new Logger('ImmichServer'); @@ -41,6 +48,14 @@ async function bootstrap() { in: 'header', }) .addCookieAuth(IMMICH_ACCESS_COOKIE) + .addApiKey( + { + type: 'apiKey', + in: 'header', + name: IMMICH_API_KEY_HEADER, + }, + IMMICH_API_KEY_NAME, + ) .addServer('/api') .build(); diff --git a/server/immich-openapi-specs.json b/server/immich-openapi-specs.json index b20b772704..2a09bc6ba0 100644 --- a/server/immich-openapi-specs.json +++ b/server/immich-openapi-specs.json @@ -48,6 +48,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -85,6 +88,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -124,6 +130,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -154,6 +163,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -193,6 +205,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -240,6 +255,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -270,6 +288,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -367,6 +388,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -399,6 +423,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -428,6 +455,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -467,6 +497,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -496,6 +529,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -525,6 +561,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -573,6 +612,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -688,6 +730,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -717,6 +762,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -879,6 +927,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -908,6 +959,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -940,6 +994,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -969,6 +1026,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1040,6 +1100,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1072,6 +1135,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1110,6 +1176,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1149,6 +1218,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -1179,6 +1251,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -1226,6 +1301,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1255,6 +1333,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -1292,6 +1373,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1321,6 +1405,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1350,6 +1437,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1391,6 +1481,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -1428,6 +1521,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -1465,6 +1561,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1504,6 +1603,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1533,6 +1635,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1603,6 +1708,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1642,6 +1750,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1682,6 +1793,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1721,6 +1835,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1770,6 +1887,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1818,6 +1938,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1870,6 +1993,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1926,6 +2052,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -1992,6 +2121,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2048,6 +2180,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2080,6 +2215,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2112,6 +2250,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2144,6 +2285,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2186,6 +2330,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2225,6 +2372,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2254,6 +2404,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2283,6 +2436,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2350,6 +2506,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -2390,6 +2549,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2432,6 +2594,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2475,6 +2640,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2523,6 +2691,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2573,6 +2744,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2622,6 +2796,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2662,6 +2839,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2701,6 +2881,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2749,6 +2932,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2797,6 +2983,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2836,6 +3025,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -2866,6 +3058,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -2905,6 +3100,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -2952,6 +3150,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -2982,6 +3183,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -3011,6 +3215,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -3060,6 +3267,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -3117,6 +3327,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -3164,6 +3377,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -3211,6 +3427,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -3241,6 +3460,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] }, @@ -3288,6 +3510,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -3328,6 +3553,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -3392,6 +3620,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -3431,6 +3662,9 @@ }, { "cookie": [] + }, + { + "api_key": [] } ] } @@ -3460,6 +3694,11 @@ "type": "apiKey", "in": "cookie", "name": "immich_access_token" + }, + "api_key": { + "type": "apiKey", + "in": "header", + "name": "x-api-key" } }, "schemas": { diff --git a/server/libs/domain/src/auth/auth.constant.ts b/server/libs/domain/src/auth/auth.constant.ts index 2bf04f6721..4f3106cba8 100644 --- a/server/libs/domain/src/auth/auth.constant.ts +++ b/server/libs/domain/src/auth/auth.constant.ts @@ -1,5 +1,7 @@ export const IMMICH_ACCESS_COOKIE = 'immich_access_token'; export const IMMICH_AUTH_TYPE_COOKIE = 'immich_auth_type'; +export const IMMICH_API_KEY_NAME = 'api_key'; +export const IMMICH_API_KEY_HEADER = 'x-api-key'; export enum AuthType { PASSWORD = 'password', OAUTH = 'oauth', diff --git a/server/libs/domain/src/auth/auth.service.ts b/server/libs/domain/src/auth/auth.service.ts index 8229580a62..bf4ff7a830 100644 --- a/server/libs/domain/src/auth/auth.service.ts +++ b/server/libs/domain/src/auth/auth.service.ts @@ -11,7 +11,7 @@ import { IncomingHttpHeaders } from 'http'; import { OAuthCore } from '../oauth/oauth.core'; import { INITIAL_SYSTEM_CONFIG, ISystemConfigRepository } from '../system-config'; import { IUserRepository, UserCore } from '../user'; -import { AuthType, IMMICH_ACCESS_COOKIE } from './auth.constant'; +import { AuthType, IMMICH_ACCESS_COOKIE, IMMICH_API_KEY_HEADER } from './auth.constant'; import { AuthCore, LoginDetails } from './auth.core'; import { ICryptoRepository } from '../crypto/crypto.repository'; import { AuthUserDto, ChangePasswordDto, LoginCredentialDto, SignUpDto } from './dto'; @@ -137,7 +137,7 @@ export class AuthService { params.userToken || this.getBearerToken(headers) || this.getCookieToken(headers)) as string; - const apiKey = (headers['x-api-key'] || params.apiKey) as string; + const apiKey = (headers[IMMICH_API_KEY_HEADER] || params.apiKey) as string; if (shareKey) { return this.shareCore.validate(shareKey); diff --git a/web/src/api/open-api/api.ts b/web/src/api/open-api/api.ts index 7da0010e5b..2d69e3395f 100644 --- a/web/src/api/open-api/api.ts +++ b/web/src/api/open-api/api.ts @@ -2577,6 +2577,9 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -2619,6 +2622,9 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -2658,6 +2664,9 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -2693,6 +2702,9 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -2735,6 +2747,9 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -2969,6 +2984,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3018,6 +3036,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3059,6 +3080,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3100,6 +3124,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3142,6 +3169,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3184,6 +3214,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3231,6 +3264,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3271,6 +3307,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3312,6 +3351,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3362,6 +3404,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3408,6 +3453,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3450,6 +3498,9 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3920,6 +3971,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -3966,6 +4020,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4011,6 +4068,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4052,6 +4112,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4093,6 +4156,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4136,6 +4202,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4179,6 +4248,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4224,6 +4296,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4275,6 +4350,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4326,6 +4404,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4366,6 +4447,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4408,6 +4492,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4449,6 +4536,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4487,6 +4577,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4522,6 +4615,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4563,6 +4659,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4606,6 +4705,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4641,6 +4743,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4680,6 +4785,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4719,6 +4827,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4764,6 +4875,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4809,6 +4923,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4863,6 +4980,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -4931,6 +5051,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -5889,6 +6012,9 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -5927,6 +6053,9 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -5997,6 +6126,9 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6036,6 +6168,9 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6071,6 +6206,9 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6345,6 +6483,9 @@ export const JobApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6387,6 +6528,9 @@ export const JobApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6596,6 +6740,9 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6663,6 +6810,9 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6880,6 +7030,9 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6915,6 +7068,9 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -6965,6 +7121,9 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7224,6 +7383,9 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7288,6 +7450,9 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7505,6 +7670,9 @@ export const ShareApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7543,6 +7711,9 @@ export const ShareApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7579,6 +7750,9 @@ export const ShareApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7622,6 +7796,9 @@ export const ShareApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7661,6 +7838,9 @@ export const ShareApiAxiosParamCreator = function (configuration?: Configuration // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7884,6 +8064,9 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7919,6 +8102,9 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7954,6 +8140,9 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -7992,6 +8181,9 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8183,6 +8375,9 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8221,6 +8416,9 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8259,6 +8457,9 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8298,6 +8499,9 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8340,6 +8544,9 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8570,6 +8777,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8615,6 +8825,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8657,6 +8870,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8695,6 +8911,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8734,6 +8953,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8773,6 +8995,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8812,6 +9037,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8885,6 +9113,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration) @@ -8923,6 +9154,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) // authentication cookie required + // authentication api_key required + await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration) + // authentication bearer required // http bearer authentication required await setBearerAuthToObject(localVarHeaderParameter, configuration)