Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [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_v2.html">Blogger API v3</a> . <a href="blogger_v2.posts.html">posts</a></h1> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [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="#get">get(blogId, postId, x__xgafv=None)</a></code></p> |
| 82 | <p class="firstline">Gets a post by blog id and post id</p> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 83 | <p class="toc_element"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 84 | <code><a href="#list">list(blogId, maxResults=None, fetchBodies=None, pageToken=None, startDate=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 85 | <p class="firstline">Lists posts.</p> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 86 | <p class="toc_element"> |
| 87 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 88 | <p class="firstline">Retrieves the next page of results.</p> |
| 89 | <h3>Method Details</h3> |
| 90 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 91 | <code class="details" id="close">close()</code> |
| 92 | <pre>Close httplib2 connections.</pre> |
| 93 | </div> |
| 94 | |
| 95 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 96 | <code class="details" id="get">get(blogId, postId, x__xgafv=None)</code> |
| 97 | <pre>Gets a post by blog id and post id |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 98 | |
| 99 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 100 | blogId: string, A parameter (required) |
| 101 | postId: string, A parameter (required) |
| 102 | x__xgafv: string, V1 error format. |
| 103 | Allowed values |
| 104 | 1 - v1 error format |
| 105 | 2 - v2 error format |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 106 | |
| 107 | Returns: |
| 108 | An object of the form: |
| 109 | |
| 110 | { |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 111 | "labels": [ # The list of labels this Post was tagged with. |
| 112 | "A String", |
| 113 | ], |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 114 | "customMetaData": "A String", # The JSON meta-data for the Post. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 115 | "content": "A String", # The content of the Post. May contain HTML markup. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 116 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 117 | "images": [ # Display image for the Post. |
| 118 | { |
| 119 | "url": "A String", |
| 120 | }, |
| 121 | ], |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 122 | "location": { # The location for geotagged posts. |
| 123 | "lng": 3.14, # Location's longitude. |
| 124 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 125 | "lat": 3.14, # Location's latitude. |
| 126 | "name": "A String", # Location name. |
| 127 | }, |
| 128 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 129 | "id": "A String", # The identifier of this Post. |
| 130 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 131 | "author": { # The author of this Post. |
| 132 | "id": "A String", # The identifier of the creator. |
| 133 | "image": { # The creator's avatar. |
| 134 | "url": "A String", # The creator's avatar URL. |
| 135 | }, |
| 136 | "displayName": "A String", # The display name. |
| 137 | "url": "A String", # The URL of the creator's Profile page. |
| 138 | }, |
| 139 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 140 | "replies": { # The container of comments on this Post. |
| 141 | "selfLink": "A String", # The URL of the comments on this post. |
| 142 | "items": [ # The List of Comments for this Post. |
| 143 | { |
| 144 | "inReplyTo": { # Data about the comment this is in reply to. |
| 145 | "id": "A String", # The identified of the parent of this comment. |
| 146 | }, |
| 147 | "id": "A String", # The identifier for this resource. |
| 148 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 149 | "status": "A String", # The status of the comment (only populated for admin users). |
| 150 | "post": { # Data about the post containing this comment. |
| 151 | "id": "A String", # The identifier of the post containing this comment. |
| 152 | }, |
| 153 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 154 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 155 | "blog": { # Data about the blog containing this comment. |
| 156 | "id": "A String", # The identifier of the blog containing this comment. |
| 157 | }, |
| 158 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 159 | "author": { # The author of this Comment. |
| 160 | "id": "A String", # The identifier of the creator. |
| 161 | "image": { # The creator's avatar. |
| 162 | "url": "A String", # The creator's avatar URL. |
| 163 | }, |
| 164 | "url": "A String", # The URL of the creator's Profile page. |
| 165 | "displayName": "A String", # The display name. |
| 166 | }, |
| 167 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 168 | }, |
| 169 | ], |
| 170 | "totalItems": "A String", # The count of comments on this post. |
| 171 | }, |
| 172 | "title": "A String", # The title of the Post. |
| 173 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 174 | "url": "A String", # The URL where this Post is displayed. |
| 175 | "blog": { # Data about the blog containing this Post. |
| 176 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 177 | }, |
| 178 | "etag": "A String", # Etag of the resource. |
| 179 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 180 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 181 | }</pre> |
| 182 | </div> |
| 183 | |
| 184 | <div class="method"> |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 185 | <code class="details" id="list">list(blogId, maxResults=None, fetchBodies=None, pageToken=None, startDate=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 186 | <pre>Lists posts. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 187 | |
| 188 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 189 | blogId: string, A parameter (required) |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 190 | maxResults: integer, A parameter |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 191 | fetchBodies: boolean, A parameter |
| 192 | pageToken: string, A parameter |
| 193 | startDate: string, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 194 | x__xgafv: string, V1 error format. |
| 195 | Allowed values |
| 196 | 1 - v1 error format |
| 197 | 2 - v2 error format |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 198 | |
| 199 | Returns: |
| 200 | An object of the form: |
| 201 | |
| 202 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 203 | "items": [ # The list of Posts for this Blog. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 204 | { |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 205 | "labels": [ # The list of labels this Post was tagged with. |
| 206 | "A String", |
| 207 | ], |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 208 | "customMetaData": "A String", # The JSON meta-data for the Post. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 209 | "content": "A String", # The content of the Post. May contain HTML markup. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 210 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 211 | "images": [ # Display image for the Post. |
| 212 | { |
| 213 | "url": "A String", |
| 214 | }, |
| 215 | ], |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 216 | "location": { # The location for geotagged posts. |
| 217 | "lng": 3.14, # Location's longitude. |
| 218 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 219 | "lat": 3.14, # Location's latitude. |
| 220 | "name": "A String", # Location name. |
| 221 | }, |
| 222 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 223 | "id": "A String", # The identifier of this Post. |
| 224 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 225 | "author": { # The author of this Post. |
| 226 | "id": "A String", # The identifier of the creator. |
| 227 | "image": { # The creator's avatar. |
| 228 | "url": "A String", # The creator's avatar URL. |
| 229 | }, |
| 230 | "displayName": "A String", # The display name. |
| 231 | "url": "A String", # The URL of the creator's Profile page. |
| 232 | }, |
| 233 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 234 | "replies": { # The container of comments on this Post. |
| 235 | "selfLink": "A String", # The URL of the comments on this post. |
| 236 | "items": [ # The List of Comments for this Post. |
| 237 | { |
| 238 | "inReplyTo": { # Data about the comment this is in reply to. |
| 239 | "id": "A String", # The identified of the parent of this comment. |
| 240 | }, |
| 241 | "id": "A String", # The identifier for this resource. |
| 242 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 243 | "status": "A String", # The status of the comment (only populated for admin users). |
| 244 | "post": { # Data about the post containing this comment. |
| 245 | "id": "A String", # The identifier of the post containing this comment. |
| 246 | }, |
| 247 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 248 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 249 | "blog": { # Data about the blog containing this comment. |
| 250 | "id": "A String", # The identifier of the blog containing this comment. |
| 251 | }, |
| 252 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 253 | "author": { # The author of this Comment. |
| 254 | "id": "A String", # The identifier of the creator. |
| 255 | "image": { # The creator's avatar. |
| 256 | "url": "A String", # The creator's avatar URL. |
| 257 | }, |
| 258 | "url": "A String", # The URL of the creator's Profile page. |
| 259 | "displayName": "A String", # The display name. |
| 260 | }, |
| 261 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 262 | }, |
| 263 | ], |
| 264 | "totalItems": "A String", # The count of comments on this post. |
| 265 | }, |
| 266 | "title": "A String", # The title of the Post. |
| 267 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 268 | "url": "A String", # The URL where this Post is displayed. |
| 269 | "blog": { # Data about the blog containing this Post. |
| 270 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 271 | }, |
| 272 | "etag": "A String", # Etag of the resource. |
| 273 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 274 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 275 | }, |
| 276 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 277 | "kind": "A String", # The kind of this entity. Always blogger#postList. |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame^] | 278 | "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists. |
| 279 | "prevPageToken": "A String", # Pagination token to fetch the previous page, if one exists. |
| 280 | "etag": "A String", # Etag of the response. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 281 | }</pre> |
| 282 | </div> |
| 283 | |
| 284 | <div class="method"> |
| 285 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 286 | <pre>Retrieves the next page of results. |
| 287 | |
| 288 | Args: |
| 289 | previous_request: The request for the previous page. (required) |
| 290 | previous_response: The response from the request for the previous page. (required) |
| 291 | |
| 292 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 293 | A request object that you can call 'execute()' on to request the next |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 294 | page. Returns None if there are no more items in the collection. |
| 295 | </pre> |
| 296 | </div> |
| 297 | |
| 298 | </body></html> |