Skip to main content

posts

Overview

Nameposts
TypeResource
Idgoogledevelopers.blogger.posts

Fields

NameDatatypeDescription
idstringThe identifier of this Post.
labelsarrayThe list of labels this Post was tagged with.
customMetaDatastringThe JSON meta-data for the Post.
contentstringThe content of the Post. May contain HTML markup.
kindstringThe kind of this entity. Always blogger#post.
titlestringThe title of the Post.
blogobjectData about the blog containing this Post.
urlstringThe URL where this Post is displayed.
statusstringStatus of the post. Only set for admin-level requests.
locationobjectThe location for geotagged posts.
etagstringEtag of the resource.
imagesarrayDisplay image for the Post.
repliesobjectThe container of comments on this Post.
updatedstringRFC 3339 date-time when this Post was last updated.
publishedstringRFC 3339 date-time when this Post was published.
selfLinkstringThe API REST URL to fetch this resource from.
trashedstringRFC 3339 date-time when this Post was last trashed.
authorobjectThe author of this Post.
readerCommentsstringComment control and display setting for readers of this post.
titleLinkstringThe title link URL, similar to atom's related link.

Methods

NameAccessible byRequired ParamsDescription
getSELECTblogId, postIdGets a post by blog id and post id
listSELECTblogIdLists posts.
insertINSERTblogIdInserts a post.
deleteDELETEblogId, postIdDeletes a post by blog id and post id.
patchEXECblogId, postIdPatches a post.
publishEXECblogId, postIdPublishes a post.
revertEXECblogId, postIdReverts a published or scheduled post to draft state.
searchEXECblogId, qSearches for posts matching given query terms in the specified blog.
updateEXECblogId, postIdUpdates a post by blog id and post id.