younifyd
Menu

Update a video

Update a video

PUT/videos/{videoIdentifier}

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Update a video action (under Videos).
  3. Fill in the fields below, then reference the result from later steps as {{updateAVideo.response.data}}.

Request

Path parameters

videoIdentifierstringrequired

The reference key of the video, use the `key=` prefix (URL-encode `=` as %3D when needed).

Request body

Enter the body as JSON in the step's Body field.

referenceKeystringrequired

A key that uniquely identifies the video within the tenant's ecosystem.

assetUrlstring

Video url path stored in Scayle (`{public_id}.{format}`).

formatstringrequired

The video container format.

One ofmp4mkvavimovwebmwmvflv3gpmpgmpeg

isUploadedboolean

Whether the video has been uploaded.

json
{
  "referenceKey": "my-video",
  "format": "mp4",
  "assetUrl": "videos/my-video.mp4",
  "isUploaded": true
}

Response

Returns 200 with an object. Read it in later steps with {{updateAVideo.response.data.<field>}}.

referenceKeystring

The reference key of the video.

urlstring

The upload URL for the video.

parametersarray<object>

Upload parameters (e.g. public_id, format, signature, api_key).

namestringrequired

Name of the upload parameter.

valueoneOfrequired

Value of the upload parameter (string or number).

json
{
  "referenceKey": "my-video",
  "url": "http://api.video-storage-provider.com/v1_1/scayle/video/upload",
  "parameters": [
    {
      "name": "public_id",
      "value": "my_video"
    }
  ]
}

Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.