VideoCategories
با مجموعهها، منظم بمانید
ذخیره و دستهبندی محتوا براساس اولویتهای شما.
یک منبع videoCategory
دستهای را شناسایی میکند که با ویدیوهای آپلود شده مرتبط بوده یا میتواند مرتبط باشد.
روش ها
API از روش های زیر برای منابع videoCategories
پشتیبانی می کند:
- list
- فهرستی از دستههایی را که میتوان با ویدیوهای YouTube مرتبط کرد، برمیگرداند. اکنون آن را امتحان کنید .
نمایندگی منابع
ساختار JSON زیر فرمت یک منبع videoCategories
را نشان می دهد:
{
"kind": "youtube#videoCategory",
"etag": etag,
"id": string,
"snippet": {
"channelId": "UCBR8-60-B28hp2BmDPdntcQ",
"title": string,
"assignable": boolean
}
}
خواص
جدول زیر ویژگی های ظاهر شده در این منبع را تعریف می کند:
خواص |
---|
kind | string نوع منبع API را مشخص می کند. مقدار youtube#videoCategory خواهد بود. |
etag | etag Etag این منبع |
id | string شناسه ای که YouTube برای شناسایی منحصر به فرد دسته ویدیو استفاده می کند. |
snippet | object شی snippet حاوی جزئیات اساسی در مورد دسته ویدیو، از جمله عنوان آن است. |
snippet. channelId | string کانال YouTube که دسته ویدیو را ایجاد کرد. |
snippet. title | string عنوان دسته ویدیو |
snippet. assignable | boolean نشان می دهد که آیا ویدیوها می توانند با دسته مرتبط شوند یا خیر. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-11-09 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-11-09 بهوقت ساعت هماهنگ جهانی."],[[["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"]]