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