Method: claims.insert
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
创建版权主张。被声明版权的视频必须上传到与发出请求的 API 用户关联的频道。您可以通过以下任一方式设置版权主张的政策:
- 使用
claim 资源的 policy 属性可按唯一 ID 标识已保存的政策。 - 使用
claim 资源的 policy 属性指定一组自定义规则。
HTTP 请求
POST https://youtubepartner.googleapis.com/youtube/partner/v1/claims
网址采用 gRPC 转码语法。
查询参数
| 参数 |
isManualClaim |
boolean
受限
|
onBehalfOfContentOwner |
string
onBehalfOfContentOwner 参数用于标识用户代表的具体内容所有者。此参数适用于账号与多个内容所有者相关联的用户。
|
响应正文
如果成功,响应正文将包含一个新创建的 Claim 实例。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/youtubepartner
如需了解详情,请参阅 OAuth 2.0 Overview。
保留所有权利。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[[["易于理解","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-08-21。"],[],["This API documentation details creating a claim for a video uploaded to a channel associated with the API user's content owner. A `POST` request is sent to `https://youtubepartner.googleapis.com/youtube/partner/v1/claims`. The request must include `isManualClaim` and `onBehalfOfContentOwner` query parameters. The request body specifies the `Claim`, and the response body returns the newly created `Claim`. Authorization requires the `https://www.googleapis.com/auth/youtubepartner` OAuth scope. A policy can be specified by referencing a saved policy ID or by defining a custom rule set.\n"]]