v1

latestOpenAPI 3.0.0AGPLv3.02026-07-14186117194.3 KB
Video

Set watching progress of a video

This endpoint has been deprecated. Use /videos/{id}/views instead

put/api/v1/videos/{id}/watching

Path parameters

integer required
OR
string uuid required
OR
string required

translation of a uuid v4 with a bigger alphabet to have a shorter uuid

Example:42

The object id, uuid or short uuid

Request body

currentTimeinteger required

timestamp within the video, in seconds

viewEvent'seek'

Event since last viewing call:

  • seek - If the user seeked the video

Example request

{
  "currentTime": 5
}

Response

successful operation