Update docs.
diff --git a/docs/dyn/blogger_v3.pages.html b/docs/dyn/blogger_v3.pages.html
index b14ffdc..53c1832 100644
--- a/docs/dyn/blogger_v3.pages.html
+++ b/docs/dyn/blogger_v3.pages.html
@@ -76,36 +76,42 @@
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#delete">delete(blogId, pageId)</a></code></p>
-<p class="firstline">Delete a page by id.</p>
+<p class="firstline">Delete a page by ID.</p>
<p class="toc_element">
<code><a href="#get">get(blogId, pageId, view=None)</a></code></p>
-<p class="firstline">Gets one blog page by id.</p>
+<p class="firstline">Gets one blog page by ID.</p>
<p class="toc_element">
- <code><a href="#insert">insert(blogId, body)</a></code></p>
+ <code><a href="#insert">insert(blogId, body, isDraft=None)</a></code></p>
<p class="firstline">Add a page.</p>
<p class="toc_element">
<code><a href="#list">list(blogId, status=None, fetchBodies=None, view=None)</a></code></p>
<p class="firstline">Retrieves the pages for a blog, optionally including non-LIVE statuses.</p>
<p class="toc_element">
- <code><a href="#patch">patch(blogId, pageId, body)</a></code></p>
+ <code><a href="#patch">patch(blogId, pageId, body, revert=None, publish=None)</a></code></p>
<p class="firstline">Update a page. This method supports patch semantics.</p>
<p class="toc_element">
- <code><a href="#update">update(blogId, pageId, body)</a></code></p>
+ <code><a href="#publish">publish(blogId, pageId)</a></code></p>
+<p class="firstline">Publishes a draft page.</p>
+<p class="toc_element">
+ <code><a href="#revert">revert(blogId, pageId)</a></code></p>
+<p class="firstline">Revert a published or scheduled page to draft state.</p>
+<p class="toc_element">
+ <code><a href="#update">update(blogId, pageId, body, revert=None, publish=None)</a></code></p>
<p class="firstline">Update a page.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="delete">delete(blogId, pageId)</code>
- <pre>Delete a page by id.
+ <pre>Delete a page by ID.
Args:
- blogId: string, The Id of the Blog. (required)
+ blogId: string, The ID of the Blog. (required)
pageId: string, The ID of the Page. (required)
</pre>
</div>
<div class="method">
<code class="details" id="get">get(blogId, pageId, view=None)</code>
- <pre>Gets one blog page by id.
+ <pre>Gets one blog page by ID.
Args:
blogId: string, ID of the blog containing the page. (required)
@@ -137,6 +143,7 @@
"blog": { # Data about the blog containing this Page.
"id": "A String", # The identifier of the blog containing this page.
},
+ "etag": "A String", # Etag of the resource.
"published": "A String", # RFC 3339 date-time when this Page was published.
"id": "A String", # The identifier for this resource.
"selfLink": "A String", # The API REST URL to fetch this resource from.
@@ -144,7 +151,7 @@
</div>
<div class="method">
- <code class="details" id="insert">insert(blogId, body)</code>
+ <code class="details" id="insert">insert(blogId, body, isDraft=None)</code>
<pre>Add a page.
Args:
@@ -170,11 +177,13 @@
"blog": { # Data about the blog containing this Page.
"id": "A String", # The identifier of the blog containing this page.
},
+ "etag": "A String", # Etag of the resource.
"published": "A String", # RFC 3339 date-time when this Page was published.
"id": "A String", # The identifier for this resource.
"selfLink": "A String", # The API REST URL to fetch this resource from.
}
+ isDraft: boolean, Whether to create the page as a draft (default: false).
Returns:
An object of the form:
@@ -197,6 +206,7 @@
"blog": { # Data about the blog containing this Page.
"id": "A String", # The identifier of the blog containing this page.
},
+ "etag": "A String", # Etag of the resource.
"published": "A String", # RFC 3339 date-time when this Page was published.
"id": "A String", # The identifier for this resource.
"selfLink": "A String", # The API REST URL to fetch this resource from.
@@ -243,6 +253,7 @@
"blog": { # Data about the blog containing this Page.
"id": "A String", # The identifier of the blog containing this page.
},
+ "etag": "A String", # Etag of the resource.
"published": "A String", # RFC 3339 date-time when this Page was published.
"id": "A String", # The identifier for this resource.
"selfLink": "A String", # The API REST URL to fetch this resource from.
@@ -253,7 +264,7 @@
</div>
<div class="method">
- <code class="details" id="patch">patch(blogId, pageId, body)</code>
+ <code class="details" id="patch">patch(blogId, pageId, body, revert=None, publish=None)</code>
<pre>Update a page. This method supports patch semantics.
Args:
@@ -280,11 +291,14 @@
"blog": { # Data about the blog containing this Page.
"id": "A String", # The identifier of the blog containing this page.
},
+ "etag": "A String", # Etag of the resource.
"published": "A String", # RFC 3339 date-time when this Page was published.
"id": "A String", # The identifier for this resource.
"selfLink": "A String", # The API REST URL to fetch this resource from.
}
+ revert: boolean, Whether a revert action should be performed when the page is updated (default: false).
+ publish: boolean, Whether a publish action should be performed when the page is updated (default: false).
Returns:
An object of the form:
@@ -307,6 +321,7 @@
"blog": { # Data about the blog containing this Page.
"id": "A String", # The identifier of the blog containing this page.
},
+ "etag": "A String", # Etag of the resource.
"published": "A String", # RFC 3339 date-time when this Page was published.
"id": "A String", # The identifier for this resource.
"selfLink": "A String", # The API REST URL to fetch this resource from.
@@ -314,7 +329,79 @@
</div>
<div class="method">
- <code class="details" id="update">update(blogId, pageId, body)</code>
+ <code class="details" id="publish">publish(blogId, pageId)</code>
+ <pre>Publishes a draft page.
+
+Args:
+ blogId: string, The ID of the blog. (required)
+ pageId: string, The ID of the page. (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT).
+ "content": "A String", # The body content of this Page, in HTML.
+ "kind": "blogger#page", # The kind of this entity. Always blogger#page
+ "author": { # The author of this Page.
+ "url": "A String", # The URL of the Page creator's Profile page.
+ "image": { # The page author's avatar.
+ "url": "A String", # The page author's avatar URL.
+ },
+ "displayName": "A String", # The display name.
+ "id": "A String", # The identifier of the Page creator.
+ },
+ "url": "A String", # The URL that this Page is displayed at.
+ "title": "A String", # The title of this entity. This is the name displayed in the Admin user interface.
+ "updated": "A String", # RFC 3339 date-time when this Page was last updated.
+ "blog": { # Data about the blog containing this Page.
+ "id": "A String", # The identifier of the blog containing this page.
+ },
+ "etag": "A String", # Etag of the resource.
+ "published": "A String", # RFC 3339 date-time when this Page was published.
+ "id": "A String", # The identifier for this resource.
+ "selfLink": "A String", # The API REST URL to fetch this resource from.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="revert">revert(blogId, pageId)</code>
+ <pre>Revert a published or scheduled page to draft state.
+
+Args:
+ blogId: string, The ID of the blog. (required)
+ pageId: string, The ID of the page. (required)
+
+Returns:
+ An object of the form:
+
+ {
+ "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT).
+ "content": "A String", # The body content of this Page, in HTML.
+ "kind": "blogger#page", # The kind of this entity. Always blogger#page
+ "author": { # The author of this Page.
+ "url": "A String", # The URL of the Page creator's Profile page.
+ "image": { # The page author's avatar.
+ "url": "A String", # The page author's avatar URL.
+ },
+ "displayName": "A String", # The display name.
+ "id": "A String", # The identifier of the Page creator.
+ },
+ "url": "A String", # The URL that this Page is displayed at.
+ "title": "A String", # The title of this entity. This is the name displayed in the Admin user interface.
+ "updated": "A String", # RFC 3339 date-time when this Page was last updated.
+ "blog": { # Data about the blog containing this Page.
+ "id": "A String", # The identifier of the blog containing this page.
+ },
+ "etag": "A String", # Etag of the resource.
+ "published": "A String", # RFC 3339 date-time when this Page was published.
+ "id": "A String", # The identifier for this resource.
+ "selfLink": "A String", # The API REST URL to fetch this resource from.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="update">update(blogId, pageId, body, revert=None, publish=None)</code>
<pre>Update a page.
Args:
@@ -341,11 +428,14 @@
"blog": { # Data about the blog containing this Page.
"id": "A String", # The identifier of the blog containing this page.
},
+ "etag": "A String", # Etag of the resource.
"published": "A String", # RFC 3339 date-time when this Page was published.
"id": "A String", # The identifier for this resource.
"selfLink": "A String", # The API REST URL to fetch this resource from.
}
+ revert: boolean, Whether a revert action should be performed when the page is updated (default: false).
+ publish: boolean, Whether a publish action should be performed when the page is updated (default: false).
Returns:
An object of the form:
@@ -368,6 +458,7 @@
"blog": { # Data about the blog containing this Page.
"id": "A String", # The identifier of the blog containing this page.
},
+ "etag": "A String", # Etag of the resource.
"published": "A String", # RFC 3339 date-time when this Page was published.
"id": "A String", # The identifier for this resource.
"selfLink": "A String", # The API REST URL to fetch this resource from.