Video

Add a like to a video.

The player who likes is automatically retrieve thanks to the JWT. A player can like a video only once.

post/videos/{id}/like

Request

  • Base URL: https://api.spash.com
  • URL: https://api.spash.com/videos/{id}/like
  • Auth: one of:
    • API key in header Authorization
    • HTTP bearer

Path parameters

idstring required

Video identifier

Request body

namestring
imageUrlstring nullable
scope'private_owner' | 'private_team' | 'public'

Who is able to see the video? private_owner: Only the owner, private_team: Only the players in the same team as the owner, public: Everyone.

articlesstring[]

Example request

{
  "scope": "public",
  "articles": [
    "https://example.com/"
  ]
}

Changes

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