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