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"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 78 | <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 Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 80 | <p class="toc_element"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 81 | <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] | 82 | <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] | 83 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 84 | <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 Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 86 | <p class="toc_element"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 87 | <code><a href="#list">list(blogId, pageToken=None, maxResults=None, status=None, fetchBodies=None, view=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 88 | <p class="firstline">Lists pages.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 89 | <p class="toc_element"> |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 90 | <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 Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 93 | <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] | 94 | <p class="firstline">Patches a page.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 95 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 96 | <code><a href="#publish">publish(blogId, pageId, x__xgafv=None)</a></code></p> |
| 97 | <p class="firstline">Publishes a page.</p> |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 98 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 99 | <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 Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 101 | <p class="toc_element"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 102 | <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] | 103 | <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] | 104 | <h3>Method Details</h3> |
| 105 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 106 | <code class="details" id="delete">delete(blogId, pageId, x__xgafv=None)</code> |
| 107 | <pre>Deletes a page by blog id and page id. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 108 | |
| 109 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 110 | 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 Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 116 | </pre> |
| 117 | </div> |
| 118 | |
| 119 | <div class="method"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 120 | <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] | 121 | <pre>Gets a page by blog id and page id. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 122 | |
| 123 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 124 | blogId: string, A parameter (required) |
| 125 | pageId: string, A parameter (required) |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 126 | view: string, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 127 | x__xgafv: string, V1 error format. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 128 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 129 | 1 - v1 error format |
| 130 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 131 | |
| 132 | Returns: |
| 133 | An object of the form: |
| 134 | |
| 135 | { |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 136 | "id": "A String", # The identifier for this resource. |
| 137 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 138 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
| 139 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 140 | # interface. |
| 141 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 142 | "author": { # The author of this Page. |
| 143 | "id": "A String", # The identifier of the creator. |
| 144 | "image": { # The creator's avatar. |
| 145 | "url": "A String", # The creator's avatar URL. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 146 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 147 | "url": "A String", # The URL of the creator's Profile page. |
| 148 | "displayName": "A String", # The display name. |
| 149 | }, |
| 150 | "url": "A String", # The URL that this Page is displayed at. |
| 151 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 152 | "content": "A String", # The body content of this Page, in HTML. |
| 153 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 154 | "etag": "A String", # Etag of the resource. |
| 155 | "blog": { # Data about the blog containing this Page. |
| 156 | "id": "A String", # The identifier of the blog containing this page. |
| 157 | }, |
| 158 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 159 | </div> |
| 160 | |
| 161 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 162 | <code class="details" id="insert">insert(blogId, body=None, isDraft=None, x__xgafv=None)</code> |
| 163 | <pre>Inserts a page. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 164 | |
| 165 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 166 | blogId: string, A parameter (required) |
| 167 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 168 | The object takes the form of: |
| 169 | |
| 170 | { |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 171 | "id": "A String", # The identifier for this resource. |
| 172 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 173 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
| 174 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 175 | # interface. |
| 176 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 177 | "author": { # The author of this Page. |
| 178 | "id": "A String", # The identifier of the creator. |
| 179 | "image": { # The creator's avatar. |
| 180 | "url": "A String", # The creator's avatar URL. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 181 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 182 | "url": "A String", # The URL of the creator's Profile page. |
| 183 | "displayName": "A String", # The display name. |
| 184 | }, |
| 185 | "url": "A String", # The URL that this Page is displayed at. |
| 186 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 187 | "content": "A String", # The body content of this Page, in HTML. |
| 188 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 189 | "etag": "A String", # Etag of the resource. |
| 190 | "blog": { # Data about the blog containing this Page. |
| 191 | "id": "A String", # The identifier of the blog containing this page. |
| 192 | }, |
| 193 | } |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 194 | |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 195 | 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 Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 200 | |
| 201 | Returns: |
| 202 | An object of the form: |
| 203 | |
| 204 | { |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 205 | "id": "A String", # The identifier for this resource. |
| 206 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 207 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
| 208 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 209 | # interface. |
| 210 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 211 | "author": { # The author of this Page. |
| 212 | "id": "A String", # The identifier of the creator. |
| 213 | "image": { # The creator's avatar. |
| 214 | "url": "A String", # The creator's avatar URL. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 215 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 216 | "url": "A String", # The URL of the creator's Profile page. |
| 217 | "displayName": "A String", # The display name. |
| 218 | }, |
| 219 | "url": "A String", # The URL that this Page is displayed at. |
| 220 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 221 | "content": "A String", # The body content of this Page, in HTML. |
| 222 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 223 | "etag": "A String", # Etag of the resource. |
| 224 | "blog": { # Data about the blog containing this Page. |
| 225 | "id": "A String", # The identifier of the blog containing this page. |
| 226 | }, |
| 227 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 228 | </div> |
| 229 | |
| 230 | <div class="method"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 231 | <code class="details" id="list">list(blogId, pageToken=None, maxResults=None, status=None, fetchBodies=None, view=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 232 | <pre>Lists pages. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 233 | |
| 234 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 235 | blogId: string, A parameter (required) |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 236 | pageToken: string, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 237 | maxResults: integer, A parameter |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 238 | status: string, A parameter (repeated) |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 239 | fetchBodies: boolean, A parameter |
| 240 | view: string, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 241 | x__xgafv: string, V1 error format. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 242 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 243 | 1 - v1 error format |
| 244 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 245 | |
| 246 | Returns: |
| 247 | An object of the form: |
| 248 | |
| 249 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 250 | "items": [ # The list of Pages for a Blog. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 251 | { |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 252 | "id": "A String", # The identifier for this resource. |
| 253 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 254 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
| 255 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 256 | # interface. |
| 257 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 258 | "author": { # The author of this Page. |
| 259 | "id": "A String", # The identifier of the creator. |
| 260 | "image": { # The creator's avatar. |
| 261 | "url": "A String", # The creator's avatar URL. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 262 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 263 | "url": "A String", # The URL of the creator's Profile page. |
| 264 | "displayName": "A String", # The display name. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 265 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 266 | "url": "A String", # The URL that this Page is displayed at. |
| 267 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 268 | "content": "A String", # The body content of this Page, in HTML. |
| 269 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 270 | "etag": "A String", # Etag of the resource. |
| 271 | "blog": { # Data about the blog containing this Page. |
| 272 | "id": "A String", # The identifier of the blog containing this page. |
| 273 | }, |
| 274 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 275 | ], |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 276 | "kind": "A String", # The kind of this entity. Always blogger#pageList. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 277 | "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 278 | "etag": "A String", # Etag of the response. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 279 | }</pre> |
| 280 | </div> |
| 281 | |
| 282 | <div class="method"> |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 283 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 284 | <pre>Retrieves the next page of results. |
| 285 | |
| 286 | Args: |
| 287 | previous_request: The request for the previous page. (required) |
| 288 | previous_response: The response from the request for the previous page. (required) |
| 289 | |
| 290 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 291 | 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] | 292 | page. Returns None if there are no more items in the collection. |
| 293 | </pre> |
| 294 | </div> |
| 295 | |
| 296 | <div class="method"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 297 | <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] | 298 | <pre>Patches a page. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 299 | |
| 300 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 301 | blogId: string, A parameter (required) |
| 302 | pageId: string, A parameter (required) |
| 303 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 304 | The object takes the form of: |
| 305 | |
| 306 | { |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 307 | "id": "A String", # The identifier for this resource. |
| 308 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 309 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
| 310 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 311 | # interface. |
| 312 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 313 | "author": { # The author of this Page. |
| 314 | "id": "A String", # The identifier of the creator. |
| 315 | "image": { # The creator's avatar. |
| 316 | "url": "A String", # The creator's avatar URL. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 317 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 318 | "url": "A String", # The URL of the creator's Profile page. |
| 319 | "displayName": "A String", # The display name. |
| 320 | }, |
| 321 | "url": "A String", # The URL that this Page is displayed at. |
| 322 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 323 | "content": "A String", # The body content of this Page, in HTML. |
| 324 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 325 | "etag": "A String", # Etag of the resource. |
| 326 | "blog": { # Data about the blog containing this Page. |
| 327 | "id": "A String", # The identifier of the blog containing this page. |
| 328 | }, |
| 329 | } |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 330 | |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 331 | publish: boolean, A parameter |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 332 | revert: boolean, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 333 | x__xgafv: string, V1 error format. |
| 334 | Allowed values |
| 335 | 1 - v1 error format |
| 336 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 337 | |
| 338 | Returns: |
| 339 | An object of the form: |
| 340 | |
| 341 | { |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 342 | "id": "A String", # The identifier for this resource. |
| 343 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 344 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
| 345 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 346 | # interface. |
| 347 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 348 | "author": { # The author of this Page. |
| 349 | "id": "A String", # The identifier of the creator. |
| 350 | "image": { # The creator's avatar. |
| 351 | "url": "A String", # The creator's avatar URL. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 352 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 353 | "url": "A String", # The URL of the creator's Profile page. |
| 354 | "displayName": "A String", # The display name. |
| 355 | }, |
| 356 | "url": "A String", # The URL that this Page is displayed at. |
| 357 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 358 | "content": "A String", # The body content of this Page, in HTML. |
| 359 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 360 | "etag": "A String", # Etag of the resource. |
| 361 | "blog": { # Data about the blog containing this Page. |
| 362 | "id": "A String", # The identifier of the blog containing this page. |
| 363 | }, |
| 364 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 365 | </div> |
| 366 | |
| 367 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 368 | <code class="details" id="publish">publish(blogId, pageId, x__xgafv=None)</code> |
| 369 | <pre>Publishes a page. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 370 | |
| 371 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 372 | 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 Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 378 | |
| 379 | Returns: |
| 380 | An object of the form: |
| 381 | |
| 382 | { |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 383 | "id": "A String", # The identifier for this resource. |
| 384 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 385 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
| 386 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 387 | # interface. |
| 388 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 389 | "author": { # The author of this Page. |
| 390 | "id": "A String", # The identifier of the creator. |
| 391 | "image": { # The creator's avatar. |
| 392 | "url": "A String", # The creator's avatar URL. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 393 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 394 | "url": "A String", # The URL of the creator's Profile page. |
| 395 | "displayName": "A String", # The display name. |
| 396 | }, |
| 397 | "url": "A String", # The URL that this Page is displayed at. |
| 398 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 399 | "content": "A String", # The body content of this Page, in HTML. |
| 400 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 401 | "etag": "A String", # Etag of the resource. |
| 402 | "blog": { # Data about the blog containing this Page. |
| 403 | "id": "A String", # The identifier of the blog containing this page. |
| 404 | }, |
| 405 | }</pre> |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 406 | </div> |
| 407 | |
| 408 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 409 | <code class="details" id="revert">revert(blogId, pageId, x__xgafv=None)</code> |
| 410 | <pre>Reverts a published or scheduled page to draft state. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 411 | |
| 412 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 413 | 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 Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 419 | |
| 420 | Returns: |
| 421 | An object of the form: |
| 422 | |
| 423 | { |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 424 | "id": "A String", # The identifier for this resource. |
| 425 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 426 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
| 427 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 428 | # interface. |
| 429 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 430 | "author": { # The author of this Page. |
| 431 | "id": "A String", # The identifier of the creator. |
| 432 | "image": { # The creator's avatar. |
| 433 | "url": "A String", # The creator's avatar URL. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 434 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 435 | "url": "A String", # The URL of the creator's Profile page. |
| 436 | "displayName": "A String", # The display name. |
| 437 | }, |
| 438 | "url": "A String", # The URL that this Page is displayed at. |
| 439 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 440 | "content": "A String", # The body content of this Page, in HTML. |
| 441 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 442 | "etag": "A String", # Etag of the resource. |
| 443 | "blog": { # Data about the blog containing this Page. |
| 444 | "id": "A String", # The identifier of the blog containing this page. |
| 445 | }, |
| 446 | }</pre> |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 447 | </div> |
| 448 | |
| 449 | <div class="method"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 450 | <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] | 451 | <pre>Updates a page by blog id and page id. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 452 | |
| 453 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 454 | blogId: string, A parameter (required) |
| 455 | pageId: string, A parameter (required) |
| 456 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 457 | The object takes the form of: |
| 458 | |
| 459 | { |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 460 | "id": "A String", # The identifier for this resource. |
| 461 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 462 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
| 463 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 464 | # interface. |
| 465 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 466 | "author": { # The author of this Page. |
| 467 | "id": "A String", # The identifier of the creator. |
| 468 | "image": { # The creator's avatar. |
| 469 | "url": "A String", # The creator's avatar URL. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 470 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 471 | "url": "A String", # The URL of the creator's Profile page. |
| 472 | "displayName": "A String", # The display name. |
| 473 | }, |
| 474 | "url": "A String", # The URL that this Page is displayed at. |
| 475 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 476 | "content": "A String", # The body content of this Page, in HTML. |
| 477 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 478 | "etag": "A String", # Etag of the resource. |
| 479 | "blog": { # Data about the blog containing this Page. |
| 480 | "id": "A String", # The identifier of the blog containing this page. |
| 481 | }, |
| 482 | } |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 483 | |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 484 | publish: boolean, A parameter |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 485 | revert: boolean, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 486 | x__xgafv: string, V1 error format. |
| 487 | Allowed values |
| 488 | 1 - v1 error format |
| 489 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 490 | |
| 491 | Returns: |
| 492 | An object of the form: |
| 493 | |
| 494 | { |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 495 | "id": "A String", # The identifier for this resource. |
| 496 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 497 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
| 498 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 499 | # interface. |
| 500 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 501 | "author": { # The author of this Page. |
| 502 | "id": "A String", # The identifier of the creator. |
| 503 | "image": { # The creator's avatar. |
| 504 | "url": "A String", # The creator's avatar URL. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 505 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 506 | "url": "A String", # The URL of the creator's Profile page. |
| 507 | "displayName": "A String", # The display name. |
| 508 | }, |
| 509 | "url": "A String", # The URL that this Page is displayed at. |
| 510 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 511 | "content": "A String", # The body content of this Page, in HTML. |
| 512 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 513 | "etag": "A String", # Etag of the resource. |
| 514 | "blog": { # Data about the blog containing this Page. |
| 515 | "id": "A String", # The identifier of the blog containing this page. |
| 516 | }, |
| 517 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 518 | </div> |
| 519 | |
| 520 | </body></html> |