Overview

Classes

  • Google_Service_Blogger
  • Google_Service_Blogger_Blog
  • Google_Service_Blogger_BlogList
  • Google_Service_Blogger_BlogLocale
  • Google_Service_Blogger_BlogPages
  • Google_Service_Blogger_BlogPerUserInfo
  • Google_Service_Blogger_BlogPosts
  • Google_Service_Blogger_Blogs_Resource
  • Google_Service_Blogger_BlogUserInfo
  • Google_Service_Blogger_BlogUserInfos_Resource
  • Google_Service_Blogger_Comment
  • Google_Service_Blogger_CommentAuthor
  • Google_Service_Blogger_CommentAuthorImage
  • Google_Service_Blogger_CommentBlog
  • Google_Service_Blogger_CommentInReplyTo
  • Google_Service_Blogger_CommentList
  • Google_Service_Blogger_CommentPost
  • Google_Service_Blogger_Comments_Resource
  • Google_Service_Blogger_Page
  • Google_Service_Blogger_PageAuthor
  • Google_Service_Blogger_PageAuthorImage
  • Google_Service_Blogger_PageBlog
  • Google_Service_Blogger_PageList
  • Google_Service_Blogger_Pages_Resource
  • Google_Service_Blogger_Pageviews
  • Google_Service_Blogger_PageViews_Resource
  • Google_Service_Blogger_PageviewsCounts
  • Google_Service_Blogger_Post
  • Google_Service_Blogger_PostAuthor
  • Google_Service_Blogger_PostAuthorImage
  • Google_Service_Blogger_PostBlog
  • Google_Service_Blogger_PostImages
  • Google_Service_Blogger_PostList
  • Google_Service_Blogger_PostLocation
  • Google_Service_Blogger_PostPerUserInfo
  • Google_Service_Blogger_PostReplies
  • Google_Service_Blogger_Posts_Resource
  • Google_Service_Blogger_PostUserInfo
  • Google_Service_Blogger_PostUserInfos_Resource
  • Google_Service_Blogger_PostUserInfosList
  • Google_Service_Blogger_User
  • Google_Service_Blogger_UserBlogs
  • Google_Service_Blogger_UserLocale
  • Google_Service_Blogger_Users_Resource
  • Overview
  • Class
  • Tree

Class Google_Service_Blogger_Posts_Resource

The "posts" collection of methods. Typical usage is:

 $bloggerService = new Google_Service_Blogger(...);
 $posts = $bloggerService->posts;
Google_Service_Resource
Extended by Google_Service_Blogger_Posts_Resource
Located at Blogger.php
Methods summary
public
# delete( string $blogId, string $postId, array $optParams = array() )

Deletes a post by blog id and post id. (posts.delete)

Deletes a post by blog id and post id. (posts.delete)

Parameters

$blogId
$postId
$optParams
Optional parameters.
public Google_Service_Blogger_Post
# get( string $blogId, string $postId, array $optParams = array() )

Gets a post by blog id and post id (posts.get)

Gets a post by blog id and post id (posts.get)

Parameters

$blogId
$postId
$optParams
Optional parameters.

Returns

Google_Service_Blogger_Post
Google_Service_Blogger_Post

Opt_param

string maxComments
bool fetchBody
string view
bool fetchImages
public Google_Service_Blogger_Post
# getByPath( string $blogId, string $path, array $optParams = array() )

Gets a post by path. (posts.getByPath)

Gets a post by path. (posts.getByPath)

Parameters

$blogId
$path
$optParams
Optional parameters.

Returns

Google_Service_Blogger_Post
Google_Service_Blogger_Post

Opt_param

string maxComments
string view
public Google_Service_Blogger_Post
# insert( string $blogId, Google_Service_Blogger_Post $postBody, array $optParams = array() )

Inserts a post. (posts.insert)

Inserts a post. (posts.insert)

Parameters

$blogId
$postBody
$optParams
Optional parameters.

Returns

Google_Service_Blogger_Post
Google_Service_Blogger_Post

Opt_param

bool fetchBody
bool isDraft
bool fetchImages
public Google_Service_Blogger_PostList
# listPosts( string $blogId, array $optParams = array() )

Lists posts. (posts.listPosts)

Lists posts. (posts.listPosts)

Parameters

$blogId
$optParams
Optional parameters.

Returns

Google_Service_Blogger_PostList
Google_Service_Blogger_PostList

Opt_param

string pageToken
string status
bool fetchBodies
string maxResults
bool fetchImages
string view
string labels
string endDate
string orderBy
string startDate
public Google_Service_Blogger_Post
# patch( string $blogId, string $postId, Google_Service_Blogger_Post $postBody, array $optParams = array() )

Patches a post. (posts.patch)

Patches a post. (posts.patch)

Parameters

$blogId
$postId
$postBody
$optParams
Optional parameters.

Returns

Google_Service_Blogger_Post
Google_Service_Blogger_Post

Opt_param

bool fetchBody
bool publish
bool revert
bool fetchImages
string maxComments
public Google_Service_Blogger_Post
# publish( string $blogId, string $postId, array $optParams = array() )

Publishes a post. (posts.publish)

Publishes a post. (posts.publish)

Parameters

$blogId
$postId
$optParams
Optional parameters.

Returns

Google_Service_Blogger_Post
Google_Service_Blogger_Post

Opt_param

string publishDate
public Google_Service_Blogger_Post
# revert( string $blogId, string $postId, array $optParams = array() )

Reverts a published or scheduled post to draft state. (posts.revert)

Reverts a published or scheduled post to draft state. (posts.revert)

Parameters

$blogId
$postId
$optParams
Optional parameters.

Returns

Google_Service_Blogger_Post
Google_Service_Blogger_Post
public Google_Service_Blogger_PostList
# search( string $blogId, string $q, array $optParams = array() )

Searches for posts matching given query terms in the specified blog. (posts.search)

Searches for posts matching given query terms in the specified blog. (posts.search)

Parameters

$blogId
$q
$optParams
Optional parameters.

Returns

Google_Service_Blogger_PostList
Google_Service_Blogger_PostList

Opt_param

string orderBy
bool fetchBodies
public Google_Service_Blogger_Post
# update( string $blogId, string $postId, Google_Service_Blogger_Post $postBody, array $optParams = array() )

Updates a post by blog id and post id. (posts.update)

Updates a post by blog id and post id. (posts.update)

Parameters

$blogId
$postId
$postBody
$optParams
Optional parameters.

Returns

Google_Service_Blogger_Post
Google_Service_Blogger_Post

Opt_param

bool fetchBody
bool publish
bool revert
bool fetchImages
string maxComments
© 2020 Google Inc.
Blogger API v3 API documentation generated by ApiGen 2.8.0