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 | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 90 | <code><a href="#list">list(blogId, postId, fetchBodies=None, view=None, startDate=None, status=None, maxResults=None, endDate=None, pageToken=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 | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 93 | <code><a href="#listByBlog">listByBlog(blogId, status=None, maxResults=None, endDate=None, startDate=None, pageToken=None, fetchBodies=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 | { |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 125 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 126 | "post": { # Data about the post containing this comment. |
| 127 | "id": "A String", # The identifier of the post containing this comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 128 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 129 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 130 | "id": "A String", # The identifier for this resource. |
| 131 | "inReplyTo": { # Data about the comment this is in reply to. |
| 132 | "id": "A String", # The identified of the parent of this comment. |
| 133 | }, |
| 134 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 135 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 136 | "author": { # The author of this Comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 137 | "url": "A String", # The URL of the creator's Profile page. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 138 | "displayName": "A String", # The display name. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 139 | "image": { # The creator's avatar. |
| 140 | "url": "A String", # The creator's avatar URL. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 141 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 142 | "id": "A String", # The identifier of the creator. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 143 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 144 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 145 | "blog": { # Data about the blog containing this comment. |
| 146 | "id": "A String", # The identifier of the blog containing this comment. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 147 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 148 | "status": "A String", # The status of the comment (only populated for admin users). |
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 | { |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 195 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 196 | "post": { # Data about the post containing this comment. |
| 197 | "id": "A String", # The identifier of the post containing this comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 198 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 199 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 200 | "id": "A String", # The identifier for this resource. |
| 201 | "inReplyTo": { # Data about the comment this is in reply to. |
| 202 | "id": "A String", # The identified of the parent of this comment. |
| 203 | }, |
| 204 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 205 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 206 | "author": { # The author of this Comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 207 | "url": "A String", # The URL of the creator's Profile page. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 208 | "displayName": "A String", # The display name. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 209 | "image": { # The creator's avatar. |
| 210 | "url": "A String", # The creator's avatar URL. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 211 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 212 | "id": "A String", # The identifier of the creator. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 213 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 214 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 215 | "blog": { # Data about the blog containing this comment. |
| 216 | "id": "A String", # The identifier of the blog containing this comment. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 217 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 218 | "status": "A String", # The status of the comment (only populated for admin users). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 219 | }</pre> |
| 220 | </div> |
| 221 | |
| 222 | <div class="method"> |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 223 | <code class="details" id="list">list(blogId, postId, fetchBodies=None, view=None, startDate=None, status=None, maxResults=None, endDate=None, pageToken=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) |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 229 | fetchBodies: boolean, A parameter |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 230 | view: string, A parameter |
| 231 | Allowed values |
| 232 | VIEW_TYPE_UNSPECIFIED - |
| 233 | READER - |
| 234 | AUTHOR - |
| 235 | ADMIN - |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 236 | startDate: string, A parameter |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 237 | status: string, A parameter |
| 238 | Allowed values |
| 239 | LIVE - |
| 240 | EMPTIED - |
| 241 | PENDING - |
| 242 | SPAM - |
| 243 | maxResults: integer, A parameter |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 244 | endDate: string, A parameter |
| 245 | pageToken: string, 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 | { |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 257 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 258 | "post": { # Data about the post containing this comment. |
| 259 | "id": "A String", # The identifier of the post containing this comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 260 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 261 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 262 | "id": "A String", # The identifier for this resource. |
| 263 | "inReplyTo": { # Data about the comment this is in reply to. |
| 264 | "id": "A String", # The identified of the parent of this comment. |
| 265 | }, |
| 266 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 267 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 268 | "author": { # The author of this Comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 269 | "url": "A String", # The URL of the creator's Profile page. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 270 | "displayName": "A String", # The display name. |
| 271 | "image": { # The creator's avatar. |
| 272 | "url": "A String", # The creator's avatar URL. |
| 273 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 274 | "id": "A String", # The identifier of the creator. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 275 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 276 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 277 | "blog": { # Data about the blog containing this comment. |
| 278 | "id": "A String", # The identifier of the blog containing this comment. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 279 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 280 | "status": "A String", # The status of the comment (only populated for admin users). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 281 | }, |
| 282 | ], |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 283 | "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 284 | "prevPageToken": "A String", # Pagination token to fetch the previous page, if one exists. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 285 | "kind": "A String", # The kind of this entry. Always blogger#commentList. |
| 286 | "etag": "A String", # Etag of the response. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 287 | }</pre> |
| 288 | </div> |
| 289 | |
| 290 | <div class="method"> |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 291 | <code class="details" id="listByBlog">listByBlog(blogId, status=None, maxResults=None, endDate=None, startDate=None, pageToken=None, fetchBodies=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) |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 296 | status: string, A parameter (repeated) |
| 297 | Allowed values |
| 298 | LIVE - |
| 299 | EMPTIED - |
| 300 | PENDING - |
| 301 | SPAM - |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 302 | maxResults: integer, A parameter |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 303 | endDate: string, A parameter |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 304 | startDate: string, A parameter |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 305 | pageToken: string, A parameter |
| 306 | fetchBodies: boolean, 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 | { |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 318 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 319 | "post": { # Data about the post containing this comment. |
| 320 | "id": "A String", # The identifier of the post containing this comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 321 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 322 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 323 | "id": "A String", # The identifier for this resource. |
| 324 | "inReplyTo": { # Data about the comment this is in reply to. |
| 325 | "id": "A String", # The identified of the parent of this comment. |
| 326 | }, |
| 327 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 328 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 329 | "author": { # The author of this Comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 330 | "url": "A String", # The URL of the creator's Profile page. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 331 | "displayName": "A String", # The display name. |
| 332 | "image": { # The creator's avatar. |
| 333 | "url": "A String", # The creator's avatar URL. |
| 334 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 335 | "id": "A String", # The identifier of the creator. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 336 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 337 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 338 | "blog": { # Data about the blog containing this comment. |
| 339 | "id": "A String", # The identifier of the blog containing this comment. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 340 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 341 | "status": "A String", # The status of the comment (only populated for admin users). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 342 | }, |
| 343 | ], |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 344 | "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 345 | "prevPageToken": "A String", # Pagination token to fetch the previous page, if one exists. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 346 | "kind": "A String", # The kind of this entry. Always blogger#commentList. |
| 347 | "etag": "A String", # Etag of the response. |
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 | { |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 396 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 397 | "post": { # Data about the post containing this comment. |
| 398 | "id": "A String", # The identifier of the post containing this comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 399 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 400 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 401 | "id": "A String", # The identifier for this resource. |
| 402 | "inReplyTo": { # Data about the comment this is in reply to. |
| 403 | "id": "A String", # The identified of the parent of this comment. |
| 404 | }, |
| 405 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 406 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 407 | "author": { # The author of this Comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 408 | "url": "A String", # The URL of the creator's Profile page. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 409 | "displayName": "A String", # The display name. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 410 | "image": { # The creator's avatar. |
| 411 | "url": "A String", # The creator's avatar URL. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 412 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 413 | "id": "A String", # The identifier of the creator. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 414 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 415 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 416 | "blog": { # Data about the blog containing this comment. |
| 417 | "id": "A String", # The identifier of the blog containing this comment. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 418 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 419 | "status": "A String", # The status of the comment (only populated for admin users). |
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 | { |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 440 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 441 | "post": { # Data about the post containing this comment. |
| 442 | "id": "A String", # The identifier of the post containing this comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 443 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 444 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 445 | "id": "A String", # The identifier for this resource. |
| 446 | "inReplyTo": { # Data about the comment this is in reply to. |
| 447 | "id": "A String", # The identified of the parent of this comment. |
| 448 | }, |
| 449 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 450 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 451 | "author": { # The author of this Comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 452 | "url": "A String", # The URL of the creator's Profile page. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 453 | "displayName": "A String", # The display name. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 454 | "image": { # The creator's avatar. |
| 455 | "url": "A String", # The creator's avatar URL. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 456 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 457 | "id": "A String", # The identifier of the creator. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 458 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 459 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 460 | "blog": { # Data about the blog containing this comment. |
| 461 | "id": "A String", # The identifier of the blog containing this comment. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 462 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 463 | "status": "A String", # The status of the comment (only populated for admin users). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 464 | }</pre> |
| 465 | </div> |
| 466 | |
| 467 | </body></html> |