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"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 81 | <code><a href="#get">get(blogId, pageId, x__xgafv=None, view=None)</a></code></p> |
| 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"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 87 | <code><a href="#list">list(blogId, status=None, maxResults=None, pageToken=None, x__xgafv=None, fetchBodies=None, view=None)</a></code></p> |
| 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"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 93 | <code><a href="#patch">patch(blogId, pageId, body=None, revert=None, publish=None, x__xgafv=None)</a></code></p> |
| 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"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 102 | <code><a href="#update">update(blogId, pageId, body=None, revert=None, publish=None, x__xgafv=None)</a></code></p> |
| 103 | <p class="firstline">Updates a page by blog id and page id.</p> |
John 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"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 120 | <code class="details" id="get">get(blogId, pageId, x__xgafv=None, view=None)</code> |
| 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) |
| 126 | x__xgafv: string, V1 error format. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 127 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 128 | 1 - v1 error format |
| 129 | 2 - v2 error format |
| 130 | view: string, A parameter |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 131 | |
| 132 | Returns: |
| 133 | An object of the form: |
| 134 | |
| 135 | { |
| 136 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 137 | "blog": { # Data about the blog containing this Page. |
| 138 | "id": "A String", # The identifier of the blog containing this page. |
| 139 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 140 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 141 | "author": { # The author of this Page. |
| 142 | "url": "A String", # The URL of the creator's Profile page. |
| 143 | "image": { # The creator's avatar. |
| 144 | "url": "A String", # The creator's avatar URL. |
| 145 | }, |
| 146 | "displayName": "A String", # The display name. |
| 147 | "id": "A String", # The identifier of the creator. |
| 148 | }, |
| 149 | "url": "A String", # The URL that this Page is displayed at. |
| 150 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 151 | # interface. |
| 152 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 153 | "content": "A String", # The body content of this Page, in HTML. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 154 | "etag": "A String", # Etag of the resource. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 155 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 156 | "id": "A String", # The identifier for this resource. |
| 157 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 158 | }</pre> |
| 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 | { |
| 171 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 172 | "blog": { # Data about the blog containing this Page. |
| 173 | "id": "A String", # The identifier of the blog containing this page. |
| 174 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 175 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 176 | "author": { # The author of this Page. |
| 177 | "url": "A String", # The URL of the creator's Profile page. |
| 178 | "image": { # The creator's avatar. |
| 179 | "url": "A String", # The creator's avatar URL. |
| 180 | }, |
| 181 | "displayName": "A String", # The display name. |
| 182 | "id": "A String", # The identifier of the creator. |
| 183 | }, |
| 184 | "url": "A String", # The URL that this Page is displayed at. |
| 185 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 186 | # interface. |
| 187 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 188 | "content": "A String", # The body content of this Page, in HTML. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 189 | "etag": "A String", # Etag of the resource. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 190 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 191 | "id": "A String", # The identifier for this resource. |
| 192 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 193 | } |
| 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 | { |
| 205 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 206 | "blog": { # Data about the blog containing this Page. |
| 207 | "id": "A String", # The identifier of the blog containing this page. |
| 208 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 209 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 210 | "author": { # The author of this Page. |
| 211 | "url": "A String", # The URL of the creator's Profile page. |
| 212 | "image": { # The creator's avatar. |
| 213 | "url": "A String", # The creator's avatar URL. |
| 214 | }, |
| 215 | "displayName": "A String", # The display name. |
| 216 | "id": "A String", # The identifier of the creator. |
| 217 | }, |
| 218 | "url": "A String", # The URL that this Page is displayed at. |
| 219 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 220 | # interface. |
| 221 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 222 | "content": "A String", # The body content of this Page, in HTML. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 223 | "etag": "A String", # Etag of the resource. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 224 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 225 | "id": "A String", # The identifier for this resource. |
| 226 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 227 | }</pre> |
| 228 | </div> |
| 229 | |
| 230 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 231 | <code class="details" id="list">list(blogId, status=None, maxResults=None, pageToken=None, x__xgafv=None, fetchBodies=None, view=None)</code> |
| 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) |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 236 | status: string, A parameter (repeated) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 237 | maxResults: integer, A parameter |
| 238 | pageToken: string, A parameter |
| 239 | x__xgafv: string, V1 error format. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 240 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 241 | 1 - v1 error format |
| 242 | 2 - v2 error format |
| 243 | fetchBodies: boolean, A parameter |
| 244 | view: string, A parameter |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 245 | |
| 246 | Returns: |
| 247 | An object of the form: |
| 248 | |
| 249 | { |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 250 | "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 251 | "items": [ # The list of Pages for a Blog. |
| 252 | { |
| 253 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 254 | "blog": { # Data about the blog containing this Page. |
| 255 | "id": "A String", # The identifier of the blog containing this page. |
| 256 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 257 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 258 | "author": { # The author of this Page. |
| 259 | "url": "A String", # The URL of the creator's Profile page. |
| 260 | "image": { # The creator's avatar. |
| 261 | "url": "A String", # The creator's avatar URL. |
| 262 | }, |
| 263 | "displayName": "A String", # The display name. |
| 264 | "id": "A String", # The identifier of the creator. |
| 265 | }, |
| 266 | "url": "A String", # The URL that this Page is displayed at. |
| 267 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 268 | # interface. |
| 269 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 270 | "content": "A String", # The body content of this Page, in HTML. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 271 | "etag": "A String", # Etag of the resource. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 272 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 273 | "id": "A String", # The identifier for this resource. |
| 274 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 275 | }, |
| 276 | ], |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 277 | "kind": "A String", # The kind of this entity. Always blogger#pageList. |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [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: |
| 291 | A request object that you can call 'execute()' on to request the next |
| 292 | page. Returns None if there are no more items in the collection. |
| 293 | </pre> |
| 294 | </div> |
| 295 | |
| 296 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 297 | <code class="details" id="patch">patch(blogId, pageId, body=None, revert=None, publish=None, x__xgafv=None)</code> |
| 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 | { |
| 307 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 308 | "blog": { # Data about the blog containing this Page. |
| 309 | "id": "A String", # The identifier of the blog containing this page. |
| 310 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 311 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 312 | "author": { # The author of this Page. |
| 313 | "url": "A String", # The URL of the creator's Profile page. |
| 314 | "image": { # The creator's avatar. |
| 315 | "url": "A String", # The creator's avatar URL. |
| 316 | }, |
| 317 | "displayName": "A String", # The display name. |
| 318 | "id": "A String", # The identifier of the creator. |
| 319 | }, |
| 320 | "url": "A String", # The URL that this Page is displayed at. |
| 321 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 322 | # interface. |
| 323 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 324 | "content": "A String", # The body content of this Page, in HTML. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 325 | "etag": "A String", # Etag of the resource. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 326 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 327 | "id": "A String", # The identifier for this resource. |
| 328 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 329 | } |
| 330 | |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 331 | revert: boolean, A parameter |
| 332 | publish: boolean, A parameter |
| 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 | { |
| 342 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 343 | "blog": { # Data about the blog containing this Page. |
| 344 | "id": "A String", # The identifier of the blog containing this page. |
| 345 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 346 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 347 | "author": { # The author of this Page. |
| 348 | "url": "A String", # The URL of the creator's Profile page. |
| 349 | "image": { # The creator's avatar. |
| 350 | "url": "A String", # The creator's avatar URL. |
| 351 | }, |
| 352 | "displayName": "A String", # The display name. |
| 353 | "id": "A String", # The identifier of the creator. |
| 354 | }, |
| 355 | "url": "A String", # The URL that this Page is displayed at. |
| 356 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 357 | # interface. |
| 358 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 359 | "content": "A String", # The body content of this Page, in HTML. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 360 | "etag": "A String", # Etag of the resource. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 361 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 362 | "id": "A String", # The identifier for this resource. |
| 363 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 364 | }</pre> |
| 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 | { |
| 383 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 384 | "blog": { # Data about the blog containing this Page. |
| 385 | "id": "A String", # The identifier of the blog containing this page. |
| 386 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 387 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 388 | "author": { # The author of this Page. |
| 389 | "url": "A String", # The URL of the creator's Profile page. |
| 390 | "image": { # The creator's avatar. |
| 391 | "url": "A String", # The creator's avatar URL. |
| 392 | }, |
| 393 | "displayName": "A String", # The display name. |
| 394 | "id": "A String", # The identifier of the creator. |
| 395 | }, |
| 396 | "url": "A String", # The URL that this Page is displayed at. |
| 397 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 398 | # interface. |
| 399 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 400 | "content": "A String", # The body content of this Page, in HTML. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 401 | "etag": "A String", # Etag of the resource. |
| 402 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 403 | "id": "A String", # The identifier for this resource. |
| 404 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 405 | }</pre> |
| 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 | { |
| 424 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 425 | "blog": { # Data about the blog containing this Page. |
| 426 | "id": "A String", # The identifier of the blog containing this page. |
| 427 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 428 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 429 | "author": { # The author of this Page. |
| 430 | "url": "A String", # The URL of the creator's Profile page. |
| 431 | "image": { # The creator's avatar. |
| 432 | "url": "A String", # The creator's avatar URL. |
| 433 | }, |
| 434 | "displayName": "A String", # The display name. |
| 435 | "id": "A String", # The identifier of the creator. |
| 436 | }, |
| 437 | "url": "A String", # The URL that this Page is displayed at. |
| 438 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 439 | # interface. |
| 440 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 441 | "content": "A String", # The body content of this Page, in HTML. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 442 | "etag": "A String", # Etag of the resource. |
| 443 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 444 | "id": "A String", # The identifier for this resource. |
| 445 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 446 | }</pre> |
| 447 | </div> |
| 448 | |
| 449 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 450 | <code class="details" id="update">update(blogId, pageId, body=None, revert=None, publish=None, x__xgafv=None)</code> |
| 451 | <pre>Updates a page by blog id and page id. |
John 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 | { |
| 460 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 461 | "blog": { # Data about the blog containing this Page. |
| 462 | "id": "A String", # The identifier of the blog containing this page. |
| 463 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 464 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 465 | "author": { # The author of this Page. |
| 466 | "url": "A String", # The URL of the creator's Profile page. |
| 467 | "image": { # The creator's avatar. |
| 468 | "url": "A String", # The creator's avatar URL. |
| 469 | }, |
| 470 | "displayName": "A String", # The display name. |
| 471 | "id": "A String", # The identifier of the creator. |
| 472 | }, |
| 473 | "url": "A String", # The URL that this Page is displayed at. |
| 474 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 475 | # interface. |
| 476 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 477 | "content": "A String", # The body content of this Page, in HTML. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 478 | "etag": "A String", # Etag of the resource. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 479 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 480 | "id": "A String", # The identifier for this resource. |
| 481 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 482 | } |
| 483 | |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 484 | revert: boolean, A parameter |
| 485 | publish: boolean, A parameter |
| 486 | x__xgafv: string, V1 error format. |
| 487 | Allowed values |
| 488 | 1 - v1 error format |
| 489 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 490 | |
| 491 | Returns: |
| 492 | An object of the form: |
| 493 | |
| 494 | { |
| 495 | "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 496 | "blog": { # Data about the blog containing this Page. |
| 497 | "id": "A String", # The identifier of the blog containing this page. |
| 498 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 499 | "updated": "A String", # RFC 3339 date-time when this Page was last updated. |
| 500 | "author": { # The author of this Page. |
| 501 | "url": "A String", # The URL of the creator's Profile page. |
| 502 | "image": { # The creator's avatar. |
| 503 | "url": "A String", # The creator's avatar URL. |
| 504 | }, |
| 505 | "displayName": "A String", # The display name. |
| 506 | "id": "A String", # The identifier of the creator. |
| 507 | }, |
| 508 | "url": "A String", # The URL that this Page is displayed at. |
| 509 | "title": "A String", # The title of this entity. This is the name displayed in the Admin user |
| 510 | # interface. |
| 511 | "kind": "A String", # The kind of this entity. Always blogger#page. |
| 512 | "content": "A String", # The body content of this Page, in HTML. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 513 | "etag": "A String", # Etag of the resource. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 514 | "published": "A String", # RFC 3339 date-time when this Page was published. |
| 515 | "id": "A String", # The identifier for this resource. |
| 516 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 517 | }</pre> |
| 518 | </div> |
| 519 | |
| 520 | </body></html> |