blob: 23cafe0effacc1e563983aff90a7d64a76ccc1aa [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.pages.html">pages</a></h1>
John Asmuth614db982014-04-24 15:46:26 -040076<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070081 <code><a href="#delete">delete(blogId, pageId, x__xgafv=None)</a></code></p>
82<p class="firstline">Deletes a page by blog id and page 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="#get">get(blogId, pageId, view=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070085<p class="firstline">Gets a page by blog id and page id.</p>
John Asmuth614db982014-04-24 15:46:26 -040086<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070087 <code><a href="#insert">insert(blogId, body=None, isDraft=None, x__xgafv=None)</a></code></p>
88<p class="firstline">Inserts a page.</p>
John Asmuth614db982014-04-24 15:46:26 -040089<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080090 <code><a href="#list">list(blogId, fetchBodies=None, maxResults=None, pageToken=None, status=None, view=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070091<p class="firstline">Lists pages.</p>
John Asmuth614db982014-04-24 15:46:26 -040092<p class="toc_element">
Craig Citroe633be12015-03-02 13:40:36 -080093 <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">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080096 <code><a href="#patch">patch(blogId, pageId, body=None, publish=None, revert=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070097<p class="firstline">Patches a page.</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, pageId, x__xgafv=None)</a></code></p>
100<p class="firstline">Publishes a page.</p>
Craig Citro065b5302014-08-14 00:47:23 -0700101<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700102 <code><a href="#revert">revert(blogId, pageId, x__xgafv=None)</a></code></p>
103<p class="firstline">Reverts a published or scheduled page to draft state.</p>
Craig Citro065b5302014-08-14 00:47:23 -0700104<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800105 <code><a href="#update">update(blogId, pageId, body=None, publish=None, revert=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -0700106<p class="firstline">Updates a page by blog id and page id.</p>
John Asmuth614db982014-04-24 15:46:26 -0400107<h3>Method Details</h3>
108<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700109 <code class="details" id="close">close()</code>
110 <pre>Close httplib2 connections.</pre>
111</div>
112
113<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700114 <code class="details" id="delete">delete(blogId, pageId, x__xgafv=None)</code>
115 <pre>Deletes a page by blog id and page id.
John Asmuth614db982014-04-24 15:46:26 -0400116
117Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700118 blogId: string, A parameter (required)
119 pageId: string, A parameter (required)
120 x__xgafv: string, V1 error format.
121 Allowed values
122 1 - v1 error format
123 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400124</pre>
125</div>
126
127<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700128 <code class="details" id="get">get(blogId, pageId, view=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700129 <pre>Gets a page by blog id and page id.
John Asmuth614db982014-04-24 15:46:26 -0400130
131Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700132 blogId: string, A parameter (required)
133 pageId: string, A parameter (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700134 view: string, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700135 Allowed values
136 VIEW_TYPE_UNSPECIFIED -
137 READER -
138 AUTHOR -
139 ADMIN -
Dan O'Mearadd494642020-05-01 07:42:23 -0700140 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400141 Allowed values
Dan O'Mearadd494642020-05-01 07:42:23 -0700142 1 - v1 error format
143 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400144
145Returns:
146 An object of the form:
147
148 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800149 &quot;author&quot;: { # The author of this Page.
150 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
151 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
152 &quot;image&quot;: { # The creator&#x27;s avatar.
153 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
154 },
155 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
156 },
157 &quot;blog&quot;: { # Data about the blog containing this Page.
158 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
159 },
160 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
161 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
162 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
163 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
164 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
165 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
166 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
167 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
168 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
169 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
170}</pre>
John Asmuth614db982014-04-24 15:46:26 -0400171</div>
172
173<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700174 <code class="details" id="insert">insert(blogId, body=None, isDraft=None, x__xgafv=None)</code>
175 <pre>Inserts a page.
John Asmuth614db982014-04-24 15:46:26 -0400176
177Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700178 blogId: string, A parameter (required)
179 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400180 The object takes the form of:
181
182{
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800183 &quot;author&quot;: { # The author of this Page.
184 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
185 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
186 &quot;image&quot;: { # The creator&#x27;s avatar.
187 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700188 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800189 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
190 },
191 &quot;blog&quot;: { # Data about the blog containing this Page.
192 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
193 },
194 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
195 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
196 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
197 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
198 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
199 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
200 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
201 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
202 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
203 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
204}
John Asmuth614db982014-04-24 15:46:26 -0400205
Dan O'Mearadd494642020-05-01 07:42:23 -0700206 isDraft: boolean, A parameter
207 x__xgafv: string, V1 error format.
208 Allowed values
209 1 - v1 error format
210 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400211
212Returns:
213 An object of the form:
214
215 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800216 &quot;author&quot;: { # The author of this Page.
217 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
218 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
219 &quot;image&quot;: { # The creator&#x27;s avatar.
220 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
221 },
222 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
223 },
224 &quot;blog&quot;: { # Data about the blog containing this Page.
225 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
226 },
227 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
228 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
229 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
230 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
231 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
232 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
233 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
234 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
235 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
236 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
237}</pre>
John Asmuth614db982014-04-24 15:46:26 -0400238</div>
239
240<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800241 <code class="details" id="list">list(blogId, fetchBodies=None, maxResults=None, pageToken=None, status=None, view=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700242 <pre>Lists pages.
John Asmuth614db982014-04-24 15:46:26 -0400243
244Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700245 blogId: string, A parameter (required)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800246 fetchBodies: boolean, A parameter
247 maxResults: integer, A parameter
248 pageToken: string, A parameter
249 status: string, A parameter (repeated)
250 Allowed values
251 LIVE -
252 DRAFT -
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700253 view: string, A parameter
254 Allowed values
255 VIEW_TYPE_UNSPECIFIED -
256 READER -
257 AUTHOR -
258 ADMIN -
Dan O'Mearadd494642020-05-01 07:42:23 -0700259 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400260 Allowed values
Dan O'Mearadd494642020-05-01 07:42:23 -0700261 1 - v1 error format
262 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400263
264Returns:
265 An object of the form:
266
267 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800268 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
269 &quot;items&quot;: [ # The list of Pages for a Blog.
270 {
271 &quot;author&quot;: { # The author of this Page.
272 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
273 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
274 &quot;image&quot;: { # The creator&#x27;s avatar.
275 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700276 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800277 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
278 },
279 &quot;blog&quot;: { # Data about the blog containing this Page.
280 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
281 },
282 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
283 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
284 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
285 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
286 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
287 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
288 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
289 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
290 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
291 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
292 },
293 ],
294 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#pageList.
295 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
296}</pre>
John Asmuth614db982014-04-24 15:46:26 -0400297</div>
298
299<div class="method">
Craig Citroe633be12015-03-02 13:40:36 -0800300 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
301 <pre>Retrieves the next page of results.
302
303Args:
304 previous_request: The request for the previous page. (required)
305 previous_response: The response from the request for the previous page. (required)
306
307Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700308 A request object that you can call &#x27;execute()&#x27; on to request the next
Craig Citroe633be12015-03-02 13:40:36 -0800309 page. Returns None if there are no more items in the collection.
310 </pre>
311</div>
312
313<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800314 <code class="details" id="patch">patch(blogId, pageId, body=None, publish=None, revert=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700315 <pre>Patches a page.
John Asmuth614db982014-04-24 15:46:26 -0400316
317Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700318 blogId: string, A parameter (required)
319 pageId: string, A parameter (required)
320 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400321 The object takes the form of:
322
323{
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800324 &quot;author&quot;: { # The author of this Page.
325 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
326 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
327 &quot;image&quot;: { # The creator&#x27;s avatar.
328 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700329 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800330 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
331 },
332 &quot;blog&quot;: { # Data about the blog containing this Page.
333 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
334 },
335 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
336 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
337 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
338 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
339 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
340 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
341 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
342 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
343 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
344 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
345}
John Asmuth614db982014-04-24 15:46:26 -0400346
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700347 publish: boolean, A parameter
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800348 revert: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700349 x__xgafv: string, V1 error format.
350 Allowed values
351 1 - v1 error format
352 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400353
354Returns:
355 An object of the form:
356
357 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800358 &quot;author&quot;: { # The author of this Page.
359 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
360 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
361 &quot;image&quot;: { # The creator&#x27;s avatar.
362 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
363 },
364 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
365 },
366 &quot;blog&quot;: { # Data about the blog containing this Page.
367 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
368 },
369 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
370 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
371 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
372 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
373 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
374 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
375 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
376 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
377 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
378 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
379}</pre>
John Asmuth614db982014-04-24 15:46:26 -0400380</div>
381
382<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700383 <code class="details" id="publish">publish(blogId, pageId, x__xgafv=None)</code>
384 <pre>Publishes a page.
Craig Citro065b5302014-08-14 00:47:23 -0700385
386Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700387 blogId: string, A parameter (required)
388 pageId: string, A parameter (required)
389 x__xgafv: string, V1 error format.
390 Allowed values
391 1 - v1 error format
392 2 - v2 error format
Craig Citro065b5302014-08-14 00:47:23 -0700393
394Returns:
395 An object of the form:
396
397 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800398 &quot;author&quot;: { # The author of this Page.
399 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
400 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
401 &quot;image&quot;: { # The creator&#x27;s avatar.
402 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
403 },
404 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
405 },
406 &quot;blog&quot;: { # Data about the blog containing this Page.
407 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
408 },
409 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
410 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
411 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
412 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
413 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
414 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
415 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
416 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
417 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
418 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
419}</pre>
Craig Citro065b5302014-08-14 00:47:23 -0700420</div>
421
422<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700423 <code class="details" id="revert">revert(blogId, pageId, x__xgafv=None)</code>
424 <pre>Reverts a published or scheduled page to draft state.
Craig Citro065b5302014-08-14 00:47:23 -0700425
426Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700427 blogId: string, A parameter (required)
428 pageId: string, A parameter (required)
429 x__xgafv: string, V1 error format.
430 Allowed values
431 1 - v1 error format
432 2 - v2 error format
Craig Citro065b5302014-08-14 00:47:23 -0700433
434Returns:
435 An object of the form:
436
437 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800438 &quot;author&quot;: { # The author of this Page.
439 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
440 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
441 &quot;image&quot;: { # The creator&#x27;s avatar.
442 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
443 },
444 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
445 },
446 &quot;blog&quot;: { # Data about the blog containing this Page.
447 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
448 },
449 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
450 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
451 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
452 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
453 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
454 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
455 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
456 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
457 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
458 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
459}</pre>
Craig Citro065b5302014-08-14 00:47:23 -0700460</div>
461
462<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800463 <code class="details" id="update">update(blogId, pageId, body=None, publish=None, revert=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700464 <pre>Updates a page by blog id and page id.
John Asmuth614db982014-04-24 15:46:26 -0400465
466Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700467 blogId: string, A parameter (required)
468 pageId: string, A parameter (required)
469 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400470 The object takes the form of:
471
472{
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800473 &quot;author&quot;: { # The author of this Page.
474 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
475 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
476 &quot;image&quot;: { # The creator&#x27;s avatar.
477 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700478 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800479 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
480 },
481 &quot;blog&quot;: { # Data about the blog containing this Page.
482 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
483 },
484 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
485 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
486 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
487 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
488 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
489 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
490 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
491 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
492 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
493 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
494}
John Asmuth614db982014-04-24 15:46:26 -0400495
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800496 publish: boolean, A parameter
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800497 revert: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700498 x__xgafv: string, V1 error format.
499 Allowed values
500 1 - v1 error format
501 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400502
503Returns:
504 An object of the form:
505
506 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800507 &quot;author&quot;: { # The author of this Page.
508 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
509 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
510 &quot;image&quot;: { # The creator&#x27;s avatar.
511 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
512 },
513 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
514 },
515 &quot;blog&quot;: { # Data about the blog containing this Page.
516 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
517 },
518 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
519 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
520 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
521 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
522 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
523 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
524 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
525 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
526 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
527 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
528}</pre>
John Asmuth614db982014-04-24 15:46:26 -0400529</div>
530
531</body></html>