Youtube · Schema

LiveChatModeratorListResponse

A list of live chat moderator resources for a given live chat.

GoogleMediaSocialStreamingVideoVideos

Properties

Name Type Description
kind string Identifies the API resource's type. Value is youtube#liveChatModeratorListResponse.
etag string The Etag of this resource.
nextPageToken string The token for the next page of results.
prevPageToken string The token for the previous page of results.
pageInfo object Paging details for a list of live streaming resources.
items array A list of moderators that match the request criteria.
View JSON Schema on GitHub

JSON Schema

youtube-live-live-chat-moderator-list-response-schema.json Raw ↑
{
  "type": "object",
  "description": "A list of live chat moderator resources for a given live chat.",
  "properties": {
    "kind": {
      "type": "string",
      "description": "Identifies the API resource's type. Value is youtube#liveChatModeratorListResponse.",
      "example": "youtube#video"
    },
    "etag": {
      "type": "string",
      "description": "The Etag of this resource.",
      "example": "XI7nbFXulYBIpL0ayR_gDh3eu1k"
    },
    "nextPageToken": {
      "type": "string",
      "description": "The token for the next page of results.",
      "example": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9"
    },
    "prevPageToken": {
      "type": "string",
      "description": "The token for the previous page of results.",
      "example": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9"
    },
    "pageInfo": {
      "type": "object",
      "description": "Paging details for a list of live streaming resources.",
      "properties": {
        "totalResults": {
          "type": "integer",
          "description": "The total number of results in the result set.",
          "example": 42
        },
        "resultsPerPage": {
          "type": "integer",
          "description": "The number of results included in the API response.",
          "example": 10
        }
      }
    },
    "items": {
      "type": "array",
      "description": "A list of moderators that match the request criteria.",
      "example": [],
      "items": {
        "type": "object",
        "description": "A liveChatModerator resource identifies a user who has moderator privileges in a YouTube live chat.",
        "properties": {
          "kind": {
            "type": "string",
            "description": "Identifies the API resource's type. Value is youtube#liveChatModerator.",
            "example": "youtube#video"
          },
          "etag": {
            "type": "string",
            "description": "The Etag of this resource.",
            "example": "XI7nbFXulYBIpL0ayR_gDh3eu1k"
          },
          "id": {
            "type": "string",
            "description": "The ID that YouTube assigns to uniquely identify the moderator.",
            "example": "abc123def456"
          },
          "snippet": {
            "type": "object",
            "description": "The snippet object contains basic details about the moderator.",
            "example": "example_value",
            "properties": {
              "liveChatId": {
                "type": "string",
                "description": "The liveChatId is the live chat id for this moderator resource."
              },
              "moderatorDetails": {
                "type": "object",
                "description": "Details about the moderator.",
                "properties": {
                  "channelId": {
                    "type": "string",
                    "description": "The YouTube channel ID of the moderator."
                  },
                  "channelUrl": {
                    "type": "string",
                    "description": "The channel URL of the moderator."
                  },
                  "displayName": {
                    "type": "string",
                    "description": "The channel's display name."
                  },
                  "profileImageUrl": {
                    "type": "string",
                    "description": "The channel's avatar URL."
                  }
                }
              }
            }
          }
        },
        "required": [
          "kind",
          "etag"
        ]
      }
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "LiveChatModeratorListResponse",
  "x-schema-source": "openapi",
  "x-source-url": "openapi/youtube-live-streaming-openapi.yml"
}