Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Link to the List user's media admin API from media Admin API docs #9571

Merged
merged 3 commits into from
Mar 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/9571.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Link to the "List user's media" admin API from the media admin API docs.
16 changes: 14 additions & 2 deletions docs/admin_api/media_admin_api.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Contents
- [List all media in a room](#list-all-media-in-a-room)
- [Querying media](#querying-media)
* [List all media in a room](#list-all-media-in-a-room)
* [List all media uploaded by a user](#list-all-media-uploaded-by-a-user)
- [Quarantine media](#quarantine-media)
* [Quarantining media by ID](#quarantining-media-by-id)
* [Quarantining media in a room](#quarantining-media-in-a-room)
Expand All @@ -10,7 +12,11 @@
* [Delete local media by date or size](#delete-local-media-by-date-or-size)
- [Purge Remote Media API](#purge-remote-media-api)

# List all media in a room
# Querying media

These APIs allow extracting media information from the homeserver.

## List all media in a room

This API gets a list of known media in a room.
However, it only shows media from unencrypted events or rooms.
Expand All @@ -36,6 +42,12 @@ The API returns a JSON body like the following:
}
```

## List all media uploaded by a user

Listing all media that has been uploaded by a local user can be achieved through
the use of the [List media of a user](user_admin_api.rst#list-media-of-a-user)
Admin API.

# Quarantine media

Quarantining media means that it is marked as inaccessible by users. It applies
Expand Down