Yurba Docs
Yurba Documentation

Get started

Accounts

Users

Relationships

Dialogs (Messages)

Tracks (MuseBase)

Photos

Posts

Comments

Safety

Other

Yurba CDN (cdn.yurba.one)

POST /musebase/upload

Upload track, returns TrackModel.

Request headers:

"Content-Type: multipart/form-data" token: string

Request body:

{ audio: blob, name: string, author: string, release: string, cover: int, mode: string # private (ID < 0), specified any other (ID > 0) }

Errors:

auth_failed: token authorization failed

invalid_file: your audio isn't in mp3 format

invalid_content: your file is unreadable or not an mp3

upload_error: error transferring track to database/loading to storage