blob: a3ae5c677aaf1e03834bb08d490257aea40db3b6 [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 Botc2228be2020-11-24 15:48:03 -080084 <code><a href="#get">get(blogId, postId, view=None, fetchBody=None, maxComments=None, fetchImages=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 Botc2228be2020-11-24 15:48:03 -080087 <code><a href="#getByPath">getByPath(blogId, path, view=None, maxComments=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 Botc2228be2020-11-24 15:48:03 -080090 <code><a href="#insert">insert(blogId, body=None, isDraft=None, fetchImages=None, fetchBody=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 Botc2228be2020-11-24 15:48:03 -080093 <code><a href="#list">list(blogId, maxResults=None, fetchImages=None, pageToken=None, status=None, labels=None, fetchBodies=None, endDate=None, startDate=None, view=None, orderBy=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 Botc2228be2020-11-24 15:48:03 -080099 <code><a href="#patch">patch(blogId, postId, body=None, fetchBody=None, maxComments=None, publish=None, fetchImages=None, revert=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 Botc2228be2020-11-24 15:48: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 Botc2228be2020-11-24 15:48:03 -0800111 <code><a href="#update">update(blogId, postId, body=None, publish=None, maxComments=None, revert=None, fetchBody=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 Botc2228be2020-11-24 15:48:03 -0800134 <code class="details" id="get">get(blogId, postId, view=None, fetchBody=None, maxComments=None, fetchImages=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)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700140 view: string, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700141 Allowed values
142 VIEW_TYPE_UNSPECIFIED -
143 READER -
144 AUTHOR -
145 ADMIN -
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800146 fetchBody: boolean, A parameter
147 maxComments: integer, A parameter
148 fetchImages: 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 Botc2228be2020-11-24 15:48:03 -0800158 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
159 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
160 &quot;A String&quot;,
161 ],
162 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
163 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700164 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700165 &quot;items&quot;: [ # The List of Comments for this Post.
166 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800167 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
168 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700169 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700170 &quot;blog&quot;: { # Data about the blog containing this comment.
171 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
172 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700173 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700174 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800175 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700176 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
177 &quot;image&quot;: { # The creator&#x27;s avatar.
178 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
179 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800180 },
181 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
182 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
183 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
184 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
185 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
186 },
187 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
188 &quot;post&quot;: { # Data about the post containing this comment.
189 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700190 },
191 },
192 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700193 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700194 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
195 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700196 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800197 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
198 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
199 &quot;location&quot;: { # The location for geotagged posts.
200 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
201 &quot;name&quot;: &quot;A String&quot;, # Location name.
202 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
203 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700204 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800205 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700206 &quot;images&quot;: [ # Display image for the Post.
207 {
208 &quot;url&quot;: &quot;A String&quot;,
209 },
210 ],
211 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800212 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
213 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
214 &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 },
217 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
218 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
219 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
220 &quot;author&quot;: { # The author of this Post.
221 &quot;image&quot;: { # The creator&#x27;s avatar.
222 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
223 },
224 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
225 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
226 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
227 },
John Asmuth614db982014-04-24 15:46:26 -0400228 }</pre>
229</div>
230
231<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800232 <code class="details" id="getByPath">getByPath(blogId, path, view=None, maxComments=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)
Bu Sun Kim65020912020-05-20 12:08:20 -0700238 view: string, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700239 Allowed values
240 VIEW_TYPE_UNSPECIFIED -
241 READER -
242 AUTHOR -
243 ADMIN -
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800244 maxComments: integer, A parameter
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 Botc2228be2020-11-24 15:48:03 -0800254 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
255 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
256 &quot;A String&quot;,
257 ],
258 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
259 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700260 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700261 &quot;items&quot;: [ # The List of Comments for this Post.
262 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800263 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
264 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700265 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700266 &quot;blog&quot;: { # Data about the blog containing this comment.
267 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
268 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700269 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700270 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800271 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700272 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
273 &quot;image&quot;: { # The creator&#x27;s avatar.
274 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
275 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800276 },
277 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
278 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
279 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
280 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
281 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
282 },
283 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
284 &quot;post&quot;: { # Data about the post containing this comment.
285 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700286 },
287 },
288 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700289 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700290 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
291 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700292 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800293 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
294 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
295 &quot;location&quot;: { # The location for geotagged posts.
296 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
297 &quot;name&quot;: &quot;A String&quot;, # Location name.
298 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
299 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700300 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800301 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700302 &quot;images&quot;: [ # Display image for the Post.
303 {
304 &quot;url&quot;: &quot;A String&quot;,
305 },
306 ],
307 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800308 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
309 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
310 &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 },
313 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
314 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
315 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
316 &quot;author&quot;: { # The author of this Post.
317 &quot;image&quot;: { # The creator&#x27;s avatar.
318 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
319 },
320 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
321 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
322 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
323 },
John Asmuth614db982014-04-24 15:46:26 -0400324 }</pre>
325</div>
326
327<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800328 <code class="details" id="insert">insert(blogId, body=None, isDraft=None, fetchImages=None, fetchBody=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 Botc2228be2020-11-24 15:48:03 -0800337 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
338 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
339 &quot;A String&quot;,
340 ],
341 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
342 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700343 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700344 &quot;items&quot;: [ # The List of Comments for this Post.
345 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800346 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
347 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700348 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700349 &quot;blog&quot;: { # Data about the blog containing this comment.
350 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
351 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700352 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700353 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800354 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700355 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
356 &quot;image&quot;: { # The creator&#x27;s avatar.
357 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
358 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800359 },
360 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
361 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
362 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
363 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
364 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
365 },
366 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
367 &quot;post&quot;: { # Data about the post containing this comment.
368 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700369 },
370 },
371 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700372 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700373 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
374 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700375 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800376 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
377 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
378 &quot;location&quot;: { # The location for geotagged posts.
379 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
380 &quot;name&quot;: &quot;A String&quot;, # Location name.
381 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
382 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700383 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800384 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700385 &quot;images&quot;: [ # Display image for the Post.
386 {
387 &quot;url&quot;: &quot;A String&quot;,
388 },
389 ],
390 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800391 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
392 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
393 &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 },
396 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
397 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
398 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
399 &quot;author&quot;: { # The author of this Post.
400 &quot;image&quot;: { # The creator&#x27;s avatar.
401 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
402 },
403 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
404 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
405 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
406 },
John Asmuth614db982014-04-24 15:46:26 -0400407}
408
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700409 isDraft: boolean, A parameter
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800410 fetchImages: boolean, A parameter
411 fetchBody: 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 Botc2228be2020-11-24 15:48:03 -0800421 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
422 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
423 &quot;A String&quot;,
424 ],
425 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
426 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700427 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700428 &quot;items&quot;: [ # The List of Comments for this Post.
429 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800430 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
431 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700432 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700433 &quot;blog&quot;: { # Data about the blog containing this comment.
434 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
435 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700436 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700437 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800438 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700439 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
440 &quot;image&quot;: { # The creator&#x27;s avatar.
441 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
442 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800443 },
444 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
445 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
446 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
447 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
448 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
449 },
450 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
451 &quot;post&quot;: { # Data about the post containing this comment.
452 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700453 },
454 },
455 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700456 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700457 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
458 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700459 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800460 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
461 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
462 &quot;location&quot;: { # The location for geotagged posts.
463 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
464 &quot;name&quot;: &quot;A String&quot;, # Location name.
465 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
466 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700467 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800468 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700469 &quot;images&quot;: [ # Display image for the Post.
470 {
471 &quot;url&quot;: &quot;A String&quot;,
472 },
473 ],
474 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800475 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
476 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
477 &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 },
480 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
481 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
482 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
483 &quot;author&quot;: { # The author of this Post.
484 &quot;image&quot;: { # The creator&#x27;s avatar.
485 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
486 },
487 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
488 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
489 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
490 },
John Asmuth614db982014-04-24 15:46:26 -0400491 }</pre>
492</div>
493
494<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800495 <code class="details" id="list">list(blogId, maxResults=None, fetchImages=None, pageToken=None, status=None, labels=None, fetchBodies=None, endDate=None, startDate=None, view=None, orderBy=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 Botc2228be2020-11-24 15:48:03 -0800500 maxResults: integer, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700501 fetchImages: boolean, A parameter
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800502 pageToken: string, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700503 status: string, A parameter (repeated)
504 Allowed values
505 LIVE -
506 DRAFT -
507 SCHEDULED -
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700508 labels: string, A parameter
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800509 fetchBodies: boolean, A parameter
510 endDate: string, A parameter
511 startDate: string, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700512 view: string, A parameter
513 Allowed values
514 VIEW_TYPE_UNSPECIFIED -
515 READER -
516 AUTHOR -
517 ADMIN -
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800518 orderBy: string, A parameter
519 Allowed values
520 ORDER_BY_UNSPECIFIED -
521 PUBLISHED -
522 UPDATED -
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 Botc2228be2020-11-24 15:48:03 -0800532 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
Bu Sun Kim65020912020-05-20 12:08:20 -0700533 &quot;items&quot;: [ # The list of Posts for this Blog.
John Asmuth614db982014-04-24 15:46:26 -0400534 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800535 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
536 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
537 &quot;A String&quot;,
538 ],
539 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
540 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700541 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700542 &quot;items&quot;: [ # The List of Comments for this Post.
543 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800544 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
545 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700546 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700547 &quot;blog&quot;: { # Data about the blog containing this comment.
548 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
549 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700550 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700551 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800552 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700553 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
554 &quot;image&quot;: { # The creator&#x27;s avatar.
555 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
556 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800557 },
558 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
559 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
560 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
561 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
562 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
563 },
564 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
565 &quot;post&quot;: { # Data about the post containing this comment.
566 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700567 },
568 },
569 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700570 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700571 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
572 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700573 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800574 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
575 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
576 &quot;location&quot;: { # The location for geotagged posts.
577 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
578 &quot;name&quot;: &quot;A String&quot;, # Location name.
579 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
580 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700581 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800582 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700583 &quot;images&quot;: [ # Display image for the Post.
584 {
585 &quot;url&quot;: &quot;A String&quot;,
586 },
587 ],
588 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800589 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
590 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
591 &quot;blog&quot;: { # Data about the blog containing this Post.
592 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
593 },
594 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
595 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
596 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
597 &quot;author&quot;: { # The author of this Post.
598 &quot;image&quot;: { # The creator&#x27;s avatar.
599 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
600 },
601 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
602 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
603 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
604 },
John Asmuth614db982014-04-24 15:46:26 -0400605 },
606 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700607 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postList.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800608 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
609 &quot;prevPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the previous page, if one exists.
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 Botc2228be2020-11-24 15:48:03 -0800628 <code class="details" id="patch">patch(blogId, postId, body=None, fetchBody=None, maxComments=None, publish=None, fetchImages=None, revert=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 Botc2228be2020-11-24 15:48:03 -0800638 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
639 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
640 &quot;A String&quot;,
641 ],
642 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
643 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700644 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700645 &quot;items&quot;: [ # The List of Comments for this Post.
646 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800647 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
648 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700649 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700650 &quot;blog&quot;: { # Data about the blog containing this comment.
651 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
652 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700653 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700654 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800655 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700656 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
657 &quot;image&quot;: { # The creator&#x27;s avatar.
658 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
659 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800660 },
661 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
662 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
663 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
664 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
665 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
666 },
667 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
668 &quot;post&quot;: { # Data about the post containing this comment.
669 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700670 },
671 },
672 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700673 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700674 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
675 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700676 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800677 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
678 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
679 &quot;location&quot;: { # The location for geotagged posts.
680 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
681 &quot;name&quot;: &quot;A String&quot;, # Location name.
682 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
683 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700684 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800685 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700686 &quot;images&quot;: [ # Display image for the Post.
687 {
688 &quot;url&quot;: &quot;A String&quot;,
689 },
690 ],
691 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800692 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
693 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
694 &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 },
697 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
698 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
699 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
700 &quot;author&quot;: { # The author of this Post.
701 &quot;image&quot;: { # The creator&#x27;s avatar.
702 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
703 },
704 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
705 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
706 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
707 },
John Asmuth614db982014-04-24 15:46:26 -0400708}
709
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700710 fetchBody: boolean, A parameter
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800711 maxComments: integer, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700712 publish: boolean, A parameter
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800713 fetchImages: boolean, A parameter
714 revert: 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 Botc2228be2020-11-24 15:48:03 -0800724 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
725 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
726 &quot;A String&quot;,
727 ],
728 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
729 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700730 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700731 &quot;items&quot;: [ # The List of Comments for this Post.
732 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800733 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
734 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700735 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700736 &quot;blog&quot;: { # Data about the blog containing this comment.
737 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
738 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700739 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700740 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800741 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700742 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
743 &quot;image&quot;: { # The creator&#x27;s avatar.
744 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
745 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800746 },
747 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
748 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
749 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
750 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
751 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
752 },
753 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
754 &quot;post&quot;: { # Data about the post containing this comment.
755 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700756 },
757 },
758 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700759 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700760 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
761 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700762 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800763 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
764 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
765 &quot;location&quot;: { # The location for geotagged posts.
766 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
767 &quot;name&quot;: &quot;A String&quot;, # Location name.
768 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
769 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700770 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800771 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700772 &quot;images&quot;: [ # Display image for the Post.
773 {
774 &quot;url&quot;: &quot;A String&quot;,
775 },
776 ],
777 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800778 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
779 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
780 &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 },
783 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
784 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
785 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
786 &quot;author&quot;: { # The author of this Post.
787 &quot;image&quot;: { # The creator&#x27;s avatar.
788 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
789 },
790 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
791 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
792 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
793 },
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 Botc2228be2020-11-24 15:48:03 -0800814 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
815 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
816 &quot;A String&quot;,
817 ],
818 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
819 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700820 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700821 &quot;items&quot;: [ # The List of Comments for this Post.
822 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800823 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
824 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700825 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700826 &quot;blog&quot;: { # Data about the blog containing this comment.
827 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
828 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700829 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700830 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800831 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700832 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
833 &quot;image&quot;: { # The creator&#x27;s avatar.
834 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
835 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800836 },
837 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
838 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
839 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
840 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
841 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
842 },
843 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
844 &quot;post&quot;: { # Data about the post containing this comment.
845 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700846 },
847 },
848 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700849 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700850 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
851 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700852 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800853 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
854 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
855 &quot;location&quot;: { # The location for geotagged posts.
856 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
857 &quot;name&quot;: &quot;A String&quot;, # Location name.
858 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
859 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700860 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800861 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700862 &quot;images&quot;: [ # Display image for the Post.
863 {
864 &quot;url&quot;: &quot;A String&quot;,
865 },
866 ],
867 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800868 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
869 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
870 &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 },
873 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
874 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
875 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
876 &quot;author&quot;: { # The author of this Post.
877 &quot;image&quot;: { # The creator&#x27;s avatar.
878 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
879 },
880 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
881 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
882 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
883 },
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 Botc2228be2020-11-24 15:48:03 -0800903 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
904 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
905 &quot;A String&quot;,
906 ],
907 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
908 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700909 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700910 &quot;items&quot;: [ # The List of Comments for this Post.
911 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800912 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
913 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700914 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700915 &quot;blog&quot;: { # Data about the blog containing this comment.
916 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
917 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700918 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700919 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800920 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700921 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
922 &quot;image&quot;: { # The creator&#x27;s avatar.
923 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
924 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800925 },
926 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
927 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
928 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
929 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
930 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
931 },
932 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
933 &quot;post&quot;: { # Data about the post containing this comment.
934 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700935 },
936 },
937 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700938 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700939 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
940 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700941 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800942 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
943 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
944 &quot;location&quot;: { # The location for geotagged posts.
945 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
946 &quot;name&quot;: &quot;A String&quot;, # Location name.
947 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
948 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700949 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800950 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700951 &quot;images&quot;: [ # Display image for the Post.
952 {
953 &quot;url&quot;: &quot;A String&quot;,
954 },
955 ],
956 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800957 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
958 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
959 &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 },
962 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
963 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
964 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
965 &quot;author&quot;: { # The author of this Post.
966 &quot;image&quot;: { # The creator&#x27;s avatar.
967 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
968 },
969 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
970 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
971 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
972 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700973 }</pre>
974</div>
975
976<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48: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 Botc2228be2020-11-24 15:48: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 Botc2228be2020-11-24 15:48:03 -0800998 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
Bu Sun Kim65020912020-05-20 12:08:20 -0700999 &quot;items&quot;: [ # The list of Posts for this Blog.
John Asmuth614db982014-04-24 15:46:26 -04001000 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001001 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
1002 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1003 &quot;A String&quot;,
1004 ],
1005 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
1006 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001007 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001008 &quot;items&quot;: [ # The List of Comments for this Post.
1009 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001010 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1011 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001012 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001013 &quot;blog&quot;: { # Data about the blog containing this comment.
1014 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
1015 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001016 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001017 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001018 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001019 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1020 &quot;image&quot;: { # The creator&#x27;s avatar.
1021 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1022 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001023 },
1024 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1025 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1026 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
1027 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1028 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1029 },
1030 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1031 &quot;post&quot;: { # Data about the post containing this comment.
1032 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001033 },
1034 },
1035 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001036 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001037 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1038 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001039 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001040 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
1041 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1042 &quot;location&quot;: { # The location for geotagged posts.
1043 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
1044 &quot;name&quot;: &quot;A String&quot;, # Location name.
1045 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
1046 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001047 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001048 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001049 &quot;images&quot;: [ # Display image for the Post.
1050 {
1051 &quot;url&quot;: &quot;A String&quot;,
1052 },
1053 ],
1054 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001055 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1056 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1057 &quot;blog&quot;: { # Data about the blog containing this Post.
1058 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
1059 },
1060 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
1061 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1062 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1063 &quot;author&quot;: { # The author of this Post.
1064 &quot;image&quot;: { # The creator&#x27;s avatar.
1065 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1066 },
1067 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1068 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1069 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1070 },
John Asmuth614db982014-04-24 15:46:26 -04001071 },
1072 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001073 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postList.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001074 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
1075 &quot;prevPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the previous page, if one exists.
John Asmuth614db982014-04-24 15:46:26 -04001076 }</pre>
1077</div>
1078
1079<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001080 <code class="details" id="update">update(blogId, postId, body=None, publish=None, maxComments=None, revert=None, fetchBody=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 Botc2228be2020-11-24 15:48:03 -08001090 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
1091 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1092 &quot;A String&quot;,
1093 ],
1094 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
1095 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001096 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001097 &quot;items&quot;: [ # The List of Comments for this Post.
1098 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001099 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1100 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001101 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001102 &quot;blog&quot;: { # Data about the blog containing this comment.
1103 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
1104 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001105 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001106 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001107 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001108 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1109 &quot;image&quot;: { # The creator&#x27;s avatar.
1110 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1111 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001112 },
1113 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1114 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1115 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
1116 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1117 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1118 },
1119 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1120 &quot;post&quot;: { # Data about the post containing this comment.
1121 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001122 },
1123 },
1124 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001125 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001126 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1127 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001128 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001129 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
1130 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1131 &quot;location&quot;: { # The location for geotagged posts.
1132 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
1133 &quot;name&quot;: &quot;A String&quot;, # Location name.
1134 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
1135 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001136 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001137 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001138 &quot;images&quot;: [ # Display image for the Post.
1139 {
1140 &quot;url&quot;: &quot;A String&quot;,
1141 },
1142 ],
1143 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001144 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1145 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1146 &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 },
1149 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
1150 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1151 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1152 &quot;author&quot;: { # The author of this Post.
1153 &quot;image&quot;: { # The creator&#x27;s avatar.
1154 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1155 },
1156 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1157 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1158 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1159 },
John Asmuth614db982014-04-24 15:46:26 -04001160}
1161
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001162 publish: boolean, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001163 maxComments: integer, A parameter
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001164 revert: boolean, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001165 fetchBody: boolean, A parameter
Yoshi Automation Botc2228be2020-11-24 15:48: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 Botc2228be2020-11-24 15:48:03 -08001176 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
1177 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1178 &quot;A String&quot;,
1179 ],
1180 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
1181 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001182 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001183 &quot;items&quot;: [ # The List of Comments for this Post.
1184 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001185 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1186 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001187 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001188 &quot;blog&quot;: { # Data about the blog containing this comment.
1189 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
1190 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001191 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001192 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001193 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001194 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1195 &quot;image&quot;: { # The creator&#x27;s avatar.
1196 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1197 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001198 },
1199 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1200 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1201 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
1202 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1203 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1204 },
1205 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1206 &quot;post&quot;: { # Data about the post containing this comment.
1207 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001208 },
1209 },
1210 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001211 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001212 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1213 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001214 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001215 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
1216 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1217 &quot;location&quot;: { # The location for geotagged posts.
1218 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
1219 &quot;name&quot;: &quot;A String&quot;, # Location name.
1220 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
1221 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001222 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001223 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001224 &quot;images&quot;: [ # Display image for the Post.
1225 {
1226 &quot;url&quot;: &quot;A String&quot;,
1227 },
1228 ],
1229 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001230 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1231 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1232 &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 },
1235 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
1236 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1237 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1238 &quot;author&quot;: { # The author of this Post.
1239 &quot;image&quot;: { # The creator&#x27;s avatar.
1240 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1241 },
1242 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1243 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1244 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1245 },
John Asmuth614db982014-04-24 15:46:26 -04001246 }</pre>
1247</div>
1248
1249</body></html>