blob: 9fd8d78a4959981763762cc816fe6b499e31b282 [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
Dan O'Mearadd494642020-05-01 07:42:23 -070075<h1><a href="blogger_v3.html">Blogger API v3</a> . <a href="blogger_v3.posts.html">posts</a></h1>
John Asmuth614db982014-04-24 15:46:26 -040076<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070081 <code><a href="#delete">delete(blogId, postId, x__xgafv=None)</a></code></p>
82<p class="firstline">Deletes a post by blog id and post id.</p>
John Asmuth614db982014-04-24 15:46:26 -040083<p class="toc_element">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080084 <code><a href="#get">get(blogId, postId, maxComments=None, fetchImages=None, view=None, fetchBody=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070085<p class="firstline">Gets a post by blog id and post id</p>
John Asmuth614db982014-04-24 15:46:26 -040086<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080087 <code><a href="#getByPath">getByPath(blogId, path, maxComments=None, view=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070088<p class="firstline">Gets a post by path.</p>
John Asmuth614db982014-04-24 15:46:26 -040089<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080090 <code><a href="#insert">insert(blogId, body=None, fetchBody=None, isDraft=None, fetchImages=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070091<p class="firstline">Inserts a post.</p>
John Asmuth614db982014-04-24 15:46:26 -040092<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080093 <code><a href="#list">list(blogId, fetchImages=None, status=None, orderBy=None, view=None, endDate=None, startDate=None, labels=None, pageToken=None, fetchBodies=None, maxResults=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070094<p class="firstline">Lists posts.</p>
John Asmuth614db982014-04-24 15:46:26 -040095<p class="toc_element">
96 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
97<p class="firstline">Retrieves the next page of results.</p>
98<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080099 <code><a href="#patch">patch(blogId, postId, body=None, fetchImages=None, revert=None, fetchBody=None, maxComments=None, publish=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -0700100<p class="firstline">Patches a post.</p>
John Asmuth614db982014-04-24 15:46:26 -0400101<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700102 <code><a href="#publish">publish(blogId, postId, publishDate=None, x__xgafv=None)</a></code></p>
103<p class="firstline">Publishes a post.</p>
John Asmuth614db982014-04-24 15:46:26 -0400104<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700105 <code><a href="#revert">revert(blogId, postId, x__xgafv=None)</a></code></p>
106<p class="firstline">Reverts a published or scheduled post to draft state.</p>
John Asmuth614db982014-04-24 15:46:26 -0400107<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800108 <code><a href="#search">search(blogId, q, fetchBodies=None, orderBy=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -0700109<p class="firstline">Searches for posts matching given query terms in the specified blog.</p>
John Asmuth614db982014-04-24 15:46:26 -0400110<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800111 <code><a href="#update">update(blogId, postId, body=None, maxComments=None, publish=None, fetchBody=None, revert=None, fetchImages=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -0700112<p class="firstline">Updates a post by blog id and post id.</p>
John Asmuth614db982014-04-24 15:46:26 -0400113<h3>Method Details</h3>
114<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700115 <code class="details" id="close">close()</code>
116 <pre>Close httplib2 connections.</pre>
117</div>
118
119<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700120 <code class="details" id="delete">delete(blogId, postId, x__xgafv=None)</code>
121 <pre>Deletes a post by blog id and post id.
John Asmuth614db982014-04-24 15:46:26 -0400122
123Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700124 blogId: string, A parameter (required)
125 postId: string, A parameter (required)
126 x__xgafv: string, V1 error format.
127 Allowed values
128 1 - v1 error format
129 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400130</pre>
131</div>
132
133<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800134 <code class="details" id="get">get(blogId, postId, maxComments=None, fetchImages=None, view=None, fetchBody=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700135 <pre>Gets a post by blog id and post id
John Asmuth614db982014-04-24 15:46:26 -0400136
137Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700138 blogId: string, A parameter (required)
139 postId: string, A parameter (required)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800140 maxComments: integer, A parameter
141 fetchImages: boolean, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700142 view: string, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700143 Allowed values
144 VIEW_TYPE_UNSPECIFIED -
145 READER -
146 AUTHOR -
147 ADMIN -
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800148 fetchBody: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700149 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400150 Allowed values
Dan O'Mearadd494642020-05-01 07:42:23 -0700151 1 - v1 error format
152 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400153
154Returns:
155 An object of the form:
156
157 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800158 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
159 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
160 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
161 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
162 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
163 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
164 &quot;replies&quot;: { # The container of comments on this Post.
165 &quot;items&quot;: [ # The List of Comments for this Post.
166 {
167 &quot;post&quot;: { # Data about the post containing this comment.
168 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
169 },
170 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
171 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
172 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
173 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
174 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
175 &quot;blog&quot;: { # Data about the blog containing this comment.
176 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
177 },
178 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
179 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
180 },
181 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
182 &quot;author&quot;: { # The author of this Comment.
183 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
184 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
185 &quot;image&quot;: { # The creator&#x27;s avatar.
186 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
187 },
188 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
189 },
190 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
191 },
192 ],
193 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
194 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
195 },
196 &quot;author&quot;: { # The author of this Post.
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 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
202 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
203 },
204 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800205 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800206 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
207 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
208 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700209 &quot;images&quot;: [ # Display image for the Post.
210 {
211 &quot;url&quot;: &quot;A String&quot;,
212 },
213 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800214 &quot;blog&quot;: { # Data about the blog containing this Post.
215 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
216 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800217 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
218 &quot;A String&quot;,
219 ],
220 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
221 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800222 &quot;location&quot;: { # The location for geotagged posts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800223 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800224 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800225 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800226 &quot;name&quot;: &quot;A String&quot;, # Location name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800227 },
John Asmuth614db982014-04-24 15:46:26 -0400228 }</pre>
229</div>
230
231<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800232 <code class="details" id="getByPath">getByPath(blogId, path, maxComments=None, view=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700233 <pre>Gets a post by path.
John Asmuth614db982014-04-24 15:46:26 -0400234
235Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700236 blogId: string, A parameter (required)
237 path: string, A parameter (required)
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800238 maxComments: integer, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -0700239 view: string, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700240 Allowed values
241 VIEW_TYPE_UNSPECIFIED -
242 READER -
243 AUTHOR -
244 ADMIN -
Dan O'Mearadd494642020-05-01 07:42:23 -0700245 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400246 Allowed values
Dan O'Mearadd494642020-05-01 07:42:23 -0700247 1 - v1 error format
248 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400249
250Returns:
251 An object of the form:
252
253 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800254 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
255 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
256 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
257 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
258 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
259 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
260 &quot;replies&quot;: { # The container of comments on this Post.
261 &quot;items&quot;: [ # The List of Comments for this Post.
262 {
263 &quot;post&quot;: { # Data about the post containing this comment.
264 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
265 },
266 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
267 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
268 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
269 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
270 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
271 &quot;blog&quot;: { # Data about the blog containing this comment.
272 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
273 },
274 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
275 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
276 },
277 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
278 &quot;author&quot;: { # The author of this Comment.
279 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
280 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
281 &quot;image&quot;: { # The creator&#x27;s avatar.
282 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
283 },
284 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
285 },
286 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
287 },
288 ],
289 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
290 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
291 },
292 &quot;author&quot;: { # The author of this Post.
293 &quot;image&quot;: { # The creator&#x27;s avatar.
294 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
295 },
296 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
297 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
298 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
299 },
300 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800301 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800302 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
303 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
304 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700305 &quot;images&quot;: [ # Display image for the Post.
306 {
307 &quot;url&quot;: &quot;A String&quot;,
308 },
309 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800310 &quot;blog&quot;: { # Data about the blog containing this Post.
311 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
312 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800313 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
314 &quot;A String&quot;,
315 ],
316 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
317 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800318 &quot;location&quot;: { # The location for geotagged posts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800319 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800320 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800321 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800322 &quot;name&quot;: &quot;A String&quot;, # Location name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800323 },
John Asmuth614db982014-04-24 15:46:26 -0400324 }</pre>
325</div>
326
327<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800328 <code class="details" id="insert">insert(blogId, body=None, fetchBody=None, isDraft=None, fetchImages=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700329 <pre>Inserts a post.
John Asmuth614db982014-04-24 15:46:26 -0400330
331Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700332 blogId: string, A parameter (required)
333 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400334 The object takes the form of:
335
336{
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800337 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
338 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
339 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
340 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
341 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
342 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
343 &quot;replies&quot;: { # The container of comments on this Post.
344 &quot;items&quot;: [ # The List of Comments for this Post.
345 {
346 &quot;post&quot;: { # Data about the post containing this comment.
347 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
348 },
349 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
350 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
351 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
352 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
353 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
354 &quot;blog&quot;: { # Data about the blog containing this comment.
355 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
356 },
357 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
358 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
359 },
360 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
361 &quot;author&quot;: { # The author of this Comment.
362 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
363 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
364 &quot;image&quot;: { # The creator&#x27;s avatar.
365 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
366 },
367 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
368 },
369 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
370 },
371 ],
372 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
373 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
374 },
375 &quot;author&quot;: { # The author of this Post.
376 &quot;image&quot;: { # The creator&#x27;s avatar.
377 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
378 },
379 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
380 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
381 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
382 },
383 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800384 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800385 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
386 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
387 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700388 &quot;images&quot;: [ # Display image for the Post.
389 {
390 &quot;url&quot;: &quot;A String&quot;,
391 },
392 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800393 &quot;blog&quot;: { # Data about the blog containing this Post.
394 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
395 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800396 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
397 &quot;A String&quot;,
398 ],
399 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
400 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800401 &quot;location&quot;: { # The location for geotagged posts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800402 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800403 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800404 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800405 &quot;name&quot;: &quot;A String&quot;, # Location name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800406 },
John Asmuth614db982014-04-24 15:46:26 -0400407}
408
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800409 fetchBody: boolean, A parameter
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800410 isDraft: boolean, A parameter
411 fetchImages: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700412 x__xgafv: string, V1 error format.
413 Allowed values
414 1 - v1 error format
415 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400416
417Returns:
418 An object of the form:
419
420 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800421 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
422 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
423 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
424 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
425 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
426 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
427 &quot;replies&quot;: { # The container of comments on this Post.
428 &quot;items&quot;: [ # The List of Comments for this Post.
429 {
430 &quot;post&quot;: { # Data about the post containing this comment.
431 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
432 },
433 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
434 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
435 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
436 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
437 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
438 &quot;blog&quot;: { # Data about the blog containing this comment.
439 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
440 },
441 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
442 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
443 },
444 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
445 &quot;author&quot;: { # The author of this Comment.
446 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
447 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
448 &quot;image&quot;: { # The creator&#x27;s avatar.
449 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
450 },
451 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
452 },
453 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
454 },
455 ],
456 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
457 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
458 },
459 &quot;author&quot;: { # The author of this Post.
460 &quot;image&quot;: { # The creator&#x27;s avatar.
461 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
462 },
463 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
464 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
465 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
466 },
467 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800468 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800469 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
470 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
471 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700472 &quot;images&quot;: [ # Display image for the Post.
473 {
474 &quot;url&quot;: &quot;A String&quot;,
475 },
476 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800477 &quot;blog&quot;: { # Data about the blog containing this Post.
478 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
479 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800480 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
481 &quot;A String&quot;,
482 ],
483 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
484 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800485 &quot;location&quot;: { # The location for geotagged posts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800486 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800487 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800488 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800489 &quot;name&quot;: &quot;A String&quot;, # Location name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800490 },
John Asmuth614db982014-04-24 15:46:26 -0400491 }</pre>
492</div>
493
494<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800495 <code class="details" id="list">list(blogId, fetchImages=None, status=None, orderBy=None, view=None, endDate=None, startDate=None, labels=None, pageToken=None, fetchBodies=None, maxResults=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700496 <pre>Lists posts.
John Asmuth614db982014-04-24 15:46:26 -0400497
498Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700499 blogId: string, A parameter (required)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800500 fetchImages: boolean, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700501 status: string, A parameter (repeated)
502 Allowed values
503 LIVE -
504 DRAFT -
505 SCHEDULED -
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800506 orderBy: string, A parameter
507 Allowed values
508 ORDER_BY_UNSPECIFIED -
509 PUBLISHED -
510 UPDATED -
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700511 view: string, A parameter
512 Allowed values
513 VIEW_TYPE_UNSPECIFIED -
514 READER -
515 AUTHOR -
516 ADMIN -
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800517 endDate: string, A parameter
518 startDate: string, A parameter
519 labels: string, A parameter
520 pageToken: string, A parameter
521 fetchBodies: boolean, A parameter
522 maxResults: integer, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700523 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400524 Allowed values
Dan O'Mearadd494642020-05-01 07:42:23 -0700525 1 - v1 error format
526 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400527
528Returns:
529 An object of the form:
530
531 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800532 &quot;prevPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the previous page, if one exists.
533 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
534 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
Bu Sun Kim65020912020-05-20 12:08:20 -0700535 &quot;items&quot;: [ # The list of Posts for this Blog.
John Asmuth614db982014-04-24 15:46:26 -0400536 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800537 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
538 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
539 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
540 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
541 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
542 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
543 &quot;replies&quot;: { # The container of comments on this Post.
544 &quot;items&quot;: [ # The List of Comments for this Post.
545 {
546 &quot;post&quot;: { # Data about the post containing this comment.
547 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
548 },
549 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
550 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
551 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
552 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
553 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
554 &quot;blog&quot;: { # Data about the blog containing this comment.
555 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
556 },
557 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
558 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
559 },
560 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
561 &quot;author&quot;: { # The author of this Comment.
562 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
563 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
564 &quot;image&quot;: { # The creator&#x27;s avatar.
565 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
566 },
567 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
568 },
569 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
570 },
571 ],
572 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
573 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
574 },
575 &quot;author&quot;: { # The author of this Post.
576 &quot;image&quot;: { # The creator&#x27;s avatar.
577 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
578 },
579 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
580 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
581 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
582 },
583 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800584 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800585 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
586 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
587 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700588 &quot;images&quot;: [ # Display image for the Post.
589 {
590 &quot;url&quot;: &quot;A String&quot;,
591 },
592 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800593 &quot;blog&quot;: { # Data about the blog containing this Post.
594 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
595 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800596 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
597 &quot;A String&quot;,
598 ],
599 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
600 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800601 &quot;location&quot;: { # The location for geotagged posts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800602 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800603 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800604 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800605 &quot;name&quot;: &quot;A String&quot;, # Location name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800606 },
John Asmuth614db982014-04-24 15:46:26 -0400607 },
608 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700609 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postList.
John Asmuth614db982014-04-24 15:46:26 -0400610 }</pre>
611</div>
612
613<div class="method">
614 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
615 <pre>Retrieves the next page of results.
616
617Args:
618 previous_request: The request for the previous page. (required)
619 previous_response: The response from the request for the previous page. (required)
620
621Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700622 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -0400623 page. Returns None if there are no more items in the collection.
624 </pre>
625</div>
626
627<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800628 <code class="details" id="patch">patch(blogId, postId, body=None, fetchImages=None, revert=None, fetchBody=None, maxComments=None, publish=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700629 <pre>Patches a post.
John Asmuth614db982014-04-24 15:46:26 -0400630
631Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700632 blogId: string, A parameter (required)
633 postId: string, A parameter (required)
634 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400635 The object takes the form of:
636
637{
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800638 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
639 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
640 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
641 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
642 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
643 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
644 &quot;replies&quot;: { # The container of comments on this Post.
645 &quot;items&quot;: [ # The List of Comments for this Post.
646 {
647 &quot;post&quot;: { # Data about the post containing this comment.
648 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
649 },
650 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
651 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
652 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
653 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
654 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
655 &quot;blog&quot;: { # Data about the blog containing this comment.
656 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
657 },
658 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
659 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
660 },
661 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
662 &quot;author&quot;: { # The author of this Comment.
663 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
664 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
665 &quot;image&quot;: { # The creator&#x27;s avatar.
666 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
667 },
668 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
669 },
670 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
671 },
672 ],
673 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
674 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
675 },
676 &quot;author&quot;: { # The author of this Post.
677 &quot;image&quot;: { # The creator&#x27;s avatar.
678 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
679 },
680 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
681 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
682 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
683 },
684 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800685 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800686 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
687 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
688 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700689 &quot;images&quot;: [ # Display image for the Post.
690 {
691 &quot;url&quot;: &quot;A String&quot;,
692 },
693 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800694 &quot;blog&quot;: { # Data about the blog containing this Post.
695 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
696 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800697 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
698 &quot;A String&quot;,
699 ],
700 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
701 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800702 &quot;location&quot;: { # The location for geotagged posts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800703 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800704 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800705 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800706 &quot;name&quot;: &quot;A String&quot;, # Location name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800707 },
John Asmuth614db982014-04-24 15:46:26 -0400708}
709
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800710 fetchImages: boolean, A parameter
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800711 revert: boolean, A parameter
712 fetchBody: boolean, A parameter
713 maxComments: integer, A parameter
714 publish: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700715 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400716 Allowed values
Dan O'Mearadd494642020-05-01 07:42:23 -0700717 1 - v1 error format
718 2 - v2 error format
Dan O'Mearadd494642020-05-01 07:42:23 -0700719
720Returns:
721 An object of the form:
722
723 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800724 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
725 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
726 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
727 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
728 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
729 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
730 &quot;replies&quot;: { # The container of comments on this Post.
731 &quot;items&quot;: [ # The List of Comments for this Post.
732 {
733 &quot;post&quot;: { # Data about the post containing this comment.
734 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
735 },
736 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
737 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
738 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
739 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
740 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
741 &quot;blog&quot;: { # Data about the blog containing this comment.
742 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
743 },
744 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
745 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
746 },
747 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
748 &quot;author&quot;: { # The author of this Comment.
749 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
750 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
751 &quot;image&quot;: { # The creator&#x27;s avatar.
752 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
753 },
754 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
755 },
756 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
757 },
758 ],
759 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
760 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
761 },
762 &quot;author&quot;: { # The author of this Post.
763 &quot;image&quot;: { # The creator&#x27;s avatar.
764 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
765 },
766 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
767 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
768 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
769 },
770 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800771 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800772 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
773 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
774 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700775 &quot;images&quot;: [ # Display image for the Post.
776 {
777 &quot;url&quot;: &quot;A String&quot;,
778 },
779 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800780 &quot;blog&quot;: { # Data about the blog containing this Post.
781 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
782 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800783 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
784 &quot;A String&quot;,
785 ],
786 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
787 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800788 &quot;location&quot;: { # The location for geotagged posts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800789 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800790 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800791 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800792 &quot;name&quot;: &quot;A String&quot;, # Location name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800793 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700794 }</pre>
795</div>
796
797<div class="method">
798 <code class="details" id="publish">publish(blogId, postId, publishDate=None, x__xgafv=None)</code>
799 <pre>Publishes a post.
800
801Args:
802 blogId: string, A parameter (required)
803 postId: string, A parameter (required)
804 publishDate: string, A parameter
805 x__xgafv: string, V1 error format.
806 Allowed values
807 1 - v1 error format
808 2 - v2 error format
809
810Returns:
811 An object of the form:
812
813 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800814 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
815 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
816 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
817 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
818 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
819 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
820 &quot;replies&quot;: { # The container of comments on this Post.
821 &quot;items&quot;: [ # The List of Comments for this Post.
822 {
823 &quot;post&quot;: { # Data about the post containing this comment.
824 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
825 },
826 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
827 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
828 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
829 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
830 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
831 &quot;blog&quot;: { # Data about the blog containing this comment.
832 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
833 },
834 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
835 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
836 },
837 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
838 &quot;author&quot;: { # The author of this Comment.
839 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
840 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
841 &quot;image&quot;: { # The creator&#x27;s avatar.
842 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
843 },
844 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
845 },
846 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
847 },
848 ],
849 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
850 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
851 },
852 &quot;author&quot;: { # The author of this Post.
853 &quot;image&quot;: { # The creator&#x27;s avatar.
854 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
855 },
856 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
857 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
858 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
859 },
860 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800861 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800862 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
863 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
864 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700865 &quot;images&quot;: [ # Display image for the Post.
866 {
867 &quot;url&quot;: &quot;A String&quot;,
868 },
869 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800870 &quot;blog&quot;: { # Data about the blog containing this Post.
871 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
872 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800873 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
874 &quot;A String&quot;,
875 ],
876 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
877 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800878 &quot;location&quot;: { # The location for geotagged posts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800879 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800880 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800881 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800882 &quot;name&quot;: &quot;A String&quot;, # Location name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800883 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700884 }</pre>
885</div>
886
887<div class="method">
888 <code class="details" id="revert">revert(blogId, postId, x__xgafv=None)</code>
889 <pre>Reverts a published or scheduled post to draft state.
890
891Args:
892 blogId: string, A parameter (required)
893 postId: string, A parameter (required)
894 x__xgafv: string, V1 error format.
895 Allowed values
896 1 - v1 error format
897 2 - v2 error format
898
899Returns:
900 An object of the form:
901
902 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800903 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
904 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
905 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
906 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
907 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
908 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
909 &quot;replies&quot;: { # The container of comments on this Post.
910 &quot;items&quot;: [ # The List of Comments for this Post.
911 {
912 &quot;post&quot;: { # Data about the post containing this comment.
913 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
914 },
915 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
916 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
917 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
918 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
919 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
920 &quot;blog&quot;: { # Data about the blog containing this comment.
921 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
922 },
923 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
924 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
925 },
926 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
927 &quot;author&quot;: { # The author of this Comment.
928 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
929 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
930 &quot;image&quot;: { # The creator&#x27;s avatar.
931 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
932 },
933 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
934 },
935 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
936 },
937 ],
938 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
939 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
940 },
941 &quot;author&quot;: { # The author of this Post.
942 &quot;image&quot;: { # The creator&#x27;s avatar.
943 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
944 },
945 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
946 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
947 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
948 },
949 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800950 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800951 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
952 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
953 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700954 &quot;images&quot;: [ # Display image for the Post.
955 {
956 &quot;url&quot;: &quot;A String&quot;,
957 },
958 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800959 &quot;blog&quot;: { # Data about the blog containing this Post.
960 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
961 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800962 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
963 &quot;A String&quot;,
964 ],
965 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
966 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800967 &quot;location&quot;: { # The location for geotagged posts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800968 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800969 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800970 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800971 &quot;name&quot;: &quot;A String&quot;, # Location name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800972 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700973 }</pre>
974</div>
975
976<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800977 <code class="details" id="search">search(blogId, q, fetchBodies=None, orderBy=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700978 <pre>Searches for posts matching given query terms in the specified blog.
979
980Args:
981 blogId: string, A parameter (required)
982 q: string, A parameter (required)
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800983 fetchBodies: boolean, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700984 orderBy: string, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700985 Allowed values
986 ORDER_BY_UNSPECIFIED -
987 PUBLISHED -
988 UPDATED -
Dan O'Mearadd494642020-05-01 07:42:23 -0700989 x__xgafv: string, V1 error format.
990 Allowed values
991 1 - v1 error format
992 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400993
994Returns:
995 An object of the form:
996
997 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800998 &quot;prevPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the previous page, if one exists.
999 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
1000 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
Bu Sun Kim65020912020-05-20 12:08:20 -07001001 &quot;items&quot;: [ # The list of Posts for this Blog.
John Asmuth614db982014-04-24 15:46:26 -04001002 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001003 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1004 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
1005 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
1006 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1007 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
1008 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1009 &quot;replies&quot;: { # The container of comments on this Post.
1010 &quot;items&quot;: [ # The List of Comments for this Post.
1011 {
1012 &quot;post&quot;: { # Data about the post containing this comment.
1013 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
1014 },
1015 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1016 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1017 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1018 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
1019 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
1020 &quot;blog&quot;: { # Data about the blog containing this comment.
1021 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
1022 },
1023 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1024 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1025 },
1026 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
1027 &quot;author&quot;: { # The author of this Comment.
1028 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1029 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1030 &quot;image&quot;: { # The creator&#x27;s avatar.
1031 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1032 },
1033 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1034 },
1035 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1036 },
1037 ],
1038 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1039 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
1040 },
1041 &quot;author&quot;: { # The author of this Post.
1042 &quot;image&quot;: { # The creator&#x27;s avatar.
1043 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1044 },
1045 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1046 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1047 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1048 },
1049 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001050 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001051 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1052 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1053 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001054 &quot;images&quot;: [ # Display image for the Post.
1055 {
1056 &quot;url&quot;: &quot;A String&quot;,
1057 },
1058 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001059 &quot;blog&quot;: { # Data about the blog containing this Post.
1060 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
1061 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001062 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1063 &quot;A String&quot;,
1064 ],
1065 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
1066 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001067 &quot;location&quot;: { # The location for geotagged posts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001068 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001069 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001070 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001071 &quot;name&quot;: &quot;A String&quot;, # Location name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001072 },
John Asmuth614db982014-04-24 15:46:26 -04001073 },
1074 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001075 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postList.
John Asmuth614db982014-04-24 15:46:26 -04001076 }</pre>
1077</div>
1078
1079<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001080 <code class="details" id="update">update(blogId, postId, body=None, maxComments=None, publish=None, fetchBody=None, revert=None, fetchImages=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -07001081 <pre>Updates a post by blog id and post id.
John Asmuth614db982014-04-24 15:46:26 -04001082
1083Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07001084 blogId: string, A parameter (required)
1085 postId: string, A parameter (required)
1086 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -04001087 The object takes the form of:
1088
1089{
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001090 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1091 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
1092 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
1093 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1094 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
1095 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1096 &quot;replies&quot;: { # The container of comments on this Post.
1097 &quot;items&quot;: [ # The List of Comments for this Post.
1098 {
1099 &quot;post&quot;: { # Data about the post containing this comment.
1100 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
1101 },
1102 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1103 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1104 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1105 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
1106 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
1107 &quot;blog&quot;: { # Data about the blog containing this comment.
1108 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
1109 },
1110 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1111 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1112 },
1113 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
1114 &quot;author&quot;: { # The author of this Comment.
1115 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1116 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1117 &quot;image&quot;: { # The creator&#x27;s avatar.
1118 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1119 },
1120 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1121 },
1122 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1123 },
1124 ],
1125 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1126 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
1127 },
1128 &quot;author&quot;: { # The author of this Post.
1129 &quot;image&quot;: { # The creator&#x27;s avatar.
1130 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1131 },
1132 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1133 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1134 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1135 },
1136 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001137 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001138 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1139 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1140 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001141 &quot;images&quot;: [ # Display image for the Post.
1142 {
1143 &quot;url&quot;: &quot;A String&quot;,
1144 },
1145 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001146 &quot;blog&quot;: { # Data about the blog containing this Post.
1147 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
1148 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001149 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1150 &quot;A String&quot;,
1151 ],
1152 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
1153 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001154 &quot;location&quot;: { # The location for geotagged posts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001155 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001156 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001157 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001158 &quot;name&quot;: &quot;A String&quot;, # Location name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001159 },
John Asmuth614db982014-04-24 15:46:26 -04001160}
1161
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001162 maxComments: integer, A parameter
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001163 publish: boolean, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001164 fetchBody: boolean, A parameter
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001165 revert: boolean, A parameter
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001166 fetchImages: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -07001167 x__xgafv: string, V1 error format.
1168 Allowed values
1169 1 - v1 error format
1170 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -04001171
1172Returns:
1173 An object of the form:
1174
1175 {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001176 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1177 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
1178 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
1179 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1180 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
1181 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1182 &quot;replies&quot;: { # The container of comments on this Post.
1183 &quot;items&quot;: [ # The List of Comments for this Post.
1184 {
1185 &quot;post&quot;: { # Data about the post containing this comment.
1186 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
1187 },
1188 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1189 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1190 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1191 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
1192 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
1193 &quot;blog&quot;: { # Data about the blog containing this comment.
1194 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
1195 },
1196 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1197 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1198 },
1199 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
1200 &quot;author&quot;: { # The author of this Comment.
1201 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1202 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1203 &quot;image&quot;: { # The creator&#x27;s avatar.
1204 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1205 },
1206 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1207 },
1208 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1209 },
1210 ],
1211 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1212 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
1213 },
1214 &quot;author&quot;: { # The author of this Post.
1215 &quot;image&quot;: { # The creator&#x27;s avatar.
1216 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1217 },
1218 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1219 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1220 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1221 },
1222 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001223 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001224 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1225 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1226 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001227 &quot;images&quot;: [ # Display image for the Post.
1228 {
1229 &quot;url&quot;: &quot;A String&quot;,
1230 },
1231 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001232 &quot;blog&quot;: { # Data about the blog containing this Post.
1233 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
1234 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001235 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1236 &quot;A String&quot;,
1237 ],
1238 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
1239 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001240 &quot;location&quot;: { # The location for geotagged posts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001241 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001242 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001243 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001244 &quot;name&quot;: &quot;A String&quot;, # Location name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001245 },
John Asmuth614db982014-04-24 15:46:26 -04001246 }</pre>
1247</div>
1248
1249</body></html>