Youtube · Schema

Group

A group resource represents a YouTube Analytics group, which is a custom collection of up to 500 channels, videos, playlists, or assets. You can use groups to simplify retrieving data for multiple resources.

GoogleMediaSocialStreamingVideoVideos

Properties

Name Type Description
kind string Identifies the API resource's type. Value is youtube#group.
etag string The Etag of this resource.
id string The ID that YouTube uses to uniquely identify the group.
snippet object The snippet object contains basic details about the group.
contentDetails object Describes the content of a YouTube Analytics group in terms of the number of items it contains and the type of items it contains.
View JSON Schema on GitHub

JSON Schema

youtube-analytics-group-schema.json Raw ↑
{
  "type": "object",
  "description": "A group resource represents a YouTube Analytics group, which is a custom collection of up to 500 channels, videos, playlists, or assets. You can use groups to simplify retrieving data for multiple resources.",
  "properties": {
    "kind": {
      "type": "string",
      "description": "Identifies the API resource's type. Value is youtube#group.",
      "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 group.",
      "example": "abc123def456"
    },
    "snippet": {
      "type": "object",
      "description": "The snippet object contains basic details about the group.",
      "example": "example_value",
      "properties": {
        "publishedAt": {
          "type": "string",
          "description": "The date and time that the group was created.",
          "format": "date-time"
        },
        "title": {
          "type": "string",
          "description": "The group title. The value must be a non-empty string."
        }
      }
    },
    "contentDetails": {
      "type": "object",
      "description": "Describes the content of a YouTube Analytics group in terms of the number of items it contains and the type of items it contains.",
      "properties": {
        "itemCount": {
          "type": "integer",
          "description": "The number of items in the group.",
          "example": 42,
          "format": "int64"
        },
        "itemType": {
          "type": "string",
          "description": "The type of resources contained in the group. Valid values are youtube#channel, youtube#playlist, youtube#video, and youtubePartner#asset.",
          "example": "youtube#channel",
          "enum": [
            "youtube#channel",
            "youtube#playlist",
            "youtube#video",
            "youtubePartner#asset"
          ]
        }
      }
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Group",
  "x-schema-source": "openapi",
  "x-source-url": "openapi/youtube-analytics-openapi.yml"
}