This service is available via Telligent.Evolution.Extensibility.Api.Version1.PublicApi.MediaComments
or Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IMediaComments>()
and is defined in Telligent.Evolution.Api.dll
Methods
MediaComment Create(int mediaGalleryId, int fileId, string body, MediaCommentsCreateOptions options = null);
Create a media comment. DEPRECATED: Use PublicApi.Comments.Create() instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
mediaGalleryId | int | Media gallery Id | Required | ||
fileId | int | ID of media where comment is to be created | Required | ||
body | string | Body | Required | ||
options | MediaCommentsCreateOptions | Optional parameter names are: PublishedDate, IsApproved, ExtendedAttributes | Optional |
Return Type
AdditionalInfo Delete(int id, int mediaGalleryId, int fileId);
Delete a media gallery comment. DEPRECATED: Use PublicApi.Comments.Delete() instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | ID of the comment to delete | Required | ||
mediaGalleryId | int | ID of gallery where the comment exists | Required | ||
fileId | int | ID of the media where the comment exists | Required |
Return Type
MediaComment Get(int id);
Get a single media post comment. DEPRECATED: Use PublicApi.Comments.Get() instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | ID of the comment you want to retrieve | Required |
Return Type
PagedList<MediaComment> List(int fileId, MediaCommentsListOptions options = null);
List comments for a media post. DEPRECATED: Use PublicApi.Comments.List() instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
fileId | int | ID of media where comments were made | Required | ||
options | MediaCommentsListOptions | Optional parameter names are: IncludeUnpublished, PageSize, PageIndex | Optional |
Return Type
MediaComment Update(int mediaGalleryId, int fileId, int id, MediaCommentsUpdateOptions options);
Update a media comment. DEPRECATED: Use PublicApi.Comments.Update() instead.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
mediaGalleryId | int | Media gallery Id | Required | ||
fileId | int | ID of media where comment is to be updated | Required | ||
id | int | Comment Id | Required | ||
options | MediaCommentsUpdateOptions | Optional parameter names are: Body, PublishedDate, IsApproved, ExtendedAttributes | Required |