Path parameters

  • video integer Required

    The video id

application/json

Body

  • state integer

    State of the video chat

    Values are 0, 1, 2, or 3.

Responses

  • 200 application/json

    Return the updated video

    Hide response attributes Show response attributes object
    • id_video integer
    • date_insert string(date-time)
    • date_update string(date-time)
    • date_delete string(date-time)
    • id_blob string
    • state integer

      Values are 0, 1, 2, or 3.

  • 403

    Forbidden - You don't have permission to access this route

  • 404

    Not found - The video does not exist

PATCH /video-encoder/videos/{video}
curl \
 --request PATCH 'https://domain.tld/api/v2/video-encoder/videos/{video}' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"state":0}'
Request examples
{
  "state": 0
}
Response examples (200)
{
  "id_video": 1,
  "date_insert": "2023-10-09T12:12:40.220000Z",
  "date_update": "2023-10-09T12:12:40.220000Z",
  "date_delete": "2023-10-09T12:12:40.220000Z",
  "id_blob": "f0dab429-ae29-4e26-b6ea-138d351831eb",
  "state": 0
}