blob: 70ef70ebe8545a6f0c2c705c5eafd3c3afa3af09 [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
Bu Sun Kimd059ad82020-07-22 17:02:09 -070075<h1><a href="youtube_v3.html">YouTube Data API v3</a> . <a href="youtube_v3.commentThreads.html">commentThreads</a></h1>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000076<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#insert">insert(part, body=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Inserts a new resource into this collection.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000083<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080084 <code><a href="#list">list(part, pageToken=None, moderationStatus=None, id=None, order=None, maxResults=None, allThreadsRelatedToChannelId=None, channelId=None, searchTerms=None, textFormat=None, videoId=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070085<p class="firstline">Retrieves a list of resources, possibly filtered.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000086<p class="toc_element">
87 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
88<p class="firstline">Retrieves the next page of results.</p>
89<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070090 <code><a href="#update">update(part, body=None, x__xgafv=None)</a></code></p>
91<p class="firstline">Updates an existing resource.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000092<h3>Method Details</h3>
93<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070094 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96</div>
97
98<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070099 <code class="details" id="insert">insert(part, body=None, x__xgafv=None)</code>
100 <pre>Inserts a new resource into this collection.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000101
102Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700103 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) (repeated)
Dan O'Mearadd494642020-05-01 07:42:23 -0700104 body: object, The request body.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000105 The object takes the form of:
106
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700107{ # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800108 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800109 &quot;totalReplyCount&quot;: 42, # The total number of replies (not including the top level comment).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800110 &quot;isPublic&quot;: True or False, # Whether the thread (and therefore all its comments) is visible to all YouTube users.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800111 &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.
112 &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.
113 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800114 &quot;topLevelComment&quot;: { # A *comment* represents a single YouTube comment. # The top level comment of this thread.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800115 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
116 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
117 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700118 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800119 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800120 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800121 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 format.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800122 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800123 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 format.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700124 &quot;authorChannelId&quot;: { # The id of the author&#x27;s YouTube channel, if any.
125 &quot;value&quot;: &quot;A String&quot;,
126 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800127 &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.
128 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800129 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800130 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
131 &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.
132 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
133 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
134 &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.
135 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700136 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700137 },
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000138 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800139 &quot;kind&quot;: &quot;youtube#commentThread&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#commentThread&quot;.
140 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800141 &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.
142 &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.
143 { # A *comment* represents a single YouTube comment.
144 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
145 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
146 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
147 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
148 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
149 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
150 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 format.
151 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
152 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 format.
153 &quot;authorChannelId&quot;: { # The id of the author&#x27;s YouTube channel, if any.
154 &quot;value&quot;: &quot;A String&quot;,
155 },
156 &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.
157 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
158 &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.
159 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
160 &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.
161 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
162 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
163 &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.
164 &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.
165 },
166 },
167 ],
168 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800169 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment thread.
170 }
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000171
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700172 x__xgafv: string, V1 error format.
173 Allowed values
174 1 - v1 error format
175 2 - v2 error format
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000176
177Returns:
178 An object of the form:
179
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700180 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800181 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800182 &quot;totalReplyCount&quot;: 42, # The total number of replies (not including the top level comment).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800183 &quot;isPublic&quot;: True or False, # Whether the thread (and therefore all its comments) is visible to all YouTube users.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800184 &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.
185 &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.
186 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800187 &quot;topLevelComment&quot;: { # A *comment* represents a single YouTube comment. # The top level comment of this thread.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800188 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
189 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
190 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700191 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800192 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800193 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800194 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 format.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800195 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800196 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 format.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700197 &quot;authorChannelId&quot;: { # The id of the author&#x27;s YouTube channel, if any.
198 &quot;value&quot;: &quot;A String&quot;,
199 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800200 &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.
201 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800202 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800203 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
204 &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.
205 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
206 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
207 &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.
208 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700209 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700210 },
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000211 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800212 &quot;kind&quot;: &quot;youtube#commentThread&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#commentThread&quot;.
213 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800214 &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.
215 &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.
216 { # A *comment* represents a single YouTube comment.
217 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
218 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
219 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
220 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
221 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
222 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
223 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 format.
224 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
225 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 format.
226 &quot;authorChannelId&quot;: { # The id of the author&#x27;s YouTube channel, if any.
227 &quot;value&quot;: &quot;A String&quot;,
228 },
229 &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.
230 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
231 &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.
232 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
233 &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.
234 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
235 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
236 &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.
237 &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.
238 },
239 },
240 ],
241 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800242 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment thread.
243 }</pre>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000244</div>
245
246<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800247 <code class="details" id="list">list(part, pageToken=None, moderationStatus=None, id=None, order=None, maxResults=None, allThreadsRelatedToChannelId=None, channelId=None, searchTerms=None, textFormat=None, videoId=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700248 <pre>Retrieves a list of resources, possibly filtered.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000249
250Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700251 part: string, The *part* parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include. (required) (repeated)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800252 pageToken: string, The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700253 moderationStatus: string, Limits the returned comment threads to those with the specified moderation status. Not compatible with the &#x27;id&#x27; filter. Valid values: published, heldForReview, likelySpam.
254 Allowed values
255 published - The comment is available for public display.
256 heldForReview - The comment is awaiting review by a moderator.
257 likelySpam -
258 rejected - The comment is unfit for display.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800259 id: string, Returns the comment threads with the given IDs for Stubby or Apiary. (repeated)
260 order: string, A parameter
261 Allowed values
262 orderUnspecified -
263 time - Order by time.
264 relevance - Order by relevance.
265 maxResults: integer, The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800266 allThreadsRelatedToChannelId: string, Returns the comment threads of all videos of the channel and the channel comments as well.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800267 channelId: string, Returns the comment threads for all the channel comments (ie does not include comments left on videos).
268 searchTerms: string, Limits the returned comment threads to those matching the specified key words. Not compatible with the &#x27;id&#x27; filter.
269 textFormat: string, The requested text format for the returned comments.
270 Allowed values
271 textFormatUnspecified -
272 html - Returns the comments in HTML format. This is the default value.
273 plainText - Returns the comments in plain text format.
274 videoId: string, Returns the comment threads of the specified video.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700275 x__xgafv: string, V1 error format.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000276 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700277 1 - v1 error format
278 2 - v2 error format
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000279
280Returns:
281 An object of the form:
282
283 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800284 &quot;pageInfo&quot;: { # Paging details for lists of resources, including total number of items available and number of resources returned in a single page. # General pagination information.
285 &quot;totalResults&quot;: 42, # The total number of results in the result set.
286 &quot;resultsPerPage&quot;: 42, # The number of results included in the API response.
287 },
288 &quot;tokenPagination&quot;: { # Stub token pagination template to suppress results.
289 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800290 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800291 &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.
292 &quot;visitorId&quot;: &quot;A String&quot;, # The visitorId identifies the visitor.
293 &quot;kind&quot;: &quot;youtube#commentThreadListResponse&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#commentThreadListResponse&quot;.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800294 &quot;items&quot;: [ # A list of comment threads that match the request criteria.
295 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800296 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800297 &quot;totalReplyCount&quot;: 42, # The total number of replies (not including the top level comment).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800298 &quot;isPublic&quot;: True or False, # Whether the thread (and therefore all its comments) is visible to all YouTube users.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800299 &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.
300 &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.
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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800302 &quot;topLevelComment&quot;: { # A *comment* represents a single YouTube comment. # The top level comment of this thread.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800303 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
304 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
305 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800306 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800307 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800308 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800309 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 format.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800310 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800311 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 format.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800312 &quot;authorChannelId&quot;: { # The id of the author&#x27;s YouTube channel, if any.
313 &quot;value&quot;: &quot;A String&quot;,
314 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800315 &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.
316 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800317 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800318 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
319 &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.
320 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
321 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
322 &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.
323 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800324 },
325 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800326 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800327 &quot;kind&quot;: &quot;youtube#commentThread&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#commentThread&quot;.
328 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800329 &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.
330 &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.
331 { # A *comment* represents a single YouTube comment.
332 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
333 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
334 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
335 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
336 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
337 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
338 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 format.
339 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
340 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 format.
341 &quot;authorChannelId&quot;: { # The id of the author&#x27;s YouTube channel, if any.
342 &quot;value&quot;: &quot;A String&quot;,
343 },
344 &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.
345 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
346 &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.
347 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
348 &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.
349 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
350 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
351 &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.
352 &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.
353 },
354 },
355 ],
356 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800357 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment thread.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800358 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800359 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800360 &quot;eventId&quot;: &quot;A String&quot;, # Serialized EventId of the request which produced this response.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000361 }</pre>
362</div>
363
364<div class="method">
365 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
366 <pre>Retrieves the next page of results.
367
368Args:
369 previous_request: The request for the previous page. (required)
370 previous_response: The response from the request for the previous page. (required)
371
372Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700373 A request object that you can call &#x27;execute()&#x27; on to request the next
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000374 page. Returns None if there are no more items in the collection.
375 </pre>
376</div>
377
378<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700379 <code class="details" id="update">update(part, body=None, x__xgafv=None)</code>
380 <pre>Updates an existing resource.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000381
382Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700383 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) (repeated)
Dan O'Mearadd494642020-05-01 07:42:23 -0700384 body: object, The request body.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000385 The object takes the form of:
386
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700387{ # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800388 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800389 &quot;totalReplyCount&quot;: 42, # The total number of replies (not including the top level comment).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800390 &quot;isPublic&quot;: True or False, # Whether the thread (and therefore all its comments) is visible to all YouTube users.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800391 &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.
392 &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.
393 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800394 &quot;topLevelComment&quot;: { # A *comment* represents a single YouTube comment. # The top level comment of this thread.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800395 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
396 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
397 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700398 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800399 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800400 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800401 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 format.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800402 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800403 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 format.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700404 &quot;authorChannelId&quot;: { # The id of the author&#x27;s YouTube channel, if any.
405 &quot;value&quot;: &quot;A String&quot;,
406 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800407 &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.
408 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800409 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800410 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
411 &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.
412 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
413 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
414 &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.
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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700416 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700417 },
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000418 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800419 &quot;kind&quot;: &quot;youtube#commentThread&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#commentThread&quot;.
420 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800421 &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.
422 &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.
423 { # A *comment* represents a single YouTube comment.
424 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
425 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
426 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
427 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
428 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
429 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
430 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 format.
431 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
432 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 format.
433 &quot;authorChannelId&quot;: { # The id of the author&#x27;s YouTube channel, if any.
434 &quot;value&quot;: &quot;A String&quot;,
435 },
436 &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.
437 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
438 &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.
439 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
440 &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.
441 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
442 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
443 &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.
444 &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.
445 },
446 },
447 ],
448 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800449 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment thread.
450 }
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000451
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700452 x__xgafv: string, V1 error format.
453 Allowed values
454 1 - v1 error format
455 2 - v2 error format
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000456
457Returns:
458 An object of the form:
459
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700460 { # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800461 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800462 &quot;totalReplyCount&quot;: 42, # The total number of replies (not including the top level comment).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800463 &quot;isPublic&quot;: True or False, # Whether the thread (and therefore all its comments) is visible to all YouTube users.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800464 &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.
465 &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.
466 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800467 &quot;topLevelComment&quot;: { # A *comment* represents a single YouTube comment. # The top level comment of this thread.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800468 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
469 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
470 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700471 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800472 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800473 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800474 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 format.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800475 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800476 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 format.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700477 &quot;authorChannelId&quot;: { # The id of the author&#x27;s YouTube channel, if any.
478 &quot;value&quot;: &quot;A String&quot;,
479 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800480 &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.
481 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800482 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800483 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
484 &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.
485 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
486 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
487 &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.
488 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700489 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700490 },
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000491 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800492 &quot;kind&quot;: &quot;youtube#commentThread&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#commentThread&quot;.
493 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800494 &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.
495 &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.
496 { # A *comment* represents a single YouTube comment.
497 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment.
498 &quot;kind&quot;: &quot;youtube#comment&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#comment&quot;.
499 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
500 &quot;snippet&quot;: { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment.
501 &quot;authorChannelUrl&quot;: &quot;A String&quot;, # Link to the author&#x27;s YouTube channel, if any.
502 &quot;videoId&quot;: &quot;A String&quot;, # The ID of the video the comment refers to, if any.
503 &quot;updatedAt&quot;: &quot;A String&quot;, # The date and time when was last updated . The value is specified in ISO 8601 format.
504 &quot;canRate&quot;: True or False, # Whether the current viewer can rate this comment.
505 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time when the comment was orignally published. The value is specified in ISO 8601 format.
506 &quot;authorChannelId&quot;: { # The id of the author&#x27;s YouTube channel, if any.
507 &quot;value&quot;: &quot;A String&quot;,
508 },
509 &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.
510 &quot;authorProfileImageUrl&quot;: &quot;A String&quot;, # The URL for the avatar of the user who posted the comment.
511 &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.
512 &quot;parentId&quot;: &quot;A String&quot;, # The unique id of the parent comment, only set for replies.
513 &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.
514 &quot;likeCount&quot;: 42, # The total number of likes this comment has received.
515 &quot;authorDisplayName&quot;: &quot;A String&quot;, # The name of the user who posted the comment.
516 &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.
517 &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.
518 },
519 },
520 ],
521 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800522 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the comment thread.
523 }</pre>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000524</div>
525
526</body></html>