BlogPostsListOptions
is defined in the Telligent.Evolution.Extensibility.Api.Version1
namespace of Telligent.Evolution.Blogs.dll
Definition
class BlogPostsListOptions { int? AuthorId { get; set; } int? BlogId { get; set; } string BlogIds { get; set; } string ContentIds { get; set; } DateTime? DateFilter { get; set; } string DateFilterType { get; set; } int? GroupId { get; set; } bool? IncludeSubGroups { get; set; } bool? IncludeUnpublished { get; set; } bool? LogicallyOrTags { get; set; } int? PageIndex { get; set; } int? PageSize { get; set; } string SortBy { get; set; } string SortOrder { get; set; } string Tags { get; set; } }
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
AuthorId | int? | Id of author | ||
BlogId | int? | The blog Id to filter the list by. | ||
BlogIds | string | Used to filter by a list of blogs. Multiple values are separated with commas. | ||
ContentIds | string | Comma separated list of ContentIds. Used to limit to a specific set of blog posts as well as sort order if SortBy is set to ContentIdsOrder | ||
DateFilter | DateTime? | A DateTime value used to filter posts | ||
DateFilterType | string | Only used when using a DateFilter. | Day, Month, Year | |
GroupId | int? | The group Id to filter the list by | ||
IncludeSubGroups | bool? | Only used when GroupId is specified. | ||
IncludeUnpublished | bool? | Defines whether to include unpublished posts in the list. | ||
LogicallyOrTags | bool? | Filter posts by tags with OR | ||
PageIndex | int? | Specify the page number of paged results to return. Zero-based index. | ||
PageSize | int? | Specify the number of results to return per page. | ||
SortBy | string | Sort by | ContentIdsOrder, MostComments, MostRecent, MostViewed, Score:SCORE_ID | |
SortOrder | string | Sort order | Ascending, Descending | |
Tags | string | Comma separated list of tags |