interface YouTubeNodeParameters {
binaryProperty?: string;
categoryId?: string;
channelId?: string;
filters?:
| {
categoryId?: string;
forUsername?: string;
id?: string;
managedByMe?: boolean;
}
| { channelId?: string; id?: string }
| {
channelId?: string;
forDeveloper?: boolean;
publishedAfter?: string;
publishedBefore?: string;
q?: string;
regionCode?: string;
relatedToVideoId?: string;
videoCategoryId?: string;
videoSyndicated?: boolean;
videoType?: "any" | "episode" | "movie";
};
limit?: number;
operation?: | "create"
| "get"
| "getAll"
| "update"
| "add"
| "delete"
| "upload"
| "uploadBanner"
| "rate";
options?: | {
h1?: string;
onBehalfOfContentOwner?: string;
}
| {
defaultLanguage?: string;
description?: string;
onBehalfOfContentOwner?: string;
onBehalfOfContentOwnerChannel?: string;
privacyStatus?: "public"
| "private"
| "unlisted";
tags?: string;
}
| {
onBehalfOfContentOwner?: string;
onBehalfOfContentOwnerChannel?: string;
}
| { onBehalfOfContentOwner?: string }
| {
onBehalfOfContentOwner?: string;
onBehalfOfContentOwnerChannel?: string;
}
| {
endAt?: string;
note?: string;
onBehalfOfContentOwner?: string;
position?: number;
startAt?: string;
}
| {
defaultLanguage?: string;
description?: string;
embeddable?: boolean;
license?: "youtube"
| "creativeCommon";
notifySubscribers?: boolean;
privacyStatus?: "public" | "private" | "unlisted";
publicStatsViewable?: boolean;
publishAt?: string;
recordingDate?: string;
selfDeclaredMadeForKids?: boolean;
tags?: string;
}
| {
order?: "relevance"
| "date";
safeSearch?: "none" | "moderate" | "strict";
};
part?: | (
| "id"
| "status"
| "*"
| "statistics"
| "brandingSettings"
| "contentDetails"
| "contentOwnerDetails"
| "localizations"
| "snippet"
| "topicDetails"
)[]
| (
| "id"
| "status"
| "*"
| "player"
| "contentDetails"
| "localizations"
| "snippet"
)[]
| (
| "id"
| "status"
| "*"
| "contentDetails"
| "snippet"
)[]
| (
| "id"
| "status"
| "*"
| "statistics"
| "player"
| "contentDetails"
| "localizations"
| "snippet"
| "topicDetails"
| "liveStreamingDetails"
| "recordingDetails"
)[];
playlistId?: string;
playlistItemId?: string;
rating?: "none"
| "like"
| "dislike";
regionCode?: string;
resource?:
| "video"
| "channel"
| "playlist"
| "playlistItem"
| "videoCategory";
returnAll?: boolean;
title?: string;
updateFields?: | {
brandingSettingsUi?: {
channelSettingsValues: {
channel?: {
country?: string;
defaultLanguage?: string;
defaultTab?: string;
description?: string;
featuredChannelsTitle?: string;
featuredChannelsUrls?: string;
keywords?: string;
moderateComments?: boolean;
profileColor?: string;
showBrowseView?: boolean;
showRelatedChannels?: boolean;
trackingAnalyticsAccountId?: string;
unsubscribedTrailer?: string;
};
};
imageSettingsValues: {
image?: {
bannerExternalUrl?: string;
trackingImageUrl?: string;
watchIconImageUrl?: string;
};
};
statusValue: {
status?: { selfDeclaredMadeForKids?: boolean };
};
};
onBehalfOfContentOwner?: string;
}
| {
defaultLanguage?: string;
description?: string;
onBehalfOfContentOwner?: string;
privacyStatus?: "public"
| "private"
| "unlisted";
tags?: string;
}
| {
defaultLanguage?: string;
description?: string;
embeddable?: boolean;
license?: "youtube"
| "creativeCommon";
notifySubscribers?: boolean;
privacyStatus?: "public" | "private" | "unlistef";
publicStatsViewable?: boolean;
publishAt?: string;
recordingDate?: string;
selfDeclaredMadeForKids?: boolean;
tags?: string;
};
videoId?: string;
}
Properties§
Source§readonly category Id?: string
readonly category Id?: string
Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getVideoCategories","loadOptionsDependsOn":["regionCode"]}
Source§readonly filters?:
| {
categoryId?: string;
forUsername?: string;
id?: string;
managedByMe?: boolean;
}
| { channelId?: string; id?: string }
| {
channelId?: string;
forDeveloper?: boolean;
publishedAfter?: string;
publishedBefore?: string;
q?: string;
regionCode?: string;
relatedToVideoId?: string;
videoCategoryId?: string;
videoSyndicated?: boolean;
videoType?: "any" | "episode" | "movie";
}
readonly filters?:
| {
categoryId?: string;
forUsername?: string;
id?: string;
managedByMe?: boolean;
}
| { channelId?: string; id?: string }
| {
channelId?: string;
forDeveloper?: boolean;
publishedAfter?: string;
publishedBefore?: string;
q?: string;
regionCode?: string;
relatedToVideoId?: string;
videoCategoryId?: string;
videoSyndicated?: boolean;
videoType?: "any" | "episode" | "movie";
}
Default: {}
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 25 Type options: {"minValue":1,"maxValue":50}
Source§readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "add"
| "delete"
| "upload"
| "uploadBanner"
| "rate"
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "add"
| "delete"
| "upload"
| "uploadBanner"
| "rate"
Default: "getAll"
Source§readonly options?:
| { h1?: string; onBehalfOfContentOwner?: string }
| {
defaultLanguage?: string;
description?: string;
onBehalfOfContentOwner?: string;
onBehalfOfContentOwnerChannel?: string;
privacyStatus?: "public" | "private" | "unlisted";
tags?: string;
}
| {
onBehalfOfContentOwner?: string;
onBehalfOfContentOwnerChannel?: string;
}
| { onBehalfOfContentOwner?: string }
| {
onBehalfOfContentOwner?: string;
onBehalfOfContentOwnerChannel?: string;
}
| {
endAt?: string;
note?: string;
onBehalfOfContentOwner?: string;
position?: number;
startAt?: string;
}
| {
defaultLanguage?: string;
description?: string;
embeddable?: boolean;
license?: "youtube"
| "creativeCommon";
notifySubscribers?: boolean;
privacyStatus?: "public" | "private" | "unlisted";
publicStatsViewable?: boolean;
publishAt?: string;
recordingDate?: string;
selfDeclaredMadeForKids?: boolean;
tags?: string;
}
| {
order?: "relevance"
| "date";
safeSearch?: "none" | "moderate" | "strict";
}
readonly options?:
| { h1?: string; onBehalfOfContentOwner?: string }
| {
defaultLanguage?: string;
description?: string;
onBehalfOfContentOwner?: string;
onBehalfOfContentOwnerChannel?: string;
privacyStatus?: "public" | "private" | "unlisted";
tags?: string;
}
| {
onBehalfOfContentOwner?: string;
onBehalfOfContentOwnerChannel?: string;
}
| { onBehalfOfContentOwner?: string }
| {
onBehalfOfContentOwner?: string;
onBehalfOfContentOwnerChannel?: string;
}
| {
endAt?: string;
note?: string;
onBehalfOfContentOwner?: string;
position?: number;
startAt?: string;
}
| {
defaultLanguage?: string;
description?: string;
embeddable?: boolean;
license?: "youtube"
| "creativeCommon";
notifySubscribers?: boolean;
privacyStatus?: "public" | "private" | "unlisted";
publicStatsViewable?: boolean;
publishAt?: string;
recordingDate?: string;
selfDeclaredMadeForKids?: boolean;
tags?: string;
}
| {
order?: "relevance"
| "date";
safeSearch?: "none" | "moderate" | "strict";
}
Default: {}
Source§readonly part?:
| (
| "id"
| "status"
| "*"
| "statistics"
| "brandingSettings"
| "contentDetails"
| "contentOwnerDetails"
| "localizations"
| "snippet"
| "topicDetails"
)[]
| (
| "id"
| "status"
| "*"
| "player"
| "contentDetails"
| "localizations"
| "snippet"
)[]
| (
| "id"
| "status"
| "*"
| "contentDetails"
| "snippet"
)[]
| (
| "id"
| "status"
| "*"
| "statistics"
| "player"
| "contentDetails"
| "localizations"
| "snippet"
| "topicDetails"
| "liveStreamingDetails"
| "recordingDetails"
)[]
readonly part?:
| (
| "id"
| "status"
| "*"
| "statistics"
| "brandingSettings"
| "contentDetails"
| "contentOwnerDetails"
| "localizations"
| "snippet"
| "topicDetails"
)[]
| (
| "id"
| "status"
| "*"
| "player"
| "contentDetails"
| "localizations"
| "snippet"
)[]
| (
| "id"
| "status"
| "*"
| "contentDetails"
| "snippet"
)[]
| (
| "id"
| "status"
| "*"
| "statistics"
| "player"
| "contentDetails"
| "localizations"
| "snippet"
| "topicDetails"
| "liveStreamingDetails"
| "recordingDetails"
)[]
The fields parameter specifies a comma-separated list of one or more channel resource properties that the API response will include Default: ["*"]
Source§readonly region Code?: string
readonly region Code?: string
Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getCountriesCodes"}
Source§readonly resource?:
| "video"
| "channel"
| "playlist"
| "playlistItem"
| "videoCategory"
readonly resource?:
| "video"
| "channel"
| "playlist"
| "playlistItem"
| "videoCategory"
Default: "channel"
Source§readonly update Fields?:
| {
brandingSettingsUi?: {
channelSettingsValues: {
channel?: {
country?: string;
defaultLanguage?: string;
defaultTab?: string;
description?: string;
featuredChannelsTitle?: string;
featuredChannelsUrls?: string;
keywords?: string;
moderateComments?: boolean;
profileColor?: string;
showBrowseView?: boolean;
showRelatedChannels?: boolean;
trackingAnalyticsAccountId?: string;
unsubscribedTrailer?: string;
};
};
imageSettingsValues: {
image?: {
bannerExternalUrl?: string;
trackingImageUrl?: string;
watchIconImageUrl?: string;
};
};
statusValue: {
status?: { selfDeclaredMadeForKids?: boolean };
};
};
onBehalfOfContentOwner?: string;
}
| {
defaultLanguage?: string;
description?: string;
onBehalfOfContentOwner?: string;
privacyStatus?: "public"
| "private"
| "unlisted";
tags?: string;
}
| {
defaultLanguage?: string;
description?: string;
embeddable?: boolean;
license?: "youtube"
| "creativeCommon";
notifySubscribers?: boolean;
privacyStatus?: "public" | "private" | "unlistef";
publicStatsViewable?: boolean;
publishAt?: string;
recordingDate?: string;
selfDeclaredMadeForKids?: boolean;
tags?: string;
}
readonly update Fields?:
| {
brandingSettingsUi?: {
channelSettingsValues: {
channel?: {
country?: string;
defaultLanguage?: string;
defaultTab?: string;
description?: string;
featuredChannelsTitle?: string;
featuredChannelsUrls?: string;
keywords?: string;
moderateComments?: boolean;
profileColor?: string;
showBrowseView?: boolean;
showRelatedChannels?: boolean;
trackingAnalyticsAccountId?: string;
unsubscribedTrailer?: string;
};
};
imageSettingsValues: {
image?: {
bannerExternalUrl?: string;
trackingImageUrl?: string;
watchIconImageUrl?: string;
};
};
statusValue: {
status?: { selfDeclaredMadeForKids?: boolean };
};
};
onBehalfOfContentOwner?: string;
}
| {
defaultLanguage?: string;
description?: string;
onBehalfOfContentOwner?: string;
privacyStatus?: "public"
| "private"
| "unlisted";
tags?: string;
}
| {
defaultLanguage?: string;
description?: string;
embeddable?: boolean;
license?: "youtube"
| "creativeCommon";
notifySubscribers?: boolean;
privacyStatus?: "public" | "private" | "unlistef";
publicStatsViewable?: boolean;
publishAt?: string;
recordingDate?: string;
selfDeclaredMadeForKids?: boolean;
tags?: string;
}
Default: {}
Default: "data"