blob: 2edb488d196eb500014549484ab46fe981f80dbe [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 Kim4ed7d3f2020-05-27 12:20:54 -070087 <code><a href="#list">list(blogId, pageToken=None, maxResults=None, status=None, fetchBodies=None, view=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 Kim4ed7d3f2020-05-27 12:20:54 -0700102 <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 -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 Kim4ed7d3f2020-05-27 12:20:54 -0700136 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
137 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
138 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
139 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
140 # interface.
141 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
142 &quot;author&quot;: { # The author of this Page.
143 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
144 &quot;image&quot;: { # The creator&#x27;s avatar.
145 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -0400146 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700147 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
148 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
149 },
150 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
151 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
152 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
153 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
154 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
155 &quot;blog&quot;: { # Data about the blog containing this Page.
156 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
157 },
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 Kim4ed7d3f2020-05-27 12:20:54 -0700171 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
172 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
173 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
174 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
175 # interface.
176 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
177 &quot;author&quot;: { # The author of this Page.
178 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
179 &quot;image&quot;: { # The creator&#x27;s avatar.
180 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -0400181 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700182 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
183 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
184 },
185 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
186 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
187 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
188 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
189 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
190 &quot;blog&quot;: { # Data about the blog containing this Page.
191 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
192 },
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 Kim4ed7d3f2020-05-27 12:20:54 -0700205 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
206 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
207 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
208 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
209 # interface.
210 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
211 &quot;author&quot;: { # The author of this Page.
212 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
213 &quot;image&quot;: { # The creator&#x27;s avatar.
214 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -0400215 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700216 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
217 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
218 },
219 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
220 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
221 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
222 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
223 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
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 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400228</div>
229
230<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700231 <code class="details" id="list">list(blogId, pageToken=None, maxResults=None, status=None, fetchBodies=None, view=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 Kim4ed7d3f2020-05-27 12:20:54 -0700236 pageToken: string, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700237 maxResults: integer, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -0700238 status: string, A parameter (repeated)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700239 fetchBodies: boolean, A parameter
240 view: 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 Kim65020912020-05-20 12:08:20 -0700250 &quot;items&quot;: [ # The list of Pages for a Blog.
John Asmuth614db982014-04-24 15:46:26 -0400251 {
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700252 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
253 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
254 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
255 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
256 # interface.
257 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
258 &quot;author&quot;: { # The author of this Page.
259 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
260 &quot;image&quot;: { # The creator&#x27;s avatar.
261 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -0400262 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700263 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
264 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
John Asmuth614db982014-04-24 15:46:26 -0400265 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700266 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
267 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
268 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
269 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
270 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
271 &quot;blog&quot;: { # Data about the blog containing this Page.
272 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
273 },
274 },
John Asmuth614db982014-04-24 15:46:26 -0400275 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700276 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#pageList.
Bu Sun Kim65020912020-05-20 12:08:20 -0700277 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
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 Kim4ed7d3f2020-05-27 12:20:54 -0700307 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
308 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
309 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
310 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
311 # interface.
312 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
313 &quot;author&quot;: { # The author of this Page.
314 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
315 &quot;image&quot;: { # The creator&#x27;s avatar.
316 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -0400317 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700318 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
319 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
320 },
321 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
322 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
323 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
324 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
325 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
326 &quot;blog&quot;: { # Data about the blog containing this Page.
327 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
328 },
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 Kim4ed7d3f2020-05-27 12:20:54 -0700342 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
343 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
344 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
345 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
346 # interface.
347 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
348 &quot;author&quot;: { # The author of this Page.
349 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
350 &quot;image&quot;: { # The creator&#x27;s avatar.
351 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -0400352 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700353 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
354 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
355 },
356 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
357 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
358 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
359 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
360 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
361 &quot;blog&quot;: { # Data about the blog containing this Page.
362 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
363 },
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 Kim4ed7d3f2020-05-27 12:20:54 -0700383 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
384 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
385 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
386 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
387 # interface.
388 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
389 &quot;author&quot;: { # The author of this Page.
390 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
391 &quot;image&quot;: { # The creator&#x27;s avatar.
392 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Craig Citro065b5302014-08-14 00:47:23 -0700393 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700394 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
395 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
396 },
397 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
398 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
399 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
400 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
401 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
402 &quot;blog&quot;: { # Data about the blog containing this Page.
403 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
404 },
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 Kim4ed7d3f2020-05-27 12:20:54 -0700424 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
425 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
426 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
427 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
428 # interface.
429 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
430 &quot;author&quot;: { # The author of this Page.
431 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
432 &quot;image&quot;: { # The creator&#x27;s avatar.
433 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Craig Citro065b5302014-08-14 00:47:23 -0700434 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700435 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
436 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
437 },
438 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
439 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
440 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
441 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
442 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
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.
445 },
446 }</pre>
Craig Citro065b5302014-08-14 00:47:23 -0700447</div>
448
449<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700450 <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 -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 Kim4ed7d3f2020-05-27 12:20:54 -0700460 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
461 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
462 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
463 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
464 # interface.
465 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
466 &quot;author&quot;: { # The author of this Page.
467 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
468 &quot;image&quot;: { # The creator&#x27;s avatar.
469 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -0400470 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700471 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
472 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
473 },
474 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
475 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
476 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
477 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
478 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
479 &quot;blog&quot;: { # Data about the blog containing this Page.
480 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
481 },
482}
John Asmuth614db982014-04-24 15:46:26 -0400483
Dan O'Mearadd494642020-05-01 07:42:23 -0700484 publish: boolean, A parameter
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700485 revert: 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 Kim4ed7d3f2020-05-27 12:20:54 -0700495 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
496 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
497 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
498 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
499 # interface.
500 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
501 &quot;author&quot;: { # The author of this Page.
502 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
503 &quot;image&quot;: { # The creator&#x27;s avatar.
504 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
John Asmuth614db982014-04-24 15:46:26 -0400505 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700506 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
507 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
508 },
509 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
510 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
511 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
512 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
513 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
514 &quot;blog&quot;: { # Data about the blog containing this Page.
515 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
516 },
517 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400518</div>
519
520</body></html>