Show / Hide Table of Contents

Class PostsResource

The "posts" collection of methods.

Inheritance
System.Object
PostsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Blogger.v3
Assembly: Google.Apis.Blogger.v3.dll
Syntax
public class PostsResource

Constructors

PostsResource(IClientService)

Constructs a new resource.

Declaration
public PostsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Delete(String, String)

Deletes a post by blog id and post id.

Declaration
public virtual PostsResource.DeleteRequest Delete(string blogId, string postId)
Parameters
Type Name Description
System.String blogId
System.String postId
Returns
Type Description
PostsResource.DeleteRequest

Get(String, String)

Gets a post by blog id and post id

Declaration
public virtual PostsResource.GetRequest Get(string blogId, string postId)
Parameters
Type Name Description
System.String blogId
System.String postId
Returns
Type Description
PostsResource.GetRequest

GetByPath(String, String)

Gets a post by path.

Declaration
public virtual PostsResource.GetByPathRequest GetByPath(string blogId, string path)
Parameters
Type Name Description
System.String blogId
System.String path
Returns
Type Description
PostsResource.GetByPathRequest

Insert(Post, String)

Inserts a post.

Declaration
public virtual PostsResource.InsertRequest Insert(Post body, string blogId)
Parameters
Type Name Description
Post body

The body of the request.

System.String blogId
Returns
Type Description
PostsResource.InsertRequest

List(String)

Lists posts.

Declaration
public virtual PostsResource.ListRequest List(string blogId)
Parameters
Type Name Description
System.String blogId
Returns
Type Description
PostsResource.ListRequest

Patch(Post, String, String)

Patches a post.

Declaration
public virtual PostsResource.PatchRequest Patch(Post body, string blogId, string postId)
Parameters
Type Name Description
Post body

The body of the request.

System.String blogId
System.String postId
Returns
Type Description
PostsResource.PatchRequest

Publish(String, String)

Publishes a post.

Declaration
public virtual PostsResource.PublishRequest Publish(string blogId, string postId)
Parameters
Type Name Description
System.String blogId
System.String postId
Returns
Type Description
PostsResource.PublishRequest

Revert(String, String)

Reverts a published or scheduled post to draft state.

Declaration
public virtual PostsResource.RevertRequest Revert(string blogId, string postId)
Parameters
Type Name Description
System.String blogId
System.String postId
Returns
Type Description
PostsResource.RevertRequest

Search(String, String)

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

Declaration
public virtual PostsResource.SearchRequest Search(string blogId, string q)
Parameters
Type Name Description
System.String blogId
System.String q
Returns
Type Description
PostsResource.SearchRequest

Update(Post, String, String)

Updates a post by blog id and post id.

Declaration
public virtual PostsResource.UpdateRequest Update(Post body, string blogId, string postId)
Parameters
Type Name Description
Post body

The body of the request.

System.String blogId
System.String postId
Returns
Type Description
PostsResource.UpdateRequest
Back to top