Yurba Docs
Yurba Documentation

Get started

Accounts

Users

Relationships

Dialogs (Messages)

Tracks (MuseBase)

Photos

Posts

Comments

Safety

Other

Yurba CDN (cdn.yurba.one)

PATCH /user/{user_tag}/subscribe

Returns RelationshipModel. Subscribes/unsubscribes from the user.

Request URL params:

user_tag: string

Request headers:

token: string

Response:

{ RelationshipState: string, }

Example:

{ RelationshipState: "me_subscribed" }

Errors:

auth_failed: token authorization failed

too_many_subscribes: you have reached your subscription limit

invalid_user: your user is missing from the database or cannot be read