Method: ownership.update
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
为指定资产提供新的所有权信息。请注意,YouTube 可能会从多个来源接收所有权信息。例如,如果某项资产有多个所有者,则每位所有者都可能会发送该资产的所有权数据。YouTube 会通过算法组合从所有这些来源收到的所有权数据,以生成资产的规范所有权数据,该数据应能最全面、最准确地反映资产的所有权。
HTTP 请求
PUT https://youtubepartner.googleapis.com/youtube/partner/v1/assets/{assetId}/ownership
网址采用 gRPC 转码语法。
路径参数
| 参数 |
assetId |
string
assetId 参数指定要更新的资产的 YouTube 资产 ID。
|
查询参数
| 参数 |
onBehalfOfContentOwner |
string
onBehalfOfContentOwner 参数用于标识用户代表的具体内容所有者。此参数适用于账号与多个内容所有者相关联的用户。
|
请求正文
请求正文包含一个 RightsOwnership 实例。
响应正文
如果成功,则响应正文包含一个 RightsOwnership 实例。
授权范围
需要以下 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 document outlines the process for updating asset ownership on YouTube via the YouTube Partner API. It uses a `PUT` request to `https://youtubepartner.googleapis.com/youtube/partner/v1/assets/{assetId}/ownership`, requiring the `assetId` as a path parameter. The `onBehalfOfContentOwner` query parameter specifies the content owner. The request and response bodies utilize the `RightsOwnership` resource. The method requires `https://www.googleapis.com/auth/youtubepartner` OAuth scope for authorization. The try it button allows the user to test the update.\n"]]