summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2022-05-12 09:29:37 +0100
committerGitHub <noreply@github.com>2022-05-12 09:29:37 +0100
commit409573f6d0f146db2a55914cb7b65a0a95f6fde5 (patch)
treee611f5037e6acbfbe8c69febfb51685f79a1755c
parentEnable cancellation of `GET /members` and `GET /state` requests (#12708) (diff)
downloadsynapse-409573f6d0f146db2a55914cb7b65a0a95f6fde5.tar.xz
Fix reference to the wrong symbol in the media admin api docs (#12715)
-rw-r--r--changelog.d/12715.doc1
-rw-r--r--docs/admin_api/media_admin_api.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/12715.doc b/changelog.d/12715.doc
new file mode 100644
index 0000000000..150d78c3f6
--- /dev/null
+++ b/changelog.d/12715.doc
@@ -0,0 +1 @@
+Fix a typo in the Media Admin API documentation.
diff --git a/docs/admin_api/media_admin_api.md b/docs/admin_api/media_admin_api.md
index 96b3668f2a..d57c5aedae 100644
--- a/docs/admin_api/media_admin_api.md
+++ b/docs/admin_api/media_admin_api.md
@@ -289,7 +289,7 @@ POST /_synapse/admin/v1/purge_media_cache?before_ts=<unix_timestamp_in_ms>
 
 URL Parameters
 
-* `unix_timestamp_in_ms`: string representing a positive integer - Unix timestamp in milliseconds.
+* `before_ts`: string representing a positive integer - Unix timestamp in milliseconds.
 All cached media that was last accessed before this timestamp will be removed.
 
 Response: