blob: c248f0f33d3c827659315e29749f95842a45e9b0 [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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070090 <code><a href="#list">list(blogId, fetchBodies=None, view=None, pageToken=None, maxResults=None, status=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 Kim65020912020-05-20 12:08:20 -070096 <code><a href="#patch">patch(blogId, pageId, body=None, publish=None, revert=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070097<p class="firstline">Patches a page.</p>
John Asmuth614db982014-04-24 15:46:26 -040098<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070099 <code><a href="#publish">publish(blogId, pageId, x__xgafv=None)</a></code></p>
100<p class="firstline">Publishes a page.</p>
Craig Citro065b5302014-08-14 00:47:23 -0700101<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700102 <code><a href="#revert">revert(blogId, pageId, x__xgafv=None)</a></code></p>
103<p class="firstline">Reverts a published or scheduled page to draft state.</p>
Craig Citro065b5302014-08-14 00:47:23 -0700104<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700105 <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 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700149 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
150 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
151 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700152 &quot;author&quot;: { # The author of this Page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700153 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700154 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
155 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
156 &quot;image&quot;: { # The creator&#x27;s avatar.
157 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
158 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700159 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700160 &quot;blog&quot;: { # Data about the blog containing this Page.
161 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
162 },
163 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700164 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700165 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700166 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700167 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
168 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
169 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700170 }</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{
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700183 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
184 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
185 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700186 &quot;author&quot;: { # The author of this Page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700187 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700188 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
189 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
190 &quot;image&quot;: { # The creator&#x27;s avatar.
191 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
192 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700193 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700194 &quot;blog&quot;: { # Data about the blog containing this Page.
195 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
196 },
197 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700198 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700199 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700200 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700201 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
202 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
203 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700204 }
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 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700216 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
217 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
218 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700219 &quot;author&quot;: { # The author of this Page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700220 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700221 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
222 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
223 &quot;image&quot;: { # The creator&#x27;s avatar.
224 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
225 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700226 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700227 &quot;blog&quot;: { # Data about the blog containing this Page.
228 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
229 },
230 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700231 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700232 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700233 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700234 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
235 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
236 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700237 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400238</div>
239
240<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700241 <code class="details" id="list">list(blogId, fetchBodies=None, view=None, pageToken=None, maxResults=None, status=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)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700246 fetchBodies: boolean, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700247 view: string, A parameter
248 Allowed values
249 VIEW_TYPE_UNSPECIFIED -
250 READER -
251 AUTHOR -
252 ADMIN -
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700253 pageToken: string, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700254 maxResults: integer, A parameter
255 status: string, A parameter (repeated)
256 Allowed values
257 LIVE -
258 DRAFT -
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 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700268 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#pageList.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700269 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
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 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700273 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
274 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
275 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700276 &quot;author&quot;: { # The author of this Page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700277 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700278 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
279 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
280 &quot;image&quot;: { # The creator&#x27;s avatar.
281 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
282 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700283 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700284 &quot;blog&quot;: { # Data about the blog containing this Page.
285 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
286 },
287 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700288 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700289 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700290 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700291 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
292 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
293 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
John Asmuth614db982014-04-24 15:46:26 -0400294 },
295 ],
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 Kim65020912020-05-20 12:08:20 -0700314 <code class="details" id="patch">patch(blogId, pageId, body=None, publish=None, revert=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700315 <pre>Patches a page.
John Asmuth614db982014-04-24 15:46:26 -0400316
317Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700318 blogId: string, A parameter (required)
319 pageId: string, A parameter (required)
320 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400321 The object takes the form of:
322
323{
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700324 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
325 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
326 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700327 &quot;author&quot;: { # The author of this Page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700328 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700329 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
330 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
331 &quot;image&quot;: { # The creator&#x27;s avatar.
332 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
333 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700334 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700335 &quot;blog&quot;: { # Data about the blog containing this Page.
336 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
337 },
338 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700339 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700340 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700341 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700342 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
343 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
344 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700345 }
John Asmuth614db982014-04-24 15:46:26 -0400346
Dan O'Mearadd494642020-05-01 07:42:23 -0700347 publish: boolean, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -0700348 revert: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700349 x__xgafv: string, V1 error format.
350 Allowed values
351 1 - v1 error format
352 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400353
354Returns:
355 An object of the form:
356
357 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700358 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
359 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
360 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700361 &quot;author&quot;: { # The author of this Page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700362 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700363 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
364 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
365 &quot;image&quot;: { # The creator&#x27;s avatar.
366 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
367 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700368 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700369 &quot;blog&quot;: { # Data about the blog containing this Page.
370 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
371 },
372 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700373 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700374 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700375 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700376 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
377 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
378 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700379 }</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 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700398 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
399 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
400 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700401 &quot;author&quot;: { # The author of this Page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700402 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700403 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
404 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
405 &quot;image&quot;: { # The creator&#x27;s avatar.
406 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
407 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700408 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700409 &quot;blog&quot;: { # Data about the blog containing this Page.
410 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
411 },
412 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700413 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700414 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700415 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700416 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
417 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
418 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700419 }</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 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700438 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
439 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
440 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700441 &quot;author&quot;: { # The author of this Page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700442 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700443 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
444 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
445 &quot;image&quot;: { # The creator&#x27;s avatar.
446 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
447 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700448 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700449 &quot;blog&quot;: { # Data about the blog containing this Page.
450 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
451 },
452 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700453 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700454 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700455 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700456 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
457 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
458 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700459 }</pre>
Craig Citro065b5302014-08-14 00:47:23 -0700460</div>
461
462<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700463 <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{
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700473 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
474 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
475 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700476 &quot;author&quot;: { # The author of this Page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700477 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700478 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
479 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
480 &quot;image&quot;: { # The creator&#x27;s avatar.
481 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
482 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700483 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700484 &quot;blog&quot;: { # Data about the blog containing this Page.
485 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
486 },
487 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700488 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700489 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700490 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700491 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
492 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
493 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700494 }
John Asmuth614db982014-04-24 15:46:26 -0400495
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700496 revert: boolean, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700497 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 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700507 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
508 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user interface.
509 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700510 &quot;author&quot;: { # The author of this Page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700511 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700512 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
513 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
514 &quot;image&quot;: { # The creator&#x27;s avatar.
515 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
516 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700517 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700518 &quot;blog&quot;: { # Data about the blog containing this Page.
519 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
520 },
521 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700522 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700523 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700524 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700525 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
526 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
527 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700528 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400529</div>
530
531</body></html>