Youtube · JSON Structure

Youtube Data Subscription List Response Structure

A list of subscription resources matching the request criteria.

Type: object Properties: 6
GoogleMediaSocialStreamingVideoVideos

SubscriptionListResponse is a JSON Structure definition published by Youtube, describing 6 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

kind etag nextPageToken prevPageToken pageInfo items

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "A list of subscription resources matching the request criteria.",
  "name": "SubscriptionListResponse",
  "properties": {
    "kind": {
      "type": "string",
      "description": "Identifies the API resource's type. Value is youtube#subscriptionListResponse."
    },
    "etag": {
      "type": "string",
      "description": "The Etag of this resource."
    },
    "nextPageToken": {
      "type": "string",
      "description": "The token for the next page of results."
    },
    "prevPageToken": {
      "type": "string",
      "description": "The token for the previous page of results."
    },
    "pageInfo": {
      "type": "object",
      "description": "Paging details for a list operation, including information about the total number of resources and the number per page.",
      "properties": {
        "totalResults": {
          "type": "integer",
          "description": "The total number of results in the result set."
        },
        "resultsPerPage": {
          "type": "integer",
          "description": "The number of results included in the API response."
        }
      }
    },
    "items": {
      "type": "array",
      "description": "A list of subscriptions that match the request criteria.",
      "items": {
        "type": "object",
        "description": "A subscription resource contains information about a YouTube user's subscription to a channel.",
        "properties": {
          "kind": {
            "type": "string",
            "description": "Identifies the API resource's type. Value is youtube#subscription."
          },
          "etag": {
            "type": "string",
            "description": "The Etag of this resource."
          },
          "id": {
            "type": "string",
            "description": "The ID that YouTube uses to uniquely identify the subscription."
          },
          "snippet": {
            "type": "object",
            "description": "The snippet object contains basic details about the subscription.",
            "properties": {
              "publishedAt": {
                "type": "datetime",
                "description": "The date and time that the subscription was created."
              },
              "title": {
                "type": "string",
                "description": "The subscription title."
              },
              "description": {
                "type": "string",
                "description": "The subscription description."
              },
              "resourceId": {
                "type": "object",
                "description": "The resourceId object contains information about the resource to which the subscriber subscribed.",
                "properties": {
                  "kind": {
                    "type": "string",
                    "description": "The type of the API resource."
                  },
                  "channelId": {
                    "type": "string",
                    "description": "The value that YouTube uses to uniquely identify the channel that the user subscribed to."
                  }
                }
              },
              "channelId": {
                "type": "string",
                "description": "The ID of the channel that the subscription belongs to."
              },
              "thumbnails": {
                "type": "object",
                "description": "A map of thumbnail images associated with the subscription."
              }
            }
          }
        },
        "required": [
          "kind",
          "etag"
        ]
      }
    }
  },
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}