Method: videoTrainability.get
Stay organized with collections
Save and categorize content based on your preferences.
Returns the trainability status of a video.
HTTP request
GET https://youtube.googleapis.com/youtube/v3/videoTrainability
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters |
id |
string
The ID of the video to retrieve.
|
Request body
The request body must be empty.
Response body
Specifies who is allowed to train on the video.
If successful, the response body contains data with the following structure:
JSON representation |
{
"videoId": string,
"kind": string,
"etag": string,
"permitted": [
string
]
} |
Fields |
videoId |
string
The ID of the video.
|
kind |
string
Identifies what kind of resource this is. Value: the fixed string "youtube#videoTrainability"
|
etag |
string
Etag of this resource.
|
permitted[] |
string
Specifies who is allowed to train on the video. Valid values are:
- A single string "all"
- A single string "none"
- A list of allowed parties
|
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 2025-01-22 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-22 UTC."],[[["This API endpoint retrieves the trainability status of a specified video."],["The HTTP request is a `GET` request to the `videoTrainability` endpoint, and it uses gRPC Transcoding syntax."],["The video is identified by its ID, which is passed as a query parameter."],["The response includes details such as the video ID, resource kind, Etag, and a list of who is permitted to train on the video."],["The request body for this endpoint must be empty."]]],["The document details retrieving a video's trainability status via a `GET` request to `https://youtube.googleapis.com/youtube/v3/videoTrainability`. A video `id` is required as a query parameter; the request body must be empty. The successful response, formatted in JSON, includes the `videoId`, `kind` (always `\"youtube#videoTrainability\"`), `etag`, and a `permitted` field indicating who can train on the video, either \"all\", \"none\", or a list of allowed parties. Authorization scopes are defined elsewhere.\n"]]