mirror of
https://github.com/immich-app/immich
synced 2026-08-29 13:15:45 +00:00
Merge remote-tracking branch 'origin/main' into feat/yucca-integration
This commit is contained in:
commit
cee387cfdd
2215 changed files with 71156 additions and 374839 deletions
75
mobile/openapi/test/api_keys_api_test.dart
Normal file
75
mobile/openapi/test/api_keys_api_test.dart
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
//
|
||||
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
||||
//
|
||||
// @dart=2.18
|
||||
|
||||
// ignore_for_file: unused_element, unused_import
|
||||
// ignore_for_file: always_put_required_named_parameters_first
|
||||
// ignore_for_file: constant_identifier_names
|
||||
// ignore_for_file: lines_longer_than_80_chars
|
||||
|
||||
import 'package:openapi/api.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
|
||||
/// tests for APIKeysApi
|
||||
void main() {
|
||||
// final instance = APIKeysApi();
|
||||
|
||||
group('tests for APIKeysApi', () {
|
||||
// Create an API key
|
||||
//
|
||||
// Creates a new API key. It will be limited to the permissions specified.
|
||||
//
|
||||
//Future<ApiKeyCreateResponseDto> createApiKey(ApiKeyCreateDto apiKeyCreateDto) async
|
||||
test('test createApiKey', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Delete an API key
|
||||
//
|
||||
// Deletes an API key identified by its ID. The current user must own this API key.
|
||||
//
|
||||
//Future deleteApiKey(String id) async
|
||||
test('test deleteApiKey', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Retrieve an API key
|
||||
//
|
||||
// Retrieve an API key by its ID. The current user must own this API key.
|
||||
//
|
||||
//Future<ApiKeyResponseDto> getApiKey(String id) async
|
||||
test('test getApiKey', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// List all API keys
|
||||
//
|
||||
// Retrieve all API keys of the current user.
|
||||
//
|
||||
//Future<List<ApiKeyResponseDto>> getApiKeys() async
|
||||
test('test getApiKeys', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Retrieve the current API key
|
||||
//
|
||||
// Retrieve the API key that is used to access this endpoint.
|
||||
//
|
||||
//Future<ApiKeyResponseDto> getMyApiKey() async
|
||||
test('test getMyApiKey', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Update an API key
|
||||
//
|
||||
// Updates the name and permissions of an API key by its ID. The current user must own this API key.
|
||||
//
|
||||
//Future<ApiKeyResponseDto> updateApiKey(String id, ApiKeyUpdateDto apiKeyUpdateDto) async
|
||||
test('test updateApiKey', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue