Skip to content
Snippets Groups Projects
Commit 3af53c18 authored by Travis Ralston's avatar Travis Ralston
Browse files

Add admin api documentation for list media endpoint


Signed-off-by: default avatarTravis Ralston <travpc@gmail.com>
parent 63c43839
No related branches found
No related tags found
No related merge requests found
# List all media in a room
This API gets a list of known media in a room.
The API is:
```
GET /_matrix/client/r0/admin/room/<room_id>/media
```
including an `access_token` of a server admin.
It returns a JSON body like the following:
```
{
"local": [
"mxc://localhost/xwvutsrqponmlkjihgfedcba",
"mxc://localhost/abcdefghijklmnopqrstuvwx"
],
"remote": [
"mxc://matrix.org/xwvutsrqponmlkjihgfedcba",
"mxc://matrix.org/abcdefghijklmnopqrstuvwx"
]
}
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment