feat: endpoint versioning (#23858)

This commit is contained in:
Jason Rasmussen
2025-11-13 08:18:43 -05:00
committed by GitHub
parent e0535e20e6
commit 4a6c50cd81
53 changed files with 4247 additions and 705 deletions

View File

@@ -352,7 +352,7 @@ class AssetsApi {
/// Retrieve assets by device ID
///
/// This property was deprecated in v2.0.0. Get all asset of a device that are in the database, ID only.
/// Get all asset of a device that are in the database, ID only.
///
/// Note: This method returns the HTTP [Response].
///
@@ -387,7 +387,7 @@ class AssetsApi {
/// Retrieve assets by device ID
///
/// This property was deprecated in v2.0.0. Get all asset of a device that are in the database, ID only.
/// Get all asset of a device that are in the database, ID only.
///
/// Parameters:
///
@@ -740,7 +740,7 @@ class AssetsApi {
/// Get random assets
///
/// This property was deprecated in v1.116.0. Retrieve a specified number of random assets for the authenticated user.
/// Retrieve a specified number of random assets for the authenticated user.
///
/// Note: This method returns the HTTP [Response].
///
@@ -778,7 +778,7 @@ class AssetsApi {
/// Get random assets
///
/// This property was deprecated in v1.116.0. Retrieve a specified number of random assets for the authenticated user.
/// Retrieve a specified number of random assets for the authenticated user.
///
/// Parameters:
///
@@ -875,7 +875,7 @@ class AssetsApi {
/// Replace asset
///
/// This property was deprecated in v1.142.0. Replace the asset with new file, without changing its id.
/// Replace the asset with new file, without changing its id.
///
/// Note: This method returns the HTTP [Response].
///
@@ -969,7 +969,7 @@ class AssetsApi {
/// Replace asset
///
/// This property was deprecated in v1.142.0. Replace the asset with new file, without changing its id.
/// Replace the asset with new file, without changing its id.
///
/// Parameters:
///

View File

@@ -18,7 +18,7 @@ class DeprecatedApi {
/// Create a partner
///
/// This property was deprecated in v1.141.0. Create a new partner to share assets with.
/// Create a new partner to share assets with.
///
/// Note: This method returns the HTTP [Response].
///
@@ -53,7 +53,7 @@ class DeprecatedApi {
/// Create a partner
///
/// This property was deprecated in v1.141.0. Create a new partner to share assets with.
/// Create a new partner to share assets with.
///
/// Parameters:
///
@@ -75,7 +75,7 @@ class DeprecatedApi {
/// Retrieve assets by device ID
///
/// This property was deprecated in v2.0.0. Get all asset of a device that are in the database, ID only.
/// Get all asset of a device that are in the database, ID only.
///
/// Note: This method returns the HTTP [Response].
///
@@ -110,7 +110,7 @@ class DeprecatedApi {
/// Retrieve assets by device ID
///
/// This property was deprecated in v2.0.0. Get all asset of a device that are in the database, ID only.
/// Get all asset of a device that are in the database, ID only.
///
/// Parameters:
///
@@ -135,7 +135,7 @@ class DeprecatedApi {
/// Get delta sync for user
///
/// This property was deprecated in v2.0.0. Retrieve changed assets since the last sync for the authenticated user.
/// Retrieve changed assets since the last sync for the authenticated user.
///
/// Note: This method returns the HTTP [Response].
///
@@ -169,7 +169,7 @@ class DeprecatedApi {
/// Get delta sync for user
///
/// This property was deprecated in v2.0.0. Retrieve changed assets since the last sync for the authenticated user.
/// Retrieve changed assets since the last sync for the authenticated user.
///
/// Parameters:
///
@@ -191,7 +191,7 @@ class DeprecatedApi {
/// Get full sync for user
///
/// This property was deprecated in v2.0.0. Retrieve all assets for a full synchronization for the authenticated user.
/// Retrieve all assets for a full synchronization for the authenticated user.
///
/// Note: This method returns the HTTP [Response].
///
@@ -225,7 +225,7 @@ class DeprecatedApi {
/// Get full sync for user
///
/// This property was deprecated in v2.0.0. Retrieve all assets for a full synchronization for the authenticated user.
/// Retrieve all assets for a full synchronization for the authenticated user.
///
/// Parameters:
///
@@ -250,7 +250,7 @@ class DeprecatedApi {
/// Get random assets
///
/// This property was deprecated in v1.116.0. Retrieve a specified number of random assets for the authenticated user.
/// Retrieve a specified number of random assets for the authenticated user.
///
/// Note: This method returns the HTTP [Response].
///
@@ -288,7 +288,7 @@ class DeprecatedApi {
/// Get random assets
///
/// This property was deprecated in v1.116.0. Retrieve a specified number of random assets for the authenticated user.
/// Retrieve a specified number of random assets for the authenticated user.
///
/// Parameters:
///
@@ -313,7 +313,7 @@ class DeprecatedApi {
/// Replace asset
///
/// This property was deprecated in v1.142.0. Replace the asset with new file, without changing its id.
/// Replace the asset with new file, without changing its id.
///
/// Note: This method returns the HTTP [Response].
///
@@ -407,7 +407,7 @@ class DeprecatedApi {
/// Replace asset
///
/// This property was deprecated in v1.142.0. Replace the asset with new file, without changing its id.
/// Replace the asset with new file, without changing its id.
///
/// Parameters:
///

View File

@@ -74,7 +74,7 @@ class PartnersApi {
/// Create a partner
///
/// This property was deprecated in v1.141.0. Create a new partner to share assets with.
/// Create a new partner to share assets with.
///
/// Note: This method returns the HTTP [Response].
///
@@ -109,7 +109,7 @@ class PartnersApi {
/// Create a partner
///
/// This property was deprecated in v1.141.0. Create a new partner to share assets with.
/// Create a new partner to share assets with.
///
/// Parameters:
///

View File

@@ -131,7 +131,6 @@ class SearchApi {
/// * [String] country:
///
/// * [bool] includeNull:
/// This property was added in v111.0.0
///
/// * [String] lensModel:
///
@@ -196,7 +195,6 @@ class SearchApi {
/// * [String] country:
///
/// * [bool] includeNull:
/// This property was added in v111.0.0
///
/// * [String] lensModel:
///

View File

@@ -66,7 +66,7 @@ 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.
/// Retrieve changed assets since the last sync for the authenticated user.
///
/// Note: This method returns the HTTP [Response].
///
@@ -100,7 +100,7 @@ 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.
/// Retrieve changed assets since the last sync for the authenticated user.
///
/// Parameters:
///
@@ -122,7 +122,7 @@ 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.
/// Retrieve all assets for a full synchronization for the authenticated user.
///
/// Note: This method returns the HTTP [Response].
///
@@ -156,7 +156,7 @@ 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.
/// Retrieve all assets for a full synchronization for the authenticated user.
///
/// Parameters:
///

View File

@@ -87,7 +87,6 @@ class AssetResponseDto {
bool isTrashed;
/// This property was deprecated in v1.106.0
String? libraryId;
String? livePhotoVideoId;
@@ -119,7 +118,6 @@ class AssetResponseDto {
List<PersonWithFacesResponseDto> people;
/// This property was deprecated in v1.113.0
///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated

View File

@@ -19,7 +19,6 @@ class PeopleResponseDto {
required this.total,
});
/// This property was added in v1.110.0
///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated

View File

@@ -25,7 +25,6 @@ class PersonResponseDto {
DateTime? birthDate;
/// This property was added in v1.126.0
///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated
@@ -36,7 +35,6 @@ class PersonResponseDto {
String id;
/// This property was added in v1.126.0
///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated
@@ -51,7 +49,6 @@ class PersonResponseDto {
String thumbnailPath;
/// This property was added in v1.107.0
///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated

View File

@@ -26,7 +26,6 @@ class PersonWithFacesResponseDto {
DateTime? birthDate;
/// This property was added in v1.126.0
///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated
@@ -39,7 +38,6 @@ class PersonWithFacesResponseDto {
String id;
/// This property was added in v1.126.0
///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated
@@ -54,7 +52,6 @@ class PersonWithFacesResponseDto {
String thumbnailPath;
/// This property was added in v1.107.0
///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated