Modifier and Type | Class and Description |
---|---|
class |
Blogger.Posts.Delete |
class |
Blogger.Posts.Get |
class |
Blogger.Posts.GetByPath |
class |
Blogger.Posts.Insert |
class |
Blogger.Posts.List |
class |
Blogger.Posts.Patch |
class |
Blogger.Posts.Publish |
class |
Blogger.Posts.Revert |
class |
Blogger.Posts.Search |
class |
Blogger.Posts.Update |
Constructor and Description |
---|
Posts() |
Modifier and Type | Method and Description |
---|---|
Blogger.Posts.Delete |
delete(String blogId,
String postId)
Deletes a post by blog id and post id.
|
Blogger.Posts.Get |
get(String blogId,
String postId)
Gets a post by blog id and post id
Create a request for the method "posts.get".
|
Blogger.Posts.GetByPath |
getByPath(String blogId,
String path)
Gets a post by path.
|
Blogger.Posts.Insert |
insert(String blogId,
Post content)
Inserts a post.
|
Blogger.Posts.List |
list(String blogId)
Lists posts.
|
Blogger.Posts.Patch |
patch(String blogId,
String postId,
Post content)
Patches a post.
|
Blogger.Posts.Publish |
publish(String blogId,
String postId)
Publishes a post.
|
Blogger.Posts.Revert |
revert(String blogId,
String postId)
Reverts a published or scheduled post to draft state.
|
Blogger.Posts.Search |
search(String blogId,
String q)
Searches for posts matching given query terms in the specified blog.
|
Blogger.Posts.Update |
update(String blogId,
String postId,
Post content)
Updates a post by blog id and post id.
|
public Blogger.Posts.Delete delete(String blogId, String postId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.blogId
- postId
- IOException
public Blogger.Posts.Get get(String blogId, String postId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.blogId
- postId
- IOException
public Blogger.Posts.GetByPath getByPath(String blogId, String path) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.blogId
- path
- IOException
public Blogger.Posts.Insert insert(String blogId, Post content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.blogId
- content
- the Post
IOException
public Blogger.Posts.List list(String blogId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.blogId
- IOException
public Blogger.Posts.Patch patch(String blogId, String postId, Post content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.blogId
- postId
- content
- the Post
IOException
public Blogger.Posts.Publish publish(String blogId, String postId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.blogId
- postId
- IOException
public Blogger.Posts.Revert revert(String blogId, String postId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.blogId
- postId
- IOException
public Blogger.Posts.Search search(String blogId, String q) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.blogId
- q
- IOException
public Blogger.Posts.Update update(String blogId, String postId, Post content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.blogId
- postId
- content
- the Post
IOException
Copyright © 2011–2022 Google. All rights reserved.