diff --git a/develop/admin_api/media_admin_api.html b/develop/admin_api/media_admin_api.html index aef1682ede..d632429210 100644 --- a/develop/admin_api/media_admin_api.html +++ b/develop/admin_api/media_admin_api.html @@ -184,6 +184,8 @@

Querying media

These APIs allow extracting media information from the homeserver.

+

Details about the format of the media_id and storage of the media in the file system +are documented under media repository.

To use it, you will need to authenticate by providing an access_token for a server admin: see Admin API.

List all media in a room

diff --git a/develop/admin_api/user_admin_api.html b/develop/admin_api/user_admin_api.html index d22366845d..952fed601c 100644 --- a/develop/admin_api/user_admin_api.html +++ b/develop/admin_api/user_admin_api.html @@ -655,7 +655,11 @@ member are returned.

User media

List media uploaded by a user

Gets a list of all local media that a specific user_id has created. -By default, the response is ordered by descending creation date and ascending media ID. +These are media that the user has uploaded themselves +(local media), as well as +URL preview images requested by the user if the +feature is enabled.

+

By default, the response is ordered by descending creation date and ascending media ID. The newest media is on top. You can change the order with parameters order_by and dir.

The API is:

@@ -749,7 +753,9 @@ Media objects contain the following fields:

Querying media

These APIs allow extracting media information from the homeserver.

+

Details about the format of the media_id and storage of the media in the file system +are documented under media repository.

To use it, you will need to authenticate by providing an access_token for a server admin: see Admin API.

List all media in a room

@@ -11427,7 +11429,11 @@ member are returned.

User media

List media uploaded by a user

Gets a list of all local media that a specific user_id has created. -By default, the response is ordered by descending creation date and ascending media ID. +These are media that the user has uploaded themselves +(local media), as well as +URL preview images requested by the user if the +feature is enabled.

+

By default, the response is ordered by descending creation date and ascending media ID. The newest media is on top. You can change the order with parameters order_by and dir.

The API is:

@@ -11521,7 +11527,9 @@ Media objects contain the following fields: