blob: 50f28d6766cc5d1a0afad0195cd542de489836fd [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">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#delete">delete(blogId, postId, x__xgafv=None)</a></code></p>
79<p class="firstline">Deletes a post by blog id and post id.</p>
John Asmuth614db982014-04-24 15:46:26 -040080<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070081 <code><a href="#get">get(blogId, postId, fetchBody=None, maxComments=None, fetchImages=None, view=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070082<p class="firstline">Gets a post by blog id and post id</p>
John Asmuth614db982014-04-24 15:46:26 -040083<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070084 <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 -070085<p class="firstline">Gets a post by path.</p>
John Asmuth614db982014-04-24 15:46:26 -040086<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070087 <code><a href="#insert">insert(blogId, body=None, isDraft=None, fetchBody=None, fetchImages=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070088<p class="firstline">Inserts a post.</p>
John Asmuth614db982014-04-24 15:46:26 -040089<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070090 <code><a href="#list">list(blogId, orderBy=None, endDate=None, fetchBodies=None, startDate=None, status=None, view=None, maxResults=None, fetchImages=None, labels=None, pageToken=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070091<p class="firstline">Lists posts.</p>
John Asmuth614db982014-04-24 15:46:26 -040092<p class="toc_element">
93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94<p class="firstline">Retrieves the next page of results.</p>
95<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070096 <code><a href="#patch">patch(blogId, postId, body=None, fetchBody=None, maxComments=None, publish=None, revert=None, fetchImages=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070097<p class="firstline">Patches a post.</p>
John Asmuth614db982014-04-24 15:46:26 -040098<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070099 <code><a href="#publish">publish(blogId, postId, publishDate=None, x__xgafv=None)</a></code></p>
100<p class="firstline">Publishes 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="#revert">revert(blogId, postId, x__xgafv=None)</a></code></p>
103<p class="firstline">Reverts a published or scheduled post to draft state.</p>
John Asmuth614db982014-04-24 15:46:26 -0400104<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -0700105 <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 -0700106<p class="firstline">Searches for posts matching given query terms in the specified blog.</p>
John Asmuth614db982014-04-24 15:46:26 -0400107<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -0700108 <code><a href="#update">update(blogId, postId, body=None, maxComments=None, fetchBody=None, revert=None, publish=None, fetchImages=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -0700109<p class="firstline">Updates a post by blog id and post id.</p>
John Asmuth614db982014-04-24 15:46:26 -0400110<h3>Method Details</h3>
111<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700112 <code class="details" id="delete">delete(blogId, postId, x__xgafv=None)</code>
113 <pre>Deletes a post by blog id and post id.
John Asmuth614db982014-04-24 15:46:26 -0400114
115Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700116 blogId: string, A parameter (required)
117 postId: string, A parameter (required)
118 x__xgafv: string, V1 error format.
119 Allowed values
120 1 - v1 error format
121 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400122</pre>
123</div>
124
125<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700126 <code class="details" id="get">get(blogId, postId, fetchBody=None, maxComments=None, fetchImages=None, view=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700127 <pre>Gets a post by blog id and post id
John Asmuth614db982014-04-24 15:46:26 -0400128
129Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700130 blogId: string, A parameter (required)
131 postId: string, A parameter (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700132 fetchBody: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700133 maxComments: integer, A parameter
134 fetchImages: boolean, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -0700135 view: string, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700136 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400137 Allowed values
Dan O'Mearadd494642020-05-01 07:42:23 -0700138 1 - v1 error format
139 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400140
141Returns:
142 An object of the form:
143
144 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700145 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
146 &quot;replies&quot;: { # The container of comments on this Post.
147 &quot;items&quot;: [ # The List of Comments for this Post.
John Asmuth614db982014-04-24 15:46:26 -0400148 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700149 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
150 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
151 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
152 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
153 &quot;blog&quot;: { # Data about the blog containing this comment.
154 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
John Asmuth614db982014-04-24 15:46:26 -0400155 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700156 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
157 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
158 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
159 },
160 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
161 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
162 &quot;author&quot;: { # The author of this Comment.
163 &quot;image&quot;: { # The creator&#x27;s avatar.
164 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -0400165 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700166 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
167 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
168 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -0400169 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700170 &quot;post&quot;: { # Data about the post containing this comment.
171 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
John Asmuth614db982014-04-24 15:46:26 -0400172 },
John Asmuth614db982014-04-24 15:46:26 -0400173 },
174 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700175 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
176 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
John Asmuth614db982014-04-24 15:46:26 -0400177 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700178 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
179 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
180 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400181 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700182 &quot;author&quot;: { # The author of this Post.
183 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
184 &quot;image&quot;: { # The creator&#x27;s avatar.
185 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
186 },
187 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
188 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
John Asmuth614db982014-04-24 15:46:26 -0400189 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700190 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -0400191 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700192 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400193 },
194 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700195 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
196 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
197 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
198 &quot;blog&quot;: { # Data about the blog containing this Post.
199 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
200 },
201 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
202 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
203 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
204 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
205 &quot;location&quot;: { # The location for geotagged posts.
206 &quot;name&quot;: &quot;A String&quot;, # Location name.
207 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
208 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
209 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
210 },
211 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
212 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
213 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
214 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
John Asmuth614db982014-04-24 15:46:26 -0400215 }</pre>
216</div>
217
218<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700219 <code class="details" id="getByPath">getByPath(blogId, path, view=None, maxComments=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700220 <pre>Gets a post by path.
John Asmuth614db982014-04-24 15:46:26 -0400221
222Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700223 blogId: string, A parameter (required)
224 path: string, A parameter (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700225 view: string, A parameter
226 maxComments: integer, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700227 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400228 Allowed values
Dan O'Mearadd494642020-05-01 07:42:23 -0700229 1 - v1 error format
230 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400231
232Returns:
233 An object of the form:
234
235 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700236 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
237 &quot;replies&quot;: { # The container of comments on this Post.
238 &quot;items&quot;: [ # The List of Comments for this Post.
John Asmuth614db982014-04-24 15:46:26 -0400239 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700240 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
241 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
242 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
243 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
244 &quot;blog&quot;: { # Data about the blog containing this comment.
245 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
John Asmuth614db982014-04-24 15:46:26 -0400246 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700247 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
248 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
249 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
250 },
251 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
252 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
253 &quot;author&quot;: { # The author of this Comment.
254 &quot;image&quot;: { # The creator&#x27;s avatar.
255 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -0400256 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700257 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
258 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
259 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -0400260 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700261 &quot;post&quot;: { # Data about the post containing this comment.
262 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
John Asmuth614db982014-04-24 15:46:26 -0400263 },
John Asmuth614db982014-04-24 15:46:26 -0400264 },
265 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700266 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
267 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
John Asmuth614db982014-04-24 15:46:26 -0400268 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700269 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
270 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
271 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400272 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700273 &quot;author&quot;: { # The author of this Post.
274 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
275 &quot;image&quot;: { # The creator&#x27;s avatar.
276 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
277 },
278 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
279 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
John Asmuth614db982014-04-24 15:46:26 -0400280 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700281 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -0400282 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700283 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400284 },
285 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700286 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
287 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
288 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
289 &quot;blog&quot;: { # Data about the blog containing this Post.
290 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
291 },
292 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
293 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
294 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
295 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
296 &quot;location&quot;: { # The location for geotagged posts.
297 &quot;name&quot;: &quot;A String&quot;, # Location name.
298 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
299 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
300 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
301 },
302 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
303 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
304 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
305 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
John Asmuth614db982014-04-24 15:46:26 -0400306 }</pre>
307</div>
308
309<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700310 <code class="details" id="insert">insert(blogId, body=None, isDraft=None, fetchBody=None, fetchImages=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700311 <pre>Inserts a post.
John Asmuth614db982014-04-24 15:46:26 -0400312
313Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700314 blogId: string, A parameter (required)
315 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400316 The object takes the form of:
317
318{
Bu Sun Kim65020912020-05-20 12:08:20 -0700319 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
320 &quot;replies&quot;: { # The container of comments on this Post.
321 &quot;items&quot;: [ # The List of Comments for this Post.
John Asmuth614db982014-04-24 15:46:26 -0400322 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700323 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
324 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
325 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
326 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
327 &quot;blog&quot;: { # Data about the blog containing this comment.
328 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
John Asmuth614db982014-04-24 15:46:26 -0400329 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700330 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
331 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
332 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
333 },
334 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
335 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
336 &quot;author&quot;: { # The author of this Comment.
337 &quot;image&quot;: { # The creator&#x27;s avatar.
338 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -0400339 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700340 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
341 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
342 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -0400343 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700344 &quot;post&quot;: { # Data about the post containing this comment.
345 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
John Asmuth614db982014-04-24 15:46:26 -0400346 },
John Asmuth614db982014-04-24 15:46:26 -0400347 },
348 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700349 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
350 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
John Asmuth614db982014-04-24 15:46:26 -0400351 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700352 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
353 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
354 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400355 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700356 &quot;author&quot;: { # The author of this Post.
357 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
358 &quot;image&quot;: { # The creator&#x27;s avatar.
359 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
360 },
361 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
362 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
John Asmuth614db982014-04-24 15:46:26 -0400363 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700364 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -0400365 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700366 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400367 },
368 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700369 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
370 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
371 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
372 &quot;blog&quot;: { # Data about the blog containing this Post.
373 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
374 },
375 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
376 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
377 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
378 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
379 &quot;location&quot;: { # The location for geotagged posts.
380 &quot;name&quot;: &quot;A String&quot;, # Location name.
381 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
382 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
383 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
384 },
385 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
386 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
387 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
388 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
John Asmuth614db982014-04-24 15:46:26 -0400389}
390
Dan O'Mearadd494642020-05-01 07:42:23 -0700391 isDraft: boolean, A parameter
392 fetchBody: boolean, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -0700393 fetchImages: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700394 x__xgafv: string, V1 error format.
395 Allowed values
396 1 - v1 error format
397 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400398
399Returns:
400 An object of the form:
401
402 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700403 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
404 &quot;replies&quot;: { # The container of comments on this Post.
405 &quot;items&quot;: [ # The List of Comments for this Post.
John Asmuth614db982014-04-24 15:46:26 -0400406 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700407 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
408 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
409 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
410 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
411 &quot;blog&quot;: { # Data about the blog containing this comment.
412 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
John Asmuth614db982014-04-24 15:46:26 -0400413 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700414 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
415 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
416 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
417 },
418 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
419 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
420 &quot;author&quot;: { # The author of this Comment.
421 &quot;image&quot;: { # The creator&#x27;s avatar.
422 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -0400423 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700424 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
425 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
426 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -0400427 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700428 &quot;post&quot;: { # Data about the post containing this comment.
429 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
John Asmuth614db982014-04-24 15:46:26 -0400430 },
John Asmuth614db982014-04-24 15:46:26 -0400431 },
432 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700433 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
434 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
John Asmuth614db982014-04-24 15:46:26 -0400435 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700436 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
437 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
438 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400439 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700440 &quot;author&quot;: { # The author of this Post.
441 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
442 &quot;image&quot;: { # The creator&#x27;s avatar.
443 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
444 },
445 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
446 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
John Asmuth614db982014-04-24 15:46:26 -0400447 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700448 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -0400449 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700450 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400451 },
452 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700453 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
454 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
455 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
456 &quot;blog&quot;: { # Data about the blog containing this Post.
457 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
458 },
459 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
460 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
461 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
462 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
463 &quot;location&quot;: { # The location for geotagged posts.
464 &quot;name&quot;: &quot;A String&quot;, # Location name.
465 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
466 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
467 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
468 },
469 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
470 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
471 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
472 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
John Asmuth614db982014-04-24 15:46:26 -0400473 }</pre>
474</div>
475
476<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700477 <code class="details" id="list">list(blogId, orderBy=None, endDate=None, fetchBodies=None, startDate=None, status=None, view=None, maxResults=None, fetchImages=None, labels=None, pageToken=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700478 <pre>Lists posts.
John Asmuth614db982014-04-24 15:46:26 -0400479
480Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700481 blogId: string, A parameter (required)
482 orderBy: string, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700483 endDate: string, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -0700484 fetchBodies: boolean, A parameter
485 startDate: string, A parameter
486 status: string, A parameter (repeated)
487 view: string, A parameter
488 maxResults: integer, A parameter
489 fetchImages: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700490 labels: string, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -0700491 pageToken: string, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700492 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400493 Allowed values
Dan O'Mearadd494642020-05-01 07:42:23 -0700494 1 - v1 error format
495 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400496
497Returns:
498 An object of the form:
499
500 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700501 &quot;items&quot;: [ # The list of Posts for this Blog.
John Asmuth614db982014-04-24 15:46:26 -0400502 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700503 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
504 &quot;replies&quot;: { # The container of comments on this Post.
505 &quot;items&quot;: [ # The List of Comments for this Post.
John Asmuth614db982014-04-24 15:46:26 -0400506 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700507 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
508 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
509 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
510 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
511 &quot;blog&quot;: { # Data about the blog containing this comment.
512 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
John Asmuth614db982014-04-24 15:46:26 -0400513 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700514 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
515 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
516 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
517 },
518 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
519 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
520 &quot;author&quot;: { # The author of this Comment.
521 &quot;image&quot;: { # The creator&#x27;s avatar.
522 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -0400523 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700524 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
525 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
526 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -0400527 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700528 &quot;post&quot;: { # Data about the post containing this comment.
529 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
John Asmuth614db982014-04-24 15:46:26 -0400530 },
John Asmuth614db982014-04-24 15:46:26 -0400531 },
532 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700533 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
534 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
John Asmuth614db982014-04-24 15:46:26 -0400535 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700536 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
537 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
538 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400539 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700540 &quot;author&quot;: { # The author of this Post.
541 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
542 &quot;image&quot;: { # The creator&#x27;s avatar.
543 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
544 },
545 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
546 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
John Asmuth614db982014-04-24 15:46:26 -0400547 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700548 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -0400549 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700550 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400551 },
552 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700553 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
554 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
555 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
556 &quot;blog&quot;: { # Data about the blog containing this Post.
557 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
558 },
559 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
560 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
561 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
562 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
563 &quot;location&quot;: { # The location for geotagged posts.
564 &quot;name&quot;: &quot;A String&quot;, # Location name.
565 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
566 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
567 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
568 },
569 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
570 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
571 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
572 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
John Asmuth614db982014-04-24 15:46:26 -0400573 },
574 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700575 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postList.
576 &quot;prevPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the previous page, if one exists.
577 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
578 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
John Asmuth614db982014-04-24 15:46:26 -0400579 }</pre>
580</div>
581
582<div class="method">
583 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
584 <pre>Retrieves the next page of results.
585
586Args:
587 previous_request: The request for the previous page. (required)
588 previous_response: The response from the request for the previous page. (required)
589
590Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700591 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -0400592 page. Returns None if there are no more items in the collection.
593 </pre>
594</div>
595
596<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700597 <code class="details" id="patch">patch(blogId, postId, body=None, fetchBody=None, maxComments=None, publish=None, revert=None, fetchImages=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700598 <pre>Patches a post.
John Asmuth614db982014-04-24 15:46:26 -0400599
600Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700601 blogId: string, A parameter (required)
602 postId: string, A parameter (required)
603 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400604 The object takes the form of:
605
606{
Bu Sun Kim65020912020-05-20 12:08:20 -0700607 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
608 &quot;replies&quot;: { # The container of comments on this Post.
609 &quot;items&quot;: [ # The List of Comments for this Post.
John Asmuth614db982014-04-24 15:46:26 -0400610 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700611 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
612 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
613 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
614 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
615 &quot;blog&quot;: { # Data about the blog containing this comment.
616 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
John Asmuth614db982014-04-24 15:46:26 -0400617 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700618 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
619 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
620 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
621 },
622 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
623 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
624 &quot;author&quot;: { # The author of this Comment.
625 &quot;image&quot;: { # The creator&#x27;s avatar.
626 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -0400627 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700628 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
629 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
630 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -0400631 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700632 &quot;post&quot;: { # Data about the post containing this comment.
633 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
John Asmuth614db982014-04-24 15:46:26 -0400634 },
John Asmuth614db982014-04-24 15:46:26 -0400635 },
636 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700637 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
638 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
John Asmuth614db982014-04-24 15:46:26 -0400639 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700640 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
641 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
642 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400643 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700644 &quot;author&quot;: { # The author of this Post.
645 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
646 &quot;image&quot;: { # The creator&#x27;s avatar.
647 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
648 },
649 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
650 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
John Asmuth614db982014-04-24 15:46:26 -0400651 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700652 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -0400653 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700654 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400655 },
656 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700657 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
658 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
659 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
660 &quot;blog&quot;: { # Data about the blog containing this Post.
661 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
662 },
663 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
664 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
665 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
666 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
667 &quot;location&quot;: { # The location for geotagged posts.
668 &quot;name&quot;: &quot;A String&quot;, # Location name.
669 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
670 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
671 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
672 },
673 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
674 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
675 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
676 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
John Asmuth614db982014-04-24 15:46:26 -0400677}
678
Bu Sun Kim65020912020-05-20 12:08:20 -0700679 fetchBody: boolean, A parameter
680 maxComments: integer, A parameter
681 publish: boolean, A parameter
682 revert: boolean, A parameter
683 fetchImages: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700684 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400685 Allowed values
Dan O'Mearadd494642020-05-01 07:42:23 -0700686 1 - v1 error format
687 2 - v2 error format
Dan O'Mearadd494642020-05-01 07:42:23 -0700688
689Returns:
690 An object of the form:
691
692 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700693 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
694 &quot;replies&quot;: { # The container of comments on this Post.
695 &quot;items&quot;: [ # The List of Comments for this Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700696 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700697 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
698 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
699 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
700 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
701 &quot;blog&quot;: { # Data about the blog containing this comment.
702 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
Dan O'Mearadd494642020-05-01 07:42:23 -0700703 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700704 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
705 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
706 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
707 },
708 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
709 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
710 &quot;author&quot;: { # The author of this Comment.
711 &quot;image&quot;: { # The creator&#x27;s avatar.
712 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700713 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700714 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
715 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
716 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Dan O'Mearadd494642020-05-01 07:42:23 -0700717 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700718 &quot;post&quot;: { # Data about the post containing this comment.
719 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Dan O'Mearadd494642020-05-01 07:42:23 -0700720 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700721 },
722 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700723 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
724 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700725 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700726 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
727 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
728 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700729 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700730 &quot;author&quot;: { # The author of this Post.
731 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
732 &quot;image&quot;: { # The creator&#x27;s avatar.
733 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
734 },
735 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
736 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Dan O'Mearadd494642020-05-01 07:42:23 -0700737 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700738 &quot;images&quot;: [ # Display image for the Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700739 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700740 &quot;url&quot;: &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700741 },
742 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700743 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
744 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
745 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
746 &quot;blog&quot;: { # Data about the blog containing this Post.
747 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
748 },
749 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
750 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
751 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
752 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
753 &quot;location&quot;: { # The location for geotagged posts.
754 &quot;name&quot;: &quot;A String&quot;, # Location name.
755 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
756 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
757 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
758 },
759 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
760 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
761 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
762 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700763 }</pre>
764</div>
765
766<div class="method">
767 <code class="details" id="publish">publish(blogId, postId, publishDate=None, x__xgafv=None)</code>
768 <pre>Publishes a post.
769
770Args:
771 blogId: string, A parameter (required)
772 postId: string, A parameter (required)
773 publishDate: string, A parameter
774 x__xgafv: string, V1 error format.
775 Allowed values
776 1 - v1 error format
777 2 - v2 error format
778
779Returns:
780 An object of the form:
781
782 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700783 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
784 &quot;replies&quot;: { # The container of comments on this Post.
785 &quot;items&quot;: [ # The List of Comments for this Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700786 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700787 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
788 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
789 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
790 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
791 &quot;blog&quot;: { # Data about the blog containing this comment.
792 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
Dan O'Mearadd494642020-05-01 07:42:23 -0700793 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700794 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
795 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
796 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
797 },
798 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
799 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
800 &quot;author&quot;: { # The author of this Comment.
801 &quot;image&quot;: { # The creator&#x27;s avatar.
802 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700803 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700804 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
805 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
806 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Dan O'Mearadd494642020-05-01 07:42:23 -0700807 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700808 &quot;post&quot;: { # Data about the post containing this comment.
809 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Dan O'Mearadd494642020-05-01 07:42:23 -0700810 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700811 },
812 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700813 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
814 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700815 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700816 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
817 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
818 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700819 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700820 &quot;author&quot;: { # The author of this Post.
821 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
822 &quot;image&quot;: { # The creator&#x27;s avatar.
823 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
824 },
825 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
826 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Dan O'Mearadd494642020-05-01 07:42:23 -0700827 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700828 &quot;images&quot;: [ # Display image for the Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700829 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700830 &quot;url&quot;: &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700831 },
832 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700833 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
834 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
835 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
836 &quot;blog&quot;: { # Data about the blog containing this Post.
837 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
838 },
839 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
840 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
841 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
842 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
843 &quot;location&quot;: { # The location for geotagged posts.
844 &quot;name&quot;: &quot;A String&quot;, # Location name.
845 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
846 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
847 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
848 },
849 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
850 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
851 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
852 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700853 }</pre>
854</div>
855
856<div class="method">
857 <code class="details" id="revert">revert(blogId, postId, x__xgafv=None)</code>
858 <pre>Reverts a published or scheduled post to draft state.
859
860Args:
861 blogId: string, A parameter (required)
862 postId: string, A parameter (required)
863 x__xgafv: string, V1 error format.
864 Allowed values
865 1 - v1 error format
866 2 - v2 error format
867
868Returns:
869 An object of the form:
870
871 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700872 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
873 &quot;replies&quot;: { # The container of comments on this Post.
874 &quot;items&quot;: [ # The List of Comments for this Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700875 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700876 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
877 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
878 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
879 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
880 &quot;blog&quot;: { # Data about the blog containing this comment.
881 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
Dan O'Mearadd494642020-05-01 07:42:23 -0700882 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700883 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
884 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
885 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
886 },
887 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
888 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
889 &quot;author&quot;: { # The author of this Comment.
890 &quot;image&quot;: { # The creator&#x27;s avatar.
891 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700892 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700893 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
894 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
895 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Dan O'Mearadd494642020-05-01 07:42:23 -0700896 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700897 &quot;post&quot;: { # Data about the post containing this comment.
898 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Dan O'Mearadd494642020-05-01 07:42:23 -0700899 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700900 },
901 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700902 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
903 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700904 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700905 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
906 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
907 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700908 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700909 &quot;author&quot;: { # The author of this Post.
910 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
911 &quot;image&quot;: { # The creator&#x27;s avatar.
912 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
913 },
914 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
915 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Dan O'Mearadd494642020-05-01 07:42:23 -0700916 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700917 &quot;images&quot;: [ # Display image for the Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700918 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700919 &quot;url&quot;: &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700920 },
921 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700922 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
923 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
924 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
925 &quot;blog&quot;: { # Data about the blog containing this Post.
926 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
927 },
928 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
929 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
930 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
931 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
932 &quot;location&quot;: { # The location for geotagged posts.
933 &quot;name&quot;: &quot;A String&quot;, # Location name.
934 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
935 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
936 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
937 },
938 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
939 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
940 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
941 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700942 }</pre>
943</div>
944
945<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700946 <code class="details" id="search">search(blogId, q, fetchBodies=None, orderBy=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700947 <pre>Searches for posts matching given query terms in the specified blog.
948
949Args:
950 blogId: string, A parameter (required)
951 q: string, A parameter (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700952 fetchBodies: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700953 orderBy: string, A parameter
954 x__xgafv: string, V1 error format.
955 Allowed values
956 1 - v1 error format
957 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400958
959Returns:
960 An object of the form:
961
962 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700963 &quot;items&quot;: [ # The list of Posts for this Blog.
John Asmuth614db982014-04-24 15:46:26 -0400964 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700965 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
966 &quot;replies&quot;: { # The container of comments on this Post.
967 &quot;items&quot;: [ # The List of Comments for this Post.
John Asmuth614db982014-04-24 15:46:26 -0400968 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700969 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
970 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
971 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
972 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
973 &quot;blog&quot;: { # Data about the blog containing this comment.
974 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
John Asmuth614db982014-04-24 15:46:26 -0400975 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700976 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
977 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
978 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
979 },
980 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
981 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
982 &quot;author&quot;: { # The author of this Comment.
983 &quot;image&quot;: { # The creator&#x27;s avatar.
984 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -0400985 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700986 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
987 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
988 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -0400989 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700990 &quot;post&quot;: { # Data about the post containing this comment.
991 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
John Asmuth614db982014-04-24 15:46:26 -0400992 },
John Asmuth614db982014-04-24 15:46:26 -0400993 },
994 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700995 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
996 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
John Asmuth614db982014-04-24 15:46:26 -0400997 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700998 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
999 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1000 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -04001001 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001002 &quot;author&quot;: { # The author of this Post.
1003 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1004 &quot;image&quot;: { # The creator&#x27;s avatar.
1005 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1006 },
1007 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1008 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
John Asmuth614db982014-04-24 15:46:26 -04001009 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001010 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -04001011 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001012 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -04001013 },
1014 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001015 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
1016 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
1017 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
1018 &quot;blog&quot;: { # Data about the blog containing this Post.
1019 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
1020 },
1021 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1022 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1023 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1024 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
1025 &quot;location&quot;: { # The location for geotagged posts.
1026 &quot;name&quot;: &quot;A String&quot;, # Location name.
1027 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
1028 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
1029 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
1030 },
1031 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1032 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1033 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
1034 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
John Asmuth614db982014-04-24 15:46:26 -04001035 },
1036 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001037 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postList.
1038 &quot;prevPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the previous page, if one exists.
1039 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
1040 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
John Asmuth614db982014-04-24 15:46:26 -04001041 }</pre>
1042</div>
1043
1044<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -07001045 <code class="details" id="update">update(blogId, postId, body=None, maxComments=None, fetchBody=None, revert=None, publish=None, fetchImages=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -07001046 <pre>Updates a post by blog id and post id.
John Asmuth614db982014-04-24 15:46:26 -04001047
1048Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07001049 blogId: string, A parameter (required)
1050 postId: string, A parameter (required)
1051 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -04001052 The object takes the form of:
1053
1054{
Bu Sun Kim65020912020-05-20 12:08:20 -07001055 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
1056 &quot;replies&quot;: { # The container of comments on this Post.
1057 &quot;items&quot;: [ # The List of Comments for this Post.
John Asmuth614db982014-04-24 15:46:26 -04001058 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001059 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
1060 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1061 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1062 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1063 &quot;blog&quot;: { # Data about the blog containing this comment.
1064 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
John Asmuth614db982014-04-24 15:46:26 -04001065 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001066 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
1067 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1068 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1069 },
1070 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
1071 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1072 &quot;author&quot;: { # The author of this Comment.
1073 &quot;image&quot;: { # The creator&#x27;s avatar.
1074 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -04001075 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001076 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1077 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1078 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -04001079 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001080 &quot;post&quot;: { # Data about the post containing this comment.
1081 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
John Asmuth614db982014-04-24 15:46:26 -04001082 },
John Asmuth614db982014-04-24 15:46:26 -04001083 },
1084 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001085 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1086 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
John Asmuth614db982014-04-24 15:46:26 -04001087 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001088 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1089 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1090 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -04001091 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001092 &quot;author&quot;: { # The author of this Post.
1093 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1094 &quot;image&quot;: { # The creator&#x27;s avatar.
1095 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1096 },
1097 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1098 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
John Asmuth614db982014-04-24 15:46:26 -04001099 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001100 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -04001101 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001102 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -04001103 },
1104 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001105 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
1106 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
1107 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
1108 &quot;blog&quot;: { # Data about the blog containing this Post.
1109 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
1110 },
1111 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1112 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1113 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1114 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
1115 &quot;location&quot;: { # The location for geotagged posts.
1116 &quot;name&quot;: &quot;A String&quot;, # Location name.
1117 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
1118 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
1119 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
1120 },
1121 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1122 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1123 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
1124 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
John Asmuth614db982014-04-24 15:46:26 -04001125}
1126
Bu Sun Kim65020912020-05-20 12:08:20 -07001127 maxComments: integer, A parameter
1128 fetchBody: boolean, A parameter
1129 revert: boolean, A parameter
1130 publish: boolean, A parameter
1131 fetchImages: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -07001132 x__xgafv: string, V1 error format.
1133 Allowed values
1134 1 - v1 error format
1135 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -04001136
1137Returns:
1138 An object of the form:
1139
1140 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001141 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
1142 &quot;replies&quot;: { # The container of comments on this Post.
1143 &quot;items&quot;: [ # The List of Comments for this Post.
John Asmuth614db982014-04-24 15:46:26 -04001144 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001145 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
1146 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1147 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1148 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1149 &quot;blog&quot;: { # Data about the blog containing this comment.
1150 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
John Asmuth614db982014-04-24 15:46:26 -04001151 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001152 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
1153 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1154 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1155 },
1156 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
1157 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1158 &quot;author&quot;: { # The author of this Comment.
1159 &quot;image&quot;: { # The creator&#x27;s avatar.
1160 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -04001161 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001162 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1163 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1164 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -04001165 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001166 &quot;post&quot;: { # Data about the post containing this comment.
1167 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
John Asmuth614db982014-04-24 15:46:26 -04001168 },
John Asmuth614db982014-04-24 15:46:26 -04001169 },
1170 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001171 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1172 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
John Asmuth614db982014-04-24 15:46:26 -04001173 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001174 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1175 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1176 &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -04001177 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001178 &quot;author&quot;: { # The author of this Post.
1179 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1180 &quot;image&quot;: { # The creator&#x27;s avatar.
1181 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1182 },
1183 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1184 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
John Asmuth614db982014-04-24 15:46:26 -04001185 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001186 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -04001187 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001188 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -04001189 },
1190 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001191 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
1192 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
1193 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
1194 &quot;blog&quot;: { # Data about the blog containing this Post.
1195 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
1196 },
1197 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1198 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1199 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1200 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
1201 &quot;location&quot;: { # The location for geotagged posts.
1202 &quot;name&quot;: &quot;A String&quot;, # Location name.
1203 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
1204 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
1205 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
1206 },
1207 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1208 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1209 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
1210 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
John Asmuth614db982014-04-24 15:46:26 -04001211 }</pre>
1212</div>
1213
1214</body></html>