CMS Tool API schema
Public API version 1.4.10.
/api/files/{filePath}
Read, upload, and download website files.
Response types
| Name |
|---|
application/json |
application/octet-stream |
GET
Read file information or list a directory.
Query parameters
| Name | Type | Example | Notes |
|---|---|---|---|
filePath | text | /images/112136/example.jpg | Select the website file or directory path. |
POST
Upload a multipart file using uploadFile, or send a raw file body with its target filePath.
Query parameters
| Name | Type | Example | Notes |
|---|---|---|---|
filePath | text | /images/112136/example.jpg | Select the website file or directory path. |
fileName | text | example.jpg | Filter results by file name. |
uploadFile | text | example.jpg | Filter results by upload file. |
Machine-readable documentation
This documentation is also available as JSON or Markdown at the same URL. Request JSON with Accept: application/json or Markdown with Accept: text/markdown.