chore!: remove getRandom api endpoint (#27780)

* chore!: remove getRandom api endpoint

* chore: sync openapi

* fix: test

* chore: more cleanup
This commit is contained in:
Brandon Wees
2026-04-14 20:32:12 -05:00
committed by GitHub
parent 41d2d84b21
commit 6da2d3d587
13 changed files with 2 additions and 357 deletions
-63
View File
@@ -3363,69 +3363,6 @@
"x-immich-state": "Beta"
}
},
"/assets/random": {
"get": {
"deprecated": true,
"description": "Retrieve a specified number of random assets for the authenticated user.",
"operationId": "getRandom",
"parameters": [
{
"name": "count",
"required": false,
"in": "query",
"description": "Number of random assets to return",
"schema": {
"minimum": 1,
"type": "number"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"items": {
"$ref": "#/components/schemas/AssetResponseDto"
},
"type": "array"
}
}
},
"description": ""
}
},
"security": [
{
"bearer": []
},
{
"cookie": []
},
{
"api_key": []
}
],
"summary": "Get random assets",
"tags": [
"Assets",
"Deprecated"
],
"x-immich-history": [
{
"version": "v1",
"state": "Added"
},
{
"version": "v1",
"state": "Deprecated",
"replacementId": "searchAssets"
}
],
"x-immich-permission": "asset.read",
"x-immich-state": "Deprecated"
}
},
"/assets/statistics": {
"get": {
"description": "Retrieve various statistics about the assets owned by the authenticated user.",