Youtube · Schema

GroupItem

A groupItem resource identifies a resource, such as a video, channel, or playlist, that is part of a group. A group can contain a maximum of 500 items and only items of the same type (videos, channels, playlists, or assets).

GoogleMediaSocialStreamingVideoVideos

Properties

Name Type Description
kind string Identifies the API resource's type. Value is youtube#groupItem.
etag string The Etag of this resource.
id string The ID that YouTube uses to uniquely identify the groupItem resource.
groupId string The ID that YouTube uses to uniquely identify the group that contains the item.
resource object The resource object contains information that identifies the item being added to the group.
View JSON Schema on GitHub

JSON Schema

youtube-analytics-group-item-schema.json Raw ↑
{
  "type": "object",
  "description": "A groupItem resource identifies a resource, such as a video, channel, or playlist, that is part of a group. A group can contain a maximum of 500 items and only items of the same type (videos, channels, playlists, or assets).",
  "properties": {
    "kind": {
      "type": "string",
      "description": "Identifies the API resource's type. Value is youtube#groupItem.",
      "example": "youtube#video"
    },
    "etag": {
      "type": "string",
      "description": "The Etag of this resource.",
      "example": "XI7nbFXulYBIpL0ayR_gDh3eu1k"
    },
    "id": {
      "type": "string",
      "description": "The ID that YouTube uses to uniquely identify the groupItem resource.",
      "example": "abc123def456"
    },
    "groupId": {
      "type": "string",
      "description": "The ID that YouTube uses to uniquely identify the group that contains the item.",
      "example": "500123"
    },
    "resource": {
      "type": "object",
      "description": "The resource object contains information that identifies the item being added to the group.",
      "example": "example_value",
      "properties": {
        "kind": {
          "type": "string",
          "description": "Identifies the type of resource being added to the group.",
          "enum": [
            "youtube#channel",
            "youtube#playlist",
            "youtube#video",
            "youtubePartner#asset"
          ]
        },
        "id": {
          "type": "string",
          "description": "The channel, video, playlist, or asset ID that YouTube uses to uniquely identify the item being added to the group."
        }
      }
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GroupItem",
  "x-schema-source": "openapi",
  "x-source-url": "openapi/youtube-analytics-openapi.yml"
}