Debian Codegraph @

docs/dyn/blogger_v3.posts.html

raw
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 &quot;author&quot;: { # The author of this Post.
160 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
161 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
162 &quot;image&quot;: { # The creator&#x27;s avatar.
163 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
164 },
165 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
166 },
167 &quot;blog&quot;: { # Data about the blog containing this Post.
168 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
169 },
170 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
171 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
172 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
173 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
174 &quot;images&quot;: [ # Display image for the Post.
175 {
176 &quot;url&quot;: &quot;A String&quot;,
177 },
178 ],
179 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
180 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
181 &quot;A String&quot;,
182 ],
183 &quot;location&quot;: { # The location for geotagged posts.
184 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
185 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
186 &quot;name&quot;: &quot;A String&quot;, # Location name.
187 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
188 },
189 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
190 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
191 &quot;replies&quot;: { # The container of comments on this Post.
192 &quot;items&quot;: [ # The List of Comments for this Post.
193 {
194 &quot;author&quot;: { # The author of this Comment.
195 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
196 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
197 &quot;image&quot;: { # The creator&#x27;s avatar.
198 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
199 },
200 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
201 },
202 &quot;blog&quot;: { # Data about the blog containing this comment.
203 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
204 },
205 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
206 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
207 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
208 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
209 },
210 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
211 &quot;post&quot;: { # Data about the post containing this comment.
212 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
213 },
214 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
215 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
216 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
217 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
218 },
219 ],
220 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
221 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
222 },
223 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
224 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
225 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
226 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
227 &quot;trashed&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last trashed.
228 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
229 &quot;url&quot;: &quot;A String&quot;, # 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 &quot;author&quot;: { # The author of this Post.
257 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
258 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
259 &quot;image&quot;: { # The creator&#x27;s avatar.
260 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
261 },
262 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
263 },
264 &quot;blog&quot;: { # Data about the blog containing this Post.
265 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
266 },
267 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
268 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
269 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
270 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
271 &quot;images&quot;: [ # Display image for the Post.
272 {
273 &quot;url&quot;: &quot;A String&quot;,
274 },
275 ],
276 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
277 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
278 &quot;A String&quot;,
279 ],
280 &quot;location&quot;: { # The location for geotagged posts.
281 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
282 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
283 &quot;name&quot;: &quot;A String&quot;, # Location name.
284 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
285 },
286 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
287 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
288 &quot;replies&quot;: { # The container of comments on this Post.
289 &quot;items&quot;: [ # The List of Comments for this Post.
290 {
291 &quot;author&quot;: { # The author of this Comment.
292 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
293 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
294 &quot;image&quot;: { # The creator&#x27;s avatar.
295 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
296 },
297 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
298 },
299 &quot;blog&quot;: { # Data about the blog containing this comment.
300 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
301 },
302 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
303 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
304 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
305 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
306 },
307 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
308 &quot;post&quot;: { # Data about the post containing this comment.
309 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
310 },
311 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
312 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
313 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
314 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
315 },
316 ],
317 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
318 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
319 },
320 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
321 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
322 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
323 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
324 &quot;trashed&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last trashed.
325 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
326 &quot;url&quot;: &quot;A String&quot;, # 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 &quot;author&quot;: { # The author of this Post.
341 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
342 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
343 &quot;image&quot;: { # The creator&#x27;s avatar.
344 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
345 },
346 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
347 },
348 &quot;blog&quot;: { # Data about the blog containing this Post.
349 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
350 },
351 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
352 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
353 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
354 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
355 &quot;images&quot;: [ # Display image for the Post.
356 {
357 &quot;url&quot;: &quot;A String&quot;,
358 },
359 ],
360 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
361 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
362 &quot;A String&quot;,
363 ],
364 &quot;location&quot;: { # The location for geotagged posts.
365 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
366 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
367 &quot;name&quot;: &quot;A String&quot;, # Location name.
368 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
369 },
370 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
371 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
372 &quot;replies&quot;: { # The container of comments on this Post.
373 &quot;items&quot;: [ # The List of Comments for this Post.
374 {
375 &quot;author&quot;: { # The author of this Comment.
376 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
377 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
378 &quot;image&quot;: { # The creator&#x27;s avatar.
379 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
380 },
381 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
382 },
383 &quot;blog&quot;: { # Data about the blog containing this comment.
384 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
385 },
386 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
387 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
388 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
389 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
390 },
391 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
392 &quot;post&quot;: { # Data about the post containing this comment.
393 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
394 },
395 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
396 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
397 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
398 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
399 },
400 ],
401 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
402 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
403 },
404 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
405 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
406 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
407 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
408 &quot;trashed&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last trashed.
409 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
410 &quot;url&quot;: &quot;A String&quot;, # 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 &quot;author&quot;: { # The author of this Post.
426 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
427 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
428 &quot;image&quot;: { # The creator&#x27;s avatar.
429 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
430 },
431 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
432 },
433 &quot;blog&quot;: { # Data about the blog containing this Post.
434 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
435 },
436 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
437 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
438 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
439 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
440 &quot;images&quot;: [ # Display image for the Post.
441 {
442 &quot;url&quot;: &quot;A String&quot;,
443 },
444 ],
445 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
446 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
447 &quot;A String&quot;,
448 ],
449 &quot;location&quot;: { # The location for geotagged posts.
450 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
451 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
452 &quot;name&quot;: &quot;A String&quot;, # Location name.
453 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
454 },
455 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
456 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
457 &quot;replies&quot;: { # The container of comments on this Post.
458 &quot;items&quot;: [ # The List of Comments for this Post.
459 {
460 &quot;author&quot;: { # The author of this Comment.
461 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
462 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
463 &quot;image&quot;: { # The creator&#x27;s avatar.
464 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
465 },
466 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
467 },
468 &quot;blog&quot;: { # Data about the blog containing this comment.
469 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
470 },
471 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
472 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
473 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
474 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
475 },
476 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
477 &quot;post&quot;: { # Data about the post containing this comment.
478 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
479 },
480 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
481 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
482 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
483 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
484 },
485 ],
486 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
487 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
488 },
489 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
490 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
491 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
492 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
493 &quot;trashed&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last trashed.
494 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
495 &quot;url&quot;: &quot;A String&quot;, # 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 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
544 &quot;items&quot;: [ # The list of Posts for this Blog.
545 {
546 &quot;author&quot;: { # The author of this Post.
547 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
548 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
549 &quot;image&quot;: { # The creator&#x27;s avatar.
550 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
551 },
552 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
553 },
554 &quot;blog&quot;: { # Data about the blog containing this Post.
555 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
556 },
557 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
558 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
559 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
560 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
561 &quot;images&quot;: [ # Display image for the Post.
562 {
563 &quot;url&quot;: &quot;A String&quot;,
564 },
565 ],
566 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
567 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
568 &quot;A String&quot;,
569 ],
570 &quot;location&quot;: { # The location for geotagged posts.
571 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
572 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
573 &quot;name&quot;: &quot;A String&quot;, # Location name.
574 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
575 },
576 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
577 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
578 &quot;replies&quot;: { # The container of comments on this Post.
579 &quot;items&quot;: [ # The List of Comments for this Post.
580 {
581 &quot;author&quot;: { # The author of this Comment.
582 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
583 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
584 &quot;image&quot;: { # The creator&#x27;s avatar.
585 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
586 },
587 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
588 },
589 &quot;blog&quot;: { # Data about the blog containing this comment.
590 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
591 },
592 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
593 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
594 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
595 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
596 },
597 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
598 &quot;post&quot;: { # Data about the post containing this comment.
599 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
600 },
601 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
602 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
603 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
604 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
605 },
606 ],
607 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
608 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
609 },
610 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
611 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
612 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
613 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
614 &quot;trashed&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last trashed.
615 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
616 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
617 },
618 ],
619 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postList.
620 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
621 &quot;prevPageToken&quot;: &quot;A String&quot;, # 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 &#x27;execute()&#x27; 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 &quot;author&quot;: { # The author of this Post.
651 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
652 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
653 &quot;image&quot;: { # The creator&#x27;s avatar.
654 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
655 },
656 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
657 },
658 &quot;blog&quot;: { # Data about the blog containing this Post.
659 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
660 },
661 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
662 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
663 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
664 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
665 &quot;images&quot;: [ # Display image for the Post.
666 {
667 &quot;url&quot;: &quot;A String&quot;,
668 },
669 ],
670 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
671 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
672 &quot;A String&quot;,
673 ],
674 &quot;location&quot;: { # The location for geotagged posts.
675 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
676 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
677 &quot;name&quot;: &quot;A String&quot;, # Location name.
678 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
679 },
680 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
681 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
682 &quot;replies&quot;: { # The container of comments on this Post.
683 &quot;items&quot;: [ # The List of Comments for this Post.
684 {
685 &quot;author&quot;: { # The author of this Comment.
686 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
687 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
688 &quot;image&quot;: { # The creator&#x27;s avatar.
689 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
690 },
691 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
692 },
693 &quot;blog&quot;: { # Data about the blog containing this comment.
694 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
695 },
696 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
697 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
698 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
699 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
700 },
701 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
702 &quot;post&quot;: { # Data about the post containing this comment.
703 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
704 },
705 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
706 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
707 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
708 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
709 },
710 ],
711 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
712 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
713 },
714 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
715 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
716 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
717 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
718 &quot;trashed&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last trashed.
719 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
720 &quot;url&quot;: &quot;A String&quot;, # 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 &quot;author&quot;: { # The author of this Post.
738 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
739 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
740 &quot;image&quot;: { # The creator&#x27;s avatar.
741 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
742 },
743 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
744 },
745 &quot;blog&quot;: { # Data about the blog containing this Post.
746 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
747 },
748 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
749 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
750 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
751 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
752 &quot;images&quot;: [ # Display image for the Post.
753 {
754 &quot;url&quot;: &quot;A String&quot;,
755 },
756 ],
757 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
758 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
759 &quot;A String&quot;,
760 ],
761 &quot;location&quot;: { # The location for geotagged posts.
762 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
763 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
764 &quot;name&quot;: &quot;A String&quot;, # Location name.
765 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
766 },
767 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
768 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
769 &quot;replies&quot;: { # The container of comments on this Post.
770 &quot;items&quot;: [ # The List of Comments for this Post.
771 {
772 &quot;author&quot;: { # The author of this Comment.
773 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
774 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
775 &quot;image&quot;: { # The creator&#x27;s avatar.
776 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
777 },
778 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
779 },
780 &quot;blog&quot;: { # Data about the blog containing this comment.
781 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
782 },
783 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
784 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
785 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
786 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
787 },
788 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
789 &quot;post&quot;: { # Data about the post containing this comment.
790 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
791 },
792 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
793 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
794 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
795 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
796 },
797 ],
798 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
799 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
800 },
801 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
802 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
803 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
804 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
805 &quot;trashed&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last trashed.
806 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
807 &quot;url&quot;: &quot;A String&quot;, # 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 &quot;author&quot;: { # The author of this Post.
829 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
830 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
831 &quot;image&quot;: { # The creator&#x27;s avatar.
832 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
833 },
834 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
835 },
836 &quot;blog&quot;: { # Data about the blog containing this Post.
837 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
838 },
839 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
840 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
841 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
842 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
843 &quot;images&quot;: [ # Display image for the Post.
844 {
845 &quot;url&quot;: &quot;A String&quot;,
846 },
847 ],
848 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
849 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
850 &quot;A String&quot;,
851 ],
852 &quot;location&quot;: { # The location for geotagged posts.
853 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
854 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
855 &quot;name&quot;: &quot;A String&quot;, # Location name.
856 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
857 },
858 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
859 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
860 &quot;replies&quot;: { # The container of comments on this Post.
861 &quot;items&quot;: [ # The List of Comments for this Post.
862 {
863 &quot;author&quot;: { # The author of this Comment.
864 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
865 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
866 &quot;image&quot;: { # The creator&#x27;s avatar.
867 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
868 },
869 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
870 },
871 &quot;blog&quot;: { # Data about the blog containing this comment.
872 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
873 },
874 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
875 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
876 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
877 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
878 },
879 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
880 &quot;post&quot;: { # Data about the post containing this comment.
881 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
882 },
883 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
884 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
885 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
886 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
887 },
888 ],
889 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
890 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
891 },
892 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
893 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
894 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
895 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
896 &quot;trashed&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last trashed.
897 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
898 &quot;url&quot;: &quot;A String&quot;, # 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 &quot;author&quot;: { # The author of this Post.
919 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
920 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
921 &quot;image&quot;: { # The creator&#x27;s avatar.
922 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
923 },
924 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
925 },
926 &quot;blog&quot;: { # Data about the blog containing this Post.
927 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
928 },
929 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
930 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
931 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
932 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
933 &quot;images&quot;: [ # Display image for the Post.
934 {
935 &quot;url&quot;: &quot;A String&quot;,
936 },
937 ],
938 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
939 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
940 &quot;A String&quot;,
941 ],
942 &quot;location&quot;: { # The location for geotagged posts.
943 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
944 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
945 &quot;name&quot;: &quot;A String&quot;, # Location name.
946 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
947 },
948 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
949 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
950 &quot;replies&quot;: { # The container of comments on this Post.
951 &quot;items&quot;: [ # The List of Comments for this Post.
952 {
953 &quot;author&quot;: { # The author of this Comment.
954 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
955 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
956 &quot;image&quot;: { # The creator&#x27;s avatar.
957 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
958 },
959 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
960 },
961 &quot;blog&quot;: { # Data about the blog containing this comment.
962 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
963 },
964 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
965 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
966 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
967 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
968 },
969 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
970 &quot;post&quot;: { # Data about the post containing this comment.
971 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
972 },
973 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
974 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
975 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
976 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
977 },
978 ],
979 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
980 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
981 },
982 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
983 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
984 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
985 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
986 &quot;trashed&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last trashed.
987 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
988 &quot;url&quot;: &quot;A String&quot;, # 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 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
1015 &quot;items&quot;: [ # The list of Posts for this Blog.
1016 {
1017 &quot;author&quot;: { # The author of this Post.
1018 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1019 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1020 &quot;image&quot;: { # The creator&#x27;s avatar.
1021 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1022 },
1023 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1024 },
1025 &quot;blog&quot;: { # Data about the blog containing this Post.
1026 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
1027 },
1028 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1029 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
1030 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
1031 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
1032 &quot;images&quot;: [ # Display image for the Post.
1033 {
1034 &quot;url&quot;: &quot;A String&quot;,
1035 },
1036 ],
1037 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
1038 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1039 &quot;A String&quot;,
1040 ],
1041 &quot;location&quot;: { # The location for geotagged posts.
1042 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
1043 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
1044 &quot;name&quot;: &quot;A String&quot;, # Location name.
1045 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
1046 },
1047 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
1048 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1049 &quot;replies&quot;: { # The container of comments on this Post.
1050 &quot;items&quot;: [ # The List of Comments for this Post.
1051 {
1052 &quot;author&quot;: { # The author of this Comment.
1053 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1054 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1055 &quot;image&quot;: { # The creator&#x27;s avatar.
1056 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1057 },
1058 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1059 },
1060 &quot;blog&quot;: { # Data about the blog containing this comment.
1061 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
1062 },
1063 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
1064 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1065 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1066 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1067 },
1068 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
1069 &quot;post&quot;: { # Data about the post containing this comment.
1070 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
1071 },
1072 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1073 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1074 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1075 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
1076 },
1077 ],
1078 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1079 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
1080 },
1081 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1082 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1083 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
1084 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
1085 &quot;trashed&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last trashed.
1086 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1087 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1088 },
1089 ],
1090 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postList.
1091 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
1092 &quot;prevPageToken&quot;: &quot;A String&quot;, # 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 &quot;author&quot;: { # The author of this Post.
1108 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1109 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1110 &quot;image&quot;: { # The creator&#x27;s avatar.
1111 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1112 },
1113 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1114 },
1115 &quot;blog&quot;: { # Data about the blog containing this Post.
1116 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
1117 },
1118 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1119 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
1120 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
1121 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
1122 &quot;images&quot;: [ # Display image for the Post.
1123 {
1124 &quot;url&quot;: &quot;A String&quot;,
1125 },
1126 ],
1127 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
1128 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1129 &quot;A String&quot;,
1130 ],
1131 &quot;location&quot;: { # The location for geotagged posts.
1132 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
1133 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
1134 &quot;name&quot;: &quot;A String&quot;, # Location name.
1135 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
1136 },
1137 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
1138 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1139 &quot;replies&quot;: { # The container of comments on this Post.
1140 &quot;items&quot;: [ # The List of Comments for this Post.
1141 {
1142 &quot;author&quot;: { # The author of this Comment.
1143 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1144 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1145 &quot;image&quot;: { # The creator&#x27;s avatar.
1146 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1147 },
1148 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1149 },
1150 &quot;blog&quot;: { # Data about the blog containing this comment.
1151 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
1152 },
1153 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
1154 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1155 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1156 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1157 },
1158 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
1159 &quot;post&quot;: { # Data about the post containing this comment.
1160 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
1161 },
1162 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1163 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1164 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1165 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
1166 },
1167 ],
1168 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1169 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
1170 },
1171 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1172 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1173 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
1174 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
1175 &quot;trashed&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last trashed.
1176 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1177 &quot;url&quot;: &quot;A String&quot;, # 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 &quot;author&quot;: { # The author of this Post.
1195 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1196 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1197 &quot;image&quot;: { # The creator&#x27;s avatar.
1198 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1199 },
1200 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1201 },
1202 &quot;blog&quot;: { # Data about the blog containing this Post.
1203 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
1204 },
1205 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1206 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
1207 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
1208 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
1209 &quot;images&quot;: [ # Display image for the Post.
1210 {
1211 &quot;url&quot;: &quot;A String&quot;,
1212 },
1213 ],
1214 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
1215 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1216 &quot;A String&quot;,
1217 ],
1218 &quot;location&quot;: { # The location for geotagged posts.
1219 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
1220 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
1221 &quot;name&quot;: &quot;A String&quot;, # Location name.
1222 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
1223 },
1224 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
1225 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1226 &quot;replies&quot;: { # The container of comments on this Post.
1227 &quot;items&quot;: [ # The List of Comments for this Post.
1228 {
1229 &quot;author&quot;: { # The author of this Comment.
1230 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1231 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1232 &quot;image&quot;: { # The creator&#x27;s avatar.
1233 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1234 },
1235 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1236 },
1237 &quot;blog&quot;: { # Data about the blog containing this comment.
1238 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
1239 },
1240 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
1241 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1242 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1243 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1244 },
1245 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
1246 &quot;post&quot;: { # Data about the post containing this comment.
1247 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
1248 },
1249 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1250 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1251 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1252 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
1253 },
1254 ],
1255 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1256 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
1257 },
1258 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1259 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1260 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
1261 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
1262 &quot;trashed&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last trashed.
1263 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1264 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1265 }</pre>
1266 </div>
1267
1268 </body></html>