Method: i18nRegions.list

Returns a list of content regions that the YouTube website supports.

This method doesn't require OAuth 2.0 authorization and doesn't define method-specific errors. For general API errors, see General errors. For code examples, see i18nRegions.list code snippets.

HTTP request

GET https://youtube.googleapis.com/youtube/v3/i18nRegions

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
hl

string

Specifies the language used for text values in the API response. The default value is en_US.

part[]

string

Required. Specifies the i18nRegion resource properties that the API response includes. Set the parameter value to snippet (or id to return only region IDs).

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "kind": string,
  "etag": string,
  "items": [
    {
      object (I18nRegion)
    }
  ]
}
Fields
kind

string

Identifies what kind of resource this is. Value: the fixed string "youtube#i18nRegionListResponse".

etag

string

Etag of this resource.

items[]

object (I18nRegion)

A list of regions where YouTube is available.