Create, Update, and Delete a Page
Learn about the blog page and how to create, update, and delete it.
We'll cover the following...
A blog page, also referred to as a page, contains information that will not be updated or changed. This commonly includes profile, business, or contact information. Blog pages are not timestamped.
Page attributes
The table below shows the complete list of properties for the page class.
Parameter | Type | Description |
| string | The type of object. Value: Note: This value is fixed. |
| string | The ID of the page. |
| object | The object that contains the blog's information for the page. |
| string | The blog ID for the page. |
| datetime | The page's publishing date. Format: yyyy-mm-dd |
| datetime | The date of the page's last update. Format: yyyy-mm-dd |
| string | The published link of the page. |
| string | The Blogger API URL of the page. |
| string | The title of the page. |
| string | The content of the page. |
| object | The object that contains the author's information for the page. |
| string | The ID of the author. |
| string | The name of the author. |
| string | The published link to the author's profile. |
| object | The object that contains the author's avatar information. |
| string | The URL of the author's avatar. |
| string | The page status for admin resources. Allowable values: |
Methods
We'll now look at various methods of the page class that'll enable us to create, update, and delete a blog page.
Create a page
We can create a blog page by sending a POST request to the following URL:
https://blogger.googleapis.com/v3/blogs/{blogId}/pages
As part of the request body, we'll need to provide a page object containing the attributes in the table above. Moreover, we'll need to ...