blob: d245c25f743967a9262738555f0954ec267b0f5b [file] [log] [blame]
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="youtube_v3.html">YouTube Data API</a> . <a href="youtube_v3.commentThreads.html">commentThreads</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#insert">insert(part, body=None)</a></code></p>
Takashi Matsuo06694102015-09-11 13:55:40 -070079<p class="firstline">Creates a new top-level comment. To add a reply to an existing comment, use the comments.insert method instead.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000080<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070081 <code><a href="#list">list(part, allThreadsRelatedToChannelId=None, channelId=None, id=None, maxResults=None, moderationStatus=None, order=None, pageToken=None, searchTerms=None, textFormat=None, videoId=None)</a></code></p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000082<p class="firstline">Returns a list of comment threads that match the API request parameters.</p>
83<p class="toc_element">
84 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
85<p class="firstline">Retrieves the next page of results.</p>
86<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070087 <code><a href="#update">update(part, body=None)</a></code></p>
Takashi Matsuo06694102015-09-11 13:55:40 -070088<p class="firstline">Modifies the top-level comment in a comment thread.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000089<h3>Method Details</h3>
90<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070091 <code class="details" id="insert">insert(part, body=None)</code>
Takashi Matsuo06694102015-09-11 13:55:40 -070092 <pre>Creates a new top-level comment. To add a reply to an existing comment, use the comments.insert method instead.
Nathaniel Manista4f877e52015-06-15 16:44:50 +000093
94Args:
Takashi Matsuo06694102015-09-11 13:55:40 -070095 part: string, The part parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost of 2 units. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -070096 body: object, The request body.
Nathaniel Manista4f877e52015-06-15 16:44:50 +000097 The object takes the form of:
98
99{ # A comment thread represents information that applies to a top level comment and all its replies. It can also include the top level comment itself and some of the replies.
Bu Sun Kim65020912020-05-20 12:08:20 -0700100 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
101 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment thread.
102 &quot;kind&quot;: &quot;youtube#commentThread&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#commentThread&quot;.
103 &quot;replies&quot;: { # Comments written in (direct or indirect) reply to the top level comment. # The replies object contains a limited number of replies (if any) to the top level comment found in the snippet.
104 &quot;comments&quot;: [ # A limited number of replies. Unless the number of replies returned equals total_reply_count in the snippet the returned replies are only a subset of the total number of replies.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000105 { # A comment represents a single YouTube comment.
Bu Sun Kim65020912020-05-20 12:08:20 -0700106 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
107 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
108 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
109 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
110 &quot;authorChannelId&quot;: &quot;&quot;, # The id of the author&#x27;s YouTube channel, if any.
111 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
112 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
113 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
114 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
115 &quot;channelId&quot;: &quot;A String&quot;, # The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it&#x27;s the video&#x27;s channel.
116 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
117 &quot;moderationStatus&quot;: &quot;A String&quot;, # The comment&#x27;s moderation status. Will not be set if the comments were requested through the id filter.
118 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
119 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
120 &quot;textDisplay&quot;: &quot;A String&quot;, # The comment&#x27;s text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc.
121 &quot;textOriginal&quot;: &quot;A String&quot;, # The comment&#x27;s original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which is only guaranteed if the viewer is the comment&#x27;s author.
122 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
123 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
124 &quot;viewerRating&quot;: &quot;A String&quot;, # The rating the viewer has given to this comment. For the time being this will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may change in the future.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000125 },
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000126 },
127 ],
128 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700129 &quot;snippet&quot;: { # Basic details about a comment thread. # The snippet object contains basic details about the comment thread and also the top level comment.
130 &quot;canReply&quot;: True or False, # Whether the current viewer of the thread can reply to it. This is viewer specific - other viewers may see a different value for this field.
131 &quot;channelId&quot;: &quot;A String&quot;, # The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn&#x27;t set the comments refer to the channel itself.
132 &quot;isPublic&quot;: True or False, # Whether the thread (and therefore all its comments) is visible to all YouTube users.
133 &quot;topLevelComment&quot;: { # A comment represents a single YouTube comment. # The top level comment of this thread.
134 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
135 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
136 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
137 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
138 &quot;authorChannelId&quot;: &quot;&quot;, # The id of the author&#x27;s YouTube channel, if any.
139 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
140 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
141 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
142 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
143 &quot;channelId&quot;: &quot;A String&quot;, # The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it&#x27;s the video&#x27;s channel.
144 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
145 &quot;moderationStatus&quot;: &quot;A String&quot;, # The comment&#x27;s moderation status. Will not be set if the comments were requested through the id filter.
146 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
147 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
148 &quot;textDisplay&quot;: &quot;A String&quot;, # The comment&#x27;s text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc.
149 &quot;textOriginal&quot;: &quot;A String&quot;, # The comment&#x27;s original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which is only guaranteed if the viewer is the comment&#x27;s author.
150 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
151 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
152 &quot;viewerRating&quot;: &quot;A String&quot;, # The rating the viewer has given to this comment. For the time being this will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may change in the future.
153 },
154 },
155 &quot;totalReplyCount&quot;: 42, # The total number of replies (not including the top level comment).
156 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment.
157 },
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000158 }
159
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000160
161Returns:
162 An object of the form:
163
164 { # A comment thread represents information that applies to a top level comment and all its replies. It can also include the top level comment itself and some of the replies.
Bu Sun Kim65020912020-05-20 12:08:20 -0700165 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
166 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment thread.
167 &quot;kind&quot;: &quot;youtube#commentThread&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#commentThread&quot;.
168 &quot;replies&quot;: { # Comments written in (direct or indirect) reply to the top level comment. # The replies object contains a limited number of replies (if any) to the top level comment found in the snippet.
169 &quot;comments&quot;: [ # A limited number of replies. Unless the number of replies returned equals total_reply_count in the snippet the returned replies are only a subset of the total number of replies.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000170 { # A comment represents a single YouTube comment.
Bu Sun Kim65020912020-05-20 12:08:20 -0700171 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
172 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
173 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
174 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
175 &quot;authorChannelId&quot;: &quot;&quot;, # The id of the author&#x27;s YouTube channel, if any.
176 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
177 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
178 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
179 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
180 &quot;channelId&quot;: &quot;A String&quot;, # The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it&#x27;s the video&#x27;s channel.
181 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
182 &quot;moderationStatus&quot;: &quot;A String&quot;, # The comment&#x27;s moderation status. Will not be set if the comments were requested through the id filter.
183 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
184 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
185 &quot;textDisplay&quot;: &quot;A String&quot;, # The comment&#x27;s text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc.
186 &quot;textOriginal&quot;: &quot;A String&quot;, # The comment&#x27;s original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which is only guaranteed if the viewer is the comment&#x27;s author.
187 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
188 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
189 &quot;viewerRating&quot;: &quot;A String&quot;, # The rating the viewer has given to this comment. For the time being this will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may change in the future.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000190 },
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000191 },
192 ],
193 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700194 &quot;snippet&quot;: { # Basic details about a comment thread. # The snippet object contains basic details about the comment thread and also the top level comment.
195 &quot;canReply&quot;: True or False, # Whether the current viewer of the thread can reply to it. This is viewer specific - other viewers may see a different value for this field.
196 &quot;channelId&quot;: &quot;A String&quot;, # The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn&#x27;t set the comments refer to the channel itself.
197 &quot;isPublic&quot;: True or False, # Whether the thread (and therefore all its comments) is visible to all YouTube users.
198 &quot;topLevelComment&quot;: { # A comment represents a single YouTube comment. # The top level comment of this thread.
199 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
200 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
201 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
202 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
203 &quot;authorChannelId&quot;: &quot;&quot;, # The id of the author&#x27;s YouTube channel, if any.
204 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
205 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
206 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
207 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
208 &quot;channelId&quot;: &quot;A String&quot;, # The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it&#x27;s the video&#x27;s channel.
209 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
210 &quot;moderationStatus&quot;: &quot;A String&quot;, # The comment&#x27;s moderation status. Will not be set if the comments were requested through the id filter.
211 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
212 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
213 &quot;textDisplay&quot;: &quot;A String&quot;, # The comment&#x27;s text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc.
214 &quot;textOriginal&quot;: &quot;A String&quot;, # The comment&#x27;s original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which is only guaranteed if the viewer is the comment&#x27;s author.
215 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
216 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
217 &quot;viewerRating&quot;: &quot;A String&quot;, # The rating the viewer has given to this comment. For the time being this will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may change in the future.
218 },
219 },
220 &quot;totalReplyCount&quot;: 42, # The total number of replies (not including the top level comment).
221 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment.
222 },
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000223 }</pre>
224</div>
225
226<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700227 <code class="details" id="list">list(part, allThreadsRelatedToChannelId=None, channelId=None, id=None, maxResults=None, moderationStatus=None, order=None, pageToken=None, searchTerms=None, textFormat=None, videoId=None)</code>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000228 <pre>Returns a list of comment threads that match the API request parameters.
229
230Args:
Takashi Matsuo06694102015-09-11 13:55:40 -0700231 part: string, The part parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700232 allThreadsRelatedToChannelId: string, The allThreadsRelatedToChannelId parameter instructs the API to return all comment threads associated with the specified channel. The response can include comments about the channel or about the channel&#x27;s videos.
Takashi Matsuo06694102015-09-11 13:55:40 -0700233 channelId: string, The channelId parameter instructs the API to return comment threads containing comments about the specified channel. (The response will not include comments left on videos that the channel uploaded.)
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000234 id: string, The id parameter specifies a comma-separated list of comment thread IDs for the resources that should be retrieved.
Bu Sun Kim65020912020-05-20 12:08:20 -0700235 maxResults: integer, The maxResults parameter specifies the maximum number of items that should be returned in the result set.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000236
237Note: This parameter is not supported for use in conjunction with the id parameter.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000238 moderationStatus: string, Set this parameter to limit the returned comment threads to a particular moderation state.
239
240Note: This parameter is not supported for use in conjunction with the id parameter.
241 Allowed values
Takashi Matsuo06694102015-09-11 13:55:40 -0700242 heldForReview - Retrieve comment threads that are awaiting review by a moderator. A comment thread can be included in the response if the top-level comment or at least one of the replies to that comment are awaiting review.
243 likelySpam - Retrieve comment threads classified as likely to be spam. A comment thread can be included in the response if the top-level comment or at least one of the replies to that comment is considered likely to be spam.
244 published - Retrieve threads of published comments. This is the default value. A comment thread can be included in the response if its top-level comment has been published.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000245 order: string, The order parameter specifies the order in which the API response should list comment threads. Valid values are:
246- time - Comment threads are ordered by time. This is the default behavior.
247- relevance - Comment threads are ordered by relevance.Note: This parameter is not supported for use in conjunction with the id parameter.
248 Allowed values
249 relevance - Order by relevance.
250 time - Order by time.
Bu Sun Kim65020912020-05-20 12:08:20 -0700251 pageToken: string, The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identifies the next page of the result that can be retrieved.
252
253Note: This parameter is not supported for use in conjunction with the id parameter.
254 searchTerms: string, The searchTerms parameter instructs the API to limit the API response to only contain comments that contain the specified search terms.
255
256Note: This parameter is not supported for use in conjunction with the id parameter.
257 textFormat: string, Set this parameter&#x27;s value to html or plainText to instruct the API to return the comments left by users in html formatted or in plain text.
258 Allowed values
259 html - Returns the comments in HTML format. This is the default value.
260 plainText - Returns the comments in plain text format.
261 videoId: string, The videoId parameter instructs the API to return comment threads associated with the specified video ID.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000262
263Returns:
264 An object of the form:
265
266 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700267 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
268 &quot;eventId&quot;: &quot;A String&quot;, # Serialized EventId of the request which produced this response.
269 &quot;items&quot;: [ # A list of comment threads that match the request criteria.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000270 { # A comment thread represents information that applies to a top level comment and all its replies. It can also include the top level comment itself and some of the replies.
Bu Sun Kim65020912020-05-20 12:08:20 -0700271 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
272 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment thread.
273 &quot;kind&quot;: &quot;youtube#commentThread&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#commentThread&quot;.
274 &quot;replies&quot;: { # Comments written in (direct or indirect) reply to the top level comment. # The replies object contains a limited number of replies (if any) to the top level comment found in the snippet.
275 &quot;comments&quot;: [ # A limited number of replies. Unless the number of replies returned equals total_reply_count in the snippet the returned replies are only a subset of the total number of replies.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000276 { # A comment represents a single YouTube comment.
Bu Sun Kim65020912020-05-20 12:08:20 -0700277 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
278 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
279 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
280 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
281 &quot;authorChannelId&quot;: &quot;&quot;, # The id of the author&#x27;s YouTube channel, if any.
282 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
283 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
284 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
285 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
286 &quot;channelId&quot;: &quot;A String&quot;, # The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it&#x27;s the video&#x27;s channel.
287 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
288 &quot;moderationStatus&quot;: &quot;A String&quot;, # The comment&#x27;s moderation status. Will not be set if the comments were requested through the id filter.
289 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
290 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
291 &quot;textDisplay&quot;: &quot;A String&quot;, # The comment&#x27;s text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc.
292 &quot;textOriginal&quot;: &quot;A String&quot;, # The comment&#x27;s original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which is only guaranteed if the viewer is the comment&#x27;s author.
293 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
294 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
295 &quot;viewerRating&quot;: &quot;A String&quot;, # The rating the viewer has given to this comment. For the time being this will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may change in the future.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000296 },
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000297 },
298 ],
299 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700300 &quot;snippet&quot;: { # Basic details about a comment thread. # The snippet object contains basic details about the comment thread and also the top level comment.
301 &quot;canReply&quot;: True or False, # Whether the current viewer of the thread can reply to it. This is viewer specific - other viewers may see a different value for this field.
302 &quot;channelId&quot;: &quot;A String&quot;, # The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn&#x27;t set the comments refer to the channel itself.
303 &quot;isPublic&quot;: True or False, # Whether the thread (and therefore all its comments) is visible to all YouTube users.
304 &quot;topLevelComment&quot;: { # A comment represents a single YouTube comment. # The top level comment of this thread.
305 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
306 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
307 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
308 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
309 &quot;authorChannelId&quot;: &quot;&quot;, # The id of the author&#x27;s YouTube channel, if any.
310 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
311 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
312 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
313 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
314 &quot;channelId&quot;: &quot;A String&quot;, # The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it&#x27;s the video&#x27;s channel.
315 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
316 &quot;moderationStatus&quot;: &quot;A String&quot;, # The comment&#x27;s moderation status. Will not be set if the comments were requested through the id filter.
317 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
318 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
319 &quot;textDisplay&quot;: &quot;A String&quot;, # The comment&#x27;s text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc.
320 &quot;textOriginal&quot;: &quot;A String&quot;, # The comment&#x27;s original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which is only guaranteed if the viewer is the comment&#x27;s author.
321 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
322 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
323 &quot;viewerRating&quot;: &quot;A String&quot;, # The rating the viewer has given to this comment. For the time being this will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may change in the future.
324 },
325 },
326 &quot;totalReplyCount&quot;: 42, # The total number of replies (not including the top level comment).
327 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment.
328 },
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000329 },
330 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700331 &quot;kind&quot;: &quot;youtube#commentThreadListResponse&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#commentThreadListResponse&quot;.
332 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
333 &quot;pageInfo&quot;: { # Paging details for lists of resources, including total number of items available and number of resources returned in a single page.
334 &quot;resultsPerPage&quot;: 42, # The number of results included in the API response.
335 &quot;totalResults&quot;: 42, # The total number of results in the result set.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000336 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700337 &quot;tokenPagination&quot;: { # Stub token pagination template to suppress results.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000338 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700339 &quot;visitorId&quot;: &quot;A String&quot;, # The visitorId identifies the visitor.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000340 }</pre>
341</div>
342
343<div class="method">
344 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
345 <pre>Retrieves the next page of results.
346
347Args:
348 previous_request: The request for the previous page. (required)
349 previous_response: The response from the request for the previous page. (required)
350
351Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700352 A request object that you can call &#x27;execute()&#x27; on to request the next
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000353 page. Returns None if there are no more items in the collection.
354 </pre>
355</div>
356
357<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700358 <code class="details" id="update">update(part, body=None)</code>
Takashi Matsuo06694102015-09-11 13:55:40 -0700359 <pre>Modifies the top-level comment in a comment thread.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000360
361Args:
Takashi Matsuo06694102015-09-11 13:55:40 -0700362 part: string, The part parameter specifies a comma-separated list of commentThread resource properties that the API response will include. You must at least include the snippet part in the parameter value since that part contains all of the properties that the API request can update. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700363 body: object, The request body.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000364 The object takes the form of:
365
366{ # A comment thread represents information that applies to a top level comment and all its replies. It can also include the top level comment itself and some of the replies.
Bu Sun Kim65020912020-05-20 12:08:20 -0700367 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
368 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment thread.
369 &quot;kind&quot;: &quot;youtube#commentThread&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#commentThread&quot;.
370 &quot;replies&quot;: { # Comments written in (direct or indirect) reply to the top level comment. # The replies object contains a limited number of replies (if any) to the top level comment found in the snippet.
371 &quot;comments&quot;: [ # A limited number of replies. Unless the number of replies returned equals total_reply_count in the snippet the returned replies are only a subset of the total number of replies.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000372 { # A comment represents a single YouTube comment.
Bu Sun Kim65020912020-05-20 12:08:20 -0700373 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
374 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
375 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
376 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
377 &quot;authorChannelId&quot;: &quot;&quot;, # The id of the author&#x27;s YouTube channel, if any.
378 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
379 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
380 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
381 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
382 &quot;channelId&quot;: &quot;A String&quot;, # The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it&#x27;s the video&#x27;s channel.
383 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
384 &quot;moderationStatus&quot;: &quot;A String&quot;, # The comment&#x27;s moderation status. Will not be set if the comments were requested through the id filter.
385 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
386 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
387 &quot;textDisplay&quot;: &quot;A String&quot;, # The comment&#x27;s text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc.
388 &quot;textOriginal&quot;: &quot;A String&quot;, # The comment&#x27;s original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which is only guaranteed if the viewer is the comment&#x27;s author.
389 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
390 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
391 &quot;viewerRating&quot;: &quot;A String&quot;, # The rating the viewer has given to this comment. For the time being this will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may change in the future.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000392 },
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000393 },
394 ],
395 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700396 &quot;snippet&quot;: { # Basic details about a comment thread. # The snippet object contains basic details about the comment thread and also the top level comment.
397 &quot;canReply&quot;: True or False, # Whether the current viewer of the thread can reply to it. This is viewer specific - other viewers may see a different value for this field.
398 &quot;channelId&quot;: &quot;A String&quot;, # The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn&#x27;t set the comments refer to the channel itself.
399 &quot;isPublic&quot;: True or False, # Whether the thread (and therefore all its comments) is visible to all YouTube users.
400 &quot;topLevelComment&quot;: { # A comment represents a single YouTube comment. # The top level comment of this thread.
401 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
402 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
403 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
404 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
405 &quot;authorChannelId&quot;: &quot;&quot;, # The id of the author&#x27;s YouTube channel, if any.
406 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
407 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
408 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
409 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
410 &quot;channelId&quot;: &quot;A String&quot;, # The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it&#x27;s the video&#x27;s channel.
411 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
412 &quot;moderationStatus&quot;: &quot;A String&quot;, # The comment&#x27;s moderation status. Will not be set if the comments were requested through the id filter.
413 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
414 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
415 &quot;textDisplay&quot;: &quot;A String&quot;, # The comment&#x27;s text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc.
416 &quot;textOriginal&quot;: &quot;A String&quot;, # The comment&#x27;s original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which is only guaranteed if the viewer is the comment&#x27;s author.
417 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
418 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
419 &quot;viewerRating&quot;: &quot;A String&quot;, # The rating the viewer has given to this comment. For the time being this will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may change in the future.
420 },
421 },
422 &quot;totalReplyCount&quot;: 42, # The total number of replies (not including the top level comment).
423 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment.
424 },
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000425 }
426
427
428Returns:
429 An object of the form:
430
431 { # A comment thread represents information that applies to a top level comment and all its replies. It can also include the top level comment itself and some of the replies.
Bu Sun Kim65020912020-05-20 12:08:20 -0700432 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
433 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment thread.
434 &quot;kind&quot;: &quot;youtube#commentThread&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#commentThread&quot;.
435 &quot;replies&quot;: { # Comments written in (direct or indirect) reply to the top level comment. # The replies object contains a limited number of replies (if any) to the top level comment found in the snippet.
436 &quot;comments&quot;: [ # A limited number of replies. Unless the number of replies returned equals total_reply_count in the snippet the returned replies are only a subset of the total number of replies.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000437 { # A comment represents a single YouTube comment.
Bu Sun Kim65020912020-05-20 12:08:20 -0700438 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
439 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
440 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
441 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
442 &quot;authorChannelId&quot;: &quot;&quot;, # The id of the author&#x27;s YouTube channel, if any.
443 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
444 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
445 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
446 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
447 &quot;channelId&quot;: &quot;A String&quot;, # The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it&#x27;s the video&#x27;s channel.
448 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
449 &quot;moderationStatus&quot;: &quot;A String&quot;, # The comment&#x27;s moderation status. Will not be set if the comments were requested through the id filter.
450 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
451 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
452 &quot;textDisplay&quot;: &quot;A String&quot;, # The comment&#x27;s text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc.
453 &quot;textOriginal&quot;: &quot;A String&quot;, # The comment&#x27;s original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which is only guaranteed if the viewer is the comment&#x27;s author.
454 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
455 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
456 &quot;viewerRating&quot;: &quot;A String&quot;, # The rating the viewer has given to this comment. For the time being this will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may change in the future.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000457 },
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000458 },
459 ],
460 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700461 &quot;snippet&quot;: { # Basic details about a comment thread. # The snippet object contains basic details about the comment thread and also the top level comment.
462 &quot;canReply&quot;: True or False, # Whether the current viewer of the thread can reply to it. This is viewer specific - other viewers may see a different value for this field.
463 &quot;channelId&quot;: &quot;A String&quot;, # The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn&#x27;t set the comments refer to the channel itself.
464 &quot;isPublic&quot;: True or False, # Whether the thread (and therefore all its comments) is visible to all YouTube users.
465 &quot;topLevelComment&quot;: { # A comment represents a single YouTube comment. # The top level comment of this thread.
466 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
467 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
468 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
469 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
470 &quot;authorChannelId&quot;: &quot;&quot;, # The id of the author&#x27;s YouTube channel, if any.
471 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
472 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
473 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
474 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
475 &quot;channelId&quot;: &quot;A String&quot;, # The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it&#x27;s the video&#x27;s channel.
476 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
477 &quot;moderationStatus&quot;: &quot;A String&quot;, # The comment&#x27;s moderation status. Will not be set if the comments were requested through the id filter.
478 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
479 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
480 &quot;textDisplay&quot;: &quot;A String&quot;, # The comment&#x27;s text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc.
481 &quot;textOriginal&quot;: &quot;A String&quot;, # The comment&#x27;s original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which is only guaranteed if the viewer is the comment&#x27;s author.
482 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
483 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
484 &quot;viewerRating&quot;: &quot;A String&quot;, # The rating the viewer has given to this comment. For the time being this will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may change in the future.
485 },
486 },
487 &quot;totalReplyCount&quot;: 42, # The total number of replies (not including the top level comment).
488 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment.
489 },
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000490 }</pre>
491</div>
492
493</body></html>