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.posts.html">posts</a></h1> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [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"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 81 | <code><a href="#delete">delete(blogId, postId, x__xgafv=None)</a></code></p> |
| 82 | <p class="firstline">Deletes a post by blog id and post id.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 83 | <p class="toc_element"> |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 84 | <code><a href="#get">get(blogId, postId, maxComments=None, fetchImages=None, view=None, fetchBody=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 85 | <p class="firstline">Gets a post by blog id and post id</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 86 | <p class="toc_element"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 87 | <code><a href="#getByPath">getByPath(blogId, path, maxComments=None, 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 post by path.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 89 | <p class="toc_element"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 90 | <code><a href="#insert">insert(blogId, body=None, fetchBody=None, isDraft=None, fetchImages=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 91 | <p class="firstline">Inserts a post.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 92 | <p class="toc_element"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 93 | <code><a href="#list">list(blogId, fetchImages=None, status=None, orderBy=None, view=None, endDate=None, startDate=None, labels=None, pageToken=None, fetchBodies=None, maxResults=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 posts.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 95 | <p class="toc_element"> |
| 96 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 97 | <p class="firstline">Retrieves the next page of results.</p> |
| 98 | <p class="toc_element"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 99 | <code><a href="#patch">patch(blogId, postId, body=None, fetchImages=None, revert=None, fetchBody=None, maxComments=None, publish=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 100 | <p class="firstline">Patches a post.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 101 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 102 | <code><a href="#publish">publish(blogId, postId, publishDate=None, x__xgafv=None)</a></code></p> |
| 103 | <p class="firstline">Publishes a post.</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="#revert">revert(blogId, postId, x__xgafv=None)</a></code></p> |
| 106 | <p class="firstline">Reverts a published or scheduled post to draft state.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 107 | <p class="toc_element"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 108 | <code><a href="#search">search(blogId, q, fetchBodies=None, orderBy=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 109 | <p class="firstline">Searches for posts matching given query terms in the specified blog.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 110 | <p class="toc_element"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 111 | <code><a href="#update">update(blogId, postId, body=None, maxComments=None, publish=None, fetchBody=None, revert=None, fetchImages=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 112 | <p class="firstline">Updates a post by blog id and post id.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 113 | <h3>Method Details</h3> |
| 114 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 115 | <code class="details" id="close">close()</code> |
| 116 | <pre>Close httplib2 connections.</pre> |
| 117 | </div> |
| 118 | |
| 119 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 120 | <code class="details" id="delete">delete(blogId, postId, x__xgafv=None)</code> |
| 121 | <pre>Deletes a post by blog id and post id. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 122 | |
| 123 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 124 | blogId: string, A parameter (required) |
| 125 | postId: string, A parameter (required) |
| 126 | x__xgafv: string, V1 error format. |
| 127 | Allowed values |
| 128 | 1 - v1 error format |
| 129 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 130 | </pre> |
| 131 | </div> |
| 132 | |
| 133 | <div class="method"> |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 134 | <code class="details" id="get">get(blogId, postId, maxComments=None, fetchImages=None, view=None, fetchBody=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 135 | <pre>Gets a post by blog id and post id |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 136 | |
| 137 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 138 | blogId: string, A parameter (required) |
| 139 | postId: string, A parameter (required) |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 140 | maxComments: integer, A parameter |
| 141 | fetchImages: boolean, A parameter |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 142 | view: string, A parameter |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 143 | Allowed values |
| 144 | VIEW_TYPE_UNSPECIFIED - |
| 145 | READER - |
| 146 | AUTHOR - |
| 147 | ADMIN - |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 148 | fetchBody: boolean, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 149 | x__xgafv: string, V1 error format. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 150 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 151 | 1 - v1 error format |
| 152 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 153 | |
| 154 | Returns: |
| 155 | An object of the form: |
| 156 | |
| 157 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 158 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 159 | "title": "A String", # The title of the Post. |
| 160 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 161 | "url": "A String", # The URL where this Post is displayed. |
| 162 | "id": "A String", # The identifier of this Post. |
| 163 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 164 | "replies": { # The container of comments on this Post. |
| 165 | "items": [ # The List of Comments for this Post. |
| 166 | { |
| 167 | "post": { # Data about the post containing this comment. |
| 168 | "id": "A String", # The identifier of the post containing this comment. |
| 169 | }, |
| 170 | "id": "A String", # The identifier for this resource. |
| 171 | "status": "A String", # The status of the comment (only populated for admin users). |
| 172 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 173 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 174 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 175 | "blog": { # Data about the blog containing this comment. |
| 176 | "id": "A String", # The identifier of the blog containing this comment. |
| 177 | }, |
| 178 | "inReplyTo": { # Data about the comment this is in reply to. |
| 179 | "id": "A String", # The identified of the parent of this comment. |
| 180 | }, |
| 181 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 182 | "author": { # The author of this Comment. |
| 183 | "id": "A String", # The identifier of the creator. |
| 184 | "displayName": "A String", # The display name. |
| 185 | "image": { # The creator's avatar. |
| 186 | "url": "A String", # The creator's avatar URL. |
| 187 | }, |
| 188 | "url": "A String", # The URL of the creator's Profile page. |
| 189 | }, |
| 190 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 191 | }, |
| 192 | ], |
| 193 | "selfLink": "A String", # The URL of the comments on this post. |
| 194 | "totalItems": "A String", # The count of comments on this post. |
| 195 | }, |
| 196 | "author": { # The author of this Post. |
| 197 | "image": { # The creator's avatar. |
| 198 | "url": "A String", # The creator's avatar URL. |
| 199 | }, |
| 200 | "url": "A String", # The URL of the creator's Profile page. |
| 201 | "displayName": "A String", # The display name. |
| 202 | "id": "A String", # The identifier of the creator. |
| 203 | }, |
| 204 | "kind": "A String", # The kind of this entity. Always blogger#post. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 205 | "published": "A String", # RFC 3339 date-time when this Post was published. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 206 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 207 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 208 | "customMetaData": "A String", # The JSON meta-data for the Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 209 | "images": [ # Display image for the Post. |
| 210 | { |
| 211 | "url": "A String", |
| 212 | }, |
| 213 | ], |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 214 | "blog": { # Data about the blog containing this Post. |
| 215 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 216 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 217 | "labels": [ # The list of labels this Post was tagged with. |
| 218 | "A String", |
| 219 | ], |
| 220 | "etag": "A String", # Etag of the resource. |
| 221 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 222 | "location": { # The location for geotagged posts. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 223 | "lng": 3.14, # Location's longitude. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 224 | "lat": 3.14, # Location's latitude. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 225 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 226 | "name": "A String", # Location name. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 227 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 228 | }</pre> |
| 229 | </div> |
| 230 | |
| 231 | <div class="method"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 232 | <code class="details" id="getByPath">getByPath(blogId, path, maxComments=None, view=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 233 | <pre>Gets a post by path. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 234 | |
| 235 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 236 | blogId: string, A parameter (required) |
| 237 | path: string, A parameter (required) |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 238 | maxComments: integer, A parameter |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 239 | view: string, A parameter |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 240 | Allowed values |
| 241 | VIEW_TYPE_UNSPECIFIED - |
| 242 | READER - |
| 243 | AUTHOR - |
| 244 | ADMIN - |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 245 | x__xgafv: string, V1 error format. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 246 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 247 | 1 - v1 error format |
| 248 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 249 | |
| 250 | Returns: |
| 251 | An object of the form: |
| 252 | |
| 253 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 254 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 255 | "title": "A String", # The title of the Post. |
| 256 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 257 | "url": "A String", # The URL where this Post is displayed. |
| 258 | "id": "A String", # The identifier of this Post. |
| 259 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 260 | "replies": { # The container of comments on this Post. |
| 261 | "items": [ # The List of Comments for this Post. |
| 262 | { |
| 263 | "post": { # Data about the post containing this comment. |
| 264 | "id": "A String", # The identifier of the post containing this comment. |
| 265 | }, |
| 266 | "id": "A String", # The identifier for this resource. |
| 267 | "status": "A String", # The status of the comment (only populated for admin users). |
| 268 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 269 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 270 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 271 | "blog": { # Data about the blog containing this comment. |
| 272 | "id": "A String", # The identifier of the blog containing this comment. |
| 273 | }, |
| 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 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 278 | "author": { # The author of this Comment. |
| 279 | "id": "A String", # The identifier of the creator. |
| 280 | "displayName": "A String", # The display name. |
| 281 | "image": { # The creator's avatar. |
| 282 | "url": "A String", # The creator's avatar URL. |
| 283 | }, |
| 284 | "url": "A String", # The URL of the creator's Profile page. |
| 285 | }, |
| 286 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 287 | }, |
| 288 | ], |
| 289 | "selfLink": "A String", # The URL of the comments on this post. |
| 290 | "totalItems": "A String", # The count of comments on this post. |
| 291 | }, |
| 292 | "author": { # The author of this Post. |
| 293 | "image": { # The creator's avatar. |
| 294 | "url": "A String", # The creator's avatar URL. |
| 295 | }, |
| 296 | "url": "A String", # The URL of the creator's Profile page. |
| 297 | "displayName": "A String", # The display name. |
| 298 | "id": "A String", # The identifier of the creator. |
| 299 | }, |
| 300 | "kind": "A String", # The kind of this entity. Always blogger#post. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 301 | "published": "A String", # RFC 3339 date-time when this Post was published. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 302 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 303 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 304 | "customMetaData": "A String", # The JSON meta-data for the Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 305 | "images": [ # Display image for the Post. |
| 306 | { |
| 307 | "url": "A String", |
| 308 | }, |
| 309 | ], |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 310 | "blog": { # Data about the blog containing this Post. |
| 311 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 312 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 313 | "labels": [ # The list of labels this Post was tagged with. |
| 314 | "A String", |
| 315 | ], |
| 316 | "etag": "A String", # Etag of the resource. |
| 317 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 318 | "location": { # The location for geotagged posts. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 319 | "lng": 3.14, # Location's longitude. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 320 | "lat": 3.14, # Location's latitude. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 321 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 322 | "name": "A String", # Location name. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 323 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 324 | }</pre> |
| 325 | </div> |
| 326 | |
| 327 | <div class="method"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 328 | <code class="details" id="insert">insert(blogId, body=None, fetchBody=None, isDraft=None, fetchImages=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 329 | <pre>Inserts a post. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 330 | |
| 331 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 332 | blogId: string, A parameter (required) |
| 333 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 334 | The object takes the form of: |
| 335 | |
| 336 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 337 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 338 | "title": "A String", # The title of the Post. |
| 339 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 340 | "url": "A String", # The URL where this Post is displayed. |
| 341 | "id": "A String", # The identifier of this Post. |
| 342 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 343 | "replies": { # The container of comments on this Post. |
| 344 | "items": [ # The List of Comments for this Post. |
| 345 | { |
| 346 | "post": { # Data about the post containing this comment. |
| 347 | "id": "A String", # The identifier of the post containing this comment. |
| 348 | }, |
| 349 | "id": "A String", # The identifier for this resource. |
| 350 | "status": "A String", # The status of the comment (only populated for admin users). |
| 351 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 352 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 353 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 354 | "blog": { # Data about the blog containing this comment. |
| 355 | "id": "A String", # The identifier of the blog containing this comment. |
| 356 | }, |
| 357 | "inReplyTo": { # Data about the comment this is in reply to. |
| 358 | "id": "A String", # The identified of the parent of this comment. |
| 359 | }, |
| 360 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 361 | "author": { # The author of this Comment. |
| 362 | "id": "A String", # The identifier of the creator. |
| 363 | "displayName": "A String", # The display name. |
| 364 | "image": { # The creator's avatar. |
| 365 | "url": "A String", # The creator's avatar URL. |
| 366 | }, |
| 367 | "url": "A String", # The URL of the creator's Profile page. |
| 368 | }, |
| 369 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 370 | }, |
| 371 | ], |
| 372 | "selfLink": "A String", # The URL of the comments on this post. |
| 373 | "totalItems": "A String", # The count of comments on this post. |
| 374 | }, |
| 375 | "author": { # The author of this Post. |
| 376 | "image": { # The creator's avatar. |
| 377 | "url": "A String", # The creator's avatar URL. |
| 378 | }, |
| 379 | "url": "A String", # The URL of the creator's Profile page. |
| 380 | "displayName": "A String", # The display name. |
| 381 | "id": "A String", # The identifier of the creator. |
| 382 | }, |
| 383 | "kind": "A String", # The kind of this entity. Always blogger#post. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 384 | "published": "A String", # RFC 3339 date-time when this Post was published. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 385 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 386 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 387 | "customMetaData": "A String", # The JSON meta-data for the Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 388 | "images": [ # Display image for the Post. |
| 389 | { |
| 390 | "url": "A String", |
| 391 | }, |
| 392 | ], |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 393 | "blog": { # Data about the blog containing this Post. |
| 394 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 395 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 396 | "labels": [ # The list of labels this Post was tagged with. |
| 397 | "A String", |
| 398 | ], |
| 399 | "etag": "A String", # Etag of the resource. |
| 400 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 401 | "location": { # The location for geotagged posts. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 402 | "lng": 3.14, # Location's longitude. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 403 | "lat": 3.14, # Location's latitude. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 404 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 405 | "name": "A String", # Location name. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 406 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 407 | } |
| 408 | |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 409 | fetchBody: boolean, A parameter |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 410 | isDraft: boolean, A parameter |
| 411 | fetchImages: boolean, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 412 | x__xgafv: string, V1 error format. |
| 413 | Allowed values |
| 414 | 1 - v1 error format |
| 415 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 416 | |
| 417 | Returns: |
| 418 | An object of the form: |
| 419 | |
| 420 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 421 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 422 | "title": "A String", # The title of the Post. |
| 423 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 424 | "url": "A String", # The URL where this Post is displayed. |
| 425 | "id": "A String", # The identifier of this Post. |
| 426 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 427 | "replies": { # The container of comments on this Post. |
| 428 | "items": [ # The List of Comments for this Post. |
| 429 | { |
| 430 | "post": { # Data about the post containing this comment. |
| 431 | "id": "A String", # The identifier of the post containing this comment. |
| 432 | }, |
| 433 | "id": "A String", # The identifier for this resource. |
| 434 | "status": "A String", # The status of the comment (only populated for admin users). |
| 435 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 436 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 437 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 438 | "blog": { # Data about the blog containing this comment. |
| 439 | "id": "A String", # The identifier of the blog containing this comment. |
| 440 | }, |
| 441 | "inReplyTo": { # Data about the comment this is in reply to. |
| 442 | "id": "A String", # The identified of the parent of this comment. |
| 443 | }, |
| 444 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 445 | "author": { # The author of this Comment. |
| 446 | "id": "A String", # The identifier of the creator. |
| 447 | "displayName": "A String", # The display name. |
| 448 | "image": { # The creator's avatar. |
| 449 | "url": "A String", # The creator's avatar URL. |
| 450 | }, |
| 451 | "url": "A String", # The URL of the creator's Profile page. |
| 452 | }, |
| 453 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 454 | }, |
| 455 | ], |
| 456 | "selfLink": "A String", # The URL of the comments on this post. |
| 457 | "totalItems": "A String", # The count of comments on this post. |
| 458 | }, |
| 459 | "author": { # The author of this Post. |
| 460 | "image": { # The creator's avatar. |
| 461 | "url": "A String", # The creator's avatar URL. |
| 462 | }, |
| 463 | "url": "A String", # The URL of the creator's Profile page. |
| 464 | "displayName": "A String", # The display name. |
| 465 | "id": "A String", # The identifier of the creator. |
| 466 | }, |
| 467 | "kind": "A String", # The kind of this entity. Always blogger#post. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 468 | "published": "A String", # RFC 3339 date-time when this Post was published. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 469 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 470 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 471 | "customMetaData": "A String", # The JSON meta-data for the Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 472 | "images": [ # Display image for the Post. |
| 473 | { |
| 474 | "url": "A String", |
| 475 | }, |
| 476 | ], |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 477 | "blog": { # Data about the blog containing this Post. |
| 478 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 479 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 480 | "labels": [ # The list of labels this Post was tagged with. |
| 481 | "A String", |
| 482 | ], |
| 483 | "etag": "A String", # Etag of the resource. |
| 484 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 485 | "location": { # The location for geotagged posts. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 486 | "lng": 3.14, # Location's longitude. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 487 | "lat": 3.14, # Location's latitude. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 488 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 489 | "name": "A String", # Location name. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 490 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 491 | }</pre> |
| 492 | </div> |
| 493 | |
| 494 | <div class="method"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 495 | <code class="details" id="list">list(blogId, fetchImages=None, status=None, orderBy=None, view=None, endDate=None, startDate=None, labels=None, pageToken=None, fetchBodies=None, maxResults=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 496 | <pre>Lists posts. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 497 | |
| 498 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 499 | blogId: string, A parameter (required) |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 500 | fetchImages: boolean, A parameter |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 501 | status: string, A parameter (repeated) |
| 502 | Allowed values |
| 503 | LIVE - |
| 504 | DRAFT - |
| 505 | SCHEDULED - |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 506 | orderBy: string, A parameter |
| 507 | Allowed values |
| 508 | ORDER_BY_UNSPECIFIED - |
| 509 | PUBLISHED - |
| 510 | UPDATED - |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 511 | view: string, A parameter |
| 512 | Allowed values |
| 513 | VIEW_TYPE_UNSPECIFIED - |
| 514 | READER - |
| 515 | AUTHOR - |
| 516 | ADMIN - |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 517 | endDate: string, A parameter |
| 518 | startDate: string, A parameter |
| 519 | labels: string, A parameter |
| 520 | pageToken: string, A parameter |
| 521 | fetchBodies: boolean, A parameter |
| 522 | maxResults: integer, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 523 | x__xgafv: string, V1 error format. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 524 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 525 | 1 - v1 error format |
| 526 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 527 | |
| 528 | Returns: |
| 529 | An object of the form: |
| 530 | |
| 531 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 532 | "prevPageToken": "A String", # Pagination token to fetch the previous page, if one exists. |
| 533 | "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists. |
| 534 | "etag": "A String", # Etag of the response. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 535 | "items": [ # The list of Posts for this Blog. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 536 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 537 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 538 | "title": "A String", # The title of the Post. |
| 539 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 540 | "url": "A String", # The URL where this Post is displayed. |
| 541 | "id": "A String", # The identifier of this Post. |
| 542 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 543 | "replies": { # The container of comments on this Post. |
| 544 | "items": [ # The List of Comments for this Post. |
| 545 | { |
| 546 | "post": { # Data about the post containing this comment. |
| 547 | "id": "A String", # The identifier of the post containing this comment. |
| 548 | }, |
| 549 | "id": "A String", # The identifier for this resource. |
| 550 | "status": "A String", # The status of the comment (only populated for admin users). |
| 551 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 552 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 553 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 554 | "blog": { # Data about the blog containing this comment. |
| 555 | "id": "A String", # The identifier of the blog containing this comment. |
| 556 | }, |
| 557 | "inReplyTo": { # Data about the comment this is in reply to. |
| 558 | "id": "A String", # The identified of the parent of this comment. |
| 559 | }, |
| 560 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 561 | "author": { # The author of this Comment. |
| 562 | "id": "A String", # The identifier of the creator. |
| 563 | "displayName": "A String", # The display name. |
| 564 | "image": { # The creator's avatar. |
| 565 | "url": "A String", # The creator's avatar URL. |
| 566 | }, |
| 567 | "url": "A String", # The URL of the creator's Profile page. |
| 568 | }, |
| 569 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 570 | }, |
| 571 | ], |
| 572 | "selfLink": "A String", # The URL of the comments on this post. |
| 573 | "totalItems": "A String", # The count of comments on this post. |
| 574 | }, |
| 575 | "author": { # The author of this Post. |
| 576 | "image": { # The creator's avatar. |
| 577 | "url": "A String", # The creator's avatar URL. |
| 578 | }, |
| 579 | "url": "A String", # The URL of the creator's Profile page. |
| 580 | "displayName": "A String", # The display name. |
| 581 | "id": "A String", # The identifier of the creator. |
| 582 | }, |
| 583 | "kind": "A String", # The kind of this entity. Always blogger#post. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 584 | "published": "A String", # RFC 3339 date-time when this Post was published. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 585 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 586 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 587 | "customMetaData": "A String", # The JSON meta-data for the Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 588 | "images": [ # Display image for the Post. |
| 589 | { |
| 590 | "url": "A String", |
| 591 | }, |
| 592 | ], |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 593 | "blog": { # Data about the blog containing this Post. |
| 594 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 595 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 596 | "labels": [ # The list of labels this Post was tagged with. |
| 597 | "A String", |
| 598 | ], |
| 599 | "etag": "A String", # Etag of the resource. |
| 600 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 601 | "location": { # The location for geotagged posts. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 602 | "lng": 3.14, # Location's longitude. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 603 | "lat": 3.14, # Location's latitude. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 604 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 605 | "name": "A String", # Location name. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 606 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 607 | }, |
| 608 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 609 | "kind": "A String", # The kind of this entity. Always blogger#postList. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 610 | }</pre> |
| 611 | </div> |
| 612 | |
| 613 | <div class="method"> |
| 614 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 615 | <pre>Retrieves the next page of results. |
| 616 | |
| 617 | Args: |
| 618 | previous_request: The request for the previous page. (required) |
| 619 | previous_response: The response from the request for the previous page. (required) |
| 620 | |
| 621 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 622 | 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] | 623 | page. Returns None if there are no more items in the collection. |
| 624 | </pre> |
| 625 | </div> |
| 626 | |
| 627 | <div class="method"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 628 | <code class="details" id="patch">patch(blogId, postId, body=None, fetchImages=None, revert=None, fetchBody=None, maxComments=None, publish=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 629 | <pre>Patches a post. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 630 | |
| 631 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 632 | blogId: string, A parameter (required) |
| 633 | postId: string, A parameter (required) |
| 634 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 635 | The object takes the form of: |
| 636 | |
| 637 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 638 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 639 | "title": "A String", # The title of the Post. |
| 640 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 641 | "url": "A String", # The URL where this Post is displayed. |
| 642 | "id": "A String", # The identifier of this Post. |
| 643 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 644 | "replies": { # The container of comments on this Post. |
| 645 | "items": [ # The List of Comments for this Post. |
| 646 | { |
| 647 | "post": { # Data about the post containing this comment. |
| 648 | "id": "A String", # The identifier of the post containing this comment. |
| 649 | }, |
| 650 | "id": "A String", # The identifier for this resource. |
| 651 | "status": "A String", # The status of the comment (only populated for admin users). |
| 652 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 653 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 654 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 655 | "blog": { # Data about the blog containing this comment. |
| 656 | "id": "A String", # The identifier of the blog containing this comment. |
| 657 | }, |
| 658 | "inReplyTo": { # Data about the comment this is in reply to. |
| 659 | "id": "A String", # The identified of the parent of this comment. |
| 660 | }, |
| 661 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 662 | "author": { # The author of this Comment. |
| 663 | "id": "A String", # The identifier of the creator. |
| 664 | "displayName": "A String", # The display name. |
| 665 | "image": { # The creator's avatar. |
| 666 | "url": "A String", # The creator's avatar URL. |
| 667 | }, |
| 668 | "url": "A String", # The URL of the creator's Profile page. |
| 669 | }, |
| 670 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 671 | }, |
| 672 | ], |
| 673 | "selfLink": "A String", # The URL of the comments on this post. |
| 674 | "totalItems": "A String", # The count of comments on this post. |
| 675 | }, |
| 676 | "author": { # The author of this Post. |
| 677 | "image": { # The creator's avatar. |
| 678 | "url": "A String", # The creator's avatar URL. |
| 679 | }, |
| 680 | "url": "A String", # The URL of the creator's Profile page. |
| 681 | "displayName": "A String", # The display name. |
| 682 | "id": "A String", # The identifier of the creator. |
| 683 | }, |
| 684 | "kind": "A String", # The kind of this entity. Always blogger#post. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 685 | "published": "A String", # RFC 3339 date-time when this Post was published. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 686 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 687 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 688 | "customMetaData": "A String", # The JSON meta-data for the Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 689 | "images": [ # Display image for the Post. |
| 690 | { |
| 691 | "url": "A String", |
| 692 | }, |
| 693 | ], |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 694 | "blog": { # Data about the blog containing this Post. |
| 695 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 696 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 697 | "labels": [ # The list of labels this Post was tagged with. |
| 698 | "A String", |
| 699 | ], |
| 700 | "etag": "A String", # Etag of the resource. |
| 701 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 702 | "location": { # The location for geotagged posts. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 703 | "lng": 3.14, # Location's longitude. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 704 | "lat": 3.14, # Location's latitude. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 705 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 706 | "name": "A String", # Location name. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 707 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 708 | } |
| 709 | |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 710 | fetchImages: boolean, A parameter |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 711 | revert: boolean, A parameter |
| 712 | fetchBody: boolean, A parameter |
| 713 | maxComments: integer, A parameter |
| 714 | publish: boolean, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 715 | x__xgafv: string, V1 error format. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 716 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 717 | 1 - v1 error format |
| 718 | 2 - v2 error format |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 719 | |
| 720 | Returns: |
| 721 | An object of the form: |
| 722 | |
| 723 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 724 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 725 | "title": "A String", # The title of the Post. |
| 726 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 727 | "url": "A String", # The URL where this Post is displayed. |
| 728 | "id": "A String", # The identifier of this Post. |
| 729 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 730 | "replies": { # The container of comments on this Post. |
| 731 | "items": [ # The List of Comments for this Post. |
| 732 | { |
| 733 | "post": { # Data about the post containing this comment. |
| 734 | "id": "A String", # The identifier of the post containing this comment. |
| 735 | }, |
| 736 | "id": "A String", # The identifier for this resource. |
| 737 | "status": "A String", # The status of the comment (only populated for admin users). |
| 738 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 739 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 740 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 741 | "blog": { # Data about the blog containing this comment. |
| 742 | "id": "A String", # The identifier of the blog containing this comment. |
| 743 | }, |
| 744 | "inReplyTo": { # Data about the comment this is in reply to. |
| 745 | "id": "A String", # The identified of the parent of this comment. |
| 746 | }, |
| 747 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 748 | "author": { # The author of this Comment. |
| 749 | "id": "A String", # The identifier of the creator. |
| 750 | "displayName": "A String", # The display name. |
| 751 | "image": { # The creator's avatar. |
| 752 | "url": "A String", # The creator's avatar URL. |
| 753 | }, |
| 754 | "url": "A String", # The URL of the creator's Profile page. |
| 755 | }, |
| 756 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 757 | }, |
| 758 | ], |
| 759 | "selfLink": "A String", # The URL of the comments on this post. |
| 760 | "totalItems": "A String", # The count of comments on this post. |
| 761 | }, |
| 762 | "author": { # The author of this Post. |
| 763 | "image": { # The creator's avatar. |
| 764 | "url": "A String", # The creator's avatar URL. |
| 765 | }, |
| 766 | "url": "A String", # The URL of the creator's Profile page. |
| 767 | "displayName": "A String", # The display name. |
| 768 | "id": "A String", # The identifier of the creator. |
| 769 | }, |
| 770 | "kind": "A String", # The kind of this entity. Always blogger#post. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 771 | "published": "A String", # RFC 3339 date-time when this Post was published. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 772 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 773 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 774 | "customMetaData": "A String", # The JSON meta-data for the Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 775 | "images": [ # Display image for the Post. |
| 776 | { |
| 777 | "url": "A String", |
| 778 | }, |
| 779 | ], |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 780 | "blog": { # Data about the blog containing this Post. |
| 781 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 782 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 783 | "labels": [ # The list of labels this Post was tagged with. |
| 784 | "A String", |
| 785 | ], |
| 786 | "etag": "A String", # Etag of the resource. |
| 787 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 788 | "location": { # The location for geotagged posts. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 789 | "lng": 3.14, # Location's longitude. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 790 | "lat": 3.14, # Location's latitude. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 791 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 792 | "name": "A String", # Location name. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 793 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 794 | }</pre> |
| 795 | </div> |
| 796 | |
| 797 | <div class="method"> |
| 798 | <code class="details" id="publish">publish(blogId, postId, publishDate=None, x__xgafv=None)</code> |
| 799 | <pre>Publishes a post. |
| 800 | |
| 801 | Args: |
| 802 | blogId: string, A parameter (required) |
| 803 | postId: string, A parameter (required) |
| 804 | publishDate: string, A parameter |
| 805 | x__xgafv: string, V1 error format. |
| 806 | Allowed values |
| 807 | 1 - v1 error format |
| 808 | 2 - v2 error format |
| 809 | |
| 810 | Returns: |
| 811 | An object of the form: |
| 812 | |
| 813 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 814 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 815 | "title": "A String", # The title of the Post. |
| 816 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 817 | "url": "A String", # The URL where this Post is displayed. |
| 818 | "id": "A String", # The identifier of this Post. |
| 819 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 820 | "replies": { # The container of comments on this Post. |
| 821 | "items": [ # The List of Comments for this Post. |
| 822 | { |
| 823 | "post": { # Data about the post containing this comment. |
| 824 | "id": "A String", # The identifier of the post containing this comment. |
| 825 | }, |
| 826 | "id": "A String", # The identifier for this resource. |
| 827 | "status": "A String", # The status of the comment (only populated for admin users). |
| 828 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 829 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 830 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 831 | "blog": { # Data about the blog containing this comment. |
| 832 | "id": "A String", # The identifier of the blog containing this comment. |
| 833 | }, |
| 834 | "inReplyTo": { # Data about the comment this is in reply to. |
| 835 | "id": "A String", # The identified of the parent of this comment. |
| 836 | }, |
| 837 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 838 | "author": { # The author of this Comment. |
| 839 | "id": "A String", # The identifier of the creator. |
| 840 | "displayName": "A String", # The display name. |
| 841 | "image": { # The creator's avatar. |
| 842 | "url": "A String", # The creator's avatar URL. |
| 843 | }, |
| 844 | "url": "A String", # The URL of the creator's Profile page. |
| 845 | }, |
| 846 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 847 | }, |
| 848 | ], |
| 849 | "selfLink": "A String", # The URL of the comments on this post. |
| 850 | "totalItems": "A String", # The count of comments on this post. |
| 851 | }, |
| 852 | "author": { # The author of this Post. |
| 853 | "image": { # The creator's avatar. |
| 854 | "url": "A String", # The creator's avatar URL. |
| 855 | }, |
| 856 | "url": "A String", # The URL of the creator's Profile page. |
| 857 | "displayName": "A String", # The display name. |
| 858 | "id": "A String", # The identifier of the creator. |
| 859 | }, |
| 860 | "kind": "A String", # The kind of this entity. Always blogger#post. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 861 | "published": "A String", # RFC 3339 date-time when this Post was published. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 862 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 863 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 864 | "customMetaData": "A String", # The JSON meta-data for the Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 865 | "images": [ # Display image for the Post. |
| 866 | { |
| 867 | "url": "A String", |
| 868 | }, |
| 869 | ], |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 870 | "blog": { # Data about the blog containing this Post. |
| 871 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 872 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 873 | "labels": [ # The list of labels this Post was tagged with. |
| 874 | "A String", |
| 875 | ], |
| 876 | "etag": "A String", # Etag of the resource. |
| 877 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 878 | "location": { # The location for geotagged posts. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 879 | "lng": 3.14, # Location's longitude. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 880 | "lat": 3.14, # Location's latitude. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 881 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 882 | "name": "A String", # Location name. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 883 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 884 | }</pre> |
| 885 | </div> |
| 886 | |
| 887 | <div class="method"> |
| 888 | <code class="details" id="revert">revert(blogId, postId, x__xgafv=None)</code> |
| 889 | <pre>Reverts a published or scheduled post to draft state. |
| 890 | |
| 891 | Args: |
| 892 | blogId: string, A parameter (required) |
| 893 | postId: string, A parameter (required) |
| 894 | x__xgafv: string, V1 error format. |
| 895 | Allowed values |
| 896 | 1 - v1 error format |
| 897 | 2 - v2 error format |
| 898 | |
| 899 | Returns: |
| 900 | An object of the form: |
| 901 | |
| 902 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 903 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 904 | "title": "A String", # The title of the Post. |
| 905 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 906 | "url": "A String", # The URL where this Post is displayed. |
| 907 | "id": "A String", # The identifier of this Post. |
| 908 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 909 | "replies": { # The container of comments on this Post. |
| 910 | "items": [ # The List of Comments for this Post. |
| 911 | { |
| 912 | "post": { # Data about the post containing this comment. |
| 913 | "id": "A String", # The identifier of the post containing this comment. |
| 914 | }, |
| 915 | "id": "A String", # The identifier for this resource. |
| 916 | "status": "A String", # The status of the comment (only populated for admin users). |
| 917 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 918 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 919 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 920 | "blog": { # Data about the blog containing this comment. |
| 921 | "id": "A String", # The identifier of the blog containing this comment. |
| 922 | }, |
| 923 | "inReplyTo": { # Data about the comment this is in reply to. |
| 924 | "id": "A String", # The identified of the parent of this comment. |
| 925 | }, |
| 926 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 927 | "author": { # The author of this Comment. |
| 928 | "id": "A String", # The identifier of the creator. |
| 929 | "displayName": "A String", # The display name. |
| 930 | "image": { # The creator's avatar. |
| 931 | "url": "A String", # The creator's avatar URL. |
| 932 | }, |
| 933 | "url": "A String", # The URL of the creator's Profile page. |
| 934 | }, |
| 935 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 936 | }, |
| 937 | ], |
| 938 | "selfLink": "A String", # The URL of the comments on this post. |
| 939 | "totalItems": "A String", # The count of comments on this post. |
| 940 | }, |
| 941 | "author": { # The author of this Post. |
| 942 | "image": { # The creator's avatar. |
| 943 | "url": "A String", # The creator's avatar URL. |
| 944 | }, |
| 945 | "url": "A String", # The URL of the creator's Profile page. |
| 946 | "displayName": "A String", # The display name. |
| 947 | "id": "A String", # The identifier of the creator. |
| 948 | }, |
| 949 | "kind": "A String", # The kind of this entity. Always blogger#post. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 950 | "published": "A String", # RFC 3339 date-time when this Post was published. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 951 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 952 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 953 | "customMetaData": "A String", # The JSON meta-data for the Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 954 | "images": [ # Display image for the Post. |
| 955 | { |
| 956 | "url": "A String", |
| 957 | }, |
| 958 | ], |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 959 | "blog": { # Data about the blog containing this Post. |
| 960 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 961 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 962 | "labels": [ # The list of labels this Post was tagged with. |
| 963 | "A String", |
| 964 | ], |
| 965 | "etag": "A String", # Etag of the resource. |
| 966 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 967 | "location": { # The location for geotagged posts. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 968 | "lng": 3.14, # Location's longitude. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 969 | "lat": 3.14, # Location's latitude. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 970 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 971 | "name": "A String", # Location name. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 972 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 973 | }</pre> |
| 974 | </div> |
| 975 | |
| 976 | <div class="method"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 977 | <code class="details" id="search">search(blogId, q, fetchBodies=None, orderBy=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 978 | <pre>Searches for posts matching given query terms in the specified blog. |
| 979 | |
| 980 | Args: |
| 981 | blogId: string, A parameter (required) |
| 982 | q: string, A parameter (required) |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 983 | fetchBodies: boolean, A parameter |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 984 | orderBy: string, A parameter |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 985 | Allowed values |
| 986 | ORDER_BY_UNSPECIFIED - |
| 987 | PUBLISHED - |
| 988 | UPDATED - |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 989 | x__xgafv: string, V1 error format. |
| 990 | Allowed values |
| 991 | 1 - v1 error format |
| 992 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 993 | |
| 994 | Returns: |
| 995 | An object of the form: |
| 996 | |
| 997 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 998 | "prevPageToken": "A String", # Pagination token to fetch the previous page, if one exists. |
| 999 | "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists. |
| 1000 | "etag": "A String", # Etag of the response. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1001 | "items": [ # The list of Posts for this Blog. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1002 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1003 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 1004 | "title": "A String", # The title of the Post. |
| 1005 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 1006 | "url": "A String", # The URL where this Post is displayed. |
| 1007 | "id": "A String", # The identifier of this Post. |
| 1008 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 1009 | "replies": { # The container of comments on this Post. |
| 1010 | "items": [ # The List of Comments for this Post. |
| 1011 | { |
| 1012 | "post": { # Data about the post containing this comment. |
| 1013 | "id": "A String", # The identifier of the post containing this comment. |
| 1014 | }, |
| 1015 | "id": "A String", # The identifier for this resource. |
| 1016 | "status": "A String", # The status of the comment (only populated for admin users). |
| 1017 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 1018 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 1019 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 1020 | "blog": { # Data about the blog containing this comment. |
| 1021 | "id": "A String", # The identifier of the blog containing this comment. |
| 1022 | }, |
| 1023 | "inReplyTo": { # Data about the comment this is in reply to. |
| 1024 | "id": "A String", # The identified of the parent of this comment. |
| 1025 | }, |
| 1026 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 1027 | "author": { # The author of this Comment. |
| 1028 | "id": "A String", # The identifier of the creator. |
| 1029 | "displayName": "A String", # The display name. |
| 1030 | "image": { # The creator's avatar. |
| 1031 | "url": "A String", # The creator's avatar URL. |
| 1032 | }, |
| 1033 | "url": "A String", # The URL of the creator's Profile page. |
| 1034 | }, |
| 1035 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 1036 | }, |
| 1037 | ], |
| 1038 | "selfLink": "A String", # The URL of the comments on this post. |
| 1039 | "totalItems": "A String", # The count of comments on this post. |
| 1040 | }, |
| 1041 | "author": { # The author of this Post. |
| 1042 | "image": { # The creator's avatar. |
| 1043 | "url": "A String", # The creator's avatar URL. |
| 1044 | }, |
| 1045 | "url": "A String", # The URL of the creator's Profile page. |
| 1046 | "displayName": "A String", # The display name. |
| 1047 | "id": "A String", # The identifier of the creator. |
| 1048 | }, |
| 1049 | "kind": "A String", # The kind of this entity. Always blogger#post. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 1050 | "published": "A String", # RFC 3339 date-time when this Post was published. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1051 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 1052 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 1053 | "customMetaData": "A String", # The JSON meta-data for the Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 1054 | "images": [ # Display image for the Post. |
| 1055 | { |
| 1056 | "url": "A String", |
| 1057 | }, |
| 1058 | ], |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 1059 | "blog": { # Data about the blog containing this Post. |
| 1060 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 1061 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1062 | "labels": [ # The list of labels this Post was tagged with. |
| 1063 | "A String", |
| 1064 | ], |
| 1065 | "etag": "A String", # Etag of the resource. |
| 1066 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 1067 | "location": { # The location for geotagged posts. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 1068 | "lng": 3.14, # Location's longitude. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1069 | "lat": 3.14, # Location's latitude. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 1070 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1071 | "name": "A String", # Location name. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 1072 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1073 | }, |
| 1074 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 1075 | "kind": "A String", # The kind of this entity. Always blogger#postList. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1076 | }</pre> |
| 1077 | </div> |
| 1078 | |
| 1079 | <div class="method"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1080 | <code class="details" id="update">update(blogId, postId, body=None, maxComments=None, publish=None, fetchBody=None, revert=None, fetchImages=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1081 | <pre>Updates a post by blog id and post id. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1082 | |
| 1083 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1084 | blogId: string, A parameter (required) |
| 1085 | postId: string, A parameter (required) |
| 1086 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1087 | The object takes the form of: |
| 1088 | |
| 1089 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1090 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 1091 | "title": "A String", # The title of the Post. |
| 1092 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 1093 | "url": "A String", # The URL where this Post is displayed. |
| 1094 | "id": "A String", # The identifier of this Post. |
| 1095 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 1096 | "replies": { # The container of comments on this Post. |
| 1097 | "items": [ # The List of Comments for this Post. |
| 1098 | { |
| 1099 | "post": { # Data about the post containing this comment. |
| 1100 | "id": "A String", # The identifier of the post containing this comment. |
| 1101 | }, |
| 1102 | "id": "A String", # The identifier for this resource. |
| 1103 | "status": "A String", # The status of the comment (only populated for admin users). |
| 1104 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 1105 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 1106 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 1107 | "blog": { # Data about the blog containing this comment. |
| 1108 | "id": "A String", # The identifier of the blog containing this comment. |
| 1109 | }, |
| 1110 | "inReplyTo": { # Data about the comment this is in reply to. |
| 1111 | "id": "A String", # The identified of the parent of this comment. |
| 1112 | }, |
| 1113 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 1114 | "author": { # The author of this Comment. |
| 1115 | "id": "A String", # The identifier of the creator. |
| 1116 | "displayName": "A String", # The display name. |
| 1117 | "image": { # The creator's avatar. |
| 1118 | "url": "A String", # The creator's avatar URL. |
| 1119 | }, |
| 1120 | "url": "A String", # The URL of the creator's Profile page. |
| 1121 | }, |
| 1122 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 1123 | }, |
| 1124 | ], |
| 1125 | "selfLink": "A String", # The URL of the comments on this post. |
| 1126 | "totalItems": "A String", # The count of comments on this post. |
| 1127 | }, |
| 1128 | "author": { # The author of this Post. |
| 1129 | "image": { # The creator's avatar. |
| 1130 | "url": "A String", # The creator's avatar URL. |
| 1131 | }, |
| 1132 | "url": "A String", # The URL of the creator's Profile page. |
| 1133 | "displayName": "A String", # The display name. |
| 1134 | "id": "A String", # The identifier of the creator. |
| 1135 | }, |
| 1136 | "kind": "A String", # The kind of this entity. Always blogger#post. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 1137 | "published": "A String", # RFC 3339 date-time when this Post was published. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1138 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 1139 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 1140 | "customMetaData": "A String", # The JSON meta-data for the Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 1141 | "images": [ # Display image for the Post. |
| 1142 | { |
| 1143 | "url": "A String", |
| 1144 | }, |
| 1145 | ], |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 1146 | "blog": { # Data about the blog containing this Post. |
| 1147 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 1148 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1149 | "labels": [ # The list of labels this Post was tagged with. |
| 1150 | "A String", |
| 1151 | ], |
| 1152 | "etag": "A String", # Etag of the resource. |
| 1153 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 1154 | "location": { # The location for geotagged posts. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 1155 | "lng": 3.14, # Location's longitude. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1156 | "lat": 3.14, # Location's latitude. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 1157 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1158 | "name": "A String", # Location name. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 1159 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1160 | } |
| 1161 | |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 1162 | maxComments: integer, A parameter |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 1163 | publish: boolean, A parameter |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 1164 | fetchBody: boolean, A parameter |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 1165 | revert: boolean, A parameter |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1166 | fetchImages: boolean, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1167 | x__xgafv: string, V1 error format. |
| 1168 | Allowed values |
| 1169 | 1 - v1 error format |
| 1170 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1171 | |
| 1172 | Returns: |
| 1173 | An object of the form: |
| 1174 | |
| 1175 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1176 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 1177 | "title": "A String", # The title of the Post. |
| 1178 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 1179 | "url": "A String", # The URL where this Post is displayed. |
| 1180 | "id": "A String", # The identifier of this Post. |
| 1181 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 1182 | "replies": { # The container of comments on this Post. |
| 1183 | "items": [ # The List of Comments for this Post. |
| 1184 | { |
| 1185 | "post": { # Data about the post containing this comment. |
| 1186 | "id": "A String", # The identifier of the post containing this comment. |
| 1187 | }, |
| 1188 | "id": "A String", # The identifier for this resource. |
| 1189 | "status": "A String", # The status of the comment (only populated for admin users). |
| 1190 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 1191 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 1192 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 1193 | "blog": { # Data about the blog containing this comment. |
| 1194 | "id": "A String", # The identifier of the blog containing this comment. |
| 1195 | }, |
| 1196 | "inReplyTo": { # Data about the comment this is in reply to. |
| 1197 | "id": "A String", # The identified of the parent of this comment. |
| 1198 | }, |
| 1199 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 1200 | "author": { # The author of this Comment. |
| 1201 | "id": "A String", # The identifier of the creator. |
| 1202 | "displayName": "A String", # The display name. |
| 1203 | "image": { # The creator's avatar. |
| 1204 | "url": "A String", # The creator's avatar URL. |
| 1205 | }, |
| 1206 | "url": "A String", # The URL of the creator's Profile page. |
| 1207 | }, |
| 1208 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 1209 | }, |
| 1210 | ], |
| 1211 | "selfLink": "A String", # The URL of the comments on this post. |
| 1212 | "totalItems": "A String", # The count of comments on this post. |
| 1213 | }, |
| 1214 | "author": { # The author of this Post. |
| 1215 | "image": { # The creator's avatar. |
| 1216 | "url": "A String", # The creator's avatar URL. |
| 1217 | }, |
| 1218 | "url": "A String", # The URL of the creator's Profile page. |
| 1219 | "displayName": "A String", # The display name. |
| 1220 | "id": "A String", # The identifier of the creator. |
| 1221 | }, |
| 1222 | "kind": "A String", # The kind of this entity. Always blogger#post. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 1223 | "published": "A String", # RFC 3339 date-time when this Post was published. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1224 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 1225 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 1226 | "customMetaData": "A String", # The JSON meta-data for the Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 1227 | "images": [ # Display image for the Post. |
| 1228 | { |
| 1229 | "url": "A String", |
| 1230 | }, |
| 1231 | ], |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 1232 | "blog": { # Data about the blog containing this Post. |
| 1233 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 1234 | }, |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1235 | "labels": [ # The list of labels this Post was tagged with. |
| 1236 | "A String", |
| 1237 | ], |
| 1238 | "etag": "A String", # Etag of the resource. |
| 1239 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 1240 | "location": { # The location for geotagged posts. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 1241 | "lng": 3.14, # Location's longitude. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1242 | "lat": 3.14, # Location's latitude. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 1243 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1244 | "name": "A String", # Location name. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 1245 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1246 | }</pre> |
| 1247 | </div> |
| 1248 | |
| 1249 | </body></html> |