Change video
Changed onChanges parameters of the video to new values.
It's allowed to update only those public parameters that are described in POST method to create a new “video” entity. So it's not possible to change calculated parameters like "id", "duration", "hls_url", etc.
Examples of changing:
- Name: { "name": "new name of the video" }
- Move the video to a new directory: { "directory_id": 200 }
Please note that some parameters are used on initial step (before transcoding) only, so after transcoding there is no use in changing their values. For example, "origin_url" parameter is used for downloading an original file from a source and never used after transcoding; or "priority" parameter is used to set priority of processing and never used after transcoding.
Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/streaming/videos/{video_id}
- AuthHTTP apikey
Path parameters
ID of the video to get
Request body
Example request
{
"name": "IBC 2026 - International Broadcasting Convention",
"description": "We look forward to welcoming you at IBC2026, which will take place 11-14 September 2026.",
"origin_url": "https://www.googleapis.com/drive/v3/files/...?alt=media",
"origin_http_headers": "Authorization: Bearer ...",
"priority": 0,
"clip_start_seconds": 137,
"clip_duration_seconds": 60,
"directory_id": 800,
"projection": "regular",
"client_user_id": 10,
"stream_id": 1,
"poster": "data:image/jpeg;base64,/9j/4AA...qf/2Q==",
"screenshot_id": -1,
"auto_transcribe_audio_language": "auto"
}Response
Successful
Example response
{
"id": 70575,
"name": "Coffee Run - Blender Open Movie 720p",
"iframe_url": "https://player.gvideo.co/videos/2675_FnlHXwA16ZMxmUr",
"sprite": "https://static.gvideo.co/videoplatform/sprites/2675/10507272_sNOwd4luk5mGGf9M.mp4_sprite.jpg",
"sprite_vtt": "WEBVTT\n\n1\n00:00:00,000 --> 00:00:05,000\nxMbWbUSuvJ8NX2_sprite.jpg#xywh=0,0,100,42\n\n2\n00:00:05,000 --> 00:00:10,000\nxMbWbUSuvJ8NX2_sprite.jpg#xywh=100,0,100,42\n...\n"
}Changes
- breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added
subschema #2to the response bodyallOflist for the response status
- breaking