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