I18nRegions: list
Stay organized with collections
Save and categorize content based on your preferences.
Returns a list of content regions that the YouTube website supports.
Quota impact:
A call to this method has a
quota cost
of 1 unit.
Common use cases
Request
HTTP request
GET https://www.googleapis.com/youtube/v3/i18nRegions
Parameters
The following table lists the parameters that this query supports. All of the parameters listed are query parameters.
Parameters
|
Required parameters
|
part
|
string
The
part
parameter specifies the
i18nRegion
resource properties that the API response will include. Set the parameter value to
snippet
.
|
Optional parameters
|
hl
|
string
The
hl
parameter specifies the language that should be used for text values in the API response. The default value is
en_US
.
|
Request body
Do not provide a request body when calling this method.
Response
If successful, this method returns a response body with the following structure:
{
"kind": "youtube#i18nRegionListResponse",
"etag":
etag
,
"items": [
i18nRegion resource
]
}
Properties
The following table defines the properties that appear in this resource:
Properties
|
kind
|
string
Identifies the API resource's type. The value will be
youtube#i18nRegionListResponse
.
|
etag
|
etag
The Etag of this resource.
|
items[]
|
list
A list of regions where YouTube is available. In this map, the i18n region ID is the map key, and its value is the corresponding
i18nRegion
resource.
|
Errors
The API does not define any error messages that are unique to this API method. However, this method could still return general API errors listed in the
error message
documentation.
Try it!
Use the
APIs Explorer
to call this API and see the API request and response.
Except as otherwise noted, the content of this page is licensed under the
Creative Commons Attribution 4.0 License
, and code samples are licensed under the
Apache 2.0 License
. For details, see the
Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-11-04 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]