Work with Wiki comments
This service is available via Telligent.Evolution.Extensibility.Api.Version1.PublicApi.WikiComments
or Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IWikiComments>()
and is defined in Telligent.Evolution.Api.dll
Methods
WikiComment Create(int? wikiId, int wikiPageId, string body, WikiCommentsCreateOptions options = null);
Create a Wiki comment. DEPRECATED: Use PublicApi.Comments.Create() instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
wikiId | int? | Specified Wiki Id | Required | ||
wikiPageId | int | Specified Wiki page Id | Required | ||
body | string | Body of wiki | Required | ||
options | WikiCommentsCreateOptions | Options of created Wiki comment | Optional |
Return Type
AdditionalInfo Delete(int id, int wikiId, int wikiPageId);
Delete a Wiki comment. DEPRECATED: Use PublicApi.Comments.Delete() instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Specified Wiki comment Id | Required | ||
wikiId | int | Specified Wiki Id | Required | ||
wikiPageId | int | Specified Wiki page Id | Required |
Return Type
WikiComment Get(int id);
Get a Wiki comment. DEPRECATED: Use PublicApi.Comments.Get() instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Id | Required |
Return Type
PagedList<WikiComment> List(int? wikiId, int wikiPageId, WikiCommentsListOptions options = null);
Get a Wiki comment list. DEPRECATED: Use PublicApi.Comments.List() instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
wikiId | int? | Specified Wiki Id | Required | ||
wikiPageId | int | Specified Wiki page Id | Required | ||
options | WikiCommentsListOptions | Wiki comments list get options | Optional |
Return Type
WikiComment Update(int? wikiId, int wikiPageId, int id, WikiCommentsUpdateOptions options = null);
Update a Wiki comment. DEPRECATED: Use PublicApi.Comments.Update() instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
wikiId | int? | Specified Wiki Id | Required | ||
wikiPageId | int | Specified Wiki page Id | Required | ||
id | int | Specified Wiki comment Id | Required | ||
options | WikiCommentsUpdateOptions | Options of updated Wiki comment | Optional |