Insert

Adds a new moderator for the chat

11 variables
10 variables

Adds a new moderator for the chat

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Manage your YouTube account
  • See, edit, and permanently delete your YouTube videos, ratings, comments and captions

Input

This building block consumes 11 input parameters

  = Parameter name
  = Format

part STRING Required

The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response returns. Set the parameter value to snippet

etag STRING

Etag of this resource

id STRING

The ID that YouTube assigns to uniquely identify the moderator

kind STRING

Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatModerator"

snippet OBJECT

snippet.liveChatId STRING

The ID of the live chat this moderator can act on

snippet.moderatorDetails OBJECT

snippet.moderatorDetails.channelId STRING

The YouTube channel ID

snippet.moderatorDetails.channelUrl STRING

The channel's URL

snippet.moderatorDetails.displayName STRING

The channel's display name

snippet.moderatorDetails.profileImageUrl STRING

The channels's avatar URL

Output

This building block provides 10 output parameters

  = Parameter name
  = Format

etag STRING

Etag of this resource

id STRING

The ID that YouTube assigns to uniquely identify the moderator

kind STRING

Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatModerator"

snippet OBJECT

snippet.liveChatId STRING

The ID of the live chat this moderator can act on

snippet.moderatorDetails OBJECT

snippet.moderatorDetails.channelId STRING

The YouTube channel ID

snippet.moderatorDetails.channelUrl STRING

The channel's URL

snippet.moderatorDetails.displayName STRING

The channel's display name

snippet.moderatorDetails.profileImageUrl STRING

The channels's avatar URL