Create a new media
- multipart/form-data
Request Body required
Upload a media file. Content type multipart/form-data required. Audio file format accepted: wav|wma|mp3|m4a|aac
- file binary required
- name string
Possible values:
<= 60 characters
Responses
- 200
- 400
- application/json
- Schema
- Example (from schema)
Schema
- id integer
- name string
Media filename
- file string
Media filename with timestamp formatted as 'YmdHis'
{
"id": 1,
"name": "intro weekends",
"file": "20220801123045_208dea9bbdcc087a95aa6c6f01d9e734.mp3"
}
Validation error in request, details can be found in the body of the response