Yurba Docs
Yurba Documentation

Get started

Accounts

Users

Relationships

Dialogs (Messages)

Tracks (MuseBase)

Photos

Posts

Comments

Safety

Other

Yurba CDN (cdn.yurba.one)

GET /user/{user_tag}/relationships

Returns RelationshipModel.

Request URL params:

user_tag: string

Request headers:

token: string

Response:

{ RelationshipState: string, }

Example:

{ RelationshipState: "strangers" }

Relationship States

strangers - no one follows each other
me_subscribed - you are following this user
he_subscribed - this user is your follower
friends - you follow each other, you're friends

Errors:

auth_failed: token authorization failed

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