Method: videoTrainability.get
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
HTTP 请求
GET https://youtube.googleapis.com/youtube/v3/videoTrainability
网址采用 gRPC 转码语法。
响应正文
指定哪些人可以使用该视频进行训练。
如果成功,响应正文将包含结构如下的数据:
| JSON 表示法 |
{
"videoId": string,
"kind": string,
"etag": string,
"permitted": [
string
]
} |
| 字段 |
videoId |
string
视频的 ID。
|
kind |
string
表明这是哪类资源。值:固定字符串 "youtube#videoTrainability"
|
etag |
string
此资源的 ETag。
|
permitted[] |
string
指定哪些人可以使用该视频进行训练。有效值包括:
- 单个字符串“all”
- 单个字符串“none”
- 允许的相关方列表
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-22。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-01-22。"],[],["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"]]