Posts

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.

Posts contain the HTML content of a blog post. 

Methods

You can retrieve the list of Posts for a Blog using the blogger.posts.list method, and retrieve an individual Post using the blogger.posts.get method.  

list
Retrieves a list of posts.
get
Retrieves one post by postId.

Resource Representations

The Posts Resource contains the data and metadata for a post in a blog.

{
  "kind": "blogger#post",
  "id": long,
  "blog": {
    "id": long
  },
  "published": datetime,
  "updated": datetime,
  "url": string,
  "selfLink": string,
  "title": string,
  "content": string,
  "author": {
    "id": string,
    "displayName": string,
    "url": string,
    "image": {
      "url": string
    }
  },
  "replies": {
    "totalItems": long,
    "selfLink": string
  },
  "labels": [
    string
  ]
}
Property Name Value Description Notes
kind string The kind of this entity. Always blogger#post.
id long The identifier of this post.
blog object Data about the blog containing this post.
blog.id long The identifier of the blog that contains this post.
published datetime RFC 3339 date-time when this post was published.
updated datetime RFC 3339 date-time when this post was last updated.
url string The URL where this post is displayed.
title string The title of the post.
content string The content of the post. May contain HTML markup.
author object The author of this post.
author.id string The identifier of the post creator.
author.displayName string The post creator's display name.
author.url string The URL of the post creator's Profile page.
author.image object The post creator's avatar.
author.image.url string The post creator's avatar URL.
replies object The container for this post's comments.
replies.totalItems long The total number of comments on this post.
labels[] list The list of labels this post was tagged with.