mirror of
https://github.com/immich-app/immich.git
synced 2025-11-01 20:47:41 +09:00
feat: better endpoint descriptions (#20439)
This commit is contained in:
19
mobile/openapi/lib/api/duplicates_api.dart
generated
19
mobile/openapi/lib/api/duplicates_api.dart
generated
@@ -16,7 +16,10 @@ class DuplicatesApi {
|
||||
|
||||
final ApiClient apiClient;
|
||||
|
||||
/// Performs an HTTP 'DELETE /duplicates/{id}' operation and returns the [Response].
|
||||
/// This endpoint requires the `duplicate.delete` permission.
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
///
|
||||
/// Parameters:
|
||||
///
|
||||
/// * [String] id (required):
|
||||
@@ -46,6 +49,8 @@ class DuplicatesApi {
|
||||
);
|
||||
}
|
||||
|
||||
/// This endpoint requires the `duplicate.delete` permission.
|
||||
///
|
||||
/// Parameters:
|
||||
///
|
||||
/// * [String] id (required):
|
||||
@@ -56,7 +61,10 @@ class DuplicatesApi {
|
||||
}
|
||||
}
|
||||
|
||||
/// Performs an HTTP 'DELETE /duplicates' operation and returns the [Response].
|
||||
/// This endpoint requires the `duplicate.delete` permission.
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
///
|
||||
/// Parameters:
|
||||
///
|
||||
/// * [BulkIdsDto] bulkIdsDto (required):
|
||||
@@ -85,6 +93,8 @@ class DuplicatesApi {
|
||||
);
|
||||
}
|
||||
|
||||
/// This endpoint requires the `duplicate.delete` permission.
|
||||
///
|
||||
/// Parameters:
|
||||
///
|
||||
/// * [BulkIdsDto] bulkIdsDto (required):
|
||||
@@ -95,7 +105,9 @@ class DuplicatesApi {
|
||||
}
|
||||
}
|
||||
|
||||
/// Performs an HTTP 'GET /duplicates' operation and returns the [Response].
|
||||
/// This endpoint requires the `duplicate.read` permission.
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
Future<Response> getAssetDuplicatesWithHttpInfo() async {
|
||||
// ignore: prefer_const_declarations
|
||||
final apiPath = r'/duplicates';
|
||||
@@ -121,6 +133,7 @@ class DuplicatesApi {
|
||||
);
|
||||
}
|
||||
|
||||
/// This endpoint requires the `duplicate.read` permission.
|
||||
Future<List<DuplicateResponseDto>?> getAssetDuplicates() async {
|
||||
final response = await getAssetDuplicatesWithHttpInfo();
|
||||
if (response.statusCode >= HttpStatus.badRequest) {
|
||||
|
||||
Reference in New Issue
Block a user