AI-generated Key Takeaways
-
The v2.0 JSON API will be discontinued on September 30th, 2024, and users should update to the latest API version for continued functionality.
-
A Blog is the primary data structure containing Posts, Pages, and Comments, accessible through the Blogger API.
-
The
blogger.blogs.get
method allows retrieval of individual Blog resources by their unique ID. -
Each Blog resource includes metadata like name, description, publication date, update date, URL, and counts of posts and pages.
-
Detailed properties of a Blog resource, such as ID, name, description, publication and update timestamps, URL, and locale information, are available within the JSON response.
Important: We will discontinue support for the v2.0 JSON API on September 30th, 2024. To ensure continued functionality, update your applications that rely on the v2.0 JSON API to the latest API version. For the latest version, use the links in the left-side navbar.
Methods
To retrieve an individual Blogs Resource, use the blogger.blogs.get method.
- get
- Gets one blog by id.
Resource Representations
A Blogs Resource contains all the metadata for a blog, along with the counts of Posts and Pages children.
{
"kind": "blogger#blog",
"id": value,
"name": value,
"description": value,
"published": value,
"updated": value,
"url": value,
"selfLink": value,
"posts": {
"totalItems": value,
"selfLink": value
},
"pages": {
"totalItems": value,
"selfLink": value
},
"locale": {
"language": value,
"country": value,
"variant": value
}
}
Property Name | Value | Description | Notes |
---|---|---|---|
kind |
string |
The kind of this entry. Always blogger#blog . |
|
id |
long |
The identifier for this resource. | |
name |
string |
The name of this blog. This is usually displayed in Blogger as the blog's title. May include HTML. | |
description |
string |
The description of this blog. This is usually displayed in Blogger underneath the blog's title. May include HTML. | |
published |
datetime |
RFC 3339 date-time when this blog was published. | |
updated |
datetime |
RFC 3339 date-time when this blog was last updated. | |
url |
string |
The URL where this blog is published. | |
selfLink |
string |
The API REST URL to fetch this resource from. | |
posts |
object |
The container for this blog's posts. | |
posts.totalItems |
integer |
The total number of posts on this blog. | |
posts.selfLink |
string |
The URL of the Posts Collection for this blog. | |
pages |
object |
The container for this blog's pages. | |
pages.totalItems |
integer |
The total number of pages for this blog. | |
pages.selfLink |
string |
The URL of the Pages collection for this blog. | |
locale |
object |
The locale this blog is set to. | |
locale.language |
string |
The language this blog is authored in. | |
locale.country |
string |
The country this blog's locale is set to. | |
locale.variant |
string |
The language variant this blog is authored in. |