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
Name | Label | Type | Description | Required |
---|---|---|---|---|
clientId | Client Id | STRING | true | |
clientSecret | Client Secret | STRING | true |
Actions
Upload Video
Name: uploadVideo
Uploads video to Youtube.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
file | Video File | FILE_ENTRY | Video file that will be uploaded. | true |
title | Video Title | STRING | Title of the video. | true |
description | Video Description | STRING | Description of the video. | true |
tags | Video Tags | ARRAY Items[STRING($tag)] | Tags of the video. | false |
privacyStatus | Privacy Status | STRING Optionsprivate, public, unlisted | Privacy status of the video. | true |
categoryId | Video Category ID | STRING | true |
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
Name | Type | Description |
---|---|---|
publishedAt | STRING | The date and time when the video was published. |
channelId | STRING | ID of the channel where the video was uploaded. |
title | STRING | Title of the video. |
description | STRING | Description of the video. |
thumbnails | OBJECT 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. |
channelTitle | STRING | Title of the channel. |
tags | ARRAY Items[STRING] | Tags of the video. |
categoryId | STRING | ID of the video category. |
liveBroadcastContent | STRING | Live broadcasting content. |
localized | OBJECT Properties{STRING(title), STRING(description)} | Localized description of the video. |
publishTime | STRING | The 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
Name | Label | Type | Description | Required |
---|---|---|---|---|
identifier | Username/Channel Handle | STRING | Youtube username or a channel handle (e.g. @Youtube). | true |
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
publishedAt | STRING | The date and time when the video was published. |
channelId | STRING | ID of the channel where the video was uploaded. |
title | STRING | Title of the video. |
description | STRING | Description of the video. |
thumbnails | OBJECT 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. |
channelTitle | STRING | Title of the channel. |
liveBroadcastContent | STRING | Live broadcasting content. |
publishTime | STRING | The date and time when the video was published. |
JSON Example
{
"label" : "New Video",
"name" : "newVideo",
"parameters" : {
"identifier" : ""
},
"type" : "youtube/v1/newVideo"
}