mirror of
https://github.com/immich-app/immich.git
synced 2026-05-23 16:12:30 -04:00
chore!: remove getRandom api endpoint (#27780)
* chore!: remove getRandom api endpoint * chore: sync openapi * fix: test * chore: more cleanup
This commit is contained in:
@@ -4050,21 +4050,6 @@ export function updateBulkAssetMetadata({ assetMetadataBulkUpsertDto }: {
|
||||
body: assetMetadataBulkUpsertDto
|
||||
})));
|
||||
}
|
||||
/**
|
||||
* Get random assets
|
||||
*/
|
||||
export function getRandom({ count }: {
|
||||
count?: number;
|
||||
}, opts?: Oazapfts.RequestOpts) {
|
||||
return oazapfts.ok(oazapfts.fetchJson<{
|
||||
status: 200;
|
||||
data: AssetResponseDto[];
|
||||
}>(`/assets/random${QS.query(QS.explode({
|
||||
count
|
||||
}))}`, {
|
||||
...opts
|
||||
}));
|
||||
}
|
||||
/**
|
||||
* Get asset statistics
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user