Download file
Downloads a file by its path.
Use imagePath for image files and videoPath for video files.
Query Parameters
- imagePath string
Image file path
Example: button-call-default.png - videoPath string
Video file path
Example: ads-resource.mp4
Responses
- 200
- 400
- 401
- 404
File content
- image/png
- image/jpeg
- image/webp
- video/mp4
- application/octet-stream
- Schema
Schema
- string binary
- Schema
Schema
- string binary
- Schema
Schema
- string binary
- Schema
Schema
- string binary
- Schema
Schema
- string binary
Wrong file path
- application/json
- Schema
- Example (from schema)
- Wrong path
Schema
- error string
Error message
{
"error": "Wrong JSON body"
}
{
"error": "Wrong file path"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error message
{
"error": "Log In"
}
{
"error": "Log In"
}
File not found
Loading...