John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, 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 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, 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'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 75 | <h1><a href="blogger_v3.html">Blogger API v3</a> . <a href="blogger_v3.pages.html">pages</a></h1> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 78 | <code><a href="#close">close()</a></code></p> |
| 79 | <p class="firstline">Close httplib2 connections.</p> |
| 80 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 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> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 83 | <p class="toc_element"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 84 | <code><a href="#get">get(blogId, pageId, view=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 85 | <p class="firstline">Gets a page by blog id and page id.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 86 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 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> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 89 | <p class="toc_element"> |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 90 | <code><a href="#list">list(blogId, fetchBodies=None, maxResults=None, pageToken=None, status=None, view=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 91 | <p class="firstline">Lists pages.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 92 | <p class="toc_element"> |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 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"> |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 96 | <code><a href="#patch">patch(blogId, pageId, body=None, publish=None, revert=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 97 | <p class="firstline">Patches a page.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 98 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 99 | <code><a href="#publish">publish(blogId, pageId, x__xgafv=None)</a></code></p> |
| 100 | <p class="firstline">Publishes a page.</p> |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 101 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 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> |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 104 | <p class="toc_element"> |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 105 | <code><a href="#update">update(blogId, pageId, body=None, publish=None, revert=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 106 | <p class="firstline">Updates a page by blog id and page id.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 107 | <h3>Method Details</h3> |
| 108 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 109 | <code class="details" id="close">close()</code> |
| 110 | <pre>Close httplib2 connections.</pre> |
| 111 | </div> |
| 112 | |
| 113 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 114 | <code class="details" id="delete">delete(blogId, pageId, x__xgafv=None)</code> |
| 115 | <pre>Deletes a page by blog id and page id. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 116 | |
| 117 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 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 |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 124 | </pre> |
| 125 | </div> |
| 126 | |
| 127 | <div class="method"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 128 | <code class="details" id="get">get(blogId, pageId, view=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 129 | <pre>Gets a page by blog id and page id. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 130 | |
| 131 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 132 | blogId: string, A parameter (required) |
| 133 | pageId: string, A parameter (required) |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 134 | view: string, A parameter |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 135 | Allowed values |
| 136 | VIEW_TYPE_UNSPECIFIED - |
| 137 | READER - |
| 138 | AUTHOR - |
| 139 | ADMIN - |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 140 | x__xgafv: string, V1 error format. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 141 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 142 | 1 - v1 error format |
| 143 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 144 | |
| 145 | Returns: |
| 146 | An object of the form: |
| 147 | |
| 148 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 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> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 171 | </div> |
| 172 | |
| 173 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 174 | <code class="details" id="insert">insert(blogId, body=None, isDraft=None, x__xgafv=None)</code> |
| 175 | <pre>Inserts a page. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 176 | |
| 177 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 178 | blogId: string, A parameter (required) |
| 179 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 180 | The object takes the form of: |
| 181 | |
| 182 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 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. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 188 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 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 | } |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 205 | |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 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 |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 211 | |
| 212 | Returns: |
| 213 | An object of the form: |
| 214 | |
| 215 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 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> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 238 | </div> |
| 239 | |
| 240 | <div class="method"> |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 241 | <code class="details" id="list">list(blogId, fetchBodies=None, maxResults=None, pageToken=None, status=None, view=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 242 | <pre>Lists pages. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 243 | |
| 244 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 245 | blogId: string, A parameter (required) |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 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 - |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 253 | view: string, A parameter |
| 254 | Allowed values |
| 255 | VIEW_TYPE_UNSPECIFIED - |
| 256 | READER - |
| 257 | AUTHOR - |
| 258 | ADMIN - |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 259 | x__xgafv: string, V1 error format. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 260 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 261 | 1 - v1 error format |
| 262 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 263 | |
| 264 | Returns: |
| 265 | An object of the form: |
| 266 | |
| 267 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 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. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 276 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 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> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 297 | </div> |
| 298 | |
| 299 | <div class="method"> |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 300 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 301 | <pre>Retrieves the next page of results. |
| 302 | |
| 303 | Args: |
| 304 | previous_request: The request for the previous page. (required) |
| 305 | previous_response: The response from the request for the previous page. (required) |
| 306 | |
| 307 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 308 | A request object that you can call 'execute()' on to request the next |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 309 | page. Returns None if there are no more items in the collection. |
| 310 | </pre> |
| 311 | </div> |
| 312 | |
| 313 | <div class="method"> |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 314 | <code class="details" id="patch">patch(blogId, pageId, body=None, publish=None, revert=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 315 | <pre>Patches a page. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 316 | |
| 317 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 318 | blogId: string, A parameter (required) |
| 319 | pageId: string, A parameter (required) |
| 320 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 321 | The object takes the form of: |
| 322 | |
| 323 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 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. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 329 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 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 | } |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 346 | |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 347 | publish: boolean, A parameter |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 348 | revert: boolean, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 349 | x__xgafv: string, V1 error format. |
| 350 | Allowed values |
| 351 | 1 - v1 error format |
| 352 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 353 | |
| 354 | Returns: |
| 355 | An object of the form: |
| 356 | |
| 357 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 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> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 380 | </div> |
| 381 | |
| 382 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 383 | <code class="details" id="publish">publish(blogId, pageId, x__xgafv=None)</code> |
| 384 | <pre>Publishes a page. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 385 | |
| 386 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 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 |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 393 | |
| 394 | Returns: |
| 395 | An object of the form: |
| 396 | |
| 397 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 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> |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 420 | </div> |
| 421 | |
| 422 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 423 | <code class="details" id="revert">revert(blogId, pageId, x__xgafv=None)</code> |
| 424 | <pre>Reverts a published or scheduled page to draft state. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 425 | |
| 426 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 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 |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 433 | |
| 434 | Returns: |
| 435 | An object of the form: |
| 436 | |
| 437 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 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> |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 460 | </div> |
| 461 | |
| 462 | <div class="method"> |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 463 | <code class="details" id="update">update(blogId, pageId, body=None, publish=None, revert=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 464 | <pre>Updates a page by blog id and page id. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 465 | |
| 466 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 467 | blogId: string, A parameter (required) |
| 468 | pageId: string, A parameter (required) |
| 469 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 470 | The object takes the form of: |
| 471 | |
| 472 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 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. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 478 | }, |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 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 | } |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 495 | |
Yoshi Automation Bot | 0bf565c | 2020-12-09 08:56:03 -0800 | [diff] [blame] | 496 | publish: boolean, A parameter |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 497 | revert: boolean, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 498 | x__xgafv: string, V1 error format. |
| 499 | Allowed values |
| 500 | 1 - v1 error format |
| 501 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 502 | |
| 503 | Returns: |
| 504 | An object of the form: |
| 505 | |
| 506 | { |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 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> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 529 | </div> |
| 530 | |
| 531 | </body></html> |