blob: 6504dfdf8dfdf34158eaab998dd1942cfd0736e6 [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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070084 <code><a href="#get">get(blogId, postId, maxComments=None, fetchBody=None, fetchImages=None, view=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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070087 <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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070090 <code><a href="#insert">insert(blogId, body=None, fetchBody=None, fetchImages=None, isDraft=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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070093 <code><a href="#list">list(blogId, startDate=None, fetchBodies=None, fetchImages=None, status=None, orderBy=None, labels=None, view=None, endDate=None, pageToken=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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070099 <code><a href="#patch">patch(blogId, postId, body=None, maxComments=None, revert=None, fetchBody=None, fetchImages=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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700108 <code><a href="#search">search(blogId, q, orderBy=None, fetchBodies=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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700111 <code><a href="#update">update(blogId, postId, body=None, revert=None, publish=None, maxComments=None, fetchImages=None, fetchBody=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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700134 <code class="details" id="get">get(blogId, postId, maxComments=None, fetchBody=None, fetchImages=None, view=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 Kim673ec5c2020-11-16 11:05:03 -0700140 maxComments: integer, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700141 fetchBody: boolean, A parameter
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700142 fetchImages: boolean, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700143 view: string, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700144 Allowed values
145 VIEW_TYPE_UNSPECIFIED -
146 READER -
147 AUTHOR -
148 ADMIN -
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 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700158 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700159 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700160 &quot;items&quot;: [ # The List of Comments for this Post.
161 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700162 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
163 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
164 &quot;blog&quot;: { # Data about the blog containing this comment.
165 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
166 },
167 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
168 &quot;post&quot;: { # Data about the post containing this comment.
169 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
170 },
171 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
172 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
173 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
174 },
175 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
176 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
177 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700178 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700179 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700180 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
181 &quot;image&quot;: { # The creator&#x27;s avatar.
182 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
183 },
184 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700185 },
186 },
187 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700188 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700189 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
190 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700191 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
192 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
193 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
194 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
195 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
196 &quot;blog&quot;: { # Data about the blog containing this Post.
197 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
198 },
199 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
200 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
201 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
202 &quot;author&quot;: { # The author of this Post.
203 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
204 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
205 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
206 &quot;image&quot;: { # The creator&#x27;s avatar.
207 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
208 },
209 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700210 &quot;images&quot;: [ # Display image for the Post.
211 {
212 &quot;url&quot;: &quot;A String&quot;,
213 },
214 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700215 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
216 &quot;location&quot;: { # The location for geotagged posts.
217 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
218 &quot;name&quot;: &quot;A String&quot;, # Location name.
219 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
220 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
221 },
222 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
223 &quot;A String&quot;,
224 ],
225 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
226 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700227 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
John Asmuth614db982014-04-24 15:46:26 -0400228 }</pre>
229</div>
230
231<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700232 <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)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700238 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 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700254 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700255 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700256 &quot;items&quot;: [ # The List of Comments for this Post.
257 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700258 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
259 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
260 &quot;blog&quot;: { # Data about the blog containing this comment.
261 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
262 },
263 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
264 &quot;post&quot;: { # Data about the post containing this comment.
265 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
266 },
267 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
268 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
269 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
270 },
271 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
272 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
273 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700274 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700275 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700276 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
277 &quot;image&quot;: { # The creator&#x27;s avatar.
278 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
279 },
280 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700281 },
282 },
283 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700284 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700285 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
286 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700287 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
288 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
289 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
290 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
291 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
292 &quot;blog&quot;: { # Data about the blog containing this Post.
293 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
294 },
295 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
296 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
297 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
298 &quot;author&quot;: { # The author of this Post.
299 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
300 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
301 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
302 &quot;image&quot;: { # The creator&#x27;s avatar.
303 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
304 },
305 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700306 &quot;images&quot;: [ # Display image for the Post.
307 {
308 &quot;url&quot;: &quot;A String&quot;,
309 },
310 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700311 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
312 &quot;location&quot;: { # The location for geotagged posts.
313 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
314 &quot;name&quot;: &quot;A String&quot;, # Location name.
315 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
316 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
317 },
318 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
319 &quot;A String&quot;,
320 ],
321 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
322 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700323 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
John Asmuth614db982014-04-24 15:46:26 -0400324 }</pre>
325</div>
326
327<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700328 <code class="details" id="insert">insert(blogId, body=None, fetchBody=None, fetchImages=None, isDraft=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{
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700337 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700338 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700339 &quot;items&quot;: [ # The List of Comments for this Post.
340 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700341 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
342 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
343 &quot;blog&quot;: { # Data about the blog containing this comment.
344 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
345 },
346 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
347 &quot;post&quot;: { # Data about the post containing this comment.
348 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
349 },
350 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
351 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
352 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
353 },
354 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
355 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
356 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700357 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700358 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700359 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
360 &quot;image&quot;: { # The creator&#x27;s avatar.
361 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
362 },
363 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700364 },
365 },
366 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700367 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700368 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
369 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700370 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
371 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
372 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
373 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
374 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
375 &quot;blog&quot;: { # Data about the blog containing this Post.
376 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
377 },
378 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
379 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
380 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
381 &quot;author&quot;: { # The author of this Post.
382 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
383 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
384 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
385 &quot;image&quot;: { # The creator&#x27;s avatar.
386 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
387 },
388 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700389 &quot;images&quot;: [ # Display image for the Post.
390 {
391 &quot;url&quot;: &quot;A String&quot;,
392 },
393 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700394 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
395 &quot;location&quot;: { # The location for geotagged posts.
396 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
397 &quot;name&quot;: &quot;A String&quot;, # Location name.
398 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
399 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
400 },
401 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
402 &quot;A String&quot;,
403 ],
404 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
405 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700406 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
John Asmuth614db982014-04-24 15:46:26 -0400407}
408
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700409 fetchBody: boolean, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700410 fetchImages: boolean, A parameter
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700411 isDraft: 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 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700421 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700422 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700423 &quot;items&quot;: [ # The List of Comments for this Post.
424 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700425 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
426 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
427 &quot;blog&quot;: { # Data about the blog containing this comment.
428 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
429 },
430 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
431 &quot;post&quot;: { # Data about the post containing this comment.
432 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
433 },
434 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
435 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
436 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
437 },
438 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
439 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
440 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700441 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700442 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700443 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
444 &quot;image&quot;: { # The creator&#x27;s avatar.
445 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
446 },
447 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700448 },
449 },
450 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700451 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700452 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
453 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700454 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
455 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
456 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
457 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
458 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
459 &quot;blog&quot;: { # Data about the blog containing this Post.
460 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
461 },
462 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
463 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
464 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
465 &quot;author&quot;: { # The author of this Post.
466 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
467 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
468 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
469 &quot;image&quot;: { # The creator&#x27;s avatar.
470 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
471 },
472 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700473 &quot;images&quot;: [ # Display image for the Post.
474 {
475 &quot;url&quot;: &quot;A String&quot;,
476 },
477 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700478 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
479 &quot;location&quot;: { # The location for geotagged posts.
480 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
481 &quot;name&quot;: &quot;A String&quot;, # Location name.
482 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
483 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
484 },
485 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
486 &quot;A String&quot;,
487 ],
488 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
489 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700490 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
John Asmuth614db982014-04-24 15:46:26 -0400491 }</pre>
492</div>
493
494<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700495 <code class="details" id="list">list(blogId, startDate=None, fetchBodies=None, fetchImages=None, status=None, orderBy=None, labels=None, view=None, endDate=None, pageToken=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)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700500 startDate: string, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700501 fetchBodies: boolean, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700502 fetchImages: boolean, 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 orderBy: string, A parameter
509 Allowed values
510 ORDER_BY_UNSPECIFIED -
511 PUBLISHED -
512 UPDATED -
513 labels: string, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700514 view: string, A parameter
515 Allowed values
516 VIEW_TYPE_UNSPECIFIED -
517 READER -
518 AUTHOR -
519 ADMIN -
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700520 endDate: string, A parameter
521 pageToken: string, 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 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700532 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
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 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700535 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700536 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700537 &quot;items&quot;: [ # The List of Comments for this Post.
538 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700539 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
540 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
541 &quot;blog&quot;: { # Data about the blog containing this comment.
542 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
543 },
544 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
545 &quot;post&quot;: { # Data about the post containing this comment.
546 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
547 },
548 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
549 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
550 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
551 },
552 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
553 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
554 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700555 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700556 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700557 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
558 &quot;image&quot;: { # The creator&#x27;s avatar.
559 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
560 },
561 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700562 },
563 },
564 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700565 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700566 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
567 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700568 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
569 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
570 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
571 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
572 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
573 &quot;blog&quot;: { # Data about the blog containing this Post.
574 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
575 },
576 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
577 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
578 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
579 &quot;author&quot;: { # The author of this Post.
580 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
581 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
582 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
583 &quot;image&quot;: { # The creator&#x27;s avatar.
584 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
585 },
586 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700587 &quot;images&quot;: [ # Display image for the Post.
588 {
589 &quot;url&quot;: &quot;A String&quot;,
590 },
591 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700592 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
593 &quot;location&quot;: { # The location for geotagged posts.
594 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
595 &quot;name&quot;: &quot;A String&quot;, # Location name.
596 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
597 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
598 },
599 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
600 &quot;A String&quot;,
601 ],
602 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
603 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700604 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
John Asmuth614db982014-04-24 15:46:26 -0400605 },
606 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700607 &quot;prevPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the previous page, if one exists.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700608 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
609 &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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700628 <code class="details" id="patch">patch(blogId, postId, body=None, maxComments=None, revert=None, fetchBody=None, fetchImages=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{
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700638 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700639 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700640 &quot;items&quot;: [ # The List of Comments for this Post.
641 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700642 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
643 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
644 &quot;blog&quot;: { # Data about the blog containing this comment.
645 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
646 },
647 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
648 &quot;post&quot;: { # Data about the post containing this comment.
649 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
650 },
651 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
652 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
653 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
654 },
655 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
656 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
657 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700658 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700659 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700660 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
661 &quot;image&quot;: { # The creator&#x27;s avatar.
662 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
663 },
664 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700665 },
666 },
667 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700668 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700669 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
670 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700671 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
672 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
673 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
674 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
675 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
676 &quot;blog&quot;: { # Data about the blog containing this Post.
677 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
678 },
679 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
680 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
681 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
682 &quot;author&quot;: { # The author of this Post.
683 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
684 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
685 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
686 &quot;image&quot;: { # The creator&#x27;s avatar.
687 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
688 },
689 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700690 &quot;images&quot;: [ # Display image for the Post.
691 {
692 &quot;url&quot;: &quot;A String&quot;,
693 },
694 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700695 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
696 &quot;location&quot;: { # The location for geotagged posts.
697 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
698 &quot;name&quot;: &quot;A String&quot;, # Location name.
699 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
700 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
701 },
702 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
703 &quot;A String&quot;,
704 ],
705 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
706 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700707 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
John Asmuth614db982014-04-24 15:46:26 -0400708}
709
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700710 maxComments: integer, A parameter
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700711 revert: boolean, A parameter
712 fetchBody: boolean, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700713 fetchImages: boolean, 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 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700724 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700725 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700726 &quot;items&quot;: [ # The List of Comments for this Post.
727 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700728 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
729 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
730 &quot;blog&quot;: { # Data about the blog containing this comment.
731 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
732 },
733 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
734 &quot;post&quot;: { # Data about the post containing this comment.
735 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
736 },
737 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
738 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
739 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
740 },
741 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
742 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
743 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700744 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700745 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700746 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
747 &quot;image&quot;: { # The creator&#x27;s avatar.
748 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
749 },
750 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700751 },
752 },
753 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700754 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700755 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
756 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700757 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
758 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
759 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
760 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
761 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
762 &quot;blog&quot;: { # Data about the blog containing this Post.
763 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
764 },
765 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
766 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
767 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
768 &quot;author&quot;: { # The author of this Post.
769 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
770 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
771 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
772 &quot;image&quot;: { # The creator&#x27;s avatar.
773 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
774 },
775 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700776 &quot;images&quot;: [ # Display image for the Post.
777 {
778 &quot;url&quot;: &quot;A String&quot;,
779 },
780 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700781 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
782 &quot;location&quot;: { # The location for geotagged posts.
783 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
784 &quot;name&quot;: &quot;A String&quot;, # Location name.
785 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
786 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
787 },
788 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
789 &quot;A String&quot;,
790 ],
791 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
792 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700793 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
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 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700814 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700815 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700816 &quot;items&quot;: [ # The List of Comments for this Post.
817 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700818 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
819 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
820 &quot;blog&quot;: { # Data about the blog containing this comment.
821 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
822 },
823 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
824 &quot;post&quot;: { # Data about the post containing this comment.
825 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
826 },
827 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
828 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
829 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
830 },
831 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
832 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
833 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700834 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700835 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700836 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
837 &quot;image&quot;: { # The creator&#x27;s avatar.
838 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
839 },
840 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700841 },
842 },
843 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700844 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700845 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
846 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700847 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
848 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
849 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
850 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
851 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
852 &quot;blog&quot;: { # Data about the blog containing this Post.
853 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
854 },
855 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
856 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
857 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
858 &quot;author&quot;: { # The author of this Post.
859 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
860 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
861 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
862 &quot;image&quot;: { # The creator&#x27;s avatar.
863 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
864 },
865 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700866 &quot;images&quot;: [ # Display image for the Post.
867 {
868 &quot;url&quot;: &quot;A String&quot;,
869 },
870 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700871 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
872 &quot;location&quot;: { # The location for geotagged posts.
873 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
874 &quot;name&quot;: &quot;A String&quot;, # Location name.
875 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
876 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
877 },
878 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
879 &quot;A String&quot;,
880 ],
881 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
882 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700883 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
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 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700903 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700904 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700905 &quot;items&quot;: [ # The List of Comments for this Post.
906 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700907 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
908 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
909 &quot;blog&quot;: { # Data about the blog containing this comment.
910 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
911 },
912 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
913 &quot;post&quot;: { # Data about the post containing this comment.
914 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
915 },
916 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
917 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
918 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
919 },
920 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
921 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
922 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700923 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700924 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700925 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
926 &quot;image&quot;: { # The creator&#x27;s avatar.
927 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
928 },
929 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700930 },
931 },
932 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700933 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700934 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
935 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700936 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
937 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
938 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
939 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
940 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
941 &quot;blog&quot;: { # Data about the blog containing this Post.
942 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
943 },
944 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
945 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
946 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
947 &quot;author&quot;: { # The author of this Post.
948 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
949 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
950 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
951 &quot;image&quot;: { # The creator&#x27;s avatar.
952 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
953 },
954 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700955 &quot;images&quot;: [ # Display image for the Post.
956 {
957 &quot;url&quot;: &quot;A String&quot;,
958 },
959 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700960 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
961 &quot;location&quot;: { # The location for geotagged posts.
962 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
963 &quot;name&quot;: &quot;A String&quot;, # Location name.
964 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
965 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
966 },
967 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
968 &quot;A String&quot;,
969 ],
970 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
971 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700972 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700973 }</pre>
974</div>
975
976<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700977 <code class="details" id="search">search(blogId, q, orderBy=None, fetchBodies=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)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700983 orderBy: string, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700984 Allowed values
985 ORDER_BY_UNSPECIFIED -
986 PUBLISHED -
987 UPDATED -
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700988 fetchBodies: boolean, A parameter
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 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700998 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
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 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001001 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001002 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001003 &quot;items&quot;: [ # The List of Comments for this Post.
1004 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001005 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
1006 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1007 &quot;blog&quot;: { # Data about the blog containing this comment.
1008 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
1009 },
1010 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1011 &quot;post&quot;: { # Data about the post containing this comment.
1012 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
1013 },
1014 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
1015 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1016 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1017 },
1018 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1019 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1020 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001021 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001022 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001023 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1024 &quot;image&quot;: { # The creator&#x27;s avatar.
1025 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1026 },
1027 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001028 },
1029 },
1030 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001031 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001032 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1033 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001034 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
1035 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
1036 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1037 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1038 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
1039 &quot;blog&quot;: { # Data about the blog containing this Post.
1040 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
1041 },
1042 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1043 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1044 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
1045 &quot;author&quot;: { # The author of this Post.
1046 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1047 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1048 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1049 &quot;image&quot;: { # The creator&#x27;s avatar.
1050 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1051 },
1052 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001053 &quot;images&quot;: [ # Display image for the Post.
1054 {
1055 &quot;url&quot;: &quot;A String&quot;,
1056 },
1057 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001058 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1059 &quot;location&quot;: { # The location for geotagged posts.
1060 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
1061 &quot;name&quot;: &quot;A String&quot;, # Location name.
1062 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
1063 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
1064 },
1065 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1066 &quot;A String&quot;,
1067 ],
1068 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1069 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001070 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
John Asmuth614db982014-04-24 15:46:26 -04001071 },
1072 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001073 &quot;prevPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the previous page, if one exists.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001074 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
1075 &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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001080 <code class="details" id="update">update(blogId, postId, body=None, revert=None, publish=None, maxComments=None, fetchImages=None, fetchBody=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{
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001090 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001091 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001092 &quot;items&quot;: [ # The List of Comments for this Post.
1093 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001094 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
1095 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1096 &quot;blog&quot;: { # Data about the blog containing this comment.
1097 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
1098 },
1099 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1100 &quot;post&quot;: { # Data about the post containing this comment.
1101 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
1102 },
1103 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
1104 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1105 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1106 },
1107 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1108 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1109 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001110 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001111 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001112 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1113 &quot;image&quot;: { # The creator&#x27;s avatar.
1114 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1115 },
1116 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001117 },
1118 },
1119 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001120 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001121 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1122 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001123 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
1124 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
1125 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1126 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1127 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
1128 &quot;blog&quot;: { # Data about the blog containing this Post.
1129 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
1130 },
1131 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1132 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1133 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
1134 &quot;author&quot;: { # The author of this Post.
1135 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1136 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1137 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1138 &quot;image&quot;: { # The creator&#x27;s avatar.
1139 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1140 },
1141 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001142 &quot;images&quot;: [ # Display image for the Post.
1143 {
1144 &quot;url&quot;: &quot;A String&quot;,
1145 },
1146 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001147 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1148 &quot;location&quot;: { # The location for geotagged posts.
1149 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
1150 &quot;name&quot;: &quot;A String&quot;, # Location name.
1151 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
1152 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
1153 },
1154 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1155 &quot;A String&quot;,
1156 ],
1157 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1158 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001159 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
John Asmuth614db982014-04-24 15:46:26 -04001160}
1161
Bu Sun Kim65020912020-05-20 12:08:20 -07001162 revert: boolean, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001163 publish: boolean, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001164 maxComments: integer, A parameter
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001165 fetchImages: boolean, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001166 fetchBody: 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 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001176 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001177 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001178 &quot;items&quot;: [ # The List of Comments for this Post.
1179 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001180 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
1181 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1182 &quot;blog&quot;: { # Data about the blog containing this comment.
1183 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
1184 },
1185 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1186 &quot;post&quot;: { # Data about the post containing this comment.
1187 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
1188 },
1189 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
1190 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1191 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1192 },
1193 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1194 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1195 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001196 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001197 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001198 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1199 &quot;image&quot;: { # The creator&#x27;s avatar.
1200 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1201 },
1202 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001203 },
1204 },
1205 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001206 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001207 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1208 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001209 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
1210 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
1211 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1212 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1213 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
1214 &quot;blog&quot;: { # Data about the blog containing this Post.
1215 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
1216 },
1217 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1218 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1219 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
1220 &quot;author&quot;: { # The author of this Post.
1221 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1222 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1223 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1224 &quot;image&quot;: { # The creator&#x27;s avatar.
1225 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1226 },
1227 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001228 &quot;images&quot;: [ # Display image for the Post.
1229 {
1230 &quot;url&quot;: &quot;A String&quot;,
1231 },
1232 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001233 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1234 &quot;location&quot;: { # The location for geotagged posts.
1235 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
1236 &quot;name&quot;: &quot;A String&quot;, # Location name.
1237 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
1238 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
1239 },
1240 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1241 &quot;A String&quot;,
1242 ],
1243 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1244 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001245 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
John Asmuth614db982014-04-24 15:46:26 -04001246 }</pre>
1247</div>
1248
1249</body></html>