John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [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 | |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 75 | <h1><a href="blogger_v3.html">Blogger API v3</a> . <a href="blogger_v3.comments.html">comments</a></h1> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 78 | <code><a href="#approve">approve(blogId, postId, commentId, x__xgafv=None)</a></code></p> |
| 79 | <p class="firstline">Marks a comment as not spam by blog id, post id and comment id.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 80 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 81 | <code><a href="#close">close()</a></code></p> |
| 82 | <p class="firstline">Close httplib2 connections.</p> |
| 83 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 84 | <code><a href="#delete">delete(blogId, postId, commentId, x__xgafv=None)</a></code></p> |
| 85 | <p class="firstline">Deletes a comment by blog id, post id and comment id.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 86 | <p class="toc_element"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 87 | <code><a href="#get">get(blogId, postId, commentId, view=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 88 | <p class="firstline">Gets a comment by id.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 89 | <p class="toc_element"> |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 90 | <code><a href="#list">list(blogId, postId, view=None, pageToken=None, startDate=None, fetchBodies=None, endDate=None, status=None, maxResults=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 91 | <p class="firstline">Lists comments.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 92 | <p class="toc_element"> |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 93 | <code><a href="#listByBlog">listByBlog(blogId, fetchBodies=None, pageToken=None, status=None, maxResults=None, endDate=None, startDate=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 94 | <p class="firstline">Lists comments by blog.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 95 | <p class="toc_element"> |
| 96 | <code><a href="#listByBlog_next">listByBlog_next(previous_request, previous_response)</a></code></p> |
| 97 | <p class="firstline">Retrieves the next page of results.</p> |
| 98 | <p class="toc_element"> |
| 99 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 100 | <p class="firstline">Retrieves the next page of results.</p> |
| 101 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 102 | <code><a href="#markAsSpam">markAsSpam(blogId, postId, commentId, x__xgafv=None)</a></code></p> |
| 103 | <p class="firstline">Marks a comment as spam by blog id, post id and comment id.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 104 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 105 | <code><a href="#removeContent">removeContent(blogId, postId, commentId, x__xgafv=None)</a></code></p> |
| 106 | <p class="firstline">Removes the content of a comment by blog id, post id and comment id.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 107 | <h3>Method Details</h3> |
| 108 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 109 | <code class="details" id="approve">approve(blogId, postId, commentId, x__xgafv=None)</code> |
| 110 | <pre>Marks a comment as not spam by blog id, post id and comment id. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 111 | |
| 112 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 113 | blogId: string, A parameter (required) |
| 114 | postId: string, A parameter (required) |
| 115 | commentId: string, A parameter (required) |
| 116 | x__xgafv: string, V1 error format. |
| 117 | Allowed values |
| 118 | 1 - v1 error format |
| 119 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 120 | |
| 121 | Returns: |
| 122 | An object of the form: |
| 123 | |
| 124 | { |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 125 | "status": "A String", # The status of the comment (only populated for admin users). |
| 126 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 127 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 128 | "blog": { # Data about the blog containing this comment. |
| 129 | "id": "A String", # The identifier of the blog containing this comment. |
| 130 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 131 | "author": { # The author of this Comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 132 | "url": "A String", # The URL of the creator's Profile page. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 133 | "id": "A String", # The identifier of the creator. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 134 | "displayName": "A String", # The display name. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 135 | "image": { # The creator's avatar. |
| 136 | "url": "A String", # The creator's avatar URL. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 137 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 138 | }, |
| 139 | "id": "A String", # The identifier for this resource. |
| 140 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 141 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 142 | "inReplyTo": { # Data about the comment this is in reply to. |
| 143 | "id": "A String", # The identified of the parent of this comment. |
| 144 | }, |
| 145 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 146 | "post": { # Data about the post containing this comment. |
| 147 | "id": "A String", # The identifier of the post containing this comment. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 148 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 149 | }</pre> |
| 150 | </div> |
| 151 | |
| 152 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 153 | <code class="details" id="close">close()</code> |
| 154 | <pre>Close httplib2 connections.</pre> |
| 155 | </div> |
| 156 | |
| 157 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 158 | <code class="details" id="delete">delete(blogId, postId, commentId, x__xgafv=None)</code> |
| 159 | <pre>Deletes a comment by blog id, post id and comment id. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 160 | |
| 161 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 162 | blogId: string, A parameter (required) |
| 163 | postId: string, A parameter (required) |
| 164 | commentId: string, A parameter (required) |
| 165 | x__xgafv: string, V1 error format. |
| 166 | Allowed values |
| 167 | 1 - v1 error format |
| 168 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 169 | </pre> |
| 170 | </div> |
| 171 | |
| 172 | <div class="method"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 173 | <code class="details" id="get">get(blogId, postId, commentId, view=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 174 | <pre>Gets a comment by id. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 175 | |
| 176 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 177 | blogId: string, A parameter (required) |
| 178 | postId: string, A parameter (required) |
| 179 | commentId: string, A parameter (required) |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 180 | view: string, A parameter |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 181 | Allowed values |
| 182 | VIEW_TYPE_UNSPECIFIED - |
| 183 | READER - |
| 184 | AUTHOR - |
| 185 | ADMIN - |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 186 | x__xgafv: string, V1 error format. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 187 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 188 | 1 - v1 error format |
| 189 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 190 | |
| 191 | Returns: |
| 192 | An object of the form: |
| 193 | |
| 194 | { |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 195 | "status": "A String", # The status of the comment (only populated for admin users). |
| 196 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 197 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 198 | "blog": { # Data about the blog containing this comment. |
| 199 | "id": "A String", # The identifier of the blog containing this comment. |
| 200 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 201 | "author": { # The author of this Comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 202 | "url": "A String", # The URL of the creator's Profile page. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 203 | "id": "A String", # The identifier of the creator. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 204 | "displayName": "A String", # The display name. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 205 | "image": { # The creator's avatar. |
| 206 | "url": "A String", # The creator's avatar URL. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 207 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 208 | }, |
| 209 | "id": "A String", # The identifier for this resource. |
| 210 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 211 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 212 | "inReplyTo": { # Data about the comment this is in reply to. |
| 213 | "id": "A String", # The identified of the parent of this comment. |
| 214 | }, |
| 215 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 216 | "post": { # Data about the post containing this comment. |
| 217 | "id": "A String", # The identifier of the post containing this comment. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 218 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 219 | }</pre> |
| 220 | </div> |
| 221 | |
| 222 | <div class="method"> |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 223 | <code class="details" id="list">list(blogId, postId, view=None, pageToken=None, startDate=None, fetchBodies=None, endDate=None, status=None, maxResults=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 224 | <pre>Lists comments. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 225 | |
| 226 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 227 | blogId: string, A parameter (required) |
| 228 | postId: string, A parameter (required) |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 229 | view: string, A parameter |
| 230 | Allowed values |
| 231 | VIEW_TYPE_UNSPECIFIED - |
| 232 | READER - |
| 233 | AUTHOR - |
| 234 | ADMIN - |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 235 | pageToken: string, A parameter |
| 236 | startDate: string, A parameter |
| 237 | fetchBodies: boolean, A parameter |
| 238 | endDate: string, A parameter |
| 239 | status: string, A parameter |
| 240 | Allowed values |
| 241 | LIVE - |
| 242 | EMPTIED - |
| 243 | PENDING - |
| 244 | SPAM - |
| 245 | maxResults: integer, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 246 | x__xgafv: string, V1 error format. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 247 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 248 | 1 - v1 error format |
| 249 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 250 | |
| 251 | Returns: |
| 252 | An object of the form: |
| 253 | |
| 254 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 255 | "items": [ # The List of Comments for a Post. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 256 | { |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 257 | "status": "A String", # The status of the comment (only populated for admin users). |
| 258 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 259 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 260 | "blog": { # Data about the blog containing this comment. |
| 261 | "id": "A String", # The identifier of the blog containing this comment. |
| 262 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 263 | "author": { # The author of this Comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 264 | "url": "A String", # The URL of the creator's Profile page. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 265 | "id": "A String", # The identifier of the creator. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 266 | "displayName": "A String", # The display name. |
| 267 | "image": { # The creator's avatar. |
| 268 | "url": "A String", # The creator's avatar URL. |
| 269 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 270 | }, |
| 271 | "id": "A String", # The identifier for this resource. |
| 272 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 273 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 274 | "inReplyTo": { # Data about the comment this is in reply to. |
| 275 | "id": "A String", # The identified of the parent of this comment. |
| 276 | }, |
| 277 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 278 | "post": { # Data about the post containing this comment. |
| 279 | "id": "A String", # The identifier of the post containing this comment. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 280 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 281 | }, |
| 282 | ], |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 283 | "kind": "A String", # The kind of this entry. Always blogger#commentList. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 284 | "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 285 | "etag": "A String", # Etag of the response. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 286 | "prevPageToken": "A String", # Pagination token to fetch the previous page, if one exists. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 287 | }</pre> |
| 288 | </div> |
| 289 | |
| 290 | <div class="method"> |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 291 | <code class="details" id="listByBlog">listByBlog(blogId, fetchBodies=None, pageToken=None, status=None, maxResults=None, endDate=None, startDate=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 292 | <pre>Lists comments by blog. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 293 | |
| 294 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 295 | blogId: string, A parameter (required) |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 296 | fetchBodies: boolean, A parameter |
| 297 | pageToken: string, A parameter |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 298 | status: string, A parameter (repeated) |
| 299 | Allowed values |
| 300 | LIVE - |
| 301 | EMPTIED - |
| 302 | PENDING - |
| 303 | SPAM - |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 304 | maxResults: integer, A parameter |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 305 | endDate: string, A parameter |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 306 | startDate: string, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 307 | x__xgafv: string, V1 error format. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 308 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 309 | 1 - v1 error format |
| 310 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 311 | |
| 312 | Returns: |
| 313 | An object of the form: |
| 314 | |
| 315 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 316 | "items": [ # The List of Comments for a Post. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 317 | { |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 318 | "status": "A String", # The status of the comment (only populated for admin users). |
| 319 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 320 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 321 | "blog": { # Data about the blog containing this comment. |
| 322 | "id": "A String", # The identifier of the blog containing this comment. |
| 323 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 324 | "author": { # The author of this Comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 325 | "url": "A String", # The URL of the creator's Profile page. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 326 | "id": "A String", # The identifier of the creator. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 327 | "displayName": "A String", # The display name. |
| 328 | "image": { # The creator's avatar. |
| 329 | "url": "A String", # The creator's avatar URL. |
| 330 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 331 | }, |
| 332 | "id": "A String", # The identifier for this resource. |
| 333 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 334 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 335 | "inReplyTo": { # Data about the comment this is in reply to. |
| 336 | "id": "A String", # The identified of the parent of this comment. |
| 337 | }, |
| 338 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 339 | "post": { # Data about the post containing this comment. |
| 340 | "id": "A String", # The identifier of the post containing this comment. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 341 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 342 | }, |
| 343 | ], |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 344 | "kind": "A String", # The kind of this entry. Always blogger#commentList. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 345 | "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 346 | "etag": "A String", # Etag of the response. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 347 | "prevPageToken": "A String", # Pagination token to fetch the previous page, if one exists. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 348 | }</pre> |
| 349 | </div> |
| 350 | |
| 351 | <div class="method"> |
| 352 | <code class="details" id="listByBlog_next">listByBlog_next(previous_request, previous_response)</code> |
| 353 | <pre>Retrieves the next page of results. |
| 354 | |
| 355 | Args: |
| 356 | previous_request: The request for the previous page. (required) |
| 357 | previous_response: The response from the request for the previous page. (required) |
| 358 | |
| 359 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 360 | A request object that you can call 'execute()' on to request the next |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 361 | page. Returns None if there are no more items in the collection. |
| 362 | </pre> |
| 363 | </div> |
| 364 | |
| 365 | <div class="method"> |
| 366 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 367 | <pre>Retrieves the next page of results. |
| 368 | |
| 369 | Args: |
| 370 | previous_request: The request for the previous page. (required) |
| 371 | previous_response: The response from the request for the previous page. (required) |
| 372 | |
| 373 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 374 | A request object that you can call 'execute()' on to request the next |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 375 | page. Returns None if there are no more items in the collection. |
| 376 | </pre> |
| 377 | </div> |
| 378 | |
| 379 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 380 | <code class="details" id="markAsSpam">markAsSpam(blogId, postId, commentId, x__xgafv=None)</code> |
| 381 | <pre>Marks a comment as spam by blog id, post id and comment id. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 382 | |
| 383 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 384 | blogId: string, A parameter (required) |
| 385 | postId: string, A parameter (required) |
| 386 | commentId: string, A parameter (required) |
| 387 | x__xgafv: string, V1 error format. |
| 388 | Allowed values |
| 389 | 1 - v1 error format |
| 390 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 391 | |
| 392 | Returns: |
| 393 | An object of the form: |
| 394 | |
| 395 | { |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 396 | "status": "A String", # The status of the comment (only populated for admin users). |
| 397 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 398 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 399 | "blog": { # Data about the blog containing this comment. |
| 400 | "id": "A String", # The identifier of the blog containing this comment. |
| 401 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 402 | "author": { # The author of this Comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 403 | "url": "A String", # The URL of the creator's Profile page. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 404 | "id": "A String", # The identifier of the creator. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 405 | "displayName": "A String", # The display name. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 406 | "image": { # The creator's avatar. |
| 407 | "url": "A String", # The creator's avatar URL. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 408 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 409 | }, |
| 410 | "id": "A String", # The identifier for this resource. |
| 411 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 412 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 413 | "inReplyTo": { # Data about the comment this is in reply to. |
| 414 | "id": "A String", # The identified of the parent of this comment. |
| 415 | }, |
| 416 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 417 | "post": { # Data about the post containing this comment. |
| 418 | "id": "A String", # The identifier of the post containing this comment. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 419 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 420 | }</pre> |
| 421 | </div> |
| 422 | |
| 423 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 424 | <code class="details" id="removeContent">removeContent(blogId, postId, commentId, x__xgafv=None)</code> |
| 425 | <pre>Removes the content of a comment by blog id, post id and comment id. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 426 | |
| 427 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 428 | blogId: string, A parameter (required) |
| 429 | postId: string, A parameter (required) |
| 430 | commentId: string, A parameter (required) |
| 431 | x__xgafv: string, V1 error format. |
| 432 | Allowed values |
| 433 | 1 - v1 error format |
| 434 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 435 | |
| 436 | Returns: |
| 437 | An object of the form: |
| 438 | |
| 439 | { |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 440 | "status": "A String", # The status of the comment (only populated for admin users). |
| 441 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 442 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 443 | "blog": { # Data about the blog containing this comment. |
| 444 | "id": "A String", # The identifier of the blog containing this comment. |
| 445 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 446 | "author": { # The author of this Comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 447 | "url": "A String", # The URL of the creator's Profile page. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 448 | "id": "A String", # The identifier of the creator. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 449 | "displayName": "A String", # The display name. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 450 | "image": { # The creator's avatar. |
| 451 | "url": "A String", # The creator's avatar URL. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 452 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 453 | }, |
| 454 | "id": "A String", # The identifier for this resource. |
| 455 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 456 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 457 | "inReplyTo": { # Data about the comment this is in reply to. |
| 458 | "id": "A String", # The identified of the parent of this comment. |
| 459 | }, |
| 460 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 461 | "post": { # Data about the post containing this comment. |
| 462 | "id": "A String", # The identifier of the post containing this comment. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 463 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 464 | }</pre> |
| 465 | </div> |
| 466 | |
| 467 | </body></html> |