videoAbuseReportReason 资源包含有关视频被标记为包含侮辱性内容的原因的信息。当您的应用调用 videos.reportAbuse 方法举报滥用视频时,该请求会使用 videoAbuseReportReason 资源中的信息来确定举报视频的原因。
方法
该 API 支持对 videoAbuseReportReasons 资源使用以下方法:
资源表示法
以下 JSON 结构显示了 videoAbuseReportReason 资源的格式:
{
  "kind": "youtube#videoAbuseReportReason",
  "etag": etag,
  "id": string,
  "snippet": {
    "label": string,
    "secondaryReasons": [
      {
        "id": string,
        "label": string
      }
    ]
  }
}属性
下表定义了此资源中显示的属性:
| 属性 | |
|---|---|
kind | 
      string用于标识 API 资源的类型。该值将为 youtube#videoAbuseReportReason。 | 
    
etag | 
      etag此资源的 ETag。  | 
    
id | 
      string这是 YouTube 用于标识原因的 ID。调用 videos.reportAbuse 方法时,应用应使用此值来设置 reasonId 属性。 | 
    
snippet | 
      objectsnippet 对象包含有关原因的基本详细信息。 | 
    
snippet.label | 
      string滥用行为举报原因的本地化标签文本。  | 
    
snippet.secondaryReasons[] | 
      list与该原因相关的次要原因列表(如果有)。(可能为 0 或更多)。  | 
    
snippet.secondaryReasons[].id | 
      string这是 YouTube 用于标识次要原因的 ID。调用 videos.reportAbuse 方法时,应用应使用此值来设置 secondaryReasonId 属性。 | 
    
snippet.secondaryReasons[].label | 
      string次要原因的本地化标签文本。  |