mirror of
https://github.com/immich-app/immich.git
synced 2025-12-27 05:03:58 -08:00
chore: remove deprecated endpoint (#13190)
This commit is contained in:
@@ -4030,57 +4030,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/people/{id}/assets": {
|
||||
"get": {
|
||||
"deprecated": true,
|
||||
"description": "This property was deprecated in v1.113.0",
|
||||
"operationId": "getPersonAssets",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"format": "uuid",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/AssetResponseDto"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": ""
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"bearer": []
|
||||
},
|
||||
{
|
||||
"cookie": []
|
||||
},
|
||||
{
|
||||
"api_key": []
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"People",
|
||||
"Deprecated"
|
||||
],
|
||||
"x-immich-lifecycle": {
|
||||
"deprecatedAt": "v1.113.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"/people/{id}/merge": {
|
||||
"post": {
|
||||
"operationId": "mergePerson",
|
||||
|
||||
@@ -2384,19 +2384,6 @@ export function updatePerson({ id, personUpdateDto }: {
|
||||
body: personUpdateDto
|
||||
})));
|
||||
}
|
||||
/**
|
||||
* This property was deprecated in v1.113.0
|
||||
*/
|
||||
export function getPersonAssets({ id }: {
|
||||
id: string;
|
||||
}, opts?: Oazapfts.RequestOpts) {
|
||||
return oazapfts.ok(oazapfts.fetchJson<{
|
||||
status: 200;
|
||||
data: AssetResponseDto[];
|
||||
}>(`/people/${encodeURIComponent(id)}/assets`, {
|
||||
...opts
|
||||
}));
|
||||
}
|
||||
export function mergePerson({ id, mergePersonDto }: {
|
||||
id: string;
|
||||
mergePersonDto: MergePersonDto;
|
||||
|
||||
Reference in New Issue
Block a user