mirror of
https://git.vectorsigma.ru/public/immich.git
synced 2026-07-29 00:38:12 +00:00
feat: shared link edit (#24783)
This commit is contained in:
@@ -10381,6 +10381,21 @@
|
||||
"format": "uuid",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "id",
|
||||
"required": false,
|
||||
"in": "query",
|
||||
"x-immich-history": [
|
||||
{
|
||||
"version": "v2.5.0",
|
||||
"state": "Added"
|
||||
}
|
||||
],
|
||||
"schema": {
|
||||
"format": "uuid",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
||||
@@ -4218,14 +4218,16 @@ export function lockSession({ id }: {
|
||||
/**
|
||||
* Retrieve all shared links
|
||||
*/
|
||||
export function getAllSharedLinks({ albumId }: {
|
||||
export function getAllSharedLinks({ albumId, id }: {
|
||||
albumId?: string;
|
||||
id?: string;
|
||||
}, opts?: Oazapfts.RequestOpts) {
|
||||
return oazapfts.ok(oazapfts.fetchJson<{
|
||||
status: 200;
|
||||
data: SharedLinkResponseDto[];
|
||||
}>(`/shared-links${QS.query(QS.explode({
|
||||
albumId
|
||||
albumId,
|
||||
id
|
||||
}))}`, {
|
||||
...opts
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user