mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat: endpoint descriptions (#23813)
This commit is contained in:
parent
896665bca9
commit
edde0f93ae
76 changed files with 4193 additions and 1663 deletions
54
mobile/openapi/lib/api/sync_api.dart
generated
54
mobile/openapi/lib/api/sync_api.dart
generated
|
|
@ -16,7 +16,9 @@ class SyncApi {
|
|||
|
||||
final ApiClient apiClient;
|
||||
|
||||
/// This endpoint requires the `syncCheckpoint.delete` permission.
|
||||
/// Delete acknowledgements
|
||||
///
|
||||
/// Delete specific synchronization acknowledgments.
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
///
|
||||
|
|
@ -48,7 +50,9 @@ class SyncApi {
|
|||
);
|
||||
}
|
||||
|
||||
/// This endpoint requires the `syncCheckpoint.delete` permission.
|
||||
/// Delete acknowledgements
|
||||
///
|
||||
/// Delete specific synchronization acknowledgments.
|
||||
///
|
||||
/// Parameters:
|
||||
///
|
||||
|
|
@ -60,7 +64,12 @@ class SyncApi {
|
|||
}
|
||||
}
|
||||
|
||||
/// Performs an HTTP 'POST /sync/delta-sync' operation and returns the [Response].
|
||||
/// Get delta sync for user
|
||||
///
|
||||
/// This property was deprecated in v2.0.0. Retrieve changed assets since the last sync for the authenticated user.
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
///
|
||||
/// Parameters:
|
||||
///
|
||||
/// * [AssetDeltaSyncDto] assetDeltaSyncDto (required):
|
||||
|
|
@ -89,6 +98,10 @@ class SyncApi {
|
|||
);
|
||||
}
|
||||
|
||||
/// Get delta sync for user
|
||||
///
|
||||
/// This property was deprecated in v2.0.0. Retrieve changed assets since the last sync for the authenticated user.
|
||||
///
|
||||
/// Parameters:
|
||||
///
|
||||
/// * [AssetDeltaSyncDto] assetDeltaSyncDto (required):
|
||||
|
|
@ -107,7 +120,12 @@ class SyncApi {
|
|||
return null;
|
||||
}
|
||||
|
||||
/// Performs an HTTP 'POST /sync/full-sync' operation and returns the [Response].
|
||||
/// Get full sync for user
|
||||
///
|
||||
/// This property was deprecated in v2.0.0. Retrieve all assets for a full synchronization for the authenticated user.
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
///
|
||||
/// Parameters:
|
||||
///
|
||||
/// * [AssetFullSyncDto] assetFullSyncDto (required):
|
||||
|
|
@ -136,6 +154,10 @@ class SyncApi {
|
|||
);
|
||||
}
|
||||
|
||||
/// Get full sync for user
|
||||
///
|
||||
/// This property was deprecated in v2.0.0. Retrieve all assets for a full synchronization for the authenticated user.
|
||||
///
|
||||
/// Parameters:
|
||||
///
|
||||
/// * [AssetFullSyncDto] assetFullSyncDto (required):
|
||||
|
|
@ -157,7 +179,9 @@ class SyncApi {
|
|||
return null;
|
||||
}
|
||||
|
||||
/// This endpoint requires the `syncCheckpoint.read` permission.
|
||||
/// Retrieve acknowledgements
|
||||
///
|
||||
/// Retrieve the synchronization acknowledgments for the current session.
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
Future<Response> getSyncAckWithHttpInfo() async {
|
||||
|
|
@ -185,7 +209,9 @@ class SyncApi {
|
|||
);
|
||||
}
|
||||
|
||||
/// This endpoint requires the `syncCheckpoint.read` permission.
|
||||
/// Retrieve acknowledgements
|
||||
///
|
||||
/// Retrieve the synchronization acknowledgments for the current session.
|
||||
Future<List<SyncAckDto>?> getSyncAck() async {
|
||||
final response = await getSyncAckWithHttpInfo();
|
||||
if (response.statusCode >= HttpStatus.badRequest) {
|
||||
|
|
@ -204,7 +230,9 @@ class SyncApi {
|
|||
return null;
|
||||
}
|
||||
|
||||
/// This endpoint requires the `sync.stream` permission.
|
||||
/// Stream sync changes
|
||||
///
|
||||
/// Retrieve a JSON lines streamed response of changes for synchronization. This endpoint is used by the mobile app to efficiently stay up to date with changes.
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
///
|
||||
|
|
@ -236,7 +264,9 @@ class SyncApi {
|
|||
);
|
||||
}
|
||||
|
||||
/// This endpoint requires the `sync.stream` permission.
|
||||
/// Stream sync changes
|
||||
///
|
||||
/// Retrieve a JSON lines streamed response of changes for synchronization. This endpoint is used by the mobile app to efficiently stay up to date with changes.
|
||||
///
|
||||
/// Parameters:
|
||||
///
|
||||
|
|
@ -248,7 +278,9 @@ class SyncApi {
|
|||
}
|
||||
}
|
||||
|
||||
/// This endpoint requires the `syncCheckpoint.update` permission.
|
||||
/// Acknowledge changes
|
||||
///
|
||||
/// Send a list of synchronization acknowledgements to confirm that the latest changes have been received.
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
///
|
||||
|
|
@ -280,7 +312,9 @@ class SyncApi {
|
|||
);
|
||||
}
|
||||
|
||||
/// This endpoint requires the `syncCheckpoint.update` permission.
|
||||
/// Acknowledge changes
|
||||
///
|
||||
/// Send a list of synchronization acknowledgements to confirm that the latest changes have been received.
|
||||
///
|
||||
/// Parameters:
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue