blob: b50a9c6c5a2696905a4cda0503b804a3d8e3f54c [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">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#delete">delete(blogId, pageId, x__xgafv=None)</a></code></p>
79<p class="firstline">Deletes a page by blog id and page id.</p>
John Asmuth614db982014-04-24 15:46:26 -040080<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070081 <code><a href="#get">get(blogId, pageId, view=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070082<p class="firstline">Gets a page by blog id and page id.</p>
John Asmuth614db982014-04-24 15:46:26 -040083<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070084 <code><a href="#insert">insert(blogId, body=None, isDraft=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Inserts a page.</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="#list">list(blogId, status=None, view=None, maxResults=None, fetchBodies=None, pageToken=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070088<p class="firstline">Lists pages.</p>
John Asmuth614db982014-04-24 15:46:26 -040089<p class="toc_element">
Craig Citroe633be12015-03-02 13:40:36 -080090 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070093 <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 -070094<p class="firstline">Patches a page.</p>
John Asmuth614db982014-04-24 15:46:26 -040095<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070096 <code><a href="#publish">publish(blogId, pageId, x__xgafv=None)</a></code></p>
97<p class="firstline">Publishes a page.</p>
Craig Citro065b5302014-08-14 00:47:23 -070098<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070099 <code><a href="#revert">revert(blogId, pageId, x__xgafv=None)</a></code></p>
100<p class="firstline">Reverts a published or scheduled page to draft state.</p>
Craig Citro065b5302014-08-14 00:47:23 -0700101<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700102 <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 -0700103<p class="firstline">Updates a page by blog id and page id.</p>
John Asmuth614db982014-04-24 15:46:26 -0400104<h3>Method Details</h3>
105<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700106 <code class="details" id="delete">delete(blogId, pageId, x__xgafv=None)</code>
107 <pre>Deletes a page by blog id and page id.
John Asmuth614db982014-04-24 15:46:26 -0400108
109Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700110 blogId: string, A parameter (required)
111 pageId: string, A parameter (required)
112 x__xgafv: string, V1 error format.
113 Allowed values
114 1 - v1 error format
115 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400116</pre>
117</div>
118
119<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700120 <code class="details" id="get">get(blogId, pageId, view=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700121 <pre>Gets a page by blog id and page id.
John Asmuth614db982014-04-24 15:46:26 -0400122
123Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700124 blogId: string, A parameter (required)
125 pageId: string, A parameter (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700126 view: string, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700127 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400128 Allowed values
Dan O'Mearadd494642020-05-01 07:42:23 -0700129 1 - v1 error format
130 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400131
132Returns:
133 An object of the form:
134
135 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700136 &quot;blog&quot;: { # Data about the blog containing this Page.
137 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
John Asmuth614db982014-04-24 15:46:26 -0400138 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700139 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
140 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
141 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
142 # interface.
143 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
144 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
145 &quot;author&quot;: { # The author of this Page.
146 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
147 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
148 &quot;image&quot;: { # The creator&#x27;s avatar.
149 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
150 },
151 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
152 },
153 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
154 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
155 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
156 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
157 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
158 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400159</div>
160
161<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700162 <code class="details" id="insert">insert(blogId, body=None, isDraft=None, x__xgafv=None)</code>
163 <pre>Inserts a page.
John Asmuth614db982014-04-24 15:46:26 -0400164
165Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700166 blogId: string, A parameter (required)
167 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400168 The object takes the form of:
169
170{
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700171 &quot;blog&quot;: { # Data about the blog containing this Page.
172 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
John Asmuth614db982014-04-24 15:46:26 -0400173 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700174 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
175 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
176 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
177 # interface.
178 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
179 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
180 &quot;author&quot;: { # The author of this Page.
181 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
182 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
183 &quot;image&quot;: { # The creator&#x27;s avatar.
184 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
185 },
186 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
187 },
188 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
189 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
190 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
191 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
192 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
193 }
John Asmuth614db982014-04-24 15:46:26 -0400194
Dan O'Mearadd494642020-05-01 07:42:23 -0700195 isDraft: boolean, A parameter
196 x__xgafv: string, V1 error format.
197 Allowed values
198 1 - v1 error format
199 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400200
201Returns:
202 An object of the form:
203
204 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700205 &quot;blog&quot;: { # Data about the blog containing this Page.
206 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
John Asmuth614db982014-04-24 15:46:26 -0400207 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700208 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
209 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
210 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
211 # interface.
212 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
213 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
214 &quot;author&quot;: { # The author of this Page.
215 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
216 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
217 &quot;image&quot;: { # The creator&#x27;s avatar.
218 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
219 },
220 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
221 },
222 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
223 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
224 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
225 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
226 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
227 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400228</div>
229
230<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700231 <code class="details" id="list">list(blogId, status=None, view=None, maxResults=None, fetchBodies=None, pageToken=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700232 <pre>Lists pages.
John Asmuth614db982014-04-24 15:46:26 -0400233
234Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700235 blogId: string, A parameter (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700236 status: string, A parameter (repeated)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700237 view: string, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700238 maxResults: integer, A parameter
239 fetchBodies: boolean, A parameter
240 pageToken: string, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700241 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400242 Allowed values
Dan O'Mearadd494642020-05-01 07:42:23 -0700243 1 - v1 error format
244 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400245
246Returns:
247 An object of the form:
248
249 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700250 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
251 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#pageList.
Bu Sun Kim65020912020-05-20 12:08:20 -0700252 &quot;items&quot;: [ # The list of Pages for a Blog.
John Asmuth614db982014-04-24 15:46:26 -0400253 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700254 &quot;blog&quot;: { # Data about the blog containing this Page.
255 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
John Asmuth614db982014-04-24 15:46:26 -0400256 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700257 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
258 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
259 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
260 # interface.
261 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
262 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
263 &quot;author&quot;: { # The author of this Page.
264 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
265 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
266 &quot;image&quot;: { # The creator&#x27;s avatar.
267 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
268 },
269 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
270 },
271 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
272 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
273 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
274 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
275 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
John Asmuth614db982014-04-24 15:46:26 -0400276 },
277 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700278 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
John Asmuth614db982014-04-24 15:46:26 -0400279 }</pre>
280</div>
281
282<div class="method">
Craig Citroe633be12015-03-02 13:40:36 -0800283 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
284 <pre>Retrieves the next page of results.
285
286Args:
287 previous_request: The request for the previous page. (required)
288 previous_response: The response from the request for the previous page. (required)
289
290Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700291 A request object that you can call &#x27;execute()&#x27; on to request the next
Craig Citroe633be12015-03-02 13:40:36 -0800292 page. Returns None if there are no more items in the collection.
293 </pre>
294</div>
295
296<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700297 <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 -0700298 <pre>Patches a page.
John Asmuth614db982014-04-24 15:46:26 -0400299
300Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700301 blogId: string, A parameter (required)
302 pageId: string, A parameter (required)
303 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400304 The object takes the form of:
305
306{
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700307 &quot;blog&quot;: { # Data about the blog containing this Page.
308 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
John Asmuth614db982014-04-24 15:46:26 -0400309 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700310 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
311 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
312 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
313 # interface.
314 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
315 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
316 &quot;author&quot;: { # The author of this Page.
317 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
318 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
319 &quot;image&quot;: { # The creator&#x27;s avatar.
320 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
321 },
322 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
323 },
324 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
325 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
326 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
327 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
328 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
329 }
John Asmuth614db982014-04-24 15:46:26 -0400330
Dan O'Mearadd494642020-05-01 07:42:23 -0700331 publish: boolean, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -0700332 revert: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700333 x__xgafv: string, V1 error format.
334 Allowed values
335 1 - v1 error format
336 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400337
338Returns:
339 An object of the form:
340
341 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700342 &quot;blog&quot;: { # Data about the blog containing this Page.
343 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
John Asmuth614db982014-04-24 15:46:26 -0400344 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700345 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
346 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
347 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
348 # interface.
349 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
350 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
351 &quot;author&quot;: { # The author of this Page.
352 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
353 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
354 &quot;image&quot;: { # The creator&#x27;s avatar.
355 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
356 },
357 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
358 },
359 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
360 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
361 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
362 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
363 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
364 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400365</div>
366
367<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700368 <code class="details" id="publish">publish(blogId, pageId, x__xgafv=None)</code>
369 <pre>Publishes a page.
Craig Citro065b5302014-08-14 00:47:23 -0700370
371Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700372 blogId: string, A parameter (required)
373 pageId: string, A parameter (required)
374 x__xgafv: string, V1 error format.
375 Allowed values
376 1 - v1 error format
377 2 - v2 error format
Craig Citro065b5302014-08-14 00:47:23 -0700378
379Returns:
380 An object of the form:
381
382 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700383 &quot;blog&quot;: { # Data about the blog containing this Page.
384 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
Craig Citro065b5302014-08-14 00:47:23 -0700385 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700386 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
387 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
388 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
389 # interface.
390 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
391 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
392 &quot;author&quot;: { # The author of this Page.
393 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
394 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
395 &quot;image&quot;: { # The creator&#x27;s avatar.
396 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
397 },
398 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
399 },
400 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
401 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
402 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
403 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
404 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
405 }</pre>
Craig Citro065b5302014-08-14 00:47:23 -0700406</div>
407
408<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700409 <code class="details" id="revert">revert(blogId, pageId, x__xgafv=None)</code>
410 <pre>Reverts a published or scheduled page to draft state.
Craig Citro065b5302014-08-14 00:47:23 -0700411
412Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700413 blogId: string, A parameter (required)
414 pageId: string, A parameter (required)
415 x__xgafv: string, V1 error format.
416 Allowed values
417 1 - v1 error format
418 2 - v2 error format
Craig Citro065b5302014-08-14 00:47:23 -0700419
420Returns:
421 An object of the form:
422
423 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700424 &quot;blog&quot;: { # Data about the blog containing this Page.
425 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
Craig Citro065b5302014-08-14 00:47:23 -0700426 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700427 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
428 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
429 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
430 # interface.
431 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
432 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
433 &quot;author&quot;: { # The author of this Page.
434 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
435 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
436 &quot;image&quot;: { # The creator&#x27;s avatar.
437 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
438 },
439 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
440 },
441 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
442 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
443 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
444 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
445 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
446 }</pre>
Craig Citro065b5302014-08-14 00:47:23 -0700447</div>
448
449<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700450 <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 -0700451 <pre>Updates a page by blog id and page id.
John Asmuth614db982014-04-24 15:46:26 -0400452
453Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700454 blogId: string, A parameter (required)
455 pageId: string, A parameter (required)
456 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400457 The object takes the form of:
458
459{
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700460 &quot;blog&quot;: { # Data about the blog containing this Page.
461 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
John Asmuth614db982014-04-24 15:46:26 -0400462 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700463 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
464 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
465 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
466 # interface.
467 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
468 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
469 &quot;author&quot;: { # The author of this Page.
470 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
471 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
472 &quot;image&quot;: { # The creator&#x27;s avatar.
473 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
474 },
475 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
476 },
477 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
478 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
479 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
480 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
481 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
482 }
John Asmuth614db982014-04-24 15:46:26 -0400483
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700484 revert: boolean, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700485 publish: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700486 x__xgafv: string, V1 error format.
487 Allowed values
488 1 - v1 error format
489 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400490
491Returns:
492 An object of the form:
493
494 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700495 &quot;blog&quot;: { # Data about the blog containing this Page.
496 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
John Asmuth614db982014-04-24 15:46:26 -0400497 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700498 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
499 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
500 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
501 # interface.
502 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
503 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
504 &quot;author&quot;: { # The author of this Page.
505 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
506 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
507 &quot;image&quot;: { # The creator&#x27;s avatar.
508 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
509 },
510 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
511 },
512 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
513 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
514 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
515 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
516 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
517 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400518</div>
519
520</body></html>