blob: ffe112b789e7ec14c687992d04cc42d3051eb513 [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 Bot0bf565c2020-12-09 08:56:03 -080090 <code><a href="#list">list(blogId, view=None, status=None, maxResults=None, pageToken=None, fetchBodies=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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070096 <code><a href="#patch">patch(blogId, pageId, body=None, revert=None, publish=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 Bot0bf565c2020-12-09 08:56:03 -0800105 <code><a href="#update">update(blogId, pageId, body=None, revert=None, publish=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 Bot0bf565c2020-12-09 08:56:03 -0800149 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
150 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
151 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
152 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
153 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
154 &quot;blog&quot;: { # Data about the blog containing this Page.
155 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700156 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800157 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
158 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
159 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
160 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
161 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
162 &quot;author&quot;: { # The author of this Page.
163 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
164 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
165 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
166 &quot;image&quot;: { # The creator&#x27;s avatar.
167 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
168 },
169 },
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 Bot0bf565c2020-12-09 08:56:03 -0800183 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
184 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
185 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
186 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
187 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
188 &quot;blog&quot;: { # Data about the blog containing this Page.
189 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700190 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800191 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
192 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
193 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
194 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
195 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
196 &quot;author&quot;: { # The author of this Page.
197 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
198 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
199 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
200 &quot;image&quot;: { # The creator&#x27;s avatar.
201 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
202 },
203 },
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 Bot0bf565c2020-12-09 08:56:03 -0800216 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
217 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
218 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
219 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
220 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
221 &quot;blog&quot;: { # Data about the blog containing this Page.
222 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700223 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800224 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
225 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
226 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
227 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
228 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
229 &quot;author&quot;: { # The author of this Page.
230 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
231 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
232 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
233 &quot;image&quot;: { # The creator&#x27;s avatar.
234 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
235 },
236 },
237 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400238</div>
239
240<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800241 <code class="details" id="list">list(blogId, view=None, status=None, maxResults=None, pageToken=None, fetchBodies=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)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700246 view: string, A parameter
247 Allowed values
248 VIEW_TYPE_UNSPECIFIED -
249 READER -
250 AUTHOR -
251 ADMIN -
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800252 status: string, A parameter (repeated)
253 Allowed values
254 LIVE -
255 DRAFT -
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800256 maxResults: integer, A parameter
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800257 pageToken: string, A parameter
258 fetchBodies: boolean, A parameter
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 Bot0bf565c2020-12-09 08:56:03 -0800268 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
269 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#pageList.
270 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
Bu Sun Kim65020912020-05-20 12:08:20 -0700271 &quot;items&quot;: [ # The list of Pages for a Blog.
John Asmuth614db982014-04-24 15:46:26 -0400272 {
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800273 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
274 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
275 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
276 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
277 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
278 &quot;blog&quot;: { # Data about the blog containing this Page.
279 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
280 },
281 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
282 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
283 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
284 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
285 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
286 &quot;author&quot;: { # The author of this Page.
287 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
288 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
289 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
290 &quot;image&quot;: { # The creator&#x27;s avatar.
291 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
292 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700293 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700294 },
John Asmuth614db982014-04-24 15:46:26 -0400295 ],
John Asmuth614db982014-04-24 15:46:26 -0400296 }</pre>
297</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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700314 <code class="details" id="patch">patch(blogId, pageId, body=None, revert=None, publish=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 Bot0bf565c2020-12-09 08:56:03 -0800324 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
325 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
326 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
327 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
328 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
329 &quot;blog&quot;: { # Data about the blog containing this Page.
330 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700331 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800332 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
333 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
334 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
335 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
336 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
337 &quot;author&quot;: { # The author of this Page.
338 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
339 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
340 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
341 &quot;image&quot;: { # The creator&#x27;s avatar.
342 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
343 },
344 },
345 }
John Asmuth614db982014-04-24 15:46:26 -0400346
Bu Sun Kim65020912020-05-20 12:08:20 -0700347 revert: boolean, A parameter
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700348 publish: 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 Bot0bf565c2020-12-09 08:56:03 -0800358 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
359 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
360 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
361 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
362 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
363 &quot;blog&quot;: { # Data about the blog containing this Page.
364 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700365 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800366 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
367 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
368 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
369 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
370 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
371 &quot;author&quot;: { # The author of this Page.
372 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
373 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
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 },
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 Bot0bf565c2020-12-09 08:56:03 -0800398 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
399 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
400 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
401 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
402 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
403 &quot;blog&quot;: { # Data about the blog containing this Page.
404 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700405 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800406 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
407 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
408 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
409 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
410 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
411 &quot;author&quot;: { # The author of this Page.
412 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
413 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
414 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
415 &quot;image&quot;: { # The creator&#x27;s avatar.
416 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
417 },
418 },
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 Bot0bf565c2020-12-09 08:56:03 -0800438 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
439 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
440 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
441 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
442 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
443 &quot;blog&quot;: { # Data about the blog containing this Page.
444 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700445 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800446 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
447 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
448 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
449 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
450 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
451 &quot;author&quot;: { # The author of this Page.
452 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
453 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
454 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
455 &quot;image&quot;: { # The creator&#x27;s avatar.
456 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
457 },
458 },
459 }</pre>
Craig Citro065b5302014-08-14 00:47:23 -0700460</div>
461
462<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800463 <code class="details" id="update">update(blogId, pageId, body=None, revert=None, publish=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 Bot0bf565c2020-12-09 08:56:03 -0800473 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
474 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
475 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
476 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
477 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
478 &quot;blog&quot;: { # Data about the blog containing this Page.
479 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700480 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800481 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
482 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
483 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
484 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
485 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
486 &quot;author&quot;: { # The author of this Page.
487 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
488 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
489 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
490 &quot;image&quot;: { # The creator&#x27;s avatar.
491 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
492 },
493 },
494 }
John Asmuth614db982014-04-24 15:46:26 -0400495
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800496 revert: boolean, A parameter
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800497 publish: 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 Bot0bf565c2020-12-09 08:56:03 -0800507 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
508 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
509 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
510 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
511 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
512 &quot;blog&quot;: { # Data about the blog containing this Page.
513 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700514 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800515 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
516 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
517 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
518 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
519 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
520 &quot;author&quot;: { # The author of this Page.
521 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
522 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
523 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
524 &quot;image&quot;: { # The creator&#x27;s avatar.
525 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
526 },
527 },
528 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400529</div>
530
531</body></html>