Documentation Index
Fetch the complete documentation index at: https://docs.dubformer.ai/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint allows you to update various properties of a video in a project: name, translation languages, processing type, status, and remark.
Path Parameters
The unique identifier of the project.
The unique identifier of the video to update.
Request Body
New translation languages for the video.
New processing type for the video.
New status for the video.
New remark for the video.
curl -X PATCH \
https://studio.dubformer.ai/api/projects/PROJECT_ID/videos/VIDEO_ID \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"name": "New video name",
"dstLangs": ["en", "fr"],
"processingType": "standard",
"status": "in_progress",
"remark": "Updated video description"
}'
Response
The unique identifier of the video.
The processing type of the video.
The source language of the video.
The translation languages of the video.
The URL of the video file.
The remark for the video.
{
"id": "vid_7a92c36d4fe3c",
"name": "New video name",
"status": "in_progress",
"processingType": "standard",
"srcLang": "ru",
"dstLangs": ["en", "fr"],
"videoUrl": "https://...",
"remark": "Updated video description",
"createdAt": "2024-06-01T12:00:00.000Z",
"updatedAt": "2024-06-01T12:34:56.000Z"
}
{
"error": "No valid fields to update"
}
Notes
- You can update one or several fields in a single request
- The video must exist and belong to a project that you have access to
- The response format matches the get-project-video endpoint