blob: e7d25ead682aec5a7f4d2dae97d10d88396d708f [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 Kimd059ad82020-07-22 17:02:09 -070081 <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 -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 Kimd059ad82020-07-22 17:02:09 -070087 <code><a href="#insert">insert(blogId, body=None, fetchImages=None, isDraft=None, fetchBody=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 Kimd059ad82020-07-22 17:02:09 -070090 <code><a href="#list">list(blogId, startDate=None, view=None, fetchBodies=None, pageToken=None, endDate=None, status=None, labels=None, maxResults=None, fetchImages=None, orderBy=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 Kimd059ad82020-07-22 17:02:09 -070096 <code><a href="#patch">patch(blogId, postId, body=None, publish=None, maxComments=None, fetchBody=None, fetchImages=None, revert=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 Kimd059ad82020-07-22 17:02:09 -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 Kimd059ad82020-07-22 17:02:09 -0700108 <code><a href="#update">update(blogId, postId, body=None, maxComments=None, publish=None, fetchBody=None, fetchImages=None, revert=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 Kimd059ad82020-07-22 17:02:09 -0700126 <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 -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)
132 maxComments: integer, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700133 fetchBody: boolean, A parameter
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700134 fetchImages: boolean, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -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 Kimd059ad82020-07-22 17:02:09 -0700145 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kim65020912020-05-20 12:08:20 -0700146 &quot;author&quot;: { # The author of this Post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700147 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700148 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kim65020912020-05-20 12:08:20 -0700149 &quot;image&quot;: { # The creator&#x27;s avatar.
150 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
151 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700152 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -0400153 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700154 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700155 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kim65020912020-05-20 12:08:20 -0700156 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -0400157 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700158 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400159 },
160 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700161 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
162 &quot;A String&quot;,
163 ],
164 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
165 &quot;location&quot;: { # The location for geotagged posts.
166 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
167 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
168 &quot;name&quot;: &quot;A String&quot;, # Location name.
169 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
170 },
171 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
172 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
173 &quot;blog&quot;: { # Data about the blog containing this Post.
174 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
175 },
176 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
177 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
178 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
179 &quot;replies&quot;: { # The container of comments on this Post.
180 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
181 &quot;items&quot;: [ # The List of Comments for this Post.
182 {
183 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
184 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
185 &quot;post&quot;: { # Data about the post containing this comment.
186 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
187 },
188 &quot;blog&quot;: { # Data about the blog containing this comment.
189 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
190 },
191 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
192 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
193 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
194 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
195 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
196 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
197 },
198 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
199 &quot;author&quot;: { # The author of this Comment.
200 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
201 &quot;image&quot;: { # The creator&#x27;s avatar.
202 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
203 },
204 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
205 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
206 },
207 },
208 ],
209 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
210 },
211 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
212 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
213 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
214 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
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 Kimd059ad82020-07-22 17:02:09 -0700236 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kim65020912020-05-20 12:08:20 -0700237 &quot;author&quot;: { # The author of this Post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700238 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700239 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kim65020912020-05-20 12:08:20 -0700240 &quot;image&quot;: { # The creator&#x27;s avatar.
241 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
242 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700243 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -0400244 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700245 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700246 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kim65020912020-05-20 12:08:20 -0700247 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -0400248 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700249 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400250 },
251 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700252 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
253 &quot;A String&quot;,
254 ],
255 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
256 &quot;location&quot;: { # The location for geotagged posts.
257 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
258 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
259 &quot;name&quot;: &quot;A String&quot;, # Location name.
260 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
261 },
262 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
263 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
264 &quot;blog&quot;: { # Data about the blog containing this Post.
265 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
266 },
267 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
268 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
269 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
270 &quot;replies&quot;: { # The container of comments on this Post.
271 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
272 &quot;items&quot;: [ # The List of Comments for this Post.
273 {
274 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
275 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
276 &quot;post&quot;: { # Data about the post containing this comment.
277 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
278 },
279 &quot;blog&quot;: { # Data about the blog containing this comment.
280 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
281 },
282 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
283 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
284 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
285 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
286 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
287 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
288 },
289 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
290 &quot;author&quot;: { # The author of this Comment.
291 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
292 &quot;image&quot;: { # The creator&#x27;s avatar.
293 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
294 },
295 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
296 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
297 },
298 },
299 ],
300 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
301 },
302 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
303 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
304 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
305 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
John Asmuth614db982014-04-24 15:46:26 -0400306 }</pre>
307</div>
308
309<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700310 <code class="details" id="insert">insert(blogId, body=None, fetchImages=None, isDraft=None, fetchBody=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 Kimd059ad82020-07-22 17:02:09 -0700319 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kim65020912020-05-20 12:08:20 -0700320 &quot;author&quot;: { # The author of this Post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700321 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700322 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kim65020912020-05-20 12:08:20 -0700323 &quot;image&quot;: { # The creator&#x27;s avatar.
324 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
325 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700326 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -0400327 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700328 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700329 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kim65020912020-05-20 12:08:20 -0700330 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -0400331 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700332 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400333 },
334 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700335 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
336 &quot;A String&quot;,
337 ],
338 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
339 &quot;location&quot;: { # The location for geotagged posts.
340 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
341 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
342 &quot;name&quot;: &quot;A String&quot;, # Location name.
343 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
344 },
345 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
346 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
347 &quot;blog&quot;: { # Data about the blog containing this Post.
348 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
349 },
350 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
351 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
352 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
353 &quot;replies&quot;: { # The container of comments on this Post.
354 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
355 &quot;items&quot;: [ # The List of Comments for this Post.
356 {
357 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
358 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
359 &quot;post&quot;: { # Data about the post containing this comment.
360 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
361 },
362 &quot;blog&quot;: { # Data about the blog containing this comment.
363 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
364 },
365 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
366 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
367 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
368 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
369 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
370 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
371 },
372 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
373 &quot;author&quot;: { # The author of this Comment.
374 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
375 &quot;image&quot;: { # The creator&#x27;s avatar.
376 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
377 },
378 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
379 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
380 },
381 },
382 ],
383 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
384 },
385 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
386 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
387 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
388 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
John Asmuth614db982014-04-24 15:46:26 -0400389}
390
Bu Sun Kim65020912020-05-20 12:08:20 -0700391 fetchImages: boolean, A parameter
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700392 isDraft: boolean, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700393 fetchBody: 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 Kimd059ad82020-07-22 17:02:09 -0700403 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kim65020912020-05-20 12:08:20 -0700404 &quot;author&quot;: { # The author of this Post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700405 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700406 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kim65020912020-05-20 12:08:20 -0700407 &quot;image&quot;: { # The creator&#x27;s avatar.
408 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
409 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700410 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -0400411 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700412 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700413 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kim65020912020-05-20 12:08:20 -0700414 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -0400415 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700416 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400417 },
418 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700419 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
420 &quot;A String&quot;,
421 ],
422 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
423 &quot;location&quot;: { # The location for geotagged posts.
424 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
425 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
426 &quot;name&quot;: &quot;A String&quot;, # Location name.
427 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
428 },
429 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
430 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
431 &quot;blog&quot;: { # Data about the blog containing this Post.
432 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
433 },
434 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
435 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
436 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
437 &quot;replies&quot;: { # The container of comments on this Post.
438 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
439 &quot;items&quot;: [ # The List of Comments for this Post.
440 {
441 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
442 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
443 &quot;post&quot;: { # Data about the post containing this comment.
444 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
445 },
446 &quot;blog&quot;: { # Data about the blog containing this comment.
447 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
448 },
449 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
450 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
451 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
452 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
453 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
454 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
455 },
456 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
457 &quot;author&quot;: { # The author of this Comment.
458 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
459 &quot;image&quot;: { # The creator&#x27;s avatar.
460 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
461 },
462 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
463 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
464 },
465 },
466 ],
467 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
468 },
469 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
470 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
471 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
472 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
John Asmuth614db982014-04-24 15:46:26 -0400473 }</pre>
474</div>
475
476<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700477 <code class="details" id="list">list(blogId, startDate=None, view=None, fetchBodies=None, pageToken=None, endDate=None, status=None, labels=None, maxResults=None, fetchImages=None, orderBy=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)
Bu Sun Kim65020912020-05-20 12:08:20 -0700482 startDate: string, A parameter
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700483 view: string, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700484 fetchBodies: boolean, A parameter
485 pageToken: string, A parameter
486 endDate: string, A parameter
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700487 status: string, A parameter (repeated)
488 labels: string, A parameter
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700489 maxResults: integer, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700490 fetchImages: boolean, A parameter
491 orderBy: 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 Kimd059ad82020-07-22 17:02:09 -0700501 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postList.
502 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
503 &quot;prevPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the previous page, if one exists.
504 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
Bu Sun Kim65020912020-05-20 12:08:20 -0700505 &quot;items&quot;: [ # The list of Posts for this Blog.
John Asmuth614db982014-04-24 15:46:26 -0400506 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700507 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kim65020912020-05-20 12:08:20 -0700508 &quot;author&quot;: { # The author of this Post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700509 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700510 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kim65020912020-05-20 12:08:20 -0700511 &quot;image&quot;: { # The creator&#x27;s avatar.
512 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
513 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700514 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -0400515 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700516 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700517 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kim65020912020-05-20 12:08:20 -0700518 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -0400519 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700520 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400521 },
522 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700523 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
524 &quot;A String&quot;,
525 ],
526 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
527 &quot;location&quot;: { # The location for geotagged posts.
528 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
529 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
530 &quot;name&quot;: &quot;A String&quot;, # Location name.
531 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
532 },
533 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
534 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
535 &quot;blog&quot;: { # Data about the blog containing this Post.
536 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
537 },
538 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
539 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
540 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
541 &quot;replies&quot;: { # The container of comments on this Post.
542 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
543 &quot;items&quot;: [ # The List of Comments for this Post.
544 {
545 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
546 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
547 &quot;post&quot;: { # Data about the post containing this comment.
548 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
549 },
550 &quot;blog&quot;: { # Data about the blog containing this comment.
551 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
552 },
553 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
554 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
555 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
556 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
557 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
558 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
559 },
560 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
561 &quot;author&quot;: { # The author of this Comment.
562 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
563 &quot;image&quot;: { # The creator&#x27;s avatar.
564 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
565 },
566 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
567 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
568 },
569 },
570 ],
571 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
572 },
573 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
574 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
575 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
576 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
John Asmuth614db982014-04-24 15:46:26 -0400577 },
578 ],
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 Kimd059ad82020-07-22 17:02:09 -0700597 <code class="details" id="patch">patch(blogId, postId, body=None, publish=None, maxComments=None, fetchBody=None, fetchImages=None, revert=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 Kimd059ad82020-07-22 17:02:09 -0700607 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kim65020912020-05-20 12:08:20 -0700608 &quot;author&quot;: { # The author of this Post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700609 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700610 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kim65020912020-05-20 12:08:20 -0700611 &quot;image&quot;: { # The creator&#x27;s avatar.
612 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
613 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700614 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -0400615 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700616 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700617 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kim65020912020-05-20 12:08:20 -0700618 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -0400619 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700620 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400621 },
622 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700623 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
624 &quot;A String&quot;,
625 ],
626 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
627 &quot;location&quot;: { # The location for geotagged posts.
628 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
629 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
630 &quot;name&quot;: &quot;A String&quot;, # Location name.
631 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
632 },
633 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
634 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
635 &quot;blog&quot;: { # Data about the blog containing this Post.
636 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
637 },
638 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
639 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
640 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
641 &quot;replies&quot;: { # The container of comments on this Post.
642 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
643 &quot;items&quot;: [ # The List of Comments for this Post.
644 {
645 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
646 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
647 &quot;post&quot;: { # Data about the post containing this comment.
648 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
649 },
650 &quot;blog&quot;: { # Data about the blog containing this comment.
651 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
652 },
653 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
654 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
655 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
656 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
657 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
658 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
659 },
660 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
661 &quot;author&quot;: { # The author of this Comment.
662 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
663 &quot;image&quot;: { # The creator&#x27;s avatar.
664 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
665 },
666 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
667 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
668 },
669 },
670 ],
671 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
672 },
673 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
674 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
675 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
676 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
John Asmuth614db982014-04-24 15:46:26 -0400677}
678
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700679 publish: boolean, A parameter
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700680 maxComments: integer, A parameter
681 fetchBody: boolean, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700682 fetchImages: boolean, A parameter
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700683 revert: 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 Kimd059ad82020-07-22 17:02:09 -0700693 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kim65020912020-05-20 12:08:20 -0700694 &quot;author&quot;: { # The author of this Post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700695 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700696 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kim65020912020-05-20 12:08:20 -0700697 &quot;image&quot;: { # The creator&#x27;s avatar.
698 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
699 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700700 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Dan O'Mearadd494642020-05-01 07:42:23 -0700701 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700702 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700703 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kim65020912020-05-20 12:08:20 -0700704 &quot;images&quot;: [ # Display image for the Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700705 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700706 &quot;url&quot;: &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700707 },
708 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700709 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
710 &quot;A String&quot;,
711 ],
712 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
713 &quot;location&quot;: { # The location for geotagged posts.
714 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
715 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
716 &quot;name&quot;: &quot;A String&quot;, # Location name.
717 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
718 },
719 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
720 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
721 &quot;blog&quot;: { # Data about the blog containing this Post.
722 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
723 },
724 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
725 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
726 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
727 &quot;replies&quot;: { # The container of comments on this Post.
728 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
729 &quot;items&quot;: [ # The List of Comments for this Post.
730 {
731 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
732 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
733 &quot;post&quot;: { # Data about the post containing this comment.
734 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
735 },
736 &quot;blog&quot;: { # Data about the blog containing this comment.
737 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
738 },
739 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
740 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
741 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
742 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
743 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
744 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
745 },
746 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
747 &quot;author&quot;: { # The author of this Comment.
748 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
749 &quot;image&quot;: { # The creator&#x27;s avatar.
750 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
751 },
752 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
753 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
754 },
755 },
756 ],
757 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
758 },
759 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
760 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
761 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
762 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
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 Kimd059ad82020-07-22 17:02:09 -0700783 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kim65020912020-05-20 12:08:20 -0700784 &quot;author&quot;: { # The author of this Post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700785 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700786 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kim65020912020-05-20 12:08:20 -0700787 &quot;image&quot;: { # The creator&#x27;s avatar.
788 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
789 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700790 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Dan O'Mearadd494642020-05-01 07:42:23 -0700791 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700792 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700793 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kim65020912020-05-20 12:08:20 -0700794 &quot;images&quot;: [ # Display image for the Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700795 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700796 &quot;url&quot;: &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700797 },
798 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700799 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
800 &quot;A String&quot;,
801 ],
802 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
803 &quot;location&quot;: { # The location for geotagged posts.
804 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
805 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
806 &quot;name&quot;: &quot;A String&quot;, # Location name.
807 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
808 },
809 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
810 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
811 &quot;blog&quot;: { # Data about the blog containing this Post.
812 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
813 },
814 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
815 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
816 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
817 &quot;replies&quot;: { # The container of comments on this Post.
818 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
819 &quot;items&quot;: [ # The List of Comments for this Post.
820 {
821 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
822 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
823 &quot;post&quot;: { # Data about the post containing this comment.
824 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
825 },
826 &quot;blog&quot;: { # Data about the blog containing this comment.
827 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
828 },
829 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
830 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
831 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
832 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
833 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
834 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
835 },
836 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
837 &quot;author&quot;: { # The author of this Comment.
838 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
839 &quot;image&quot;: { # The creator&#x27;s avatar.
840 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
841 },
842 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
843 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
844 },
845 },
846 ],
847 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
848 },
849 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
850 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
851 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
852 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
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 Kimd059ad82020-07-22 17:02:09 -0700872 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kim65020912020-05-20 12:08:20 -0700873 &quot;author&quot;: { # The author of this Post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700874 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700875 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kim65020912020-05-20 12:08:20 -0700876 &quot;image&quot;: { # The creator&#x27;s avatar.
877 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
878 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700879 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Dan O'Mearadd494642020-05-01 07:42:23 -0700880 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700881 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700882 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kim65020912020-05-20 12:08:20 -0700883 &quot;images&quot;: [ # Display image for the Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700884 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700885 &quot;url&quot;: &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700886 },
887 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700888 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
889 &quot;A String&quot;,
890 ],
891 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
892 &quot;location&quot;: { # The location for geotagged posts.
893 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
894 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
895 &quot;name&quot;: &quot;A String&quot;, # Location name.
896 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
897 },
898 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
899 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
900 &quot;blog&quot;: { # Data about the blog containing this Post.
901 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
902 },
903 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
904 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
905 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
906 &quot;replies&quot;: { # The container of comments on this Post.
907 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
908 &quot;items&quot;: [ # The List of Comments for this Post.
909 {
910 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
911 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
912 &quot;post&quot;: { # Data about the post containing this comment.
913 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
914 },
915 &quot;blog&quot;: { # Data about the blog containing this comment.
916 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
917 },
918 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
919 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
920 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
921 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
922 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
923 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
924 },
925 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
926 &quot;author&quot;: { # The author of this Comment.
927 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
928 &quot;image&quot;: { # The creator&#x27;s avatar.
929 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
930 },
931 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
932 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
933 },
934 },
935 ],
936 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
937 },
938 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
939 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
940 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
941 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Dan O'Mearadd494642020-05-01 07:42:23 -0700942 }</pre>
943</div>
944
945<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -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 Kim4ed7d3f2020-05-27 12:20:54 -0700952 fetchBodies: boolean, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700953 orderBy: string, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700954 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 Kimd059ad82020-07-22 17:02:09 -0700963 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postList.
964 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
965 &quot;prevPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the previous page, if one exists.
966 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
Bu Sun Kim65020912020-05-20 12:08:20 -0700967 &quot;items&quot;: [ # The list of Posts for this Blog.
John Asmuth614db982014-04-24 15:46:26 -0400968 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700969 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kim65020912020-05-20 12:08:20 -0700970 &quot;author&quot;: { # The author of this Post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700971 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700972 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kim65020912020-05-20 12:08:20 -0700973 &quot;image&quot;: { # The creator&#x27;s avatar.
974 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
975 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700976 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -0400977 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700978 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700979 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kim65020912020-05-20 12:08:20 -0700980 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -0400981 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700982 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400983 },
984 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700985 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
986 &quot;A String&quot;,
987 ],
988 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
989 &quot;location&quot;: { # The location for geotagged posts.
990 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
991 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
992 &quot;name&quot;: &quot;A String&quot;, # Location name.
993 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
994 },
995 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
996 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
997 &quot;blog&quot;: { # Data about the blog containing this Post.
998 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
999 },
1000 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
1001 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1002 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1003 &quot;replies&quot;: { # The container of comments on this Post.
1004 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
1005 &quot;items&quot;: [ # The List of Comments for this Post.
1006 {
1007 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
1008 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1009 &quot;post&quot;: { # Data about the post containing this comment.
1010 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
1011 },
1012 &quot;blog&quot;: { # Data about the blog containing this comment.
1013 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
1014 },
1015 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1016 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1017 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
1018 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
1019 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1020 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1021 },
1022 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1023 &quot;author&quot;: { # The author of this Comment.
1024 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1025 &quot;image&quot;: { # The creator&#x27;s avatar.
1026 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1027 },
1028 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1029 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1030 },
1031 },
1032 ],
1033 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1034 },
1035 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
1036 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1037 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1038 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
John Asmuth614db982014-04-24 15:46:26 -04001039 },
1040 ],
John Asmuth614db982014-04-24 15:46:26 -04001041 }</pre>
1042</div>
1043
1044<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001045 <code class="details" id="update">update(blogId, postId, body=None, maxComments=None, publish=None, fetchBody=None, fetchImages=None, revert=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 Kimd059ad82020-07-22 17:02:09 -07001055 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kim65020912020-05-20 12:08:20 -07001056 &quot;author&quot;: { # The author of this Post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001057 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001058 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kim65020912020-05-20 12:08:20 -07001059 &quot;image&quot;: { # The creator&#x27;s avatar.
1060 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1061 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001062 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -04001063 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001064 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001065 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kim65020912020-05-20 12:08:20 -07001066 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -04001067 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001068 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -04001069 },
1070 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001071 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1072 &quot;A String&quot;,
1073 ],
1074 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1075 &quot;location&quot;: { # The location for geotagged posts.
1076 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
1077 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
1078 &quot;name&quot;: &quot;A String&quot;, # Location name.
1079 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
1080 },
1081 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
1082 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
1083 &quot;blog&quot;: { # Data about the blog containing this Post.
1084 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
1085 },
1086 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
1087 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1088 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1089 &quot;replies&quot;: { # The container of comments on this Post.
1090 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
1091 &quot;items&quot;: [ # The List of Comments for this Post.
1092 {
1093 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
1094 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1095 &quot;post&quot;: { # Data about the post containing this comment.
1096 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
1097 },
1098 &quot;blog&quot;: { # Data about the blog containing this comment.
1099 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
1100 },
1101 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1102 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1103 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
1104 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
1105 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1106 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1107 },
1108 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1109 &quot;author&quot;: { # The author of this Comment.
1110 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1111 &quot;image&quot;: { # The creator&#x27;s avatar.
1112 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1113 },
1114 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1115 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1116 },
1117 },
1118 ],
1119 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1120 },
1121 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
1122 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1123 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1124 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
John Asmuth614db982014-04-24 15:46:26 -04001125}
1126
Bu Sun Kim65020912020-05-20 12:08:20 -07001127 maxComments: integer, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001128 publish: boolean, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -07001129 fetchBody: boolean, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001130 fetchImages: boolean, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -07001131 revert: 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 Kimd059ad82020-07-22 17:02:09 -07001141 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kim65020912020-05-20 12:08:20 -07001142 &quot;author&quot;: { # The author of this Post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001143 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001144 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kim65020912020-05-20 12:08:20 -07001145 &quot;image&quot;: { # The creator&#x27;s avatar.
1146 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1147 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001148 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
John Asmuth614db982014-04-24 15:46:26 -04001149 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001150 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001151 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kim65020912020-05-20 12:08:20 -07001152 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -04001153 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001154 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -04001155 },
1156 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001157 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
1158 &quot;A String&quot;,
1159 ],
1160 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
1161 &quot;location&quot;: { # The location for geotagged posts.
1162 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
1163 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
1164 &quot;name&quot;: &quot;A String&quot;, # Location name.
1165 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
1166 },
1167 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
1168 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
1169 &quot;blog&quot;: { # Data about the blog containing this Post.
1170 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
1171 },
1172 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
1173 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
1174 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
1175 &quot;replies&quot;: { # The container of comments on this Post.
1176 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
1177 &quot;items&quot;: [ # The List of Comments for this Post.
1178 {
1179 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
1180 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
1181 &quot;post&quot;: { # Data about the post containing this comment.
1182 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
1183 },
1184 &quot;blog&quot;: { # Data about the blog containing this comment.
1185 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
1186 },
1187 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
1188 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
1189 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
1190 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
1191 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
1192 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
1193 },
1194 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
1195 &quot;author&quot;: { # The author of this Comment.
1196 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
1197 &quot;image&quot;: { # The creator&#x27;s avatar.
1198 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
1199 },
1200 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
1201 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
1202 },
1203 },
1204 ],
1205 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
1206 },
1207 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
1208 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
1209 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
1210 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
John Asmuth614db982014-04-24 15:46:26 -04001211 }</pre>
1212</div>
1213
1214</body></html>