VideoCategories
يحدّد مورد videoCategory
فئة كان أو يمكن ربطها بفيديوهات تم تحميلها.
الطُرق
تتيح واجهة برمجة التطبيقات استخدام الطرق التالية لموارد videoCategories
:
- list
- عرض قائمة بالفئات التي يمكن ربطها بفيديوهات YouTube.
التجربة الآن
تمثيل الموارد
تعرض بنية JSON التالية تنسيق مورد videoCategories
:
{
"kind": "youtube#videoCategory",
"etag": etag,
"id": string,
"snippet": {
"channelId": "UCBR8-60-B28hp2BmDPdntcQ",
"title": string,
"assignable": boolean
}
}
أماكن إقامة
يحدد الجدول التالي الخصائص التي تظهر في هذا المورد:
أماكن إقامة |
kind |
string
يحدّد نوع مورد واجهة برمجة التطبيقات. ستكون القيمة youtube#videoCategory . |
etag |
etag
علامة هذا المرجع. |
id |
string
المعرّف الذي تستخدمه منصة YouTube لتحديد فئة الفيديو بشكل فريد. |
snippet |
object
يحتوي العنصر snippet على تفاصيل أساسية حول فئة الفيديو، بما في ذلك عنوانه. |
snippet.channelId |
string
القناة على YouTube التي أنشأت فئة الفيديو. |
snippet.title |
string
عنوان فئة الفيديو. |
snippet.assignable |
boolean
يشير إلى ما إذا كان من الممكن ربط الفيديوهات بفئة المحتوى. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-04-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-04-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["A `videoCategory` resource in the YouTube API defines a category that can be associated with uploaded videos."],["The API's `videoCategories` list method returns a list of categories applicable to YouTube videos."],["Each `videoCategory` resource includes an ID, a title, and information about whether the category is assignable to videos."],["The `snippet` section within a `videoCategory` resource provides basic details such as the channel that created it and its title."],["The `kind` property of the resource is always a string that identifies the resource type as `youtube#videoCategory`."]]],["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"]]