This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IArticleVersions>()
and is defined in Telligent.Evolution.Articles.dll
Events
Events.AfterCreate
Handler
void ArticleVersionAfterCreateEventHandler(ArticleVersionAfterCreateEventArgs e);
Events.AfterDelete
Handler
void ArticleVersionAfterDeleteEventHandler(ArticleVersionAfterDeleteEventArgs e);
Events.AfterUpdate
Handler
void ArticleVersionAfterUpdateEventHandler(ArticleVersionAfterUpdateEventArgs e);
Events.BeforeCreate
Handler
void ArticleVersionBeforeCreateEventHandler(ArticleVersionBeforeCreateEventArgs e);
Events.BeforeDelete
Handler
void ArticleVersionBeforeDeleteEventHandler(ArticleVersionBeforeDeleteEventArgs e);
Events.BeforeUpdate
Handler
void ArticleVersionBeforeUpdateEventHandler(ArticleVersionBeforeUpdateEventArgs e);
Events.Render
Handler
void ArticleVersionRenderEventHandler(ArticleVersionRenderEventArgs e);
Methods
ArticleVersion Create(string title, string body, int typeId, ArticleVersionCreateOptions options = null);
Used to create a new article in a collection or a new article version for an existing article.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
title | string | Title | Required | ||
body | string | Body | Required | ||
typeId | int | Type Id | Required | ||
options | ArticleVersionCreateOptions | Options | Optional |
Return Type
AdditionalInfo Delete(Guid articleId, Guid version);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
articleId | Guid | Article Id | Required | ||
version | Guid | Version | Required |
Return Type
ArticleVersion Get(Guid articleId, Guid version);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
articleId | Guid | Article Id | Required | ||
version | Guid | Version | Required |
Return Type
PagedList<ArticleVersion> List(Guid articleId, ArticleVersionListOptions options = null);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
articleId | Guid | Article Id | Required | ||
options | ArticleVersionListOptions | Options | Optional |
Return Type
ArticleVersion Undelete(Guid articleId, Guid version);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
articleId | Guid | Article Id | Required | ||
version | Guid | Version | Required |
Return Type
ArticleVersion Update(Guid articleId, Guid version, ArticleVersionUpdateOptions options);
Used to update an existing article version.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
articleId | Guid | Article Id | Required | ||
version | Guid | Version | Required | ||
options | ArticleVersionUpdateOptions | Options | Required |