The "posts" collection of methods. Typical usage is:
$bloggerService = new Google_Service_Blogger(...);
$posts = $bloggerService->posts;
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
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
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
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
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
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
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
|
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
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
Opt_param
bool fetchBody
bool publish
bool revert
bool fetchImages
string maxComments
|