mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 09:12:57 +02:00
feat: view album shared links (#15943)
This commit is contained in:
parent
c5360e78c5
commit
61b8eb85b5
13 changed files with 144 additions and 51 deletions
open-api/typescript-sdk/src
|
@ -2762,11 +2762,15 @@ export function deleteSession({ id }: {
|
|||
method: "DELETE"
|
||||
}));
|
||||
}
|
||||
export function getAllSharedLinks(opts?: Oazapfts.RequestOpts) {
|
||||
export function getAllSharedLinks({ albumId }: {
|
||||
albumId?: string;
|
||||
}, opts?: Oazapfts.RequestOpts) {
|
||||
return oazapfts.ok(oazapfts.fetchJson<{
|
||||
status: 200;
|
||||
data: SharedLinkResponseDto[];
|
||||
}>("/shared-links", {
|
||||
}>(`/shared-links${QS.query(QS.explode({
|
||||
albumId
|
||||
}))}`, {
|
||||
...opts
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue