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 ใช้เพื่อระบุเหตุผล เมื่อเรียกใช้เมธอด videos.reportAbuse แอปพลิเคชันของคุณควรใช้ค่านี้เพื่อตั้งค่าพร็อพเพอร์ตี้ reasonId |
snippet |
object
ออบเจ็กต์ snippet มีรายละเอียดพื้นฐานเกี่ยวกับเหตุผล |
snippet.label |
string
ข้อความป้ายกำกับที่แปลแล้วสำหรับเหตุผลในการรายงานการละเมิด |
snippet.secondaryReasons[] |
list
รายการเหตุผลรองที่เชื่อมโยงกับสาเหตุ หากมี (อาจมีจำนวนตั้งแต่ 0 ขึ้นไป) |
snippet.secondaryReasons[].id |
string
รหัสที่ YouTube ใช้เพื่อระบุสาเหตุรอง เมื่อเรียกใช้เมธอด videos.reportAbuse แอปพลิเคชันของคุณควรใช้ค่านี้เพื่อตั้งค่าพร็อพเพอร์ตี้ secondaryReasonId |
snippet.secondaryReasons[].label |
string
ข้อความป้ายกำกับที่แปลแล้วด้วยเหตุผลรอง |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-04-26 UTC
[[["เข้าใจง่าย","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"]],["อัปเดตล่าสุด 2024-04-26 UTC"],[[["A `videoAbuseReportReason` resource provides the reasons for flagging a video as abusive."],["The `videos.reportAbuse` method utilizes `videoAbuseReportReason` data to specify why a video is being reported."],["The API's `videoAbuseReportReasons.list` method lets users get a list of reasons for reporting abusive videos."],["The resource is represented in JSON format, containing an id, kind, etag and snippet, along with additional nested information, such as secondary reasons."],["Each of the labels and secondary reasons available to report a video with also have an ID that is used when using the `videos.reportAbuse` method."]]],["The `videoAbuseReportReason` resource provides data for flagging abusive video content. It contains an ID, localized label, and optional secondary reasons, each with their ID and label. The `videos.reportAbuse` method uses the `videoAbuseReportReason` data, which you can list by calling the `videoAbuseReportReasons/list` method. The resource's `id` property is used in the `videos.reportAbuse` method to define the reason for the report. Secondary reasons are listed in the `snippet` property.\n"]]