This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IBlogs>()
and is defined in Telligent.Evolution.Blogs.dll
Events
Events.AfterCreate
Handler
void BlogAfterCreateEventHandler(BlogAfterCreateEventArgs e);
Events.AfterDelete
Handler
void BlogAfterDeleteEventHandler(BlogAfterDeleteEventArgs e);
Events.AfterUpdate
Handler
void BlogAfterUpdateEventHandler(BlogAfterUpdateEventArgs e);
Events.BeforeCreate
Handler
void BlogBeforeCreateEventHandler(BlogBeforeCreateEventArgs e);
Events.BeforeDelete
Handler
void BlogBeforeDeleteEventHandler(BlogBeforeDeleteEventArgs e);
Events.BeforeUpdate
Handler
void BlogBeforeUpdateEventHandler(BlogBeforeUpdateEventArgs e);
Events.Render
Handler
void BlogRenderEventHandler(BlogRenderEventArgs e);
Events.SelectTheme
Handler
void BlogSelectThemeEventHandler(BlogSelectThemeEventArgs e);
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
ApplicationTypeId | Guid | Blogs application type identifier | ||
ContentTypeId | Guid | Blogs content type identifier | ||
ThemeTypeId | Guid | Blogs theme type identifier | ||
TotalLicensed | int | |||
TotalLicensedRemaining | int |
Methods
Blog Create(int groupId, string name, BlogsCreateOptions options = null);
Creates a new blog
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
groupId | int | Group in which to create the blog | Required | ||
name | string | Name of the blog | Required | ||
options | BlogsCreateOptions | Optional parameter names are: Key, Description, Authors (comma separated list of usernames), Enabled, ExtendedAttributes | Optional |
Return Type
BlogContactRequest CreateContactRequest(int blogId, string subject, string body, string name, string emailAddress, DateTime dateCreated, IPAddress ipAddress);
Creates a blog contact request
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
blogId | int | Blog Id | Required | ||
subject | string | Subject | Required | ||
body | string | Body | Required | ||
name | string | Name | Required | ||
emailAddress | string | Email address | Required | ||
dateCreated | DateTime | Date created | Required | ||
ipAddress | IPAddress | IP address | Required |
Return Type
AdditionalInfo Delete(int id);
Deletes a blog
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Blog Id | Required |
Return Type
AdditionalInfo DeleteContactRequest(int blogId, int id);
Deletes a blog contact request
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
blogId | int | Blog Id | Required | ||
id | int | Contact Request Id | Required |
Return Type
Blog Get(BlogsGetOptions options);
Gets a blog
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | BlogsGetOptions | Optional parameter names are: Id, Key, GroupId | Required |
Return Type
Blog Get(Guid applicationId);
Gets a blog
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
applicationId | Guid | Id of the Blog | Required |
Return Type
BlogContactRequest GetContactRequest(int id);
Gets a blog contact request
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Blog Id | Required |
Return Type
PagedList<Blog> List(BlogsListOptions options = null);
Returns a queried listing of blogs
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | BlogsListOptions | Optional parameter names are: GroupId, IncludeSubGroups, ApplicationIds, PageIndex, PageSize, OwnerUserId, UserId, PermissionId, SortBy, SortOrder. If left unspecified, sorting defaults to SortOrder Ascending. | Optional |
Return Type
PagedList<BlogContactRequest> ListContactRequests(int blogId, BlogContactListOptions options = null);
Lists blog contact requests
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
blogId | int | Blog Id | Required | ||
options | BlogContactListOptions | Optional Parameters are: IsModerated, PageIndex, PageSize | Optional |
Return Type
Blog Update(int id, BlogsUpdateOptions options);
Updates a blog
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Blog Id | Required | ||
options | BlogsUpdateOptions | Optional parameter names are: GroupId, Name, Key, Description, Authors (comma separated list of usernames), Enabled, ExtendedAttribute | Required |