Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Bulk update videos

Updates up to 20 videos in a single request. Each item includes a video id and its own patch fields. Returns arrays of successfully updated video ids and failed updates. Deprecated: use PATCH /api/v2/{team_slug}/{app_slug}/dam/videos instead.

PATCH/api/v1/{team_slug}/{app_slug}/videos/bulkdeprecated
Authorization
AuthorizationBearer token · headerrequired

Management API token, sent as Authorization: Bearer <token>.

Path parameters
team_slugstringrequired

Team slug

app_slugstringrequired

App slug

Request body
requiredapplication/json

Video patch items

videosinternal_pkg_webserver_v1.BulkPatchVideoItem[]required
min items 1 · max items 20
Show properties
Array of internal_pkg_webserver_v1.BulkPatchVideoItem
descriptionstring
idstringrequired
publicboolean
statusstring
Allowed:activeinactive
titlestring
min length 1
translationsinternal_pkg_webserver_v1.UpdateVideoTranslations
Show properties
descriptioninternal_pkg_webserver_v1.VideoTranslationValue[]
Show properties
Array of internal_pkg_webserver_v1.VideoTranslationValue
localestringrequired
valuestring
titleinternal_pkg_webserver_v1.VideoTranslationValue[]
Responses
200

Videos updated successfully

datainternal_pkg_webserver_v1.BulkUpdateVideosResponserequired
Show properties
failedinternal_pkg_webserver_v1.BulkPatchFailedUpdate[] | null
Show properties
Array of internal_pkg_webserver_v1.BulkPatchFailedUpdate
idstring
reasonstring
successfulstring[] | null
detailsstring[]

Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes

successbooleanrequired
400

Invalid request

detailsstring[]
messagestring
successbooleanrequired
401

Unauthorized access

detailsstring[]
messagestring
successbooleanrequired
500

Internal server error

detailsstring[]
messagestring
successbooleanrequired
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PATCH 'https://api.enad.io/api/v1/string/string/videos/bulk' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "videos": [
    {
      "description": "string",
      "id": "string",
      "public": true,
      "status": "active",
      "title": "string",
      "translations": {
        "description": [
          {
            "locale": "string",
            "value": "string"
          }
        ],
        "title": [
          {
            "locale": "string",
            "value": "string"
          }
        ]
      }
    }
  ]
}'
Response
{
  "data": {
    "failed": [
      {
        "id": "string",
        "reason": "string"
      }
    ],
    "successful": [
      "string"
    ]
  },
  "details": [
    "string"
  ],
  "success": true
}