Posts

Edit post

Edit post. Only post-owner or admin can edit post.

patch/posts/{id}

Request

  • Base URL: https://api.yani.tv
  • URL: https://api.yani.tv/posts/{id}
  • Auth: none declared

Path parameters

idinteger required

Post ID

Request body

status'published' | 'checking' | 'rejected'

Post status (changeable only by newser)

language'en' | 'ru'

Post language

category1 | 2 | 3 | 4

Post category

anime_idsinteger[]

Anime IDs

titlestring

Post title

textstring

Post text (html)

Response

Success response

responseboolean

Example response

{
  "response": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.