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