Yurba Docs
Yurba Documentation

Get started

Accounts

Users

Relationships

Dialogs (Messages)

Tracks (MuseBase)

Photos

Posts

Comments

Safety

Other

Yurba CDN (cdn.yurba.one)

POST /photos/upload

Upload photo, returns PhotoModel.

Request headers:

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

Request body:

{ photo: blob, caption: string, mode: string # private (ID < 0), specified any other (ID > 0) }

Errors:

auth_failed: token authorization failed

invalid_file: your file is unreadable or not a jpg

upload_error: error transferring track to database/loading to storage