This service is available via Telligent.Evolution.Extensibility.Api.Version1.PublicApi.BlogComments
or Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IBlogComments>()
and is defined in Telligent.Evolution.Api.dll
Methods
BlogComment Create(int blogPostId, string body, BlogCommentsCreateOptions options = null);
Create a new blog post comment. DEPRECATED: Use PublicApi.Comments.Create() instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
blogPostId | int | The parent blog post id for the comment. | Required | ||
body | string | Body of the comment | Required | ||
options | BlogCommentsCreateOptions | Optional parameter names are: PublishedDate, IsApproved, ExtendedAttributes | Optional |
Return Type
AdditionalInfo Delete(int id, int blogId, int blogPostId);
Delete a blog post comment. DEPRECATED: Use PublicApi.Comments.Delete() instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Id of the blog post comment | Required | ||
blogId | int | Id of the parent blog | Required | ||
blogPostId | int | Id of the parent blog post | Required |
Return Type
BlogComment Get(int id, BlogCommentQueryOptions options = null);
Get a single blog post comment. DEPRECATED: Use PublicApi.Comments.Get() instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | ID of the comment | Required | ||
options | BlogCommentQueryOptions | Optional parameters are: BlogPostId, BlogId | Optional |
Return Type
PagedList<BlogComment> List(int blogPostId, BlogCommentsListOptions options = null);
Lists blog post comments. DEPRECATED: Use PublicApi.Comments.List() instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
blogPostId | int | Blog post Id | Required | ||
options | BlogCommentsListOptions | Optional parameter names are: IncludeUnpublished, SortOrder, SortBy, PageSize, PageIndex. If left unspecified, sorting defaults to MostRecent Ascending. | Optional |
Return Type
BlogComment Update(int id, BlogCommentsUpdateOptions options = null);
Updates a blog post comment. DEPRECATED: Use PublicApi.Comments.Update() instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Blog comment Id | Required | ||
options | BlogCommentsUpdateOptions | Optional parameter names are: Body, PublishedDate, IsApproved, ExtendedAttributes | Optional |