Tracks Owner
Create a track with MP3 file upload. Allowed file extensions: mp3, max size: 1 MB
post/playlists/tracks/upload
Request
- Base URL: https://musicfun.it-incubator.app/api/1.0
- URL: https://musicfun.it-incubator.app/api/1.0/playlists/tracks/upload
- Auth: one of:
- HTTP basic
- HTTP bearer
- HTTP bearer
- API key in header api-key
Response
OK: Track created successfully
Example response
{
"data": {
"type": "tracks",
"attributes": {
"attachments": [
{
"url": "https://cdn.example.com/uploads/track123/cover.jpg",
"contentType": "image/jpeg",
"originalName": "cover.jpg",
"fileSize": 34872
}
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.