Yurba Docs
Yurba Documentation

Get started

Accounts

Users

Relationships

Dialogs (Messages)

Tracks (MuseBase)

Photos

Posts

Comments

Safety

Other

Yurba CDN (cdn.yurba.one)

POST /register

Submit a registration request, confirmation will be sent to the specified email.

Request headers:

"Content-Type: application/json"

Request body:

{ name: string, surname: string, email: string, password: string }

Response:

{ ok: int }

Example:

{ ok: 1 }

Errors:

name_is_too_short: name < 3 symbols

password_is_too_short: password < 6 symbols

too_many_attempts: too many register attempts, no more than 5 times per 5 minutes

invalid_password: password encryption error

email_service_error: error when sending email