Namespace Google.Apis.YouTube.v3
Classes
ActivitiesResource
The "activities" collection of methods.
ActivitiesResource.InsertRequest
Posts a bulletin for a specific channel. (The user submitting the request must be authorized to act on the channel's behalf.)
Note: Even though an activity resource can contain information about actions like a user rating a video or marking a video as a favorite, you need to use other API methods to generate those activity resources. For example, you would use the API's videos.rate() method to rate a video and the playlistItems.insert() method to mark a video as a favorite.
ActivitiesResource.ListRequest
Returns a list of channel activity events that match the request criteria. For example, you can retrieve events associated with a particular channel, events associated with the user's subscriptions and Google+ friends, or the YouTube home page feed, which is customized for each user.
CaptionsResource
The "captions" collection of methods.
CaptionsResource.DeleteRequest
Deletes a specified caption track.
CaptionsResource.DownloadRequest
Downloads a caption track. The caption track is returned in its original format unless the request specifies a value for the tfmt parameter and in its original language unless the request specifies a value for the tlang parameter.
CaptionsResource.InsertMediaUpload
Insert media upload which supports resumable upload.
CaptionsResource.InsertRequest
Uploads a caption track.
CaptionsResource.ListRequest
Returns a list of caption tracks that are associated with a specified video. Note that the API response does not contain the actual captions and that the captions.download method provides the ability to retrieve a caption track.
CaptionsResource.UpdateMediaUpload
Update media upload which supports resumable upload.
CaptionsResource.UpdateRequest
Updates a caption track. When updating a caption track, you can change the track's draft status, upload a new caption file for the track, or both.
ChannelBannersResource
The "channelBanners" collection of methods.
ChannelBannersResource.InsertMediaUpload
Insert media upload which supports resumable upload.
ChannelBannersResource.InsertRequest
Uploads a channel banner image to YouTube. This method represents the first two steps in a three- step process to update the banner image for a channel:
- Call the channelBanners.insert method to upload the binary image data to YouTube. The image must have a 16:9 aspect ratio and be at least 2120x1192 pixels. - Extract the url property's value from the response that the API returns for step 1. - Call the channels.update method to update the channel's branding settings. Set the brandingSettings.image.bannerExternalUrl property's value to the URL obtained in step 2.
ChannelSectionsResource
The "channelSections" collection of methods.
ChannelSectionsResource.DeleteRequest
Deletes a channelSection.
ChannelSectionsResource.InsertRequest
Adds a channelSection for the authenticated user's channel.
ChannelSectionsResource.ListRequest
Returns channelSection resources that match the API request criteria.
ChannelSectionsResource.UpdateRequest
Update a channelSection.
ChannelsResource
The "channels" collection of methods.
ChannelsResource.ListRequest
Returns a collection of zero or more channel resources that match the request criteria.
ChannelsResource.UpdateRequest
Updates a channel's metadata. Note that this method currently only supports updates to the channel resource's brandingSettings and invideoPromotion objects and their child properties.
CommentsResource
The "comments" collection of methods.
CommentsResource.DeleteRequest
Deletes a comment.
CommentsResource.InsertRequest
Creates a reply to an existing comment. Note: To create a top-level comment, use the commentThreads.insert method.
CommentsResource.ListRequest
Returns a list of comments that match the API request parameters.
CommentsResource.MarkAsSpamRequest
Expresses the caller's opinion that one or more comments should be flagged as spam.
CommentsResource.SetModerationStatusRequest
Sets the moderation status of one or more comments. The API request must be authorized by the owner of the channel or video associated with the comments.
CommentsResource.UpdateRequest
Modifies a comment.
CommentThreadsResource
The "commentThreads" collection of methods.
CommentThreadsResource.InsertRequest
Creates a new top-level comment. To add a reply to an existing comment, use the comments.insert method instead.
CommentThreadsResource.ListRequest
Returns a list of comment threads that match the API request parameters.
CommentThreadsResource.UpdateRequest
Modifies the top-level comment in a comment thread.
GuideCategoriesResource
The "guideCategories" collection of methods.
GuideCategoriesResource.ListRequest
Returns a list of categories that can be associated with YouTube channels.
I18nLanguagesResource
The "i18nLanguages" collection of methods.
I18nLanguagesResource.ListRequest
Returns a list of application languages that the YouTube website supports.
I18nRegionsResource
The "i18nRegions" collection of methods.
I18nRegionsResource.ListRequest
Returns a list of content regions that the YouTube website supports.
LiveBroadcastsResource
The "liveBroadcasts" collection of methods.
LiveBroadcastsResource.BindRequest
Binds a YouTube broadcast to a stream or removes an existing binding between a broadcast and a stream. A broadcast can only be bound to one video stream, though a video stream may be bound to more than one broadcast.
LiveBroadcastsResource.ControlRequest
Controls the settings for a slate that can be displayed in the broadcast stream.
LiveBroadcastsResource.DeleteRequest
Deletes a broadcast.
LiveBroadcastsResource.InsertRequest
Creates a broadcast.
LiveBroadcastsResource.ListRequest
Returns a list of YouTube broadcasts that match the API request parameters.
LiveBroadcastsResource.TransitionRequest
Changes the status of a YouTube live broadcast and initiates any processes associated with the new status. For example, when you transition a broadcast's status to testing, YouTube starts to transmit video to that broadcast's monitor stream. Before calling this method, you should confirm that the value of the status.streamStatus property for the stream bound to your broadcast is active.
LiveBroadcastsResource.UpdateRequest
Updates a broadcast. For example, you could modify the broadcast settings defined in the liveBroadcast resource's contentDetails object.
LiveChatBansResource
The "liveChatBans" collection of methods.
LiveChatBansResource.DeleteRequest
Removes a chat ban.
LiveChatBansResource.InsertRequest
Adds a new ban to the chat.
LiveChatMessagesResource
The "liveChatMessages" collection of methods.
LiveChatMessagesResource.DeleteRequest
Deletes a chat message.
LiveChatMessagesResource.InsertRequest
Adds a message to a live chat.
LiveChatMessagesResource.ListRequest
Lists live chat messages for a specific chat.
LiveChatModeratorsResource
The "liveChatModerators" collection of methods.
LiveChatModeratorsResource.DeleteRequest
Removes a chat moderator.
LiveChatModeratorsResource.InsertRequest
Adds a new moderator for the chat.
LiveChatModeratorsResource.ListRequest
Lists moderators for a live chat.
LiveStreamsResource
The "liveStreams" collection of methods.
LiveStreamsResource.DeleteRequest
Deletes a video stream.
LiveStreamsResource.InsertRequest
Creates a video stream. The stream enables you to send your video to YouTube, which can then broadcast the video to your audience.
LiveStreamsResource.ListRequest
Returns a list of video streams that match the API request parameters.
LiveStreamsResource.UpdateRequest
Updates a video stream. If the properties that you want to change cannot be updated, then you need to create a new stream with the proper settings.
PlaylistItemsResource
The "playlistItems" collection of methods.
PlaylistItemsResource.DeleteRequest
Deletes a playlist item.
PlaylistItemsResource.InsertRequest
Adds a resource to a playlist.
PlaylistItemsResource.ListRequest
Returns a collection of playlist items that match the API request parameters. You can retrieve all of the playlist items in a specified playlist or retrieve one or more playlist items by their unique IDs.
PlaylistItemsResource.UpdateRequest
Modifies a playlist item. For example, you could update the item's position in the playlist.
PlaylistsResource
The "playlists" collection of methods.
PlaylistsResource.DeleteRequest
Deletes a playlist.
PlaylistsResource.InsertRequest
Creates a playlist.
PlaylistsResource.ListRequest
Returns a collection of playlists that match the API request parameters. For example, you can retrieve all playlists that the authenticated user owns, or you can retrieve one or more playlists by their unique IDs.
PlaylistsResource.UpdateRequest
Modifies a playlist. For example, you could change a playlist's title, description, or privacy status.
SearchResource
The "search" collection of methods.
SearchResource.ListRequest
Returns a collection of search results that match the query parameters specified in the API request. By default, a search result set identifies matching video, channel, and playlist resources, but you can also configure queries to only retrieve a specific type of resource.
SponsorsResource
The "sponsors" collection of methods.
SponsorsResource.ListRequest
Lists sponsors for a channel.
SubscriptionsResource
The "subscriptions" collection of methods.
SubscriptionsResource.DeleteRequest
Deletes a subscription.
SubscriptionsResource.InsertRequest
Adds a subscription for the authenticated user's channel.
SubscriptionsResource.ListRequest
Returns subscription resources that match the API request criteria.
SuperChatEventsResource
The "superChatEvents" collection of methods.
SuperChatEventsResource.ListRequest
Lists Super Chat events for a channel.
ThumbnailsResource
The "thumbnails" collection of methods.
ThumbnailsResource.SetMediaUpload
Set media upload which supports resumable upload.
ThumbnailsResource.SetRequest
Uploads a custom video thumbnail to YouTube and sets it for a video.
VideoAbuseReportReasonsResource
The "videoAbuseReportReasons" collection of methods.
VideoAbuseReportReasonsResource.ListRequest
Returns a list of abuse reasons that can be used for reporting abusive videos.
VideoCategoriesResource
The "videoCategories" collection of methods.
VideoCategoriesResource.ListRequest
Returns a list of categories that can be associated with YouTube videos.
VideosResource
The "videos" collection of methods.
VideosResource.DeleteRequest
Deletes a YouTube video.
VideosResource.GetRatingRequest
Retrieves the ratings that the authorized user gave to a list of specified videos.
VideosResource.InsertMediaUpload
Insert media upload which supports resumable upload.
VideosResource.InsertRequest
Uploads a video to YouTube and optionally sets the video's metadata.
VideosResource.ListRequest
Returns a list of videos that match the API request parameters.
VideosResource.RateRequest
Add a like or dislike rating to a video or remove a rating from a video.
VideosResource.ReportAbuseRequest
Report abuse for a video.
VideosResource.UpdateRequest
Updates a video's metadata.
WatermarksResource
The "watermarks" collection of methods.
WatermarksResource.SetMediaUpload
Set media upload which supports resumable upload.
WatermarksResource.SetRequest
Uploads a watermark image to YouTube and sets it for a channel.
WatermarksResource.UnsetRequest
Deletes a channel's watermark image.
YouTubeBaseServiceRequest<TResponse>
A base abstract class for YouTube requests.
YouTubeService
The YouTube Service.
YouTubeService.Scope
Available OAuth 2.0 scopes for use with the YouTube Data API.
YouTubeService.ScopeConstants
Available OAuth 2.0 scope constants for use with the YouTube Data API.
Enums
CaptionsResource.DownloadRequest.TfmtEnum
The tfmt parameter specifies that the caption track should be returned in a specific format. If the parameter is not included in the request, the track is returned in its original format.
CaptionsResource.InsertMediaUpload.AltEnum
Data format for the response.
CaptionsResource.UpdateMediaUpload.AltEnum
Data format for the response.
ChannelBannersResource.InsertMediaUpload.AltEnum
Data format for the response.
CommentsResource.ListRequest.TextFormatEnum
This parameter indicates whether the API should return comments formatted as HTML or as plain text.
CommentsResource.SetModerationStatusRequest.ModerationStatusEnum
Identifies the new moderation status of the specified comments.
CommentThreadsResource.ListRequest.ModerationStatusEnum
Set this parameter to limit the returned comment threads to a particular moderation state.
Note: This parameter is not supported for use in conjunction with the id parameter.
CommentThreadsResource.ListRequest.OrderEnum
The order parameter specifies the order in which the API response should list comment threads. Valid values are: - time - Comment threads are ordered by time. This is the default behavior. - relevance - Comment threads are ordered by relevance.Note: This parameter is not supported for use in conjunction with the id parameter.
CommentThreadsResource.ListRequest.TextFormatEnum
Set this parameter's value to html or plainText to instruct the API to return the comments left by users in html formatted or in plain text.
LiveBroadcastsResource.ListRequest.BroadcastStatusEnum
The broadcastStatus parameter filters the API response to only include broadcasts with the specified status.
LiveBroadcastsResource.ListRequest.BroadcastTypeEnum
The broadcastType parameter filters the API response to only include broadcasts with the specified type. This is only compatible with the mine filter for now.
LiveBroadcastsResource.TransitionRequest.BroadcastStatusEnum
The broadcastStatus parameter identifies the state to which the broadcast is changing. Note that to transition a broadcast to either the testing or live state, the status.streamStatus must be active for the stream that the broadcast is bound to.
SearchResource.ListRequest.ChannelTypeEnum
The channelType parameter lets you restrict a search to a particular type of channel.
SearchResource.ListRequest.EventTypeEnum
The eventType parameter restricts a search to broadcast events. If you specify a value for this parameter, you must also set the type parameter's value to video.
SearchResource.ListRequest.OrderEnum
The order parameter specifies the method that will be used to order resources in the API response.
SearchResource.ListRequest.SafeSearchEnum
The safeSearch parameter indicates whether the search results should include restricted content as well as standard content.
SearchResource.ListRequest.VideoCaptionEnum
The videoCaption parameter indicates whether the API should filter video search results based on whether they have captions. If you specify a value for this parameter, you must also set the type parameter's value to video.
SearchResource.ListRequest.VideoDefinitionEnum
The videoDefinition parameter lets you restrict a search to only include either high definition (HD) or standard definition (SD) videos. HD videos are available for playback in at least 720p, though higher resolutions, like 1080p, might also be available. If you specify a value for this parameter, you must also set the type parameter's value to video.
SearchResource.ListRequest.VideoDimensionEnum
The videoDimension parameter lets you restrict a search to only retrieve 2D or 3D videos. If you specify a value for this parameter, you must also set the type parameter's value to video.
SearchResource.ListRequest.VideoDurationEnum
The videoDuration parameter filters video search results based on their duration. If you specify a value for this parameter, you must also set the type parameter's value to video.
SearchResource.ListRequest.VideoEmbeddableEnum
The videoEmbeddable parameter lets you to restrict a search to only videos that can be embedded into a webpage. If you specify a value for this parameter, you must also set the type parameter's value to video.
SearchResource.ListRequest.VideoLicenseEnum
The videoLicense parameter filters search results to only include videos with a particular license. YouTube lets video uploaders choose to attach either the Creative Commons license or the standard YouTube license to each of their videos. If you specify a value for this parameter, you must also set the type parameter's value to video.
SearchResource.ListRequest.VideoSyndicatedEnum
The videoSyndicated parameter lets you to restrict a search to only videos that can be played outside youtube.com. If you specify a value for this parameter, you must also set the type parameter's value to video.
SearchResource.ListRequest.VideoTypeEnum
The videoType parameter lets you restrict a search to a particular type of videos. If you specify a value for this parameter, you must also set the type parameter's value to video.
SponsorsResource.ListRequest.FilterEnum
The filter parameter specifies which channel sponsors to return.
SubscriptionsResource.ListRequest.OrderEnum
The order parameter specifies the method that will be used to sort resources in the API response.
ThumbnailsResource.SetMediaUpload.AltEnum
Data format for the response.
VideosResource.InsertMediaUpload.AltEnum
Data format for the response.
VideosResource.ListRequest.ChartEnum
The chart parameter identifies the chart that you want to retrieve.
VideosResource.ListRequest.MyRatingEnum
Set this parameter's value to like or dislike to instruct the API to only return videos liked or disliked by the authenticated user.
VideosResource.RateRequest.RatingEnum
Specifies the rating to record.
WatermarksResource.SetMediaUpload.AltEnum
Data format for the response.
YouTubeBaseServiceRequest<TResponse>.AltEnum
Data format for the response.