Yurba Docs
Yurba Documentation

Get started

Accounts

Users

Relationships

Dialogs (Messages)

Tracks (MuseBase)

Photos

Posts

Comments

Safety

Other

Yurba CDN (cdn.yurba.one)

PATCH /posts/{post_id}

Edit post, returns bool.

Request URL params:

post_id: int

Request headers:

"Content-Type: application/json" token: string

Request body:

{ content: string }

Response:

{ ok: bool }

Example:

{ ok: 1 }

Errors:

auth_failed: token authorization failed

too_many_characters: you have reached the content length limit

access_denied: you aren't the author of the post