insertyoutubevideo - Insert YouTube Video
Uploads a video to YouTube and optionally sets the videos metadata.
credentialKey
string
Your 1001fx credential key. See https://1001fx.com/app/credentials/list
Example:
yourCredentialKey
videoUrl
string
Publicly accessible video url.
Example:
https://api.1001fx.com/testdata/video.mp4
title
string
Title for your video.
Example:
My first Video
categoryId
string
Youtube Category ID. See https://1001fx.com/functions/youtube/listyoutubevideocategories.
Example:
20
defaultLanguage
string
The language of the text in the video resources snippet.title and snippet.description properties.
Example:
en
description
string
Description for your video
Example:
I hope you like it
tags
array<string>
A list of keyword tags associated with the video. Tags may contain spaces.
Example:
[
"1001fx"
]
notifySubscribers
boolean
Indicates whether YouTube should send a notification about the new video to users who subscribed to the channel. Defaults to true.
Example:
embeddable
boolean
This value indicates if the video can be embedded on another website. Defaults to true.
Example:
privacyStatus
string
Privacy status of your video.
Possible values are: private, public, unlisted
Example:
private
publicStatsViewable
boolean
This value indicates whether the extended video statistics on the videos watch page are publicly viewable. Defaults to true.
Example:
publishAt
DD.MM.YYYY
The date and time when the video is scheduled to publish. It can be set only if the privacy status of the video is private. Your date needs to be in one of the following formats DD.MM.YYYY, DD.MM.YY, DD.MM.YYYY HH:mm, DD.MM.YY HH:mm, MM-DD-YYYY, MM-DD-YYYY HH:mm, MM-DD-YY, MM-DD-YY HH:mm.
localizations
array<object>
The localizations object encapsulates translations of the videos metadata.
key
string
The language of the localized text associated with the key value. The value is a string that contains a BCP-47 language code. See https://1001fx.com/functions/listyoutubei18nlanguages.
Example:
de
title
string
The localized video title.
Example:
Mein Video Titel
description
string
The localized video description.
Example:
Meine deutsche Video Beschreibung