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
ה-e של המשאב הזה. |
id |
string
המזהה שמשמש את YouTube לזיהוי הסיבה. כשמבצעים קריאה ל-method videos.reportAbuse , האפליקציה צריכה להשתמש בערך הזה כדי להגדיר את המאפיין reasonId . |
snippet |
object
האובייקט snippet מכיל פרטים בסיסיים על הסיבה. |
snippet.label |
string
הטקסט של התווית שהותאם לשוק המקומי עקב הדיווח על התנהלות פוגעת. |
snippet.secondaryReasons[] |
list
רשימה של סיבות משניות שמשויכות לסיבה, אם יש כאלה. (עשויים להיות 0 או יותר). |
snippet.secondaryReasons[].id |
string
המזהה שמשמש את YouTube לזיהוי הסיבה המשנית. כשמבצעים קריאה ל-method videos.reportAbuse , האפליקציה צריכה להשתמש בערך הזה כדי להגדיר את המאפיין secondaryReasonId . |
snippet.secondaryReasons[].label |
string
טקסט התווית שהותאם לשוק המקומי עבור הסיבה המשנית. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]