Posts
class Posts extends Resource (View source)
The "posts" collection of methods.
Typical usage is:
$bloggerService = new Google\Service\Blogger(...);
$posts = $bloggerService->posts;
Methods
Deletes a post by blog id and post id. (posts.delete)
Gets a post by blog id and post id (posts.get)
Gets a post by path. (posts.getByPath)
Publishes a post. (posts.publish)
Reverts a published or scheduled post to draft state. (posts.revert)
Searches for posts matching given query terms in the specified blog.
Details
delete(string $blogId, string $postId, array $optParams = [])
Deletes a post by blog id and post id. (posts.delete)
Post
get(string $blogId, string $postId, array $optParams = [])
Gets a post by blog id and post id (posts.get)
Post
getByPath(string $blogId, string $path, array $optParams = [])
Gets a post by path. (posts.getByPath)
PostList
listPosts(string $blogId, array $optParams = [])
Lists posts. (posts.listPosts)
Post
patch(string $blogId, string $postId, Post $postBody, array $optParams = [])
Patches a post. (posts.patch)
Post
publish(string $blogId, string $postId, array $optParams = [])
Publishes a post. (posts.publish)
Post
revert(string $blogId, string $postId, array $optParams = [])
Reverts a published or scheduled post to draft state. (posts.revert)
PostList
search(string $blogId, string $q, array $optParams = [])
Searches for posts matching given query terms in the specified blog.
(posts.search)