Commit Graph

21 Commits

Author SHA1 Message Date
Andrew Morgan
409573f6d0
Fix reference to the wrong symbol in the media admin api docs () 2022-05-12 09:29:37 +01:00
Dirk Klimpel
65ef21b1c7
Clarify that users' media are also preview images () 2022-02-04 14:39:14 +00:00
Dirk Klimpel
0da2301b21
Consolidate the access_token information in the admin api ()
Co-authored-by: reivilibre <olivier@librepush.net>
2022-01-31 16:24:29 +00:00
Dirk Klimpel
7eb198ddc8
Remove not needed old table of contents in documentation () 2022-01-31 14:40:20 +00:00
Aaron R
2c61a318cc
Show error when timestamp in seconds is provided to the /purge_media_cache API () 2021-10-20 14:41:48 +00:00
Dirk Klimpel
915b37e5ef
Admin API to delete media for a specific user () 2021-08-11 19:29:59 +00:00
Richard van der Hoff
189652b2fe
Fix a broken link in the admin api docs ()
* Fix a broken link in the admin api docs

* Rename 10321.doc to 10321.docs

* Rename 10321.docs to 10322.doc
2021-07-07 12:54:57 +01:00
Dirk Klimpel
0adc2882c1
Fix broken links in documentation ()
* Fix broken links in documentation

* newsfile
2021-06-16 13:15:52 +01:00
Andrew Morgan
fd9856e4a9
Compile and render Synapse's docs into a browsable, mobile-friendly and searchable website () 2021-06-03 17:20:40 +01:00
Dirk Klimpel
0284d2a297
Add new admin APIs to remove media by media ID from quarantine. ()
Related to: , , 

Signed-off-by: Dirk Klimpel dirk@klimpel.org
2021-06-02 18:50:35 +01:00
Dirk Klimpel
65e6c64d83
Add an admin API for unprotecting local media from quarantine ()
Signed-off-by: Dirk Klimpel dirk@klimpel.org
2021-05-26 11:19:47 +01:00
Andrew Morgan
e9df3f496b
Link to the List user's media admin API from media Admin API docs ()
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 :)
2021-03-09 15:15:52 +00:00
Patrick Cloke
3e4cdfe5d9
Add an admin API endpoint to protect media. ()
Protecting media stops it from being quarantined when
e.g. all media in a room is quarantined. This is useful
for sticker packs and other media that is uploaded by
server administrators, but used by many people.
2021-01-15 11:18:09 -05:00
Dirk Klimpel
43bf3c5178
Combine related media admin API docs ()
Related: 
Also a few small improvements.

Signed-off-by: Dirk Klimpel dirk@klimpel.org
2020-12-09 16:19:57 +00:00
Dirk Klimpel
b08dc7effe
Clarify documentation of the admin list media API ()
Clarify that the list media API only shows media from unencrypted events.
2020-11-24 09:04:51 -05:00
Dirk Klimpel
49d72dea2a
Add an admin api to delete local media. ()
Related to: , 

Add `DELETE /_synapse/admin/v1/media/<server_name>/<media_id>` to delete
a single file from server.
2020-10-26 17:02:28 +00:00
Richard van der Hoff
1bc00fd76d
Clarifications to the admin api documentation ()
* Clarify how to authenticate
* path params are not the same thing as query params
* Fix documentation for `/_synapse/admin/v2/users/<user_id>`
2020-06-05 17:31:05 +01:00
Andrew Morgan
1177d3f3a3
Quarantine media by ID or user ID () 2020-01-13 18:10:43 +00:00
Richard van der Hoff
620f98b65b
write some docs for the quarantine_media api () 2019-12-03 18:20:39 +00:00
Richard van der Hoff
8e9ca83537 Move admin API to a new prefix 2019-05-01 15:44:30 +01:00
Travis Ralston
3af53c183a Add admin api documentation for list media endpoint
Signed-off-by: Travis Ralston <travpc@gmail.com>
2018-01-31 08:15:59 -07:00