Adding listAllMedia.

This commit is contained in:
Dessalines 2024-03-14 12:26:28 -04:00
parent 7afb26a005
commit 121f30f0f7

View file

@ -305,6 +305,19 @@ export class LemmyHttp {
);
}
/**
* List all the media known to your instance.
*
* `HTTP.GET /admin/list_all_media`
*/
listAllMedia(form: ListMedia) {
return this.#wrapper<ListMedia, ListMediaResponse>(
HttpType.Get,
"/admin/list_all_media",
form,
);
}
/**
* Enable / Disable TOTP / two-factor authentication.
*