Skip to main content

videos

Overview

Namevideos
TypeResource
Idyoutube.youtube.videos

Fields

NameDatatypeDescription
idstringThe ID that YouTube uses to uniquely identify the video.
ageGatingobject
snippetobjectBasic details about a video, including title, description, uploader, thumbnails and category.
processingDetailsobjectDescribes processing status and progress and availability of some other Video resource parts.
statusobjectBasic details about a video category, such as its localized title. Next Id: 18
kindstringIdentifies what kind of resource this is. Value: the fixed string "youtube#video".
contentDetailsobjectDetails about the content of a YouTube Video.
fileDetailsobjectDescribes original video file properties, including technical details about audio and video streams, but also metadata information like content length, digitization time, or geotagging information.
liveStreamingDetailsobjectDetails about the live streaming metadata.
playerobjectPlayer to be used for a video playback.
projectDetailsobjectDEPRECATED. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677
recordingDetailsobjectRecording information associated with the video.
suggestionsobjectSpecifies suggestions on how to improve video content, including encoding hints, tag suggestions, and editor suggestions.
monetizationDetailsobjectDetails about monetization of a YouTube Video.
topicDetailsobjectFreebase topic information related to the video.
localizationsobjectThe localizations object contains localized versions of the basic details about the video, such as its title and description.
statisticsobjectStatistics about the video, such as the number of times the video was viewed or liked.
etagstringEtag of this resource.

Methods

NameAccessible byRequired ParamsDescription
listSELECTpartRetrieves a list of resources, possibly filtered.
insertINSERTpartInserts a new resource into this collection.
deleteDELETEidDeletes a resource.
rateEXECid, ratingAdds a like or dislike rating to a video or removes a rating from a video.
reportAbuseEXECReport abuse for a video.
updateEXECpartUpdates an existing resource.