VideoAbuseReportReasons

videoAbuseReportReason 資源內含影片遭檢舉含有不當內容的原因。當應用程式呼叫 videos.reportAbuse 方法回報不當影片時,要求會使用 videoAbuseReportReason 資源的資訊,找出檢舉影片的原因。

方法

這個 API 支援下列 videoAbuseReportReasons 資源方法:

list
擷取可用於檢舉濫用行為影片的原因清單。 立即試用

資源表示法

下列 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 object
snippet 物件包含原因的基本詳細資料。
snippet.label string
濫用行為檢舉原因的本地化標籤文字。
snippet.secondaryReasons[] list
與原因相關的次要原因清單 (如有)。(可能會有 0 個以上)。
snippet.secondaryReasons[].id string
YouTube 用來識別次要原因的 ID。呼叫 videos.reportAbuse 方法時,應用程式應使用這個值設定 secondaryReasonId 屬性。
snippet.secondaryReasons[].label string
次要原因的本地化標籤文字。