blob: 97aa55e7a3d9468026738214b37ce19a7776009f [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 Kim65020912020-05-20 12:08:20 -070087 <code><a href="#list">list(blogId, view=None, fetchBodies=None, maxResults=None, status=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">
Dan O'Mearadd494642020-05-01 07:42:23 -0700102 <code><a href="#update">update(blogId, pageId, body=None, revert=None, publish=None, x__xgafv=None)</a></code></p>
103<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 Kim65020912020-05-20 12:08:20 -0700136 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
137 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
138 &quot;blog&quot;: { # Data about the blog containing this Page.
139 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
John Asmuth614db982014-04-24 15:46:26 -0400140 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700141 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
142 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
143 &quot;author&quot;: { # The author of this Page.
144 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
145 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
146 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
147 &quot;image&quot;: { # The creator&#x27;s avatar.
148 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700149 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700150 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700151 &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;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
Dan O'Mearadd494642020-05-01 07:42:23 -0700154 # interface.
Bu Sun Kim65020912020-05-20 12:08:20 -0700155 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
156 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
157 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
John Asmuth614db982014-04-24 15:46:26 -0400158 }</pre>
159</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 Kim65020912020-05-20 12:08:20 -0700171 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
172 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
173 &quot;blog&quot;: { # Data about the blog containing this Page.
174 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
John Asmuth614db982014-04-24 15:46:26 -0400175 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700176 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
177 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
178 &quot;author&quot;: { # The author of this Page.
179 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
180 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
181 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
182 &quot;image&quot;: { # The creator&#x27;s avatar.
183 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700184 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700185 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700186 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
187 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
188 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
Dan O'Mearadd494642020-05-01 07:42:23 -0700189 # interface.
Bu Sun Kim65020912020-05-20 12:08:20 -0700190 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
191 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
192 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
John Asmuth614db982014-04-24 15:46:26 -0400193 }
194
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 Kim65020912020-05-20 12:08:20 -0700205 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
206 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
207 &quot;blog&quot;: { # Data about the blog containing this Page.
208 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
John Asmuth614db982014-04-24 15:46:26 -0400209 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700210 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
211 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
212 &quot;author&quot;: { # The author of this Page.
213 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
214 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
215 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
216 &quot;image&quot;: { # The creator&#x27;s avatar.
217 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700218 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700219 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700220 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
221 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
222 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
Dan O'Mearadd494642020-05-01 07:42:23 -0700223 # interface.
Bu Sun Kim65020912020-05-20 12:08:20 -0700224 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
225 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
226 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
John Asmuth614db982014-04-24 15:46:26 -0400227 }</pre>
228</div>
229
230<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700231 <code class="details" id="list">list(blogId, view=None, fetchBodies=None, maxResults=None, status=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 view: string, A parameter
237 fetchBodies: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700238 maxResults: integer, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -0700239 status: string, A parameter (repeated)
Dan O'Mearadd494642020-05-01 07:42:23 -0700240 pageToken: string, A parameter
241 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;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#pageList.
251 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
252 &quot;items&quot;: [ # The list of Pages for a Blog.
John Asmuth614db982014-04-24 15:46:26 -0400253 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700254 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
255 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
256 &quot;blog&quot;: { # Data about the blog containing this Page.
257 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
John Asmuth614db982014-04-24 15:46:26 -0400258 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700259 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
260 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
261 &quot;author&quot;: { # The author of this Page.
262 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
263 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
264 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
265 &quot;image&quot;: { # The creator&#x27;s avatar.
266 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700267 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700268 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700269 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
270 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
271 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
Dan O'Mearadd494642020-05-01 07:42:23 -0700272 # interface.
Bu Sun Kim65020912020-05-20 12:08:20 -0700273 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
274 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
275 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
John Asmuth614db982014-04-24 15:46:26 -0400276 },
277 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700278 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
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 Kim65020912020-05-20 12:08:20 -0700307 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
308 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
309 &quot;blog&quot;: { # Data about the blog containing this Page.
310 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
John Asmuth614db982014-04-24 15:46:26 -0400311 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700312 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
313 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
314 &quot;author&quot;: { # The author of this Page.
315 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
316 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
317 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
318 &quot;image&quot;: { # The creator&#x27;s avatar.
319 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700320 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700321 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700322 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
323 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
324 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
Dan O'Mearadd494642020-05-01 07:42:23 -0700325 # interface.
Bu Sun Kim65020912020-05-20 12:08:20 -0700326 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
327 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
328 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
John Asmuth614db982014-04-24 15:46:26 -0400329 }
330
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 Kim65020912020-05-20 12:08:20 -0700342 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
343 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
344 &quot;blog&quot;: { # Data about the blog containing this Page.
345 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
John Asmuth614db982014-04-24 15:46:26 -0400346 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700347 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
348 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
349 &quot;author&quot;: { # The author of this Page.
350 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
351 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
352 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
353 &quot;image&quot;: { # The creator&#x27;s avatar.
354 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700355 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700356 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700357 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
358 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
359 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
Dan O'Mearadd494642020-05-01 07:42:23 -0700360 # interface.
Bu Sun Kim65020912020-05-20 12:08:20 -0700361 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
362 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
363 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
John Asmuth614db982014-04-24 15:46:26 -0400364 }</pre>
365</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 Kim65020912020-05-20 12:08:20 -0700383 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
384 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
385 &quot;blog&quot;: { # Data about the blog containing this Page.
386 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
Craig Citro065b5302014-08-14 00:47:23 -0700387 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700388 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
389 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
390 &quot;author&quot;: { # The author of this Page.
391 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
392 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
393 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
394 &quot;image&quot;: { # The creator&#x27;s avatar.
395 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700396 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700397 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700398 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
399 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
400 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
Dan O'Mearadd494642020-05-01 07:42:23 -0700401 # interface.
Bu Sun Kim65020912020-05-20 12:08:20 -0700402 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
403 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
404 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
Craig Citro065b5302014-08-14 00:47:23 -0700405 }</pre>
406</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 Kim65020912020-05-20 12:08:20 -0700424 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
425 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
426 &quot;blog&quot;: { # Data about the blog containing this Page.
427 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
Craig Citro065b5302014-08-14 00:47:23 -0700428 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700429 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
430 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
431 &quot;author&quot;: { # The author of this Page.
432 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
433 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
434 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
435 &quot;image&quot;: { # The creator&#x27;s avatar.
436 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700437 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700438 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700439 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
440 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
441 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
Dan O'Mearadd494642020-05-01 07:42:23 -0700442 # interface.
Bu Sun Kim65020912020-05-20 12:08:20 -0700443 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
444 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
445 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
Craig Citro065b5302014-08-14 00:47:23 -0700446 }</pre>
447</div>
448
449<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700450 <code class="details" id="update">update(blogId, pageId, body=None, revert=None, publish=None, x__xgafv=None)</code>
451 <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 Kim65020912020-05-20 12:08:20 -0700460 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
461 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
462 &quot;blog&quot;: { # Data about the blog containing this Page.
463 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
John Asmuth614db982014-04-24 15:46:26 -0400464 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700465 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
466 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
467 &quot;author&quot;: { # The author of this Page.
468 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
469 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
470 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
471 &quot;image&quot;: { # The creator&#x27;s avatar.
472 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700473 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700474 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700475 &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;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
Dan O'Mearadd494642020-05-01 07:42:23 -0700478 # interface.
Bu Sun Kim65020912020-05-20 12:08:20 -0700479 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
480 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
481 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
John Asmuth614db982014-04-24 15:46:26 -0400482 }
483
Dan O'Mearadd494642020-05-01 07:42:23 -0700484 revert: boolean, A parameter
485 publish: boolean, A parameter
486 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 Kim65020912020-05-20 12:08:20 -0700495 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
496 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
497 &quot;blog&quot;: { # Data about the blog containing this Page.
498 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
John Asmuth614db982014-04-24 15:46:26 -0400499 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700500 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
501 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
502 &quot;author&quot;: { # The author of this Page.
503 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
504 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
505 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
506 &quot;image&quot;: { # The creator&#x27;s avatar.
507 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700508 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700509 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700510 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
511 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
512 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
Dan O'Mearadd494642020-05-01 07:42:23 -0700513 # interface.
Bu Sun Kim65020912020-05-20 12:08:20 -0700514 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
515 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
516 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
John Asmuth614db982014-04-24 15:46:26 -0400517 }</pre>
518</div>
519
520</body></html>