Property | Type | Description |
---|
Method | Description | |
---|---|---|
CommentsClient ( string communityUrl, |
||
CreateAbuseReport ( int commentID, |
Register that the requesting person considers the specified comment as abusive.
|
|
CreateComment ( |
Create a new comment with the specified characteristics. The parent field must contain the URI of either a content object for which this is a direct reply, or the URI of a previous comment to which this is a reply.
|
|
CreateCommentHelpful ( int commentID ) : void |
Register that the requesting person considers the specified comment helpful.
|
|
CreateCommentLike ( int commentID ) : void |
Register that the requesting person likes the specified comment.
|
|
CreateCommentUnhelpful ( int commentID ) : void |
Register that the requesting person considers the specified comment unhelpful.
|
|
CreateReply ( int commentID, |
Create a new comment as a reply to an existing comment with the specified characteristics.
|
|
DestroyComment ( int commentID, bool recursiveDelete = true ) : void |
Delete the specified comment and its sub comments recursively
|
|
DestroyCommentHelpful ( int commentID ) : void |
Delete the helpful mark of the specified comment by the requesting user.
|
|
DestroyCommentLike ( int commentID ) : void |
Delete the like of the specified content object by the requesting user.
|
|
DestroyCommentUnhelpful ( int commentID ) : void |
Delete the registration of the specified comment as unhelpful by the requesting user.
|
|
GetAbuseReports ( int commentID, List |
Retrieve the abuse reports for the specified comment
|
|
GetComment ( int commentID, bool abridged = false, List |
Return the specified comment object with the specified fields.
|
|
GetCommentLikes ( int commentID, int count = 25, int startIndex, List |
Return a paginated list of the people who like the specified comment.
|
|
GetComments ( int commentID, bool excludeReplies = false, int count = 25, int startIndex, string anchor = null, List |
Return a paginated list of comments to the specified content object, optionally limiting the returned results to direct replies only. The specified content object type must support comments, or be a comment itself (in which case replies to this comment only are returned).
|
|
GetEditableComment ( int commentID, List |
Return the specified editable content object with the specified fields.
|
|
GetHaveMarkedHelpful ( int commentID, int count = 25, int startIndex, List |
Return a paginated list of the people who consider this comment helpful.
|
|
GetHaveMarkedUnhelpful ( int commentID, int count = 25, int startIndex, List |
Return a paginated list of the people who consider this comment unhelpful.
|
|
UpdateComment ( int commentID, |
Update the specified comment with the specified characteristics
|
|
UpdateEditableComment ( int commentID, |
Update the specified editable comment with the specified characteristics.
|
public CommentsClient ( string communityUrl, |
||
communityUrl | string | |
credentials | ||
return | System |
public CreateAbuseReport ( int commentID, |
||
commentID | int | ID of the comment to be marked as abusive |
abuse_report | AbuseReport object containing the abuse report information | |
return |
public CreateComment ( |
||
new_comment | Comment object describing the comment to be created | |
author | bool | Flag indicating if new comment is an author comment or a regular comment (only valid for documents). By default a regular comment will be created. |
published | System.DateTime | Date and time when this content object was originally created. Set 'updated' param as well. Only set this field when importing content. |
updated | System.DateTime | Date and time when this content object was most recently updated. Set 'published' param as well. Only set this field when importing content. |
fields | List |
Fields to be included in the returned Comment object |
return |
public CreateCommentHelpful ( int commentID ) : void | ||
commentID | int | ID of the comment to be marked as helpful |
return | void |
public CreateCommentLike ( int commentID ) : void | ||
commentID | int | ID of the comment to be liked |
return | void |
public CreateCommentUnhelpful ( int commentID ) : void | ||
commentID | int | ID of the comment to be marked as unhelpful |
return | void |
public CreateReply ( int commentID, |
||
commentID | int | ID of the comment being replied to |
new_comment | Comment object describing the reply comment to be created | |
fields | List |
Fields to include in the returned Comment object |
published | System.DateTime | Date and time when this content object was originally created. Set 'updated' param as well. Only set this field when importing content. Since 3.6. |
updated | System.DateTime | Date and time when this content object was most recently updated. Set 'published' param as well. Only set this field when importing content. Since 3.6. |
return |
public DestroyComment ( int commentID, bool recursiveDelete = true ) : void | ||
commentID | int | ID of the comment to be deleted |
recursiveDelete | bool | Flag indicating if the delete is recursive. The flag defaults to true if not provided |
return | void |
public DestroyCommentHelpful ( int commentID ) : void | ||
commentID | int | ID of the comment for which a like is being removed |
return | void |
public DestroyCommentLike ( int commentID ) : void | ||
commentID | int | ID of the comment for which a like is being removed |
return | void |
public DestroyCommentUnhelpful ( int commentID ) : void | ||
commentID | int | ID of the comment for which an unhelpful registration is being removed |
return | void |
public GetAbuseReports ( int commentID, List |
||
commentID | int | ID of the comment marked as abusive |
fields | List |
Fields to be returned in the abuse report response |
return | List |
public GetComment ( int commentID, bool abridged = false, List |
||
commentID | int | ID of the comment to be returned |
abridged | bool | Flag indicating that if content.text is requested, it will be abridged (length shortened, HTML tags removed) |
fields | List |
Fields to be returned |
return |
public GetCommentLikes ( int commentID, int count = 25, int startIndex, List |
||
commentID | int | ID of the comment for which to return liking people |
count | int | Maximum number of people to be returned |
startIndex | int | Zero-relative index of the first person to be returned |
fields | List |
Fields to be returned on people that like the comment |
return | List |
public GetComments ( int commentID, bool excludeReplies = false, int count = 25, int startIndex, string anchor = null, List |
||
commentID | int | ID of the comment for which to return reply comments |
excludeReplies | bool | Flag indicating whether to exclude replies (and therefore return direct replies only) |
count | int | Maximum number of comments to be returned |
startIndex | int | Zero-relative index of the first comment to be returned |
anchor | string | optional URI for a comment to anchor at. Specifying a anchor will try to return the page containing the anchor. /// If the anchor could not be found then the first page of comments will be returned. |
fields | List |
Fields to be returned in the selected comments |
return | List |
public GetEditableComment ( int commentID, List |
||
commentID | int | ID of the comment to be returned |
fields | List |
Fields to be returned |
return |
public GetHaveMarkedHelpful ( int commentID, int count = 25, int startIndex, List |
||
commentID | int | ID of the comment that has been marked helpful |
count | int | Maximum number of people to be returned (default is 25) |
startIndex | int | Zero-relative index of the first person to be returned (default is 0) |
fields | List |
Fields to be returned on people who have marked this comment as helpful (default is @summary) |
return | List |
public GetHaveMarkedUnhelpful ( int commentID, int count = 25, int startIndex, List |
||
commentID | int | ID of the comment that has been marked unhelpful |
count | int | Maximum number of people to be returned (default is 25) |
startIndex | int | Zero-relative index of the first person to be returned (default is 0) |
fields | List |
Fields to be returned on people who have marked this comment as unhelpful (default is @summary) |
return | List |
public UpdateComment ( int commentID, |
||
commentID | int | ID of the comment to be updated |
comment | Comment object containing the updated comment | |
updated | System.DateTime | Date and time when this content object was most recently updated |
fields | List |
Fields to include in the returned entity |
return |
public UpdateEditableComment ( int commentID, |
||
commentID | int | ID of the editable comment to be updated |
comment | Comment object containing the updated comment | |
updated | System.DateTime | Date and time when this content object was most recently updated. |
fields | List |
Fields to include in the returned entity |
return |