VideoAbuseReportReasons
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób videoAbuseReportReason
zawiera informacje o przyczynach, dla których film zawiera nieodpowiednie treści. Gdy aplikacja wywołuje metodę videos.reportAbuse
, aby zgłosić nadużycie w filmie, żądanie korzysta z informacji z zasobu videoAbuseReportReason
, aby określić przyczynę zgłoszenia filmu.
Metody
Interfejs API obsługuje te metody zasobów videoAbuseReportReasons
:
- list
- Pobierz listę powodów, na podstawie których możesz zgłosić filmy naruszające zasady.
Wypróbuj teraz
Reprezentacja zasobu
Poniższa struktura JSON pokazuje format zasobu videoAbuseReportReason
:
{
"kind": "youtube#videoAbuseReportReason",
"etag": etag,
"id": string,
"snippet": {
"label": string,
"secondaryReasons": [
{
"id": string,
"label": string
}
]
}
}
Właściwości
Poniższa tabela przedstawia właściwości, które pojawiają się w tym zasobie:
Właściwości |
kind |
string Określa typ zasobu interfejsu API. Wartością będzie youtube#videoAbuseReportReason . |
etag |
etag
ETag tego zasobu. |
id |
string Identyfikator, którego YouTube używa do zidentyfikowania przyczyny. W przypadku wywoływania metody videos.reportAbuse aplikacja powinna używać tej wartości do ustawiania właściwości reasonId . |
snippet |
object Obiekt snippet zawiera podstawowe informacje o przyczynie. |
snippet.label |
string
Zlokalizowany tekst etykiety z informacją o przyczynie zgłoszenia nadużycia. |
snippet.secondaryReasons[] |
list
Lista dodatkowych przyczyn powiązanych z danym powodem, jeśli istnieją. (może być 0 lub więcej). |
snippet.secondaryReasons[].id |
string Identyfikator, którego YouTube używa do zidentyfikowania dodatkowej przyczyny. W przypadku wywoływania metody videos.reportAbuse aplikacja powinna używać tej wartości do ustawiania właściwości secondaryReasonId . |
snippet.secondaryReasons[].label |
string
Zlokalizowany tekst etykiety z dodatkowego powodu. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-04-26 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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"]]