Wir aktualisieren die Data API, damit sie der Zählweise von YouTube-Aufrufen für Kurzvideos entspricht.
Weitere Informationen
VideoCategories
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Eine videoCategory
-Ressource gibt eine Kategorie an, die mit hochgeladenen Videos verknüpft wurde oder werden könnte.
Ressourcendarstellung
Die folgende JSON-Struktur zeigt das Format einer videoCategories
-Ressource:
{
"kind": "youtube#videoCategory",
"etag": etag,
"id": string,
"snippet": {
"channelId": "UCBR8-60-B28hp2BmDPdntcQ",
"title": string,
"assignable": boolean
}
}
Attribute
In der folgenden Tabelle werden die Attribute definiert, die in dieser Ressource enthalten sind:
Attribute |
kind |
string
Gibt den Typ der API-Ressource an. Der Wert ist youtube#videoCategory . |
etag |
etag
Das ETag dieser Ressource. |
id |
string
Die ID, die YouTube zur eindeutigen Identifizierung der Videokategorie verwendet. |
snippet |
object
Das snippet -Objekt enthält grundlegende Details zur Videokategorie, einschließlich des Titels. |
snippet.channelId |
string
Der YouTube-Kanal, auf dem die Videokategorie erstellt wurde. |
snippet.title |
string
Der Titel der Videokategorie. |
snippet.assignable |
boolean
Gibt an, ob Videos der Kategorie zugeordnet werden können. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-08-21 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-21 (UTC)."],[[["\u003cp\u003eA \u003ccode\u003evideoCategory\u003c/code\u003e resource in the YouTube API defines a category that can be associated with uploaded videos.\u003c/p\u003e\n"],["\u003cp\u003eThe API's \u003ccode\u003evideoCategories\u003c/code\u003e list method returns a list of categories applicable to YouTube videos.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003evideoCategory\u003c/code\u003e resource includes an ID, a title, and information about whether the category is assignable to videos.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esnippet\u003c/code\u003e section within a \u003ccode\u003evideoCategory\u003c/code\u003e resource provides basic details such as the channel that created it and its title.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ekind\u003c/code\u003e property of the resource is always a string that identifies the resource type as \u003ccode\u003eyoutube#videoCategory\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `videoCategory` resource identifies video categories for YouTube uploads. The API's `videoCategories.list` method retrieves a list of these categories. Each category is represented with a unique ID, title, and the channel ID that created it. The resource also includes an `assignable` property that indicates if videos can be linked to the specific category. The resource type is identified as `youtube#videoCategory`.\n"],null,["# VideoCategories\n\nA **videoCategory** resource identifies a category that has been or could be associated with uploaded videos.\n\nMethods\n-------\n\nThe API supports the following methods for `videoCategories` resources:\n\n[list](/youtube/v3/docs/videoCategories/list)\n: Returns a list of categories that can be associated with YouTube videos.\n [Try it now](/youtube/v3/docs/videoCategories/list#usage).\n\nResource representation\n-----------------------\n\nThe following JSON structure shows the format of a `videoCategories` resource: \n\n```verilog\n{\n \"#kind\": \"youtube#videoCategory\",\n \"#etag\": etag,\n \"#id\": string,\n \"#snippet\": {\n \"#snippet.channelId\": \"UCBR8-60-B28hp2BmDPdntcQ\",\n \"#snippet.title\": string,\n \"#snippet.assignable\": boolean\n }\n}\n```\n\n### Properties\n\nThe following table defines the properties that appear in this resource:\n\n| Properties ||\n|----------------------|-----------------------------------------------------------------------------------------------------|\n| `kind` | `string` Identifies the API resource's type. The value will be `youtube#videoCategory`. |\n| `etag` | `etag` The Etag of this resource. |\n| `id` | `string` The ID that YouTube uses to uniquely identify the video category. |\n| `snippet` | `object` The `snippet` object contains basic details about the video category, including its title. |\n| snippet.`channelId` | `string` The YouTube channel that created the video category. |\n| snippet.`title` | `string` The video category's title. |\n| snippet.`assignable` | `boolean` Indicates whether videos can be associated with the category. |"]]