Skip to content

Commit 23c636a

Browse files
authored
Clarify documentation of the scan endpoint (#44)
Signed-off-by: Kim Brose <[email protected]> I think there was a copy-paste error here, otherwise this API is missing a way to scan the actual media which I find hard to believe. Signed-off-by: Kim Brose <[email protected]>
1 parent 4f59abc commit 23c636a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ unsuccessful, an error is sent with the reason `MCS_MEDIA_NOT_CLEAN`.
5757

5858
### `GET /_matrix/media_proxy/unstable/scan/{serverName}/{mediaId}`
5959

60-
Downloads a thumbnail of the media at `mxc://{serverName}/{mediaId}`, scans it and
60+
Downloads the media at `mxc://{serverName}/{mediaId}`, scans it and
6161
responds with the result of the scan.
6262

6363
Response format:
@@ -178,4 +178,4 @@ Example (generated using the body and public key from the previous examples):
178178
"ephemeral": "fk2xOTmttnFDTAORxVQTtIlbsu7O01Oe52+umaOjIiE"
179179
}
180180
}
181-
```
181+
```

0 commit comments

Comments
 (0)