Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, 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 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, 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 Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 75 | <h1><a href="youtube_v3.html">YouTube Data API v3</a> . <a href="youtube_v3.commentThreads.html">commentThreads</a></h1> |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 78 | <code><a href="#close">close()</a></code></p> |
| 79 | <p class="firstline">Close httplib2 connections.</p> |
| 80 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 81 | <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 Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 83 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 84 | <code><a href="#list">list(part, allThreadsRelatedToChannelId=None, maxResults=None, channelId=None, id=None, searchTerms=None, order=None, textFormat=None, moderationStatus=None, pageToken=None, videoId=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 85 | <p class="firstline">Retrieves a list of resources, possibly filtered.</p> |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 86 | <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 Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 90 | <code><a href="#update">update(part, body=None, x__xgafv=None)</a></code></p> |
| 91 | <p class="firstline">Updates an existing resource.</p> |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 92 | <h3>Method Details</h3> |
| 93 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 94 | <code class="details" id="close">close()</code> |
| 95 | <pre>Close httplib2 connections.</pre> |
| 96 | </div> |
| 97 | |
| 98 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 99 | <code class="details" id="insert">insert(part, body=None, x__xgafv=None)</code> |
| 100 | <pre>Inserts a new resource into this collection. |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 101 | |
| 102 | Args: |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 103 | 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'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 104 | body: object, The request body. |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 105 | The object takes the form of: |
| 106 | |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 107 | { # 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. |
| 108 | "replies": { # 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. |
| 109 | "comments": [ # 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. |
| 110 | { # A *comment* represents a single YouTube comment. |
| 111 | "snippet": { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment. |
| 112 | "videoId": "A String", # The ID of the video the comment refers to, if any. |
| 113 | "publishedAt": "A String", # The date and time when the comment was orignally published. The value is specified in ISO 8601 format. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 114 | "canRate": True or False, # Whether the current viewer can rate this comment. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 115 | "moderationStatus": "A String", # The comment's moderation status. Will not be set if the comments were requested through the id filter. |
| 116 | "likeCount": 42, # The total number of likes this comment has received. |
| 117 | "channelId": "A String", # 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's the video's channel. |
| 118 | "updatedAt": "A String", # The date and time when was last updated . The value is specified in ISO 8601 format. |
| 119 | "viewerRating": "A String", # 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. |
| 120 | "textDisplay": "A String", # The comment'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 | "authorProfileImageUrl": "A String", # The URL for the avatar of the user who posted the comment. |
| 122 | "parentId": "A String", # The unique id of the parent comment, only set for replies. |
| 123 | "authorDisplayName": "A String", # The name of the user who posted the comment. |
| 124 | "textOriginal": "A String", # The comment'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's author. |
| 125 | "authorChannelUrl": "A String", # Link to the author's YouTube channel, if any. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 126 | "authorChannelId": { # The id of the author's YouTube channel, if any. |
| 127 | "value": "A String", |
| 128 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 129 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 130 | "etag": "A String", # Etag of this resource. |
| 131 | "id": "A String", # The ID that YouTube uses to uniquely identify the comment. |
| 132 | "kind": "youtube#comment", # Identifies what kind of resource this is. Value: the fixed string "youtube#comment". |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 133 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 134 | ], |
| 135 | }, |
| 136 | "kind": "youtube#commentThread", # Identifies what kind of resource this is. Value: the fixed string "youtube#commentThread". |
| 137 | "etag": "A String", # Etag of this resource. |
| 138 | "id": "A String", # The ID that YouTube uses to uniquely identify the comment thread. |
| 139 | "snippet": { # Basic details about a comment thread. # The snippet object contains basic details about the comment thread and also the top level comment. |
| 140 | "canReply": 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. |
| 141 | "topLevelComment": { # A *comment* represents a single YouTube comment. # The top level comment of this thread. |
| 142 | "snippet": { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment. |
| 143 | "videoId": "A String", # The ID of the video the comment refers to, if any. |
| 144 | "publishedAt": "A String", # The date and time when the comment was orignally published. The value is specified in ISO 8601 format. |
| 145 | "canRate": True or False, # Whether the current viewer can rate this comment. |
| 146 | "moderationStatus": "A String", # The comment's moderation status. Will not be set if the comments were requested through the id filter. |
| 147 | "likeCount": 42, # The total number of likes this comment has received. |
| 148 | "channelId": "A String", # 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's the video's channel. |
| 149 | "updatedAt": "A String", # The date and time when was last updated . The value is specified in ISO 8601 format. |
| 150 | "viewerRating": "A String", # 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. |
| 151 | "textDisplay": "A String", # The comment'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. |
| 152 | "authorProfileImageUrl": "A String", # The URL for the avatar of the user who posted the comment. |
| 153 | "parentId": "A String", # The unique id of the parent comment, only set for replies. |
| 154 | "authorDisplayName": "A String", # The name of the user who posted the comment. |
| 155 | "textOriginal": "A String", # The comment'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's author. |
| 156 | "authorChannelUrl": "A String", # Link to the author's YouTube channel, if any. |
| 157 | "authorChannelId": { # The id of the author's YouTube channel, if any. |
| 158 | "value": "A String", |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 159 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 160 | }, |
| 161 | "etag": "A String", # Etag of this resource. |
| 162 | "id": "A String", # The ID that YouTube uses to uniquely identify the comment. |
| 163 | "kind": "youtube#comment", # Identifies what kind of resource this is. Value: the fixed string "youtube#comment". |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 164 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 165 | "totalReplyCount": 42, # The total number of replies (not including the top level comment). |
| 166 | "videoId": "A String", # The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment. |
| 167 | "channelId": "A String", # The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn't set the comments refer to the channel itself. |
| 168 | "isPublic": True or False, # Whether the thread (and therefore all its comments) is visible to all YouTube users. |
| 169 | }, |
| 170 | } |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 171 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 172 | x__xgafv: string, V1 error format. |
| 173 | Allowed values |
| 174 | 1 - v1 error format |
| 175 | 2 - v2 error format |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 176 | |
| 177 | Returns: |
| 178 | An object of the form: |
| 179 | |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 180 | { # 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. |
| 181 | "replies": { # 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. |
| 182 | "comments": [ # 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. |
| 183 | { # A *comment* represents a single YouTube comment. |
| 184 | "snippet": { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment. |
| 185 | "videoId": "A String", # The ID of the video the comment refers to, if any. |
| 186 | "publishedAt": "A String", # The date and time when the comment was orignally published. The value is specified in ISO 8601 format. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 187 | "canRate": True or False, # Whether the current viewer can rate this comment. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 188 | "moderationStatus": "A String", # The comment's moderation status. Will not be set if the comments were requested through the id filter. |
| 189 | "likeCount": 42, # The total number of likes this comment has received. |
| 190 | "channelId": "A String", # 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's the video's channel. |
| 191 | "updatedAt": "A String", # The date and time when was last updated . The value is specified in ISO 8601 format. |
| 192 | "viewerRating": "A String", # 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. |
| 193 | "textDisplay": "A String", # The comment'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. |
| 194 | "authorProfileImageUrl": "A String", # The URL for the avatar of the user who posted the comment. |
| 195 | "parentId": "A String", # The unique id of the parent comment, only set for replies. |
| 196 | "authorDisplayName": "A String", # The name of the user who posted the comment. |
| 197 | "textOriginal": "A String", # The comment'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's author. |
| 198 | "authorChannelUrl": "A String", # Link to the author's YouTube channel, if any. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 199 | "authorChannelId": { # The id of the author's YouTube channel, if any. |
| 200 | "value": "A String", |
| 201 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 202 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 203 | "etag": "A String", # Etag of this resource. |
| 204 | "id": "A String", # The ID that YouTube uses to uniquely identify the comment. |
| 205 | "kind": "youtube#comment", # Identifies what kind of resource this is. Value: the fixed string "youtube#comment". |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 206 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 207 | ], |
| 208 | }, |
| 209 | "kind": "youtube#commentThread", # Identifies what kind of resource this is. Value: the fixed string "youtube#commentThread". |
| 210 | "etag": "A String", # Etag of this resource. |
| 211 | "id": "A String", # The ID that YouTube uses to uniquely identify the comment thread. |
| 212 | "snippet": { # Basic details about a comment thread. # The snippet object contains basic details about the comment thread and also the top level comment. |
| 213 | "canReply": 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. |
| 214 | "topLevelComment": { # A *comment* represents a single YouTube comment. # The top level comment of this thread. |
| 215 | "snippet": { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment. |
| 216 | "videoId": "A String", # The ID of the video the comment refers to, if any. |
| 217 | "publishedAt": "A String", # The date and time when the comment was orignally published. The value is specified in ISO 8601 format. |
| 218 | "canRate": True or False, # Whether the current viewer can rate this comment. |
| 219 | "moderationStatus": "A String", # The comment's moderation status. Will not be set if the comments were requested through the id filter. |
| 220 | "likeCount": 42, # The total number of likes this comment has received. |
| 221 | "channelId": "A String", # 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's the video's channel. |
| 222 | "updatedAt": "A String", # The date and time when was last updated . The value is specified in ISO 8601 format. |
| 223 | "viewerRating": "A String", # 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. |
| 224 | "textDisplay": "A String", # The comment'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. |
| 225 | "authorProfileImageUrl": "A String", # The URL for the avatar of the user who posted the comment. |
| 226 | "parentId": "A String", # The unique id of the parent comment, only set for replies. |
| 227 | "authorDisplayName": "A String", # The name of the user who posted the comment. |
| 228 | "textOriginal": "A String", # The comment'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's author. |
| 229 | "authorChannelUrl": "A String", # Link to the author's YouTube channel, if any. |
| 230 | "authorChannelId": { # The id of the author's YouTube channel, if any. |
| 231 | "value": "A String", |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 232 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 233 | }, |
| 234 | "etag": "A String", # Etag of this resource. |
| 235 | "id": "A String", # The ID that YouTube uses to uniquely identify the comment. |
| 236 | "kind": "youtube#comment", # Identifies what kind of resource this is. Value: the fixed string "youtube#comment". |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 237 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 238 | "totalReplyCount": 42, # The total number of replies (not including the top level comment). |
| 239 | "videoId": "A String", # The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment. |
| 240 | "channelId": "A String", # The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn't set the comments refer to the channel itself. |
| 241 | "isPublic": True or False, # Whether the thread (and therefore all its comments) is visible to all YouTube users. |
| 242 | }, |
| 243 | }</pre> |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 244 | </div> |
| 245 | |
| 246 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 247 | <code class="details" id="list">list(part, allThreadsRelatedToChannelId=None, maxResults=None, channelId=None, id=None, searchTerms=None, order=None, textFormat=None, moderationStatus=None, pageToken=None, videoId=None, x__xgafv=None)</code> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 248 | <pre>Retrieves a list of resources, possibly filtered. |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 249 | |
| 250 | Args: |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 251 | 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) |
| 252 | allThreadsRelatedToChannelId: string, Returns the comment threads of all videos of the channel and the channel comments as well. |
| 253 | maxResults: integer, The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. |
| 254 | channelId: string, Returns the comment threads for all the channel comments (ie does not include comments left on videos). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 255 | id: string, Returns the comment threads with the given IDs for Stubby or Apiary. (repeated) |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 256 | searchTerms: string, Limits the returned comment threads to those matching the specified key words. Not compatible with the 'id' filter. |
| 257 | order: string, A parameter |
| 258 | Allowed values |
| 259 | orderUnspecified - |
| 260 | time - Order by time. |
| 261 | relevance - Order by relevance. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 262 | textFormat: string, The requested text format for the returned comments. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 263 | Allowed values |
| 264 | textFormatUnspecified - |
| 265 | html - Returns the comments in HTML format. This is the default value. |
| 266 | plainText - Returns the comments in plain text format. |
| 267 | moderationStatus: string, Limits the returned comment threads to those with the specified moderation status. Not compatible with the 'id' filter. Valid values: published, heldForReview, likelySpam. |
| 268 | Allowed values |
| 269 | published - The comment is available for public display. |
| 270 | heldForReview - The comment is awaiting review by a moderator. |
| 271 | likelySpam - |
| 272 | rejected - The comment is unfit for display. |
| 273 | 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. |
| 274 | videoId: string, Returns the comment threads of the specified video. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 275 | x__xgafv: string, V1 error format. |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 276 | Allowed values |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 277 | 1 - v1 error format |
| 278 | 2 - v2 error format |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 279 | |
| 280 | Returns: |
| 281 | An object of the form: |
| 282 | |
| 283 | { |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 284 | "nextPageToken": "A String", # The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. |
| 285 | "visitorId": "A String", # The visitorId identifies the visitor. |
| 286 | "tokenPagination": { # Stub token pagination template to suppress results. |
| 287 | }, |
| 288 | "etag": "A String", # Etag of this resource. |
| 289 | "kind": "youtube#commentThreadListResponse", # Identifies what kind of resource this is. Value: the fixed string "youtube#commentThreadListResponse". |
| 290 | "eventId": "A String", # Serialized EventId of the request which produced this response. |
| 291 | "pageInfo": { # Paging details for lists of resources, including total number of items available and number of resources returned in a single page. # General pagination information. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 292 | "resultsPerPage": 42, # The number of results included in the API response. |
| 293 | "totalResults": 42, # The total number of results in the result set. |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 294 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 295 | "items": [ # A list of comment threads that match the request criteria. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 296 | { # 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. |
| 297 | "replies": { # 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. |
| 298 | "comments": [ # 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. |
| 299 | { # A *comment* represents a single YouTube comment. |
| 300 | "snippet": { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment. |
| 301 | "videoId": "A String", # The ID of the video the comment refers to, if any. |
| 302 | "publishedAt": "A String", # The date and time when the comment was orignally published. The value is specified in ISO 8601 format. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 303 | "canRate": True or False, # Whether the current viewer can rate this comment. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 304 | "moderationStatus": "A String", # The comment's moderation status. Will not be set if the comments were requested through the id filter. |
| 305 | "likeCount": 42, # The total number of likes this comment has received. |
| 306 | "channelId": "A String", # 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's the video's channel. |
| 307 | "updatedAt": "A String", # The date and time when was last updated . The value is specified in ISO 8601 format. |
| 308 | "viewerRating": "A String", # 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. |
| 309 | "textDisplay": "A String", # The comment'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. |
| 310 | "authorProfileImageUrl": "A String", # The URL for the avatar of the user who posted the comment. |
| 311 | "parentId": "A String", # The unique id of the parent comment, only set for replies. |
| 312 | "authorDisplayName": "A String", # The name of the user who posted the comment. |
| 313 | "textOriginal": "A String", # The comment'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's author. |
| 314 | "authorChannelUrl": "A String", # Link to the author's YouTube channel, if any. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 315 | "authorChannelId": { # The id of the author's YouTube channel, if any. |
| 316 | "value": "A String", |
| 317 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 318 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 319 | "etag": "A String", # Etag of this resource. |
| 320 | "id": "A String", # The ID that YouTube uses to uniquely identify the comment. |
| 321 | "kind": "youtube#comment", # Identifies what kind of resource this is. Value: the fixed string "youtube#comment". |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 322 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 323 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 324 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 325 | "kind": "youtube#commentThread", # Identifies what kind of resource this is. Value: the fixed string "youtube#commentThread". |
| 326 | "etag": "A String", # Etag of this resource. |
| 327 | "id": "A String", # The ID that YouTube uses to uniquely identify the comment thread. |
| 328 | "snippet": { # Basic details about a comment thread. # The snippet object contains basic details about the comment thread and also the top level comment. |
| 329 | "canReply": 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. |
| 330 | "topLevelComment": { # A *comment* represents a single YouTube comment. # The top level comment of this thread. |
| 331 | "snippet": { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment. |
| 332 | "videoId": "A String", # The ID of the video the comment refers to, if any. |
| 333 | "publishedAt": "A String", # The date and time when the comment was orignally published. The value is specified in ISO 8601 format. |
| 334 | "canRate": True or False, # Whether the current viewer can rate this comment. |
| 335 | "moderationStatus": "A String", # The comment's moderation status. Will not be set if the comments were requested through the id filter. |
| 336 | "likeCount": 42, # The total number of likes this comment has received. |
| 337 | "channelId": "A String", # 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's the video's channel. |
| 338 | "updatedAt": "A String", # The date and time when was last updated . The value is specified in ISO 8601 format. |
| 339 | "viewerRating": "A String", # 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. |
| 340 | "textDisplay": "A String", # The comment'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. |
| 341 | "authorProfileImageUrl": "A String", # The URL for the avatar of the user who posted the comment. |
| 342 | "parentId": "A String", # The unique id of the parent comment, only set for replies. |
| 343 | "authorDisplayName": "A String", # The name of the user who posted the comment. |
| 344 | "textOriginal": "A String", # The comment'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's author. |
| 345 | "authorChannelUrl": "A String", # Link to the author's YouTube channel, if any. |
| 346 | "authorChannelId": { # The id of the author's YouTube channel, if any. |
| 347 | "value": "A String", |
| 348 | }, |
| 349 | }, |
| 350 | "etag": "A String", # Etag of this resource. |
| 351 | "id": "A String", # The ID that YouTube uses to uniquely identify the comment. |
| 352 | "kind": "youtube#comment", # Identifies what kind of resource this is. Value: the fixed string "youtube#comment". |
| 353 | }, |
| 354 | "totalReplyCount": 42, # The total number of replies (not including the top level comment). |
| 355 | "videoId": "A String", # The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment. |
| 356 | "channelId": "A String", # The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn't set the comments refer to the channel itself. |
| 357 | "isPublic": True or False, # Whether the thread (and therefore all its comments) is visible to all YouTube users. |
| 358 | }, |
| 359 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 360 | ], |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 361 | }</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 | |
| 368 | Args: |
| 369 | previous_request: The request for the previous page. (required) |
| 370 | previous_response: The response from the request for the previous page. (required) |
| 371 | |
| 372 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 373 | A request object that you can call 'execute()' on to request the next |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 374 | page. Returns None if there are no more items in the collection. |
| 375 | </pre> |
| 376 | </div> |
| 377 | |
| 378 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 379 | <code class="details" id="update">update(part, body=None, x__xgafv=None)</code> |
| 380 | <pre>Updates an existing resource. |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 381 | |
| 382 | Args: |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 383 | 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'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 384 | body: object, The request body. |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 385 | The object takes the form of: |
| 386 | |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 387 | { # 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. |
| 388 | "replies": { # 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. |
| 389 | "comments": [ # 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. |
| 390 | { # A *comment* represents a single YouTube comment. |
| 391 | "snippet": { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment. |
| 392 | "videoId": "A String", # The ID of the video the comment refers to, if any. |
| 393 | "publishedAt": "A String", # The date and time when the comment was orignally published. The value is specified in ISO 8601 format. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 394 | "canRate": True or False, # Whether the current viewer can rate this comment. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 395 | "moderationStatus": "A String", # The comment's moderation status. Will not be set if the comments were requested through the id filter. |
| 396 | "likeCount": 42, # The total number of likes this comment has received. |
| 397 | "channelId": "A String", # 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's the video's channel. |
| 398 | "updatedAt": "A String", # The date and time when was last updated . The value is specified in ISO 8601 format. |
| 399 | "viewerRating": "A String", # 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. |
| 400 | "textDisplay": "A String", # The comment'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. |
| 401 | "authorProfileImageUrl": "A String", # The URL for the avatar of the user who posted the comment. |
| 402 | "parentId": "A String", # The unique id of the parent comment, only set for replies. |
| 403 | "authorDisplayName": "A String", # The name of the user who posted the comment. |
| 404 | "textOriginal": "A String", # The comment'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's author. |
| 405 | "authorChannelUrl": "A String", # Link to the author's YouTube channel, if any. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 406 | "authorChannelId": { # The id of the author's YouTube channel, if any. |
| 407 | "value": "A String", |
| 408 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 409 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 410 | "etag": "A String", # Etag of this resource. |
| 411 | "id": "A String", # The ID that YouTube uses to uniquely identify the comment. |
| 412 | "kind": "youtube#comment", # Identifies what kind of resource this is. Value: the fixed string "youtube#comment". |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 413 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 414 | ], |
| 415 | }, |
| 416 | "kind": "youtube#commentThread", # Identifies what kind of resource this is. Value: the fixed string "youtube#commentThread". |
| 417 | "etag": "A String", # Etag of this resource. |
| 418 | "id": "A String", # The ID that YouTube uses to uniquely identify the comment thread. |
| 419 | "snippet": { # Basic details about a comment thread. # The snippet object contains basic details about the comment thread and also the top level comment. |
| 420 | "canReply": 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. |
| 421 | "topLevelComment": { # A *comment* represents a single YouTube comment. # The top level comment of this thread. |
| 422 | "snippet": { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment. |
| 423 | "videoId": "A String", # The ID of the video the comment refers to, if any. |
| 424 | "publishedAt": "A String", # The date and time when the comment was orignally published. The value is specified in ISO 8601 format. |
| 425 | "canRate": True or False, # Whether the current viewer can rate this comment. |
| 426 | "moderationStatus": "A String", # The comment's moderation status. Will not be set if the comments were requested through the id filter. |
| 427 | "likeCount": 42, # The total number of likes this comment has received. |
| 428 | "channelId": "A String", # 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's the video's channel. |
| 429 | "updatedAt": "A String", # The date and time when was last updated . The value is specified in ISO 8601 format. |
| 430 | "viewerRating": "A String", # 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. |
| 431 | "textDisplay": "A String", # The comment'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. |
| 432 | "authorProfileImageUrl": "A String", # The URL for the avatar of the user who posted the comment. |
| 433 | "parentId": "A String", # The unique id of the parent comment, only set for replies. |
| 434 | "authorDisplayName": "A String", # The name of the user who posted the comment. |
| 435 | "textOriginal": "A String", # The comment'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's author. |
| 436 | "authorChannelUrl": "A String", # Link to the author's YouTube channel, if any. |
| 437 | "authorChannelId": { # The id of the author's YouTube channel, if any. |
| 438 | "value": "A String", |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 439 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 440 | }, |
| 441 | "etag": "A String", # Etag of this resource. |
| 442 | "id": "A String", # The ID that YouTube uses to uniquely identify the comment. |
| 443 | "kind": "youtube#comment", # Identifies what kind of resource this is. Value: the fixed string "youtube#comment". |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 444 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 445 | "totalReplyCount": 42, # The total number of replies (not including the top level comment). |
| 446 | "videoId": "A String", # The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment. |
| 447 | "channelId": "A String", # The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn't set the comments refer to the channel itself. |
| 448 | "isPublic": True or False, # Whether the thread (and therefore all its comments) is visible to all YouTube users. |
| 449 | }, |
| 450 | } |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 451 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 452 | x__xgafv: string, V1 error format. |
| 453 | Allowed values |
| 454 | 1 - v1 error format |
| 455 | 2 - v2 error format |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 456 | |
| 457 | Returns: |
| 458 | An object of the form: |
| 459 | |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 460 | { # 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. |
| 461 | "replies": { # 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. |
| 462 | "comments": [ # 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. |
| 463 | { # A *comment* represents a single YouTube comment. |
| 464 | "snippet": { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment. |
| 465 | "videoId": "A String", # The ID of the video the comment refers to, if any. |
| 466 | "publishedAt": "A String", # The date and time when the comment was orignally published. The value is specified in ISO 8601 format. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 467 | "canRate": True or False, # Whether the current viewer can rate this comment. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 468 | "moderationStatus": "A String", # The comment's moderation status. Will not be set if the comments were requested through the id filter. |
| 469 | "likeCount": 42, # The total number of likes this comment has received. |
| 470 | "channelId": "A String", # 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's the video's channel. |
| 471 | "updatedAt": "A String", # The date and time when was last updated . The value is specified in ISO 8601 format. |
| 472 | "viewerRating": "A String", # 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. |
| 473 | "textDisplay": "A String", # The comment'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. |
| 474 | "authorProfileImageUrl": "A String", # The URL for the avatar of the user who posted the comment. |
| 475 | "parentId": "A String", # The unique id of the parent comment, only set for replies. |
| 476 | "authorDisplayName": "A String", # The name of the user who posted the comment. |
| 477 | "textOriginal": "A String", # The comment'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's author. |
| 478 | "authorChannelUrl": "A String", # Link to the author's YouTube channel, if any. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 479 | "authorChannelId": { # The id of the author's YouTube channel, if any. |
| 480 | "value": "A String", |
| 481 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 482 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 483 | "etag": "A String", # Etag of this resource. |
| 484 | "id": "A String", # The ID that YouTube uses to uniquely identify the comment. |
| 485 | "kind": "youtube#comment", # Identifies what kind of resource this is. Value: the fixed string "youtube#comment". |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 486 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 487 | ], |
| 488 | }, |
| 489 | "kind": "youtube#commentThread", # Identifies what kind of resource this is. Value: the fixed string "youtube#commentThread". |
| 490 | "etag": "A String", # Etag of this resource. |
| 491 | "id": "A String", # The ID that YouTube uses to uniquely identify the comment thread. |
| 492 | "snippet": { # Basic details about a comment thread. # The snippet object contains basic details about the comment thread and also the top level comment. |
| 493 | "canReply": 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. |
| 494 | "topLevelComment": { # A *comment* represents a single YouTube comment. # The top level comment of this thread. |
| 495 | "snippet": { # Basic details about a comment, such as its author and text. # The snippet object contains basic details about the comment. |
| 496 | "videoId": "A String", # The ID of the video the comment refers to, if any. |
| 497 | "publishedAt": "A String", # The date and time when the comment was orignally published. The value is specified in ISO 8601 format. |
| 498 | "canRate": True or False, # Whether the current viewer can rate this comment. |
| 499 | "moderationStatus": "A String", # The comment's moderation status. Will not be set if the comments were requested through the id filter. |
| 500 | "likeCount": 42, # The total number of likes this comment has received. |
| 501 | "channelId": "A String", # 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's the video's channel. |
| 502 | "updatedAt": "A String", # The date and time when was last updated . The value is specified in ISO 8601 format. |
| 503 | "viewerRating": "A String", # 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. |
| 504 | "textDisplay": "A String", # The comment'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. |
| 505 | "authorProfileImageUrl": "A String", # The URL for the avatar of the user who posted the comment. |
| 506 | "parentId": "A String", # The unique id of the parent comment, only set for replies. |
| 507 | "authorDisplayName": "A String", # The name of the user who posted the comment. |
| 508 | "textOriginal": "A String", # The comment'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's author. |
| 509 | "authorChannelUrl": "A String", # Link to the author's YouTube channel, if any. |
| 510 | "authorChannelId": { # The id of the author's YouTube channel, if any. |
| 511 | "value": "A String", |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 512 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 513 | }, |
| 514 | "etag": "A String", # Etag of this resource. |
| 515 | "id": "A String", # The ID that YouTube uses to uniquely identify the comment. |
| 516 | "kind": "youtube#comment", # Identifies what kind of resource this is. Value: the fixed string "youtube#comment". |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 517 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame^] | 518 | "totalReplyCount": 42, # The total number of replies (not including the top level comment). |
| 519 | "videoId": "A String", # The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment. |
| 520 | "channelId": "A String", # The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn't set the comments refer to the channel itself. |
| 521 | "isPublic": True or False, # Whether the thread (and therefore all its comments) is visible to all YouTube users. |
| 522 | }, |
| 523 | }</pre> |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 524 | </div> |
| 525 | |
| 526 | </body></html> |