ByteChef LogoByteChef
Components

Youtube

Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.

Categories: Helpers

Type: youtube/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeDescriptionRequired
clientIdClient IdSTRINGtrue
clientSecretClient SecretSTRINGtrue

Actions

Upload Video

Name: uploadVideo

Uploads video to Youtube.

Properties

NameLabelTypeDescriptionRequired
fileVideo FileFILE_ENTRYVideo file that will be uploaded.true
titleVideo TitleSTRINGTitle of the video.true
descriptionVideo DescriptionSTRINGDescription of the video.true
tagsVideo TagsARRAY
Items [STRING($tag)]
Tags of the video.false
privacyStatusPrivacy StatusSTRING
Options private, public, unlisted
Privacy status of the video.true
categoryIdVideo Category IDSTRINGtrue

Example JSON Structure

{
  "label" : "Upload Video",
  "name" : "uploadVideo",
  "parameters" : {
    "file" : {
      "extension" : "",
      "mimeType" : "",
      "name" : "",
      "url" : ""
    },
    "title" : "",
    "description" : "",
    "tags" : [ "" ],
    "privacyStatus" : "",
    "categoryId" : ""
  },
  "type" : "youtube/v1/uploadVideo"
}

Output

Type: OBJECT

Properties

NameTypeDescription
publishedAtSTRINGThe date and time when the video was published.
channelIdSTRINGID of the channel where the video was uploaded.
titleSTRINGTitle of the video.
descriptionSTRINGDescription of the video.
thumbnailsOBJECT
Properties {{STRING(url), INTEGER(width), INTEGER(height)}(default), {STRING(url), INTEGER(width), INTEGER(height)}(medium), {STRING(url), INTEGER(width), INTEGER(height)}(high)}
Video thumbnails of different quality.
channelTitleSTRINGTitle of the channel.
tagsARRAY
Items [STRING]
Tags of the video.
categoryIdSTRINGID of the video category.
liveBroadcastContentSTRINGLive broadcasting content.
localizedOBJECT
Properties {STRING(title), STRING(description)}
Localized description of the video.
publishTimeSTRINGThe date and time when the video was published.

Output Example

{
  "publishedAt" : "",
  "channelId" : "",
  "title" : "",
  "description" : "",
  "thumbnails" : {
    "default" : {
      "url" : "",
      "width" : 1,
      "height" : 1
    },
    "medium" : {
      "url" : "",
      "width" : 1,
      "height" : 1
    },
    "high" : {
      "url" : "",
      "width" : 1,
      "height" : 1
    }
  },
  "channelTitle" : "",
  "tags" : [ "" ],
  "categoryId" : "",
  "liveBroadcastContent" : "",
  "localized" : {
    "title" : "",
    "description" : ""
  },
  "publishTime" : ""
}

Triggers

New Video

Name: newVideo

Triggers when new video is added to a specific channel.

Type: POLLING

Properties

NameLabelTypeDescriptionRequired
identifierUsername/Channel HandleSTRINGYoutube username or a channel handle (e.g. @Youtube).true

Output

Type: OBJECT

Properties

NameTypeDescription
publishedAtSTRINGThe date and time when the video was published.
channelIdSTRINGID of the channel where the video was uploaded.
titleSTRINGTitle of the video.
descriptionSTRINGDescription of the video.
thumbnailsOBJECT
Properties {{STRING(url), INTEGER(width), INTEGER(height)}(default), {STRING(url), INTEGER(width), INTEGER(height)}(medium), {STRING(url), INTEGER(width), INTEGER(height)}(high)}
Video thumbnails of different quality.
channelTitleSTRINGTitle of the channel.
liveBroadcastContentSTRINGLive broadcasting content.
publishTimeSTRINGThe date and time when the video was published.

JSON Example

{
  "label" : "New Video",
  "name" : "newVideo",
  "parameters" : {
    "identifier" : ""
  },
  "type" : "youtube/v1/newVideo"
}