common
v1
GET /api/v1/common/media/{path}/
If directory: action: None: - list directory action: download - list directory (TODO - download directory) action: info: - dict(info about directory) If file: action: None: - show file action: download - download file action: info: - dict(info about directory)
:param request: :param path: str - relative path in /media directory
:query param action: optional str ["download", "info"] :return:
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
pathstring required
Query parameters
action'info' | 'download'
Action name
Response
object required
Changes
No recorded changes to this operation across all 5 revisions of this API.