1<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 75<h1><a href="blogger_v3.html">Blogger API v3</a> . <a href="blogger_v3.pages.html">pages</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#close">close()</a></code></p> 79<p class="firstline">Close httplib2 connections.</p> 80<p class="toc_element"> 81 <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> 83<p class="toc_element"> 84 <code><a href="#get">get(blogId, pageId, view=None, x__xgafv=None)</a></code></p> 85<p class="firstline">Gets a page by blog id and page id.</p> 86<p class="toc_element"> 87 <code><a href="#insert">insert(blogId, body=None, isDraft=None, x__xgafv=None)</a></code></p> 88<p class="firstline">Inserts a page.</p> 89<p class="toc_element"> 90 <code><a href="#list">list(blogId, fetchBodies=None, maxResults=None, pageToken=None, status=None, view=None, x__xgafv=None)</a></code></p> 91<p class="firstline">Lists pages.</p> 92<p class="toc_element"> 93 <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"> 96 <code><a href="#patch">patch(blogId, pageId, body=None, publish=None, revert=None, x__xgafv=None)</a></code></p> 97<p class="firstline">Patches a page.</p> 98<p class="toc_element"> 99 <code><a href="#publish">publish(blogId, pageId, x__xgafv=None)</a></code></p> 100<p class="firstline">Publishes a page.</p> 101<p class="toc_element"> 102 <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> 104<p class="toc_element"> 105 <code><a href="#update">update(blogId, pageId, body=None, publish=None, revert=None, x__xgafv=None)</a></code></p> 106<p class="firstline">Updates a page by blog id and page id.</p> 107<h3>Method Details</h3> 108<div class="method"> 109 <code class="details" id="close">close()</code> 110 <pre>Close httplib2 connections.</pre> 111</div> 112 113<div class="method"> 114 <code class="details" id="delete">delete(blogId, pageId, x__xgafv=None)</code> 115 <pre>Deletes a page by blog id and page id. 116 117Args: 118 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 124</pre> 125</div> 126 127<div class="method"> 128 <code class="details" id="get">get(blogId, pageId, view=None, x__xgafv=None)</code> 129 <pre>Gets a page by blog id and page id. 130 131Args: 132 blogId: string, A parameter (required) 133 pageId: string, A parameter (required) 134 view: string, A parameter 135 Allowed values 136 VIEW_TYPE_UNSPECIFIED - 137 READER - 138 AUTHOR - 139 ADMIN - 140 x__xgafv: string, V1 error format. 141 Allowed values 142 1 - v1 error format 143 2 - v2 error format 144 145Returns: 146 An object of the form: 147 148 { 149 "author": { # The author of this Page. 150 "displayName": "A String", # The display name. 151 "id": "A String", # The identifier of the creator. 152 "image": { # The creator's avatar. 153 "url": "A String", # The creator's avatar URL. 154 }, 155 "url": "A String", # The URL of the creator's Profile page. 156 }, 157 "blog": { # Data about the blog containing this Page. 158 "id": "A String", # The identifier of the blog containing this page. 159 }, 160 "content": "A String", # The body content of this Page, in HTML. 161 "etag": "A String", # Etag of the resource. 162 "id": "A String", # The identifier for this resource. 163 "kind": "A String", # The kind of this entity. Always blogger#page. 164 "published": "A String", # RFC 3339 date-time when this Page was published. 165 "selfLink": "A String", # The API REST URL to fetch this resource from. 166 "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). 167 "title": "A String", # The title of this entity. This is the name displayed in the Admin user interface. 168 "updated": "A String", # RFC 3339 date-time when this Page was last updated. 169 "url": "A String", # The URL that this Page is displayed at. 170}</pre> 171</div> 172 173<div class="method"> 174 <code class="details" id="insert">insert(blogId, body=None, isDraft=None, x__xgafv=None)</code> 175 <pre>Inserts a page. 176 177Args: 178 blogId: string, A parameter (required) 179 body: object, The request body. 180 The object takes the form of: 181 182{ 183 "author": { # The author of this Page. 184 "displayName": "A String", # The display name. 185 "id": "A String", # The identifier of the creator. 186 "image": { # The creator's avatar. 187 "url": "A String", # The creator's avatar URL. 188 }, 189 "url": "A String", # The URL of the creator's Profile page. 190 }, 191 "blog": { # Data about the blog containing this Page. 192 "id": "A String", # The identifier of the blog containing this page. 193 }, 194 "content": "A String", # The body content of this Page, in HTML. 195 "etag": "A String", # Etag of the resource. 196 "id": "A String", # The identifier for this resource. 197 "kind": "A String", # The kind of this entity. Always blogger#page. 198 "published": "A String", # RFC 3339 date-time when this Page was published. 199 "selfLink": "A String", # The API REST URL to fetch this resource from. 200 "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). 201 "title": "A String", # The title of this entity. This is the name displayed in the Admin user interface. 202 "updated": "A String", # RFC 3339 date-time when this Page was last updated. 203 "url": "A String", # The URL that this Page is displayed at. 204} 205 206 isDraft: boolean, A parameter 207 x__xgafv: string, V1 error format. 208 Allowed values 209 1 - v1 error format 210 2 - v2 error format 211 212Returns: 213 An object of the form: 214 215 { 216 "author": { # The author of this Page. 217 "displayName": "A String", # The display name. 218 "id": "A String", # The identifier of the creator. 219 "image": { # The creator's avatar. 220 "url": "A String", # The creator's avatar URL. 221 }, 222 "url": "A String", # The URL of the creator's Profile page. 223 }, 224 "blog": { # Data about the blog containing this Page. 225 "id": "A String", # The identifier of the blog containing this page. 226 }, 227 "content": "A String", # The body content of this Page, in HTML. 228 "etag": "A String", # Etag of the resource. 229 "id": "A String", # The identifier for this resource. 230 "kind": "A String", # The kind of this entity. Always blogger#page. 231 "published": "A String", # RFC 3339 date-time when this Page was published. 232 "selfLink": "A String", # The API REST URL to fetch this resource from. 233 "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). 234 "title": "A String", # The title of this entity. This is the name displayed in the Admin user interface. 235 "updated": "A String", # RFC 3339 date-time when this Page was last updated. 236 "url": "A String", # The URL that this Page is displayed at. 237}</pre> 238</div> 239 240<div class="method"> 241 <code class="details" id="list">list(blogId, fetchBodies=None, maxResults=None, pageToken=None, status=None, view=None, x__xgafv=None)</code> 242 <pre>Lists pages. 243 244Args: 245 blogId: string, A parameter (required) 246 fetchBodies: boolean, A parameter 247 maxResults: integer, A parameter 248 pageToken: string, A parameter 249 status: string, A parameter (repeated) 250 Allowed values 251 LIVE - 252 DRAFT - 253 view: string, A parameter 254 Allowed values 255 VIEW_TYPE_UNSPECIFIED - 256 READER - 257 AUTHOR - 258 ADMIN - 259 x__xgafv: string, V1 error format. 260 Allowed values 261 1 - v1 error format 262 2 - v2 error format 263 264Returns: 265 An object of the form: 266 267 { 268 "etag": "A String", # Etag of the response. 269 "items": [ # The list of Pages for a Blog. 270 { 271 "author": { # The author of this Page. 272 "displayName": "A String", # The display name. 273 "id": "A String", # The identifier of the creator. 274 "image": { # The creator's avatar. 275 "url": "A String", # The creator's avatar URL. 276 }, 277 "url": "A String", # The URL of the creator's Profile page. 278 }, 279 "blog": { # Data about the blog containing this Page. 280 "id": "A String", # The identifier of the blog containing this page. 281 }, 282 "content": "A String", # The body content of this Page, in HTML. 283 "etag": "A String", # Etag of the resource. 284 "id": "A String", # The identifier for this resource. 285 "kind": "A String", # The kind of this entity. Always blogger#page. 286 "published": "A String", # RFC 3339 date-time when this Page was published. 287 "selfLink": "A String", # The API REST URL to fetch this resource from. 288 "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). 289 "title": "A String", # The title of this entity. This is the name displayed in the Admin user interface. 290 "updated": "A String", # RFC 3339 date-time when this Page was last updated. 291 "url": "A String", # The URL that this Page is displayed at. 292 }, 293 ], 294 "kind": "A String", # The kind of this entity. Always blogger#pageList. 295 "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists. 296}</pre> 297</div> 298 299<div class="method"> 300 <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: 308 A request object that you can call 'execute()' on to request the next 309 page. Returns None if there are no more items in the collection. 310 </pre> 311</div> 312 313<div class="method"> 314 <code class="details" id="patch">patch(blogId, pageId, body=None, publish=None, revert=None, x__xgafv=None)</code> 315 <pre>Patches a page. 316 317Args: 318 blogId: string, A parameter (required) 319 pageId: string, A parameter (required) 320 body: object, The request body. 321 The object takes the form of: 322 323{ 324 "author": { # The author of this Page. 325 "displayName": "A String", # The display name. 326 "id": "A String", # The identifier of the creator. 327 "image": { # The creator's avatar. 328 "url": "A String", # The creator's avatar URL. 329 }, 330 "url": "A String", # The URL of the creator's Profile page. 331 }, 332 "blog": { # Data about the blog containing this Page. 333 "id": "A String", # The identifier of the blog containing this page. 334 }, 335 "content": "A String", # The body content of this Page, in HTML. 336 "etag": "A String", # Etag of the resource. 337 "id": "A String", # The identifier for this resource. 338 "kind": "A String", # The kind of this entity. Always blogger#page. 339 "published": "A String", # RFC 3339 date-time when this Page was published. 340 "selfLink": "A String", # The API REST URL to fetch this resource from. 341 "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). 342 "title": "A String", # The title of this entity. This is the name displayed in the Admin user interface. 343 "updated": "A String", # RFC 3339 date-time when this Page was last updated. 344 "url": "A String", # The URL that this Page is displayed at. 345} 346 347 publish: boolean, A parameter 348 revert: boolean, A parameter 349 x__xgafv: string, V1 error format. 350 Allowed values 351 1 - v1 error format 352 2 - v2 error format 353 354Returns: 355 An object of the form: 356 357 { 358 "author": { # The author of this Page. 359 "displayName": "A String", # The display name. 360 "id": "A String", # The identifier of the creator. 361 "image": { # The creator's avatar. 362 "url": "A String", # The creator's avatar URL. 363 }, 364 "url": "A String", # The URL of the creator's Profile page. 365 }, 366 "blog": { # Data about the blog containing this Page. 367 "id": "A String", # The identifier of the blog containing this page. 368 }, 369 "content": "A String", # The body content of this Page, in HTML. 370 "etag": "A String", # Etag of the resource. 371 "id": "A String", # The identifier for this resource. 372 "kind": "A String", # The kind of this entity. Always blogger#page. 373 "published": "A String", # RFC 3339 date-time when this Page was published. 374 "selfLink": "A String", # The API REST URL to fetch this resource from. 375 "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). 376 "title": "A String", # The title of this entity. This is the name displayed in the Admin user interface. 377 "updated": "A String", # RFC 3339 date-time when this Page was last updated. 378 "url": "A String", # The URL that this Page is displayed at. 379}</pre> 380</div> 381 382<div class="method"> 383 <code class="details" id="publish">publish(blogId, pageId, x__xgafv=None)</code> 384 <pre>Publishes a page. 385 386Args: 387 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 393 394Returns: 395 An object of the form: 396 397 { 398 "author": { # The author of this Page. 399 "displayName": "A String", # The display name. 400 "id": "A String", # The identifier of the creator. 401 "image": { # The creator's avatar. 402 "url": "A String", # The creator's avatar URL. 403 }, 404 "url": "A String", # The URL of the creator's Profile page. 405 }, 406 "blog": { # Data about the blog containing this Page. 407 "id": "A String", # The identifier of the blog containing this page. 408 }, 409 "content": "A String", # The body content of this Page, in HTML. 410 "etag": "A String", # Etag of the resource. 411 "id": "A String", # The identifier for this resource. 412 "kind": "A String", # The kind of this entity. Always blogger#page. 413 "published": "A String", # RFC 3339 date-time when this Page was published. 414 "selfLink": "A String", # The API REST URL to fetch this resource from. 415 "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). 416 "title": "A String", # The title of this entity. This is the name displayed in the Admin user interface. 417 "updated": "A String", # RFC 3339 date-time when this Page was last updated. 418 "url": "A String", # The URL that this Page is displayed at. 419}</pre> 420</div> 421 422<div class="method"> 423 <code class="details" id="revert">revert(blogId, pageId, x__xgafv=None)</code> 424 <pre>Reverts a published or scheduled page to draft state. 425 426Args: 427 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 433 434Returns: 435 An object of the form: 436 437 { 438 "author": { # The author of this Page. 439 "displayName": "A String", # The display name. 440 "id": "A String", # The identifier of the creator. 441 "image": { # The creator's avatar. 442 "url": "A String", # The creator's avatar URL. 443 }, 444 "url": "A String", # The URL of the creator's Profile page. 445 }, 446 "blog": { # Data about the blog containing this Page. 447 "id": "A String", # The identifier of the blog containing this page. 448 }, 449 "content": "A String", # The body content of this Page, in HTML. 450 "etag": "A String", # Etag of the resource. 451 "id": "A String", # The identifier for this resource. 452 "kind": "A String", # The kind of this entity. Always blogger#page. 453 "published": "A String", # RFC 3339 date-time when this Page was published. 454 "selfLink": "A String", # The API REST URL to fetch this resource from. 455 "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). 456 "title": "A String", # The title of this entity. This is the name displayed in the Admin user interface. 457 "updated": "A String", # RFC 3339 date-time when this Page was last updated. 458 "url": "A String", # The URL that this Page is displayed at. 459}</pre> 460</div> 461 462<div class="method"> 463 <code class="details" id="update">update(blogId, pageId, body=None, publish=None, revert=None, x__xgafv=None)</code> 464 <pre>Updates a page by blog id and page id. 465 466Args: 467 blogId: string, A parameter (required) 468 pageId: string, A parameter (required) 469 body: object, The request body. 470 The object takes the form of: 471 472{ 473 "author": { # The author of this Page. 474 "displayName": "A String", # The display name. 475 "id": "A String", # The identifier of the creator. 476 "image": { # The creator's avatar. 477 "url": "A String", # The creator's avatar URL. 478 }, 479 "url": "A String", # The URL of the creator's Profile page. 480 }, 481 "blog": { # Data about the blog containing this Page. 482 "id": "A String", # The identifier of the blog containing this page. 483 }, 484 "content": "A String", # The body content of this Page, in HTML. 485 "etag": "A String", # Etag of the resource. 486 "id": "A String", # The identifier for this resource. 487 "kind": "A String", # The kind of this entity. Always blogger#page. 488 "published": "A String", # RFC 3339 date-time when this Page was published. 489 "selfLink": "A String", # The API REST URL to fetch this resource from. 490 "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). 491 "title": "A String", # The title of this entity. This is the name displayed in the Admin user interface. 492 "updated": "A String", # RFC 3339 date-time when this Page was last updated. 493 "url": "A String", # The URL that this Page is displayed at. 494} 495 496 publish: boolean, A parameter 497 revert: boolean, A parameter 498 x__xgafv: string, V1 error format. 499 Allowed values 500 1 - v1 error format 501 2 - v2 error format 502 503Returns: 504 An object of the form: 505 506 { 507 "author": { # The author of this Page. 508 "displayName": "A String", # The display name. 509 "id": "A String", # The identifier of the creator. 510 "image": { # The creator's avatar. 511 "url": "A String", # The creator's avatar URL. 512 }, 513 "url": "A String", # The URL of the creator's Profile page. 514 }, 515 "blog": { # Data about the blog containing this Page. 516 "id": "A String", # The identifier of the blog containing this page. 517 }, 518 "content": "A String", # The body content of this Page, in HTML. 519 "etag": "A String", # Etag of the resource. 520 "id": "A String", # The identifier for this resource. 521 "kind": "A String", # The kind of this entity. Always blogger#page. 522 "published": "A String", # RFC 3339 date-time when this Page was published. 523 "selfLink": "A String", # The API REST URL to fetch this resource from. 524 "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). 525 "title": "A String", # The title of this entity. This is the name displayed in the Admin user interface. 526 "updated": "A String", # RFC 3339 date-time when this Page was last updated. 527 "url": "A String", # The URL that this Page is displayed at. 528}</pre> 529</div> 530 531</body></html>