Skip to content
Navigation

Like or unlike a post

Puts the post in Disukai, or takes it out. Needs the videos:create permission.

POST
https://app.mosio.me/v1/discover/posts/{id}/like

Authorization

  • apiKeyAPI key in headerrequired

Path parameters

  • idstringrequired

Returns

200

Whether it is liked now.

JSON
  • likedbooleanrequired

401

The API key is missing or not valid.
JSON
  • errorunauthorizedorinvalid_api_keyorinsufficient_scopeorforbiddenorinvalid_inputorinvalid_composition+8 morerequired

    A stable error code.

  • messagestringrequired

    A message for people, in Indonesian.

  • detailsoptionalunknown

    More about the error, such as the fields to fix.

404

No such video or file in this workspace.
JSON
  • errorunauthorizedorinvalid_api_keyorinsufficient_scopeorforbiddenorinvalid_inputorinvalid_composition+8 morerequired

    A stable error code.

  • messagestringrequired

    A message for people, in Indonesian.

  • detailsoptionalunknown

    More about the error, such as the fields to fix.

Type to search…

↑↓ navigate↵ selectEsc close