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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 84 | <code><a href="#get">get(blogId, postId, fetchBody=None, fetchImages=None, maxComments=None, view=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 | cc94ec8 | 2021-01-15 07:10:04 -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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 90 | <code><a href="#insert">insert(blogId, body=None, fetchBody=None, fetchImages=None, isDraft=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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 93 | <code><a href="#list">list(blogId, endDate=None, fetchBodies=None, fetchImages=None, labels=None, maxResults=None, orderBy=None, pageToken=None, startDate=None, status=None, view=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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 99 | <code><a href="#patch">patch(blogId, postId, body=None, fetchBody=None, fetchImages=None, maxComments=None, publish=None, revert=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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 111 | <code><a href="#update">update(blogId, postId, body=None, fetchBody=None, fetchImages=None, maxComments=None, publish=None, revert=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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 134 | <code class="details" id="get">get(blogId, postId, fetchBody=None, fetchImages=None, maxComments=None, view=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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 140 | fetchBody: boolean, A parameter |
| 141 | fetchImages: boolean, A parameter |
| 142 | maxComments: integer, A parameter |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 143 | view: string, A parameter |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 144 | Allowed values |
| 145 | VIEW_TYPE_UNSPECIFIED - |
| 146 | READER - |
| 147 | AUTHOR - |
| 148 | ADMIN - |
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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 158 | "author": { # The author of this Post. |
| 159 | "displayName": "A String", # The display name. |
| 160 | "id": "A String", # The identifier of the creator. |
| 161 | "image": { # The creator's avatar. |
| 162 | "url": "A String", # The creator's avatar URL. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 163 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 164 | "url": "A String", # The URL of the creator's Profile page. |
| 165 | }, |
| 166 | "blog": { # Data about the blog containing this Post. |
| 167 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 168 | }, |
| 169 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 170 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 171 | "etag": "A String", # Etag of the resource. |
| 172 | "id": "A String", # The identifier of this Post. |
| 173 | "images": [ # Display image for the Post. |
| 174 | { |
| 175 | "url": "A String", |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 176 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 177 | ], |
| 178 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 179 | "labels": [ # The list of labels this Post was tagged with. |
| 180 | "A String", |
| 181 | ], |
| 182 | "location": { # The location for geotagged posts. |
| 183 | "lat": 3.14, # Location's latitude. |
| 184 | "lng": 3.14, # Location's longitude. |
| 185 | "name": "A String", # Location name. |
| 186 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 187 | }, |
| 188 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 189 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 190 | "replies": { # The container of comments on this Post. |
| 191 | "items": [ # The List of Comments for this Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 192 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 193 | "author": { # The author of this Comment. |
| 194 | "displayName": "A String", # The display name. |
| 195 | "id": "A String", # The identifier of the creator. |
| 196 | "image": { # The creator's avatar. |
| 197 | "url": "A String", # The creator's avatar URL. |
| 198 | }, |
| 199 | "url": "A String", # The URL of the creator's Profile page. |
| 200 | }, |
| 201 | "blog": { # Data about the blog containing this comment. |
| 202 | "id": "A String", # The identifier of the blog containing this comment. |
| 203 | }, |
| 204 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 205 | "id": "A String", # The identifier for this resource. |
| 206 | "inReplyTo": { # Data about the comment this is in reply to. |
| 207 | "id": "A String", # The identified of the parent of this comment. |
| 208 | }, |
| 209 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 210 | "post": { # Data about the post containing this comment. |
| 211 | "id": "A String", # The identifier of the post containing this comment. |
| 212 | }, |
| 213 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 214 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 215 | "status": "A String", # The status of the comment (only populated for admin users). |
| 216 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 217 | }, |
| 218 | ], |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 219 | "selfLink": "A String", # The URL of the comments on this post. |
| 220 | "totalItems": "A String", # The count of comments on this post. |
| 221 | }, |
| 222 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 223 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 224 | "title": "A String", # The title of the Post. |
| 225 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 226 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 227 | "url": "A String", # The URL where this Post is displayed. |
| 228 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 229 | </div> |
| 230 | |
| 231 | <div class="method"> |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -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 | cc94ec8 | 2021-01-15 07:10:04 -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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 254 | "author": { # The author of this Post. |
| 255 | "displayName": "A String", # The display name. |
| 256 | "id": "A String", # The identifier of the creator. |
| 257 | "image": { # The creator's avatar. |
| 258 | "url": "A String", # The creator's avatar URL. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 259 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 260 | "url": "A String", # The URL of the creator's Profile page. |
| 261 | }, |
| 262 | "blog": { # Data about the blog containing this Post. |
| 263 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 264 | }, |
| 265 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 266 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 267 | "etag": "A String", # Etag of the resource. |
| 268 | "id": "A String", # The identifier of this Post. |
| 269 | "images": [ # Display image for the Post. |
| 270 | { |
| 271 | "url": "A String", |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 272 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 273 | ], |
| 274 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 275 | "labels": [ # The list of labels this Post was tagged with. |
| 276 | "A String", |
| 277 | ], |
| 278 | "location": { # The location for geotagged posts. |
| 279 | "lat": 3.14, # Location's latitude. |
| 280 | "lng": 3.14, # Location's longitude. |
| 281 | "name": "A String", # Location name. |
| 282 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 283 | }, |
| 284 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 285 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 286 | "replies": { # The container of comments on this Post. |
| 287 | "items": [ # The List of Comments for this Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 288 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 289 | "author": { # The author of this Comment. |
| 290 | "displayName": "A String", # The display name. |
| 291 | "id": "A String", # The identifier of the creator. |
| 292 | "image": { # The creator's avatar. |
| 293 | "url": "A String", # The creator's avatar URL. |
| 294 | }, |
| 295 | "url": "A String", # The URL of the creator's Profile page. |
| 296 | }, |
| 297 | "blog": { # Data about the blog containing this comment. |
| 298 | "id": "A String", # The identifier of the blog containing this comment. |
| 299 | }, |
| 300 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 301 | "id": "A String", # The identifier for this resource. |
| 302 | "inReplyTo": { # Data about the comment this is in reply to. |
| 303 | "id": "A String", # The identified of the parent of this comment. |
| 304 | }, |
| 305 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 306 | "post": { # Data about the post containing this comment. |
| 307 | "id": "A String", # The identifier of the post containing this comment. |
| 308 | }, |
| 309 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 310 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 311 | "status": "A String", # The status of the comment (only populated for admin users). |
| 312 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 313 | }, |
| 314 | ], |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 315 | "selfLink": "A String", # The URL of the comments on this post. |
| 316 | "totalItems": "A String", # The count of comments on this post. |
| 317 | }, |
| 318 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 319 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 320 | "title": "A String", # The title of the Post. |
| 321 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 322 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 323 | "url": "A String", # The URL where this Post is displayed. |
| 324 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 325 | </div> |
| 326 | |
| 327 | <div class="method"> |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 328 | <code class="details" id="insert">insert(blogId, body=None, fetchBody=None, fetchImages=None, isDraft=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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 337 | "author": { # The author of this Post. |
| 338 | "displayName": "A String", # The display name. |
| 339 | "id": "A String", # The identifier of the creator. |
| 340 | "image": { # The creator's avatar. |
| 341 | "url": "A String", # The creator's avatar URL. |
| 342 | }, |
| 343 | "url": "A String", # The URL of the creator's Profile page. |
| 344 | }, |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 345 | "blog": { # Data about the blog containing this Post. |
| 346 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 347 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 348 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 349 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 350 | "etag": "A String", # Etag of the resource. |
| 351 | "id": "A String", # The identifier of this Post. |
| 352 | "images": [ # Display image for the Post. |
| 353 | { |
| 354 | "url": "A String", |
| 355 | }, |
| 356 | ], |
| 357 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 358 | "labels": [ # The list of labels this Post was tagged with. |
| 359 | "A String", |
| 360 | ], |
| 361 | "location": { # The location for geotagged posts. |
| 362 | "lat": 3.14, # Location's latitude. |
| 363 | "lng": 3.14, # Location's longitude. |
| 364 | "name": "A String", # Location name. |
| 365 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 366 | }, |
| 367 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 368 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 369 | "replies": { # The container of comments on this Post. |
| 370 | "items": [ # The List of Comments for this Post. |
| 371 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 372 | "author": { # The author of this Comment. |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 373 | "displayName": "A String", # The display name. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 374 | "id": "A String", # The identifier of the creator. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 375 | "image": { # The creator's avatar. |
| 376 | "url": "A String", # The creator's avatar URL. |
| 377 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 378 | "url": "A String", # The URL of the creator's Profile page. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 379 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 380 | "blog": { # Data about the blog containing this comment. |
| 381 | "id": "A String", # The identifier of the blog containing this comment. |
| 382 | }, |
| 383 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 384 | "id": "A String", # The identifier for this resource. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 385 | "inReplyTo": { # Data about the comment this is in reply to. |
| 386 | "id": "A String", # The identified of the parent of this comment. |
| 387 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 388 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 389 | "post": { # Data about the post containing this comment. |
| 390 | "id": "A String", # The identifier of the post containing this comment. |
| 391 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 392 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 393 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 394 | "status": "A String", # The status of the comment (only populated for admin users). |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 395 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 396 | }, |
| 397 | ], |
| 398 | "selfLink": "A String", # The URL of the comments on this post. |
| 399 | "totalItems": "A String", # The count of comments on this post. |
| 400 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 401 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 402 | "status": "A String", # Status of the post. Only set for admin-level requests. |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 403 | "title": "A String", # The title of the Post. |
| 404 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 405 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 406 | "url": "A String", # The URL where this Post is displayed. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 407 | } |
| 408 | |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 409 | fetchBody: boolean, A parameter |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 410 | fetchImages: boolean, A parameter |
| 411 | isDraft: 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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 421 | "author": { # The author of this Post. |
| 422 | "displayName": "A String", # The display name. |
| 423 | "id": "A String", # The identifier of the creator. |
| 424 | "image": { # The creator's avatar. |
| 425 | "url": "A String", # The creator's avatar URL. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 426 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 427 | "url": "A String", # The URL of the creator's Profile page. |
| 428 | }, |
| 429 | "blog": { # Data about the blog containing this Post. |
| 430 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 431 | }, |
| 432 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 433 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 434 | "etag": "A String", # Etag of the resource. |
| 435 | "id": "A String", # The identifier of this Post. |
| 436 | "images": [ # Display image for the Post. |
| 437 | { |
| 438 | "url": "A String", |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 439 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 440 | ], |
| 441 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 442 | "labels": [ # The list of labels this Post was tagged with. |
| 443 | "A String", |
| 444 | ], |
| 445 | "location": { # The location for geotagged posts. |
| 446 | "lat": 3.14, # Location's latitude. |
| 447 | "lng": 3.14, # Location's longitude. |
| 448 | "name": "A String", # Location name. |
| 449 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 450 | }, |
| 451 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 452 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 453 | "replies": { # The container of comments on this Post. |
| 454 | "items": [ # The List of Comments for this Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 455 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 456 | "author": { # The author of this Comment. |
| 457 | "displayName": "A String", # The display name. |
| 458 | "id": "A String", # The identifier of the creator. |
| 459 | "image": { # The creator's avatar. |
| 460 | "url": "A String", # The creator's avatar URL. |
| 461 | }, |
| 462 | "url": "A String", # The URL of the creator's Profile page. |
| 463 | }, |
| 464 | "blog": { # Data about the blog containing this comment. |
| 465 | "id": "A String", # The identifier of the blog containing this comment. |
| 466 | }, |
| 467 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 468 | "id": "A String", # The identifier for this resource. |
| 469 | "inReplyTo": { # Data about the comment this is in reply to. |
| 470 | "id": "A String", # The identified of the parent of this comment. |
| 471 | }, |
| 472 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 473 | "post": { # Data about the post containing this comment. |
| 474 | "id": "A String", # The identifier of the post containing this comment. |
| 475 | }, |
| 476 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 477 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 478 | "status": "A String", # The status of the comment (only populated for admin users). |
| 479 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 480 | }, |
| 481 | ], |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 482 | "selfLink": "A String", # The URL of the comments on this post. |
| 483 | "totalItems": "A String", # The count of comments on this post. |
| 484 | }, |
| 485 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 486 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 487 | "title": "A String", # The title of the Post. |
| 488 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 489 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 490 | "url": "A String", # The URL where this Post is displayed. |
| 491 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 492 | </div> |
| 493 | |
| 494 | <div class="method"> |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 495 | <code class="details" id="list">list(blogId, endDate=None, fetchBodies=None, fetchImages=None, labels=None, maxResults=None, orderBy=None, pageToken=None, startDate=None, status=None, view=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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 500 | endDate: string, A parameter |
| 501 | fetchBodies: boolean, A parameter |
| 502 | fetchImages: boolean, A parameter |
| 503 | labels: string, A parameter |
| 504 | maxResults: integer, A parameter |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 505 | orderBy: string, A parameter |
| 506 | Allowed values |
| 507 | ORDER_BY_UNSPECIFIED - |
| 508 | PUBLISHED - |
| 509 | UPDATED - |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 510 | pageToken: string, A parameter |
| 511 | startDate: string, A parameter |
| 512 | status: string, A parameter (repeated) |
| 513 | Allowed values |
| 514 | LIVE - |
| 515 | DRAFT - |
| 516 | SCHEDULED - |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 517 | view: string, A parameter |
| 518 | Allowed values |
| 519 | VIEW_TYPE_UNSPECIFIED - |
| 520 | READER - |
| 521 | AUTHOR - |
| 522 | ADMIN - |
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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 532 | "etag": "A String", # Etag of the response. |
| 533 | "items": [ # The list of Posts for this Blog. |
| 534 | { |
| 535 | "author": { # The author of this Post. |
| 536 | "displayName": "A String", # The display name. |
| 537 | "id": "A String", # The identifier of the creator. |
| 538 | "image": { # The creator's avatar. |
| 539 | "url": "A String", # The creator's avatar URL. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 540 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 541 | "url": "A String", # The URL of the creator's Profile page. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 542 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 543 | "blog": { # Data about the blog containing this Post. |
| 544 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 545 | }, |
| 546 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 547 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 548 | "etag": "A String", # Etag of the resource. |
| 549 | "id": "A String", # The identifier of this Post. |
| 550 | "images": [ # Display image for the Post. |
| 551 | { |
| 552 | "url": "A String", |
| 553 | }, |
| 554 | ], |
| 555 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 556 | "labels": [ # The list of labels this Post was tagged with. |
| 557 | "A String", |
| 558 | ], |
| 559 | "location": { # The location for geotagged posts. |
| 560 | "lat": 3.14, # Location's latitude. |
| 561 | "lng": 3.14, # Location's longitude. |
| 562 | "name": "A String", # Location name. |
| 563 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 564 | }, |
| 565 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 566 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 567 | "replies": { # The container of comments on this Post. |
| 568 | "items": [ # The List of Comments for this Post. |
| 569 | { |
| 570 | "author": { # The author of this Comment. |
| 571 | "displayName": "A String", # The display name. |
| 572 | "id": "A String", # The identifier of the creator. |
| 573 | "image": { # The creator's avatar. |
| 574 | "url": "A String", # The creator's avatar URL. |
| 575 | }, |
| 576 | "url": "A String", # The URL of the creator's Profile page. |
| 577 | }, |
| 578 | "blog": { # Data about the blog containing this comment. |
| 579 | "id": "A String", # The identifier of the blog containing this comment. |
| 580 | }, |
| 581 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 582 | "id": "A String", # The identifier for this resource. |
| 583 | "inReplyTo": { # Data about the comment this is in reply to. |
| 584 | "id": "A String", # The identified of the parent of this comment. |
| 585 | }, |
| 586 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 587 | "post": { # Data about the post containing this comment. |
| 588 | "id": "A String", # The identifier of the post containing this comment. |
| 589 | }, |
| 590 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 591 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 592 | "status": "A String", # The status of the comment (only populated for admin users). |
| 593 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 594 | }, |
| 595 | ], |
| 596 | "selfLink": "A String", # The URL of the comments on this post. |
| 597 | "totalItems": "A String", # The count of comments on this post. |
| 598 | }, |
| 599 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 600 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 601 | "title": "A String", # The title of the Post. |
| 602 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 603 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 604 | "url": "A String", # The URL where this Post is displayed. |
| 605 | }, |
| 606 | ], |
| 607 | "kind": "A String", # The kind of this entity. Always blogger#postList. |
| 608 | "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists. |
| 609 | "prevPageToken": "A String", # Pagination token to fetch the previous page, if one exists. |
| 610 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 628 | <code class="details" id="patch">patch(blogId, postId, body=None, fetchBody=None, fetchImages=None, maxComments=None, publish=None, revert=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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 638 | "author": { # The author of this Post. |
| 639 | "displayName": "A String", # The display name. |
| 640 | "id": "A String", # The identifier of the creator. |
| 641 | "image": { # The creator's avatar. |
| 642 | "url": "A String", # The creator's avatar URL. |
| 643 | }, |
| 644 | "url": "A String", # The URL of the creator's Profile page. |
| 645 | }, |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 646 | "blog": { # Data about the blog containing this Post. |
| 647 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 648 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 649 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 650 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 651 | "etag": "A String", # Etag of the resource. |
| 652 | "id": "A String", # The identifier of this Post. |
| 653 | "images": [ # Display image for the Post. |
| 654 | { |
| 655 | "url": "A String", |
| 656 | }, |
| 657 | ], |
| 658 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 659 | "labels": [ # The list of labels this Post was tagged with. |
| 660 | "A String", |
| 661 | ], |
| 662 | "location": { # The location for geotagged posts. |
| 663 | "lat": 3.14, # Location's latitude. |
| 664 | "lng": 3.14, # Location's longitude. |
| 665 | "name": "A String", # Location name. |
| 666 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 667 | }, |
| 668 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 669 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 670 | "replies": { # The container of comments on this Post. |
| 671 | "items": [ # The List of Comments for this Post. |
| 672 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 673 | "author": { # The author of this Comment. |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 674 | "displayName": "A String", # The display name. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 675 | "id": "A String", # The identifier of the creator. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 676 | "image": { # The creator's avatar. |
| 677 | "url": "A String", # The creator's avatar URL. |
| 678 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 679 | "url": "A String", # The URL of the creator's Profile page. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 680 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 681 | "blog": { # Data about the blog containing this comment. |
| 682 | "id": "A String", # The identifier of the blog containing this comment. |
| 683 | }, |
| 684 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 685 | "id": "A String", # The identifier for this resource. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 686 | "inReplyTo": { # Data about the comment this is in reply to. |
| 687 | "id": "A String", # The identified of the parent of this comment. |
| 688 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 689 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 690 | "post": { # Data about the post containing this comment. |
| 691 | "id": "A String", # The identifier of the post containing this comment. |
| 692 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 693 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 694 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 695 | "status": "A String", # The status of the comment (only populated for admin users). |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 696 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 697 | }, |
| 698 | ], |
| 699 | "selfLink": "A String", # The URL of the comments on this post. |
| 700 | "totalItems": "A String", # The count of comments on this post. |
| 701 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 702 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 703 | "status": "A String", # Status of the post. Only set for admin-level requests. |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 704 | "title": "A String", # The title of the Post. |
| 705 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 706 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 707 | "url": "A String", # The URL where this Post is displayed. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 708 | } |
| 709 | |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 710 | fetchBody: boolean, A parameter |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 711 | fetchImages: boolean, A parameter |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 712 | maxComments: integer, A parameter |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 713 | publish: boolean, A parameter |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 714 | revert: 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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 724 | "author": { # The author of this Post. |
| 725 | "displayName": "A String", # The display name. |
| 726 | "id": "A String", # The identifier of the creator. |
| 727 | "image": { # The creator's avatar. |
| 728 | "url": "A String", # The creator's avatar URL. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 729 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 730 | "url": "A String", # The URL of the creator's Profile page. |
| 731 | }, |
| 732 | "blog": { # Data about the blog containing this Post. |
| 733 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 734 | }, |
| 735 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 736 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 737 | "etag": "A String", # Etag of the resource. |
| 738 | "id": "A String", # The identifier of this Post. |
| 739 | "images": [ # Display image for the Post. |
| 740 | { |
| 741 | "url": "A String", |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 742 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 743 | ], |
| 744 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 745 | "labels": [ # The list of labels this Post was tagged with. |
| 746 | "A String", |
| 747 | ], |
| 748 | "location": { # The location for geotagged posts. |
| 749 | "lat": 3.14, # Location's latitude. |
| 750 | "lng": 3.14, # Location's longitude. |
| 751 | "name": "A String", # Location name. |
| 752 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 753 | }, |
| 754 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 755 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 756 | "replies": { # The container of comments on this Post. |
| 757 | "items": [ # The List of Comments for this Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 758 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 759 | "author": { # The author of this Comment. |
| 760 | "displayName": "A String", # The display name. |
| 761 | "id": "A String", # The identifier of the creator. |
| 762 | "image": { # The creator's avatar. |
| 763 | "url": "A String", # The creator's avatar URL. |
| 764 | }, |
| 765 | "url": "A String", # The URL of the creator's Profile page. |
| 766 | }, |
| 767 | "blog": { # Data about the blog containing this comment. |
| 768 | "id": "A String", # The identifier of the blog containing this comment. |
| 769 | }, |
| 770 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 771 | "id": "A String", # The identifier for this resource. |
| 772 | "inReplyTo": { # Data about the comment this is in reply to. |
| 773 | "id": "A String", # The identified of the parent of this comment. |
| 774 | }, |
| 775 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 776 | "post": { # Data about the post containing this comment. |
| 777 | "id": "A String", # The identifier of the post containing this comment. |
| 778 | }, |
| 779 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 780 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 781 | "status": "A String", # The status of the comment (only populated for admin users). |
| 782 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 783 | }, |
| 784 | ], |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 785 | "selfLink": "A String", # The URL of the comments on this post. |
| 786 | "totalItems": "A String", # The count of comments on this post. |
| 787 | }, |
| 788 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 789 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 790 | "title": "A String", # The title of the Post. |
| 791 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 792 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 793 | "url": "A String", # The URL where this Post is displayed. |
| 794 | }</pre> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 814 | "author": { # The author of this Post. |
| 815 | "displayName": "A String", # The display name. |
| 816 | "id": "A String", # The identifier of the creator. |
| 817 | "image": { # The creator's avatar. |
| 818 | "url": "A String", # The creator's avatar URL. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 819 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 820 | "url": "A String", # The URL of the creator's Profile page. |
| 821 | }, |
| 822 | "blog": { # Data about the blog containing this Post. |
| 823 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 824 | }, |
| 825 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 826 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 827 | "etag": "A String", # Etag of the resource. |
| 828 | "id": "A String", # The identifier of this Post. |
| 829 | "images": [ # Display image for the Post. |
| 830 | { |
| 831 | "url": "A String", |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 832 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 833 | ], |
| 834 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 835 | "labels": [ # The list of labels this Post was tagged with. |
| 836 | "A String", |
| 837 | ], |
| 838 | "location": { # The location for geotagged posts. |
| 839 | "lat": 3.14, # Location's latitude. |
| 840 | "lng": 3.14, # Location's longitude. |
| 841 | "name": "A String", # Location name. |
| 842 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 843 | }, |
| 844 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 845 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 846 | "replies": { # The container of comments on this Post. |
| 847 | "items": [ # The List of Comments for this Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 848 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 849 | "author": { # The author of this Comment. |
| 850 | "displayName": "A String", # The display name. |
| 851 | "id": "A String", # The identifier of the creator. |
| 852 | "image": { # The creator's avatar. |
| 853 | "url": "A String", # The creator's avatar URL. |
| 854 | }, |
| 855 | "url": "A String", # The URL of the creator's Profile page. |
| 856 | }, |
| 857 | "blog": { # Data about the blog containing this comment. |
| 858 | "id": "A String", # The identifier of the blog containing this comment. |
| 859 | }, |
| 860 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 861 | "id": "A String", # The identifier for this resource. |
| 862 | "inReplyTo": { # Data about the comment this is in reply to. |
| 863 | "id": "A String", # The identified of the parent of this comment. |
| 864 | }, |
| 865 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 866 | "post": { # Data about the post containing this comment. |
| 867 | "id": "A String", # The identifier of the post containing this comment. |
| 868 | }, |
| 869 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 870 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 871 | "status": "A String", # The status of the comment (only populated for admin users). |
| 872 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 873 | }, |
| 874 | ], |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 875 | "selfLink": "A String", # The URL of the comments on this post. |
| 876 | "totalItems": "A String", # The count of comments on this post. |
| 877 | }, |
| 878 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 879 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 880 | "title": "A String", # The title of the Post. |
| 881 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 882 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 883 | "url": "A String", # The URL where this Post is displayed. |
| 884 | }</pre> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 903 | "author": { # The author of this Post. |
| 904 | "displayName": "A String", # The display name. |
| 905 | "id": "A String", # The identifier of the creator. |
| 906 | "image": { # The creator's avatar. |
| 907 | "url": "A String", # The creator's avatar URL. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 908 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 909 | "url": "A String", # The URL of the creator's Profile page. |
| 910 | }, |
| 911 | "blog": { # Data about the blog containing this Post. |
| 912 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 913 | }, |
| 914 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 915 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 916 | "etag": "A String", # Etag of the resource. |
| 917 | "id": "A String", # The identifier of this Post. |
| 918 | "images": [ # Display image for the Post. |
| 919 | { |
| 920 | "url": "A String", |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 921 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 922 | ], |
| 923 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 924 | "labels": [ # The list of labels this Post was tagged with. |
| 925 | "A String", |
| 926 | ], |
| 927 | "location": { # The location for geotagged posts. |
| 928 | "lat": 3.14, # Location's latitude. |
| 929 | "lng": 3.14, # Location's longitude. |
| 930 | "name": "A String", # Location name. |
| 931 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 932 | }, |
| 933 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 934 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 935 | "replies": { # The container of comments on this Post. |
| 936 | "items": [ # The List of Comments for this Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 937 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 938 | "author": { # The author of this Comment. |
| 939 | "displayName": "A String", # The display name. |
| 940 | "id": "A String", # The identifier of the creator. |
| 941 | "image": { # The creator's avatar. |
| 942 | "url": "A String", # The creator's avatar URL. |
| 943 | }, |
| 944 | "url": "A String", # The URL of the creator's Profile page. |
| 945 | }, |
| 946 | "blog": { # Data about the blog containing this comment. |
| 947 | "id": "A String", # The identifier of the blog containing this comment. |
| 948 | }, |
| 949 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 950 | "id": "A String", # The identifier for this resource. |
| 951 | "inReplyTo": { # Data about the comment this is in reply to. |
| 952 | "id": "A String", # The identified of the parent of this comment. |
| 953 | }, |
| 954 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 955 | "post": { # Data about the post containing this comment. |
| 956 | "id": "A String", # The identifier of the post containing this comment. |
| 957 | }, |
| 958 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 959 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 960 | "status": "A String", # The status of the comment (only populated for admin users). |
| 961 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 962 | }, |
| 963 | ], |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 964 | "selfLink": "A String", # The URL of the comments on this post. |
| 965 | "totalItems": "A String", # The count of comments on this post. |
| 966 | }, |
| 967 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 968 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 969 | "title": "A String", # The title of the Post. |
| 970 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 971 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 972 | "url": "A String", # The URL where this Post is displayed. |
| 973 | }</pre> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 998 | "etag": "A String", # Etag of the response. |
| 999 | "items": [ # The list of Posts for this Blog. |
| 1000 | { |
| 1001 | "author": { # The author of this Post. |
| 1002 | "displayName": "A String", # The display name. |
| 1003 | "id": "A String", # The identifier of the creator. |
| 1004 | "image": { # The creator's avatar. |
| 1005 | "url": "A String", # The creator's avatar URL. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 1006 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1007 | "url": "A String", # The URL of the creator's Profile page. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1008 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1009 | "blog": { # Data about the blog containing this Post. |
| 1010 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 1011 | }, |
| 1012 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 1013 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 1014 | "etag": "A String", # Etag of the resource. |
| 1015 | "id": "A String", # The identifier of this Post. |
| 1016 | "images": [ # Display image for the Post. |
| 1017 | { |
| 1018 | "url": "A String", |
| 1019 | }, |
| 1020 | ], |
| 1021 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 1022 | "labels": [ # The list of labels this Post was tagged with. |
| 1023 | "A String", |
| 1024 | ], |
| 1025 | "location": { # The location for geotagged posts. |
| 1026 | "lat": 3.14, # Location's latitude. |
| 1027 | "lng": 3.14, # Location's longitude. |
| 1028 | "name": "A String", # Location name. |
| 1029 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 1030 | }, |
| 1031 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 1032 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 1033 | "replies": { # The container of comments on this Post. |
| 1034 | "items": [ # The List of Comments for this Post. |
| 1035 | { |
| 1036 | "author": { # The author of this Comment. |
| 1037 | "displayName": "A String", # The display name. |
| 1038 | "id": "A String", # The identifier of the creator. |
| 1039 | "image": { # The creator's avatar. |
| 1040 | "url": "A String", # The creator's avatar URL. |
| 1041 | }, |
| 1042 | "url": "A String", # The URL of the creator's Profile page. |
| 1043 | }, |
| 1044 | "blog": { # Data about the blog containing this comment. |
| 1045 | "id": "A String", # The identifier of the blog containing this comment. |
| 1046 | }, |
| 1047 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 1048 | "id": "A String", # The identifier for this resource. |
| 1049 | "inReplyTo": { # Data about the comment this is in reply to. |
| 1050 | "id": "A String", # The identified of the parent of this comment. |
| 1051 | }, |
| 1052 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 1053 | "post": { # Data about the post containing this comment. |
| 1054 | "id": "A String", # The identifier of the post containing this comment. |
| 1055 | }, |
| 1056 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 1057 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 1058 | "status": "A String", # The status of the comment (only populated for admin users). |
| 1059 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 1060 | }, |
| 1061 | ], |
| 1062 | "selfLink": "A String", # The URL of the comments on this post. |
| 1063 | "totalItems": "A String", # The count of comments on this post. |
| 1064 | }, |
| 1065 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 1066 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 1067 | "title": "A String", # The title of the Post. |
| 1068 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 1069 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 1070 | "url": "A String", # The URL where this Post is displayed. |
| 1071 | }, |
| 1072 | ], |
| 1073 | "kind": "A String", # The kind of this entity. Always blogger#postList. |
| 1074 | "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists. |
| 1075 | "prevPageToken": "A String", # Pagination token to fetch the previous page, if one exists. |
| 1076 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1077 | </div> |
| 1078 | |
| 1079 | <div class="method"> |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1080 | <code class="details" id="update">update(blogId, postId, body=None, fetchBody=None, fetchImages=None, maxComments=None, publish=None, revert=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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1090 | "author": { # The author of this Post. |
| 1091 | "displayName": "A String", # The display name. |
| 1092 | "id": "A String", # The identifier of the creator. |
| 1093 | "image": { # The creator's avatar. |
| 1094 | "url": "A String", # The creator's avatar URL. |
| 1095 | }, |
| 1096 | "url": "A String", # The URL of the creator's Profile page. |
| 1097 | }, |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 1098 | "blog": { # Data about the blog containing this Post. |
| 1099 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 1100 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1101 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 1102 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 1103 | "etag": "A String", # Etag of the resource. |
| 1104 | "id": "A String", # The identifier of this Post. |
| 1105 | "images": [ # Display image for the Post. |
| 1106 | { |
| 1107 | "url": "A String", |
| 1108 | }, |
| 1109 | ], |
| 1110 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 1111 | "labels": [ # The list of labels this Post was tagged with. |
| 1112 | "A String", |
| 1113 | ], |
| 1114 | "location": { # The location for geotagged posts. |
| 1115 | "lat": 3.14, # Location's latitude. |
| 1116 | "lng": 3.14, # Location's longitude. |
| 1117 | "name": "A String", # Location name. |
| 1118 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 1119 | }, |
| 1120 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 1121 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1122 | "replies": { # The container of comments on this Post. |
| 1123 | "items": [ # The List of Comments for this Post. |
| 1124 | { |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1125 | "author": { # The author of this Comment. |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1126 | "displayName": "A String", # The display name. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1127 | "id": "A String", # The identifier of the creator. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1128 | "image": { # The creator's avatar. |
| 1129 | "url": "A String", # The creator's avatar URL. |
| 1130 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1131 | "url": "A String", # The URL of the creator's Profile page. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1132 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1133 | "blog": { # Data about the blog containing this comment. |
| 1134 | "id": "A String", # The identifier of the blog containing this comment. |
| 1135 | }, |
| 1136 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 1137 | "id": "A String", # The identifier for this resource. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 1138 | "inReplyTo": { # Data about the comment this is in reply to. |
| 1139 | "id": "A String", # The identified of the parent of this comment. |
| 1140 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1141 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 1142 | "post": { # Data about the post containing this comment. |
| 1143 | "id": "A String", # The identifier of the post containing this comment. |
| 1144 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1145 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 1146 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 1147 | "status": "A String", # The status of the comment (only populated for admin users). |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 1148 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1149 | }, |
| 1150 | ], |
| 1151 | "selfLink": "A String", # The URL of the comments on this post. |
| 1152 | "totalItems": "A String", # The count of comments on this post. |
| 1153 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1154 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 1155 | "status": "A String", # Status of the post. Only set for admin-level requests. |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1156 | "title": "A String", # The title of the Post. |
| 1157 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 1158 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 1159 | "url": "A String", # The URL where this Post is displayed. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1160 | } |
| 1161 | |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 1162 | fetchBody: boolean, A parameter |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1163 | fetchImages: boolean, A parameter |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1164 | maxComments: integer, A parameter |
| 1165 | publish: boolean, A parameter |
| 1166 | revert: 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 | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1176 | "author": { # The author of this Post. |
| 1177 | "displayName": "A String", # The display name. |
| 1178 | "id": "A String", # The identifier of the creator. |
| 1179 | "image": { # The creator's avatar. |
| 1180 | "url": "A String", # The creator's avatar URL. |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 1181 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1182 | "url": "A String", # The URL of the creator's Profile page. |
| 1183 | }, |
| 1184 | "blog": { # Data about the blog containing this Post. |
| 1185 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 1186 | }, |
| 1187 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 1188 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 1189 | "etag": "A String", # Etag of the resource. |
| 1190 | "id": "A String", # The identifier of this Post. |
| 1191 | "images": [ # Display image for the Post. |
| 1192 | { |
| 1193 | "url": "A String", |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1194 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1195 | ], |
| 1196 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 1197 | "labels": [ # The list of labels this Post was tagged with. |
| 1198 | "A String", |
| 1199 | ], |
| 1200 | "location": { # The location for geotagged posts. |
| 1201 | "lat": 3.14, # Location's latitude. |
| 1202 | "lng": 3.14, # Location's longitude. |
| 1203 | "name": "A String", # Location name. |
| 1204 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 1205 | }, |
| 1206 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 1207 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 1208 | "replies": { # The container of comments on this Post. |
| 1209 | "items": [ # The List of Comments for this Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 1210 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1211 | "author": { # The author of this Comment. |
| 1212 | "displayName": "A String", # The display name. |
| 1213 | "id": "A String", # The identifier of the creator. |
| 1214 | "image": { # The creator's avatar. |
| 1215 | "url": "A String", # The creator's avatar URL. |
| 1216 | }, |
| 1217 | "url": "A String", # The URL of the creator's Profile page. |
| 1218 | }, |
| 1219 | "blog": { # Data about the blog containing this comment. |
| 1220 | "id": "A String", # The identifier of the blog containing this comment. |
| 1221 | }, |
| 1222 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 1223 | "id": "A String", # The identifier for this resource. |
| 1224 | "inReplyTo": { # Data about the comment this is in reply to. |
| 1225 | "id": "A String", # The identified of the parent of this comment. |
| 1226 | }, |
| 1227 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 1228 | "post": { # Data about the post containing this comment. |
| 1229 | "id": "A String", # The identifier of the post containing this comment. |
| 1230 | }, |
| 1231 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 1232 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 1233 | "status": "A String", # The status of the comment (only populated for admin users). |
| 1234 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 1235 | }, |
| 1236 | ], |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 1237 | "selfLink": "A String", # The URL of the comments on this post. |
| 1238 | "totalItems": "A String", # The count of comments on this post. |
| 1239 | }, |
| 1240 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 1241 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 1242 | "title": "A String", # The title of the Post. |
| 1243 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 1244 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 1245 | "url": "A String", # The URL where this Post is displayed. |
| 1246 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1247 | </div> |
| 1248 | |
| 1249 | </body></html> |