Updates an existing resource.

Scopes

You will need authorization for at least one of the following scopes to make a valid call:

  • https://www.googleapis.com/auth/youtube
  • https://www.googleapis.com/auth/youtube.force-ssl
  • https://www.googleapis.com/auth/youtubepartner

If unset, the scope for this method defaults to https://www.googleapis.com/auth/youtube. You can set the scope for this method like this: youtube3 --scope <scope> videos update ...

Required Request Value

The request value is a data-structure with various fields. Each field may be a simple scalar or another data-structure. In the latter case it is advised to set the field-cursor to the data-structure's field to specify values more concisely.

For example, a structure like this:

Video:
  age-gating:
    alcohol-content: boolean
    restricted: boolean
    video-game-rating: string
  content-details:
    caption: string
    content-rating:
      acb-rating: string
      agcom-rating: string
      anatel-rating: string
      bbfc-rating: string
      bfvc-rating: string
      bmukk-rating: string
      catv-rating: string
      catvfr-rating: string
      cbfc-rating: string
      ccc-rating: string
      cce-rating: string
      chfilm-rating: string
      chvrs-rating: string
      cicf-rating: string
      cna-rating: string
      cnc-rating: string
      csa-rating: string
      cscf-rating: string
      czfilm-rating: string
      djctq-rating: string
      djctq-rating-reasons: [string]
      ecbmct-rating: string
      eefilm-rating: string
      egfilm-rating: string
      eirin-rating: string
      fcbm-rating: string
      fco-rating: string
      fmoc-rating: string
      fpb-rating: string
      fpb-rating-reasons: [string]
      fsk-rating: string
      grfilm-rating: string
      icaa-rating: string
      ifco-rating: string
      ilfilm-rating: string
      incaa-rating: string
      kfcb-rating: string
      kijkwijzer-rating: string
      kmrb-rating: string
      lsf-rating: string
      mccaa-rating: string
      mccyp-rating: string
      mcst-rating: string
      mda-rating: string
      medietilsynet-rating: string
      meku-rating: string
      mena-mpaa-rating: string
      mibac-rating: string
      moc-rating: string
      moctw-rating: string
      mpaa-rating: string
      mpaat-rating: string
      mtrcb-rating: string
      nbc-rating: string
      nbcpl-rating: string
      nfrc-rating: string
      nfvcb-rating: string
      nkclv-rating: string
      nmc-rating: string
      oflc-rating: string
      pefilm-rating: string
      rcnof-rating: string
      resorteviolencia-rating: string
      rtc-rating: string
      rte-rating: string
      russia-rating: string
      skfilm-rating: string
      smais-rating: string
      smsa-rating: string
      tvpg-rating: string
      yt-rating: string
    country-restriction:
      allowed: boolean
      exception: [string]
    definition: string
    dimension: string
    duration: string
    has-custom-thumbnail: boolean
    licensed-content: boolean
    projection: string
    region-restriction:
      allowed: [string]
      blocked: [string]
  etag: string
  file-details:
    bitrate-bps: string
    container: string
    creation-time: string
    duration-ms: string
    file-name: string
    file-size: string
    file-type: string
  id: string
  kind: string
  live-streaming-details:
    active-live-chat-id: string
    actual-end-time: string
    actual-start-time: string
    concurrent-viewers: string
    scheduled-end-time: string
    scheduled-start-time: string
  monetization-details:
    access:
      allowed: boolean
      exception: [string]
  player:
    embed-height: string
    embed-html: string
    embed-width: string
  processing-details:
    editor-suggestions-availability: string
    file-details-availability: string
    processing-failure-reason: string
    processing-issues-availability: string
    processing-progress:
      parts-processed: string
      parts-total: string
      time-left-ms: string
    processing-status: string
    tag-suggestions-availability: string
    thumbnails-availability: string
  recording-details:
    location:
      altitude: number
      latitude: number
      longitude: number
    location-description: string
    recording-date: string
  snippet:
    category-id: string
    channel-id: string
    channel-title: string
    default-audio-language: string
    default-language: string
    description: string
    live-broadcast-content: string
    localized:
      description: string
      title: string
    published-at: string
    tags: [string]
    thumbnails:
      default:
        height: integer
        url: string
        width: integer
      high:
        height: integer
        url: string
        width: integer
      maxres:
        height: integer
        url: string
        width: integer
      medium:
        height: integer
        url: string
        width: integer
      standard:
        height: integer
        url: string
        width: integer
    title: string
  statistics:
    comment-count: int64
    dislike-count: int64
    favorite-count: int64
    like-count: int64
    view-count: int64
  status:
    embeddable: boolean
    failure-reason: string
    license: string
    made-for-kids: boolean
    privacy-status: string
    public-stats-viewable: boolean
    publish-at: string
    rejection-reason: string
    self-declared-made-for-kids: boolean
    upload-status: string
  suggestions:
    editor-suggestions: [string]
    processing-errors: [string]
    processing-hints: [string]
    processing-warnings: [string]
  topic-details:
    relevant-topic-ids: [string]
    topic-categories: [string]
    topic-ids: [string]

can be set completely with the following arguments which are assumed to be executed in the given order. Note how the cursor position is adjusted to the respective structures, allowing simple field names to be used most of the time.

  • -r .age-gating alcohol-content=false
    • Indicates whether or not the video has alcoholic beverage content. Only users of legal purchasing age in a particular country, as identified by ICAP, can view the content.
  • restricted=true
    • Age-restricted trailers. For redband trailers and adult-rated video-games. Only users aged 18+ can view the content. The the field is true the content is restricted to viewers aged 18+. Otherwise The field won't be present.
  • video-game-rating=dolor

    • Video game rating, if any.
  • ..content-details caption=sadipscing

    • The value of captions indicates whether the video has captions or not.
  • content-rating acb-rating=duo
    • The video's Australian Classification Board (ACB) or Australian Communications and Media Authority (ACMA) rating. ACMA ratings are used to classify children's television programming.
  • agcom-rating=at
    • The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM).
  • anatel-rating=accusam
    • The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television.
  • bbfc-rating=no
    • The video's British Board of Film Classification (BBFC) rating.
  • bfvc-rating=tempor
    • The video's rating from Thailand's Board of Film and Video Censors.
  • bmukk-rating=ipsum
    • The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur).
  • catv-rating=diam
    • Rating system for Canadian TV - Canadian TV Classification System The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian English-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.
  • catvfr-rating=ea
    • The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian French-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.
  • cbfc-rating=erat
    • The video's Central Board of Film Certification (CBFC - India) rating.
  • ccc-rating=accusam
    • The video's Consejo de Calificación Cinematográfica (Chile) rating.
  • cce-rating=magna
    • The video's rating from Portugal's Comissão de Classificação de Espect´culos.
  • chfilm-rating=ipsum
    • The video's rating in Switzerland.
  • chvrs-rating=gubergren
    • The video's Canadian Home Video Rating System (CHVRS) rating.
  • cicf-rating=kasd
    • The video's rating from the Commission de Contrôle des Films (Belgium).
  • cna-rating=sit
    • The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA).
  • cnc-rating=sed
    • Rating system in France - Commission de classification cinematographique
  • csa-rating=ea
    • The video's rating from France's Conseil supérieur de l’audiovisuel, which rates broadcast content.
  • cscf-rating=sit
    • The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF).
  • czfilm-rating=lorem
    • The video's rating in the Czech Republic.
  • djctq-rating=sed
    • The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating.
  • djctq-rating-reasons=takimata
    • Reasons that explain why the video received its DJCQT (Brazil) rating.
    • Each invocation of this argument appends the given value to the array.
  • ecbmct-rating=voluptua.
    • Rating system in Turkey - Evaluation and Classification Board of the Ministry of Culture and Tourism
  • eefilm-rating=justo
    • The video's rating in Estonia.
  • egfilm-rating=takimata
    • The video's rating in Egypt.
  • eirin-rating=justo
    • The video's Eirin (映倫) rating. Eirin is the Japanese rating system.
  • fcbm-rating=est
    • The video's rating from Malaysia's Film Censorship Board.
  • fco-rating=sea
    • The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration.
  • fmoc-rating=magna
    • This property has been deprecated. Use the contentDetails.contentRating.cncRating instead.
  • fpb-rating=et
    • The video's rating from South Africa's Film and Publication Board.
  • fpb-rating-reasons=ipsum
    • Reasons that explain why the video received its FPB (South Africa) rating.
    • Each invocation of this argument appends the given value to the array.
  • fsk-rating=ipsum
    • The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating.
  • grfilm-rating=dolor
    • The video's rating in Greece.
  • icaa-rating=elitr
    • The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating.
  • ifco-rating=et
    • The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information.
  • ilfilm-rating=amet.
    • The video's rating in Israel.
  • incaa-rating=duo
    • The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating.
  • kfcb-rating=dolore
    • The video's rating from the Kenya Film Classification Board.
  • kijkwijzer-rating=takimata
    • The video's NICAM/Kijkwijzer rating from the Nederlands Instituut voor de Classificatie van Audiovisuele Media (Netherlands).
  • kmrb-rating=justo
    • The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea.
  • lsf-rating=eirmod
    • The video's rating from Indonesia's Lembaga Sensor Film.
  • mccaa-rating=at
    • The video's rating from Malta's Film Age-Classification Board.
  • mccyp-rating=dolor
    • The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People.
  • mcst-rating=et
    • The video's rating system for Vietnam - MCST
  • mda-rating=et
    • The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC).
  • medietilsynet-rating=lorem
    • The video's rating from Medietilsynet, the Norwegian Media Authority.
  • meku-rating=et
    • The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute).
  • mena-mpaa-rating=lorem
    • The rating system for MENA countries, a clone of MPAA. It is needed to prevent titles go live w/o additional QC check, since some of them can be inappropriate for the countries at all. See b/33408548 for more details.
  • mibac-rating=dolores
    • The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy).
  • moc-rating=eos
    • The video's Ministerio de Cultura (Colombia) rating.
  • moctw-rating=magna
    • The video's rating from Taiwan's Ministry of Culture (文化部).
  • mpaa-rating=stet
    • The video's Motion Picture Association of America (MPAA) rating.
  • mpaat-rating=kasd
    • The rating system for trailer, DVD, and Ad in the US. See http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html.
  • mtrcb-rating=stet
    • The video's rating from the Movie and Television Review and Classification Board (Philippines).
  • nbc-rating=sed
    • The video's rating from the Maldives National Bureau of Classification.
  • nbcpl-rating=eirmod
    • The video's rating in Poland.
  • nfrc-rating=ea
    • The video's rating from the Bulgarian National Film Center.
  • nfvcb-rating=ipsum
    • The video's rating from Nigeria's National Film and Video Censors Board.
  • nkclv-rating=ea
    • The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia).
  • nmc-rating=amet.
    • The National Media Council ratings system for United Arab Emirates.
  • oflc-rating=sadipscing
    • The video's Office of Film and Literature Classification (OFLC - New Zealand) rating.
  • pefilm-rating=dolores
    • The video's rating in Peru.
  • rcnof-rating=justo
    • The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film.
  • resorteviolencia-rating=clita
    • The video's rating in Venezuela.
  • rtc-rating=stet
    • The video's General Directorate of Radio, Television and Cinematography (Mexico) rating.
  • rte-rating=sea
    • The video's rating from Ireland's Raidió Teilifís Éireann.
  • russia-rating=sit
    • The video's National Film Registry of the Russian Federation (MKRF - Russia) rating.
  • skfilm-rating=sed
    • The video's rating in Slovakia.
  • smais-rating=et
    • The video's rating in Iceland.
  • smsa-rating=no
    • The video's rating from Statens medieråd (Sweden's National Media Council).
  • tvpg-rating=sit
    • The video's TV Parental Guidelines (TVPG) rating.
  • yt-rating=labore

    • A rating that YouTube uses to identify age-restricted content.
  • ..country-restriction allowed=true

    • The value of allowed indicates whether the access to the policy is allowed or denied by default.
  • exception=sea

    • A list of region codes that identify countries where the default policy do not apply.
    • Each invocation of this argument appends the given value to the array.
  • .. definition=sadipscing

    • The value of definition indicates whether the video is available in high definition or only in standard definition.
  • dimension=justo
    • The value of dimension indicates whether the video is available in 3D or in 2D.
  • duration=aliquyam
    • The length of the video. The tag value is an ISO 8601 duration in the format PT#M#S, in which the letters PT indicate that the value specifies a period of time, and the letters M and S refer to length in minutes and seconds, respectively. The # characters preceding the M and S letters are both integers that specify the number of minutes (or seconds) of the video. For example, a value of PT15M51S indicates that the video is 15 minutes and 51 seconds long.
  • has-custom-thumbnail=false
    • Indicates whether the video uploader has provided a custom thumbnail image for the video. This property is only visible to the video uploader.
  • licensed-content=false
    • The value of is_license_content indicates whether the video is licensed content.
  • projection=invidunt
    • Specifies the projection format of the video.
  • region-restriction allowed=at
    • A list of region codes that identify countries where the video is viewable. If this property is present and a country is not listed in its value, then the video is blocked from appearing in that country. If this property is present and contains an empty list, the video is blocked in all countries.
    • Each invocation of this argument appends the given value to the array.
  • blocked=sea

    • A list of region codes that identify countries where the video is blocked. If this property is present and a country is not listed in its value, then the video is viewable in that country. If this property is present and contains an empty list, the video is viewable in all countries.
    • Each invocation of this argument appends the given value to the array.
  • ... etag=sed

    • Etag of this resource.
  • file-details bitrate-bps=dolor
    • The uploaded video file's combined (video and audio) bitrate in bits per second.
  • container=dolor
    • The uploaded video file's container format.
  • creation-time=sed
    • The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are supported: - Date only: YYYY-MM-DD - Naive time: YYYY-MM-DDTHH:MM:SS - Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM
  • duration-ms=et
    • The length of the uploaded video in milliseconds.
  • file-name=et
    • The uploaded file's name. This field is present whether a video file or another type of file was uploaded.
  • file-size=duo
    • The uploaded file's size in bytes. This field is present whether a video file or another type of file was uploaded.
  • file-type=dolor

    • The uploaded file's type as detected by YouTube's video processing engine. Currently, YouTube only processes video files, but this field is present whether a video file or another type of file was uploaded.
  • .. id=voluptua.

    • The ID that YouTube uses to uniquely identify the video.
  • kind=magna
    • Identifies what kind of resource this is. Value: the fixed string "youtube#video".
  • live-streaming-details active-live-chat-id=est
    • The ID of the currently active live chat attached to this video. This field is filled only if the video is a currently live broadcast that has live chat. Once the broadcast transitions to complete this field will be removed and the live chat closed down. For persistent broadcasts that live chat id will no longer be tied to this video but rather to the new video being displayed at the persistent page.
  • actual-end-time=voluptua.
    • The time that the broadcast actually ended. This value will not be available until the broadcast is over.
  • actual-start-time=voluptua.
    • The time that the broadcast actually started. This value will not be available until the broadcast begins.
  • concurrent-viewers=tempor
    • The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended.
  • scheduled-end-time=takimata
    • The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to contiue indefinitely.
  • scheduled-start-time=ut

    • The time that the broadcast is scheduled to begin.
  • ..monetization-details.access allowed=true

    • The value of allowed indicates whether the access to the policy is allowed or denied by default.
  • exception=ut

    • A list of region codes that identify countries where the default policy do not apply.
    • Each invocation of this argument appends the given value to the array.
  • ...player embed-height=voluptua.

    • No description provided.
  • embed-html=stet
    • An <iframe> tag that embeds a player that will play the video.
  • embed-width=lorem

    • The embed width
  • ..processing-details editor-suggestions-availability=amet

    • This value indicates whether video editing suggestions, which might improve video quality or the playback experience, are available for the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
  • file-details-availability=sed
    • This value indicates whether file details are available for the uploaded video. You can retrieve a video's file details by requesting the fileDetails part in your videos.list() request.
  • processing-failure-reason=rebum.
    • The reason that YouTube failed to process the video. This property will only have a value if the processingStatus property's value is failed.
  • processing-issues-availability=eirmod
    • This value indicates whether the video processing engine has generated suggestions that might improve YouTube's ability to process the the video, warnings that explain video processing problems, or errors that cause video processing problems. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
  • processing-progress parts-processed=sit
    • The number of parts of the video that YouTube has already processed. You can estimate the percentage of the video that YouTube has already processed by calculating: 100 * parts_processed / parts_total Note that since the estimated number of parts could increase without a corresponding increase in the number of parts that have already been processed, it is possible that the calculated progress could periodically decrease while YouTube processes a video.
  • parts-total=no
    • An estimate of the total number of parts that need to be processed for the video. The number may be updated with more precise estimates while YouTube processes the video.
  • time-left-ms=kasd

    • An estimate of the amount of time, in millseconds, that YouTube needs to finish processing the video.
  • .. processing-status=stet

    • The video's processing status. This value indicates whether YouTube was able to process the video or if the video is still being processed.
  • tag-suggestions-availability=accusam
    • This value indicates whether keyword (tag) suggestions are available for the video. Tags can be added to a video's metadata to make it easier for other users to find the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
  • thumbnails-availability=lorem

    • This value indicates whether thumbnail images have been generated for the video.
  • ..recording-details.location altitude=0.12765079344541164

    • Altitude above the reference ellipsoid, in meters.
  • latitude=0.30124032216124874
    • Latitude in degrees.
  • longitude=0.42678050338357243

    • Longitude in degrees.
  • .. location-description=dolor

    • The text description of the location where the video was recorded.
  • recording-date=elitr

    • The date and time when the video was recorded.
  • ..snippet category-id=sanctus

    • The YouTube video category associated with the video.
  • channel-id=dolor
    • The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.
  • channel-title=sea
    • Channel title for the channel that the video belongs to.
  • default-audio-language=sanctus
    • The default_audio_language property specifies the language spoken in the video's default audio track.
  • default-language=sit
    • The language of the videos's default snippet.
  • description=est
    • The video's description. @mutable youtube.videos.insert youtube.videos.update
  • live-broadcast-content=nonumy
    • Indicates if the video is an upcoming/active live broadcast. Or it's "none" if the video is not an upcoming/active live broadcast.
  • localized description=duo
    • Localized version of the video's description.
  • title=sed

    • Localized version of the video's title.
  • .. published-at=invidunt

    • The date and time when the video was uploaded.
  • tags=takimata
    • A list of keyword tags associated with the video. Tags may contain spaces.
    • Each invocation of this argument appends the given value to the array.
  • thumbnails.default height=33
    • (Optional) Height of the thumbnail image.
  • url=tempor
    • The thumbnail image's URL.
  • width=60

    • (Optional) Width of the thumbnail image.
  • ..high height=43

    • (Optional) Height of the thumbnail image.
  • url=labore
    • The thumbnail image's URL.
  • width=44

    • (Optional) Width of the thumbnail image.
  • ..maxres height=6

    • (Optional) Height of the thumbnail image.
  • url=accusam
    • The thumbnail image's URL.
  • width=57

    • (Optional) Width of the thumbnail image.
  • ..medium height=53

    • (Optional) Height of the thumbnail image.
  • url=invidunt
    • The thumbnail image's URL.
  • width=67

    • (Optional) Width of the thumbnail image.
  • ..standard height=83

    • (Optional) Height of the thumbnail image.
  • url=tempor
    • The thumbnail image's URL.
  • width=10

    • (Optional) Width of the thumbnail image.
  • ... title=labore

    • The video's title. @mutable youtube.videos.insert youtube.videos.update
  • ..statistics comment-count=-22

    • The number of comments for the video.
  • dislike-count=-74
    • The number of users who have indicated that they disliked the video by giving it a negative rating.
  • favorite-count=-41
    • The number of users who currently have the video marked as a favorite video.
  • like-count=-3
    • The number of users who have indicated that they liked the video by giving it a positive rating.
  • view-count=-51

    • The number of times the video has been viewed.
  • ..status embeddable=true

    • This value indicates if the video can be embedded on another website. @mutable youtube.videos.insert youtube.videos.update
  • failure-reason=sea
    • This value explains why a video failed to upload. This property is only present if the uploadStatus property indicates that the upload failed.
  • license=duo
    • The video's license. @mutable youtube.videos.insert youtube.videos.update
  • made-for-kids=true
    • No description provided.
  • privacy-status=stet
    • The video's privacy status.
  • public-stats-viewable=false
    • This value indicates if the extended video statistics on the watch page can be viewed by everyone. Note that the view count, likes, etc will still be visible if this is disabled. @mutable youtube.videos.insert youtube.videos.update
  • publish-at=no
    • 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..
  • rejection-reason=eirmod
    • This value explains why YouTube rejected an uploaded video. This property is only present if the uploadStatus property indicates that the upload was rejected.
  • self-declared-made-for-kids=false
    • No description provided.
  • upload-status=et

    • The status of the uploaded video.
  • ..suggestions editor-suggestions=sit

    • A list of video editing operations that might improve the video quality or playback experience of the uploaded video.
    • Each invocation of this argument appends the given value to the array.
  • processing-errors=lorem
    • A list of errors that will prevent YouTube from successfully processing the uploaded video video. These errors indicate that, regardless of the video's current processing status, eventually, that status will almost certainly be failed.
    • Each invocation of this argument appends the given value to the array.
  • processing-hints=et
    • A list of suggestions that may improve YouTube's ability to process the video.
    • Each invocation of this argument appends the given value to the array.
  • processing-warnings=tempor

    • A list of reasons why YouTube may have difficulty transcoding the uploaded video or that might result in an erroneous transcoding. These warnings are generated before YouTube actually processes the uploaded video file. In addition, they identify issues that are unlikely to cause the video processing to fail but that might cause problems such as sync issues, video artifacts, or a missing audio track.
    • Each invocation of this argument appends the given value to the array.
  • ..topic-details relevant-topic-ids=lorem

    • Similar to topic_id, except that these topics are merely relevant to the video. These are topics that may be mentioned in, or appear in the video. You can retrieve information about each topic using Freebase Topic API.
    • Each invocation of this argument appends the given value to the array.
  • topic-categories=vero
    • A list of Wikipedia URLs that provide a high-level description of the video's content.
    • Each invocation of this argument appends the given value to the array.
  • topic-ids=at
    • A list of Freebase topic IDs that are centrally associated with the video. These are topics that are centrally featured in the video, and it can be said that the video is mainly about each of these. You can retrieve information about each topic using the < a href="http://wiki.freebase.com/wiki/Topic_API">Freebase Topic API.
    • Each invocation of this argument appends the given value to the array.

About Cursors

The cursor position is key to comfortably set complex nested structures. The following rules apply:

  • The cursor position is always set relative to the current one, unless the field name starts with the . character. Fields can be nested such as in -r f.s.o .
  • The cursor position is set relative to the top-level structure if it starts with ., e.g. -r .s.s
  • You can also set nested fields without setting the cursor explicitly. For example, to set a value relative to the current cursor position, you would specify -r struct.sub_struct=bar.
  • You can move the cursor one level up by using ... Each additional . moves it up one additional level. E.g. ... would go three levels up.

Optional Output Flags

The method's return value a JSON encoded structure, which will be written to standard output by default.

  • -o out
    • out specifies the destination to which to write the server's result to. It will be a JSON-encoded structure. The destination may be - to indicate standard output, or a filepath that is to contain the received bytes. If unset, it defaults to standard output.

Optional Method Properties

You may set the following properties to further configure the call. Please note that -p is followed by one or more key-value-pairs, and is called like this -p k1=v1 k2=v2 even though the listing below repeats the -p for completeness.

  • -p on-behalf-of-content-owner=string
    • Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.

Optional General Properties

The following properties can configure any call, and are not specific to this method.

  • -p $-xgafv=string

    • V1 error format.
  • -p access-token=string

    • OAuth access token.
  • -p alt=string

    • Data format for response.
  • -p callback=string

    • JSONP
  • -p fields=string

    • Selector specifying which fields to include in a partial response.
  • -p key=string

    • API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
  • -p oauth-token=string

    • OAuth 2.0 token for the current user.
  • -p pretty-print=boolean

    • Returns response with indentations and line breaks.
  • -p quota-user=string

    • Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
  • -p upload-type=string

    • Legacy upload protocol for media (e.g. "media", "multipart").
  • -p upload-protocol=string

    • Upload protocol for media (e.g. "raw", "multipart").