mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Link to the List user's media admin API from media Admin API docs (#9571)
Earlier [I was convinced](https://github.com/matrix-org/synapse/issues/9565) that we didn't have an Admin API for listing media uploaded by a user. Foolishly I was looking under the Media Admin API documentation, instead of the User Admin API documentation. I thought it'd be helpful to link to the latter so others don't hit the same dead end :)
This commit is contained in:
parent
eaada74075
commit
e9df3f496b
1
changelog.d/9571.doc
Normal file
1
changelog.d/9571.doc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Link to the "List user's media" admin API from the media admin API docs.
|
@ -1,5 +1,7 @@
|
|||||||
# Contents
|
# 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)
|
- [Quarantine media](#quarantine-media)
|
||||||
* [Quarantining media by ID](#quarantining-media-by-id)
|
* [Quarantining media by ID](#quarantining-media-by-id)
|
||||||
* [Quarantining media in a room](#quarantining-media-in-a-room)
|
* [Quarantining media in a room](#quarantining-media-in-a-room)
|
||||||
@ -10,7 +12,11 @@
|
|||||||
* [Delete local media by date or size](#delete-local-media-by-date-or-size)
|
* [Delete local media by date or size](#delete-local-media-by-date-or-size)
|
||||||
- [Purge Remote Media API](#purge-remote-media-api)
|
- [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.
|
This API gets a list of known media in a room.
|
||||||
However, it only shows media from unencrypted events or rooms.
|
However, it only shows media from unencrypted events or rooms.
|
||||||
@ -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
|
# Quarantine media
|
||||||
|
|
||||||
Quarantining media means that it is marked as inaccessible by users. It applies
|
Quarantining media means that it is marked as inaccessible by users. It applies
|
||||||
|
Loading…
Reference in New Issue
Block a user