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