Like or unlike a post (toggles)

Requires authentication: OAuth 2.1 access token or a vakantio session token (from vakantio login), sent as Authorization: Bearer <token>.

post/like-post

Request

  • Base URL: https://api.vakantio.de
  • URL: https://api.vakantio.de/like-post
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.vakantio.de/authorize, token URL https://api.vakantio.de/token, scopes: vakantio:full)
    • none

Request body

postIdstring required

Response

Updated post

_idstring
titlestring
previewstring
tagsstring[]
topicsstring[]
pathstring

URL slug (assigned at first publish)

fullPathstring

Public URL path: /<blogPath>/<slug>

blogNamestring
likeCountnumber
commentCountnumber
datePublishednumber

Unix ms

dateTravelednumber

Unix ms

Changes

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