Get comment object from database. List of supported entities: Articles, Blogs, CMS Pages, Wikis, Files, Videos, Ideas, Photos, Events. Valid for Communifire version 5.2 and above.
Example URL to GET: http://your-community.com/api/comments/2317
Here is an example of JSON data returned from the API call. Note that some properties are removed from this sample to make it shorter.
{ "IsError":false, "ResponseMessage":"", "ResponseData": [ { "CommentText":"All of that paperwork should be in the Files section of the Human Resources space.", "CommentTextUnprocessed":"All of that paperwork should be in the Files section of the Human Resources space.", "CommentTitle":null, "CommentID":2317, "ParentCommentID":0, "EntityType":0, "CommentEntityType":0, "EntityID":2317, "RatingID":null, "CommentRating":0.0, "UserEmail":"acme@acme.com", "UserMediaServerRootURL":null, "ParentEntityAuthorID":0, "UserID":1, "CommentStatus":1, "UserWebsite":"", "UserIPAddress":"::1", "UserName":"john", "UserFirstName":null, "UserLastName":null, "UserAvatarFileName":null, "DateCommented":"2016-02-03T08:18:06.21", "DateCommentedText":"3 seconds ago", "DateTimeISO":"2016-02-03T13:48:06.2100000", "DateTimeFull":"Wednesday, February 3, 2016 at 01:48", "UserAvatarVirtualPath":"http://your-community.com/Assets/Uploaded-Photos/884af119-4937-4b33-a795-826cda3d19a3.png", "UserProfileURL":"http://your-community.com/people/john", "UserDisplayName":"John Smith", "CaptchaCode":null, "IsInternal":false, "CanUserDeleteComment":true, "CurrentWorkFlowStepID":0, "WorkFlowID":0, "CanUserChangeCommentStatus":false, "SpaceID":0, "NestedComments":[], "CommentTextHtmlFormatted":"All of that paperwork should be in the Files section of the Human Resources space.", "CommentTextFormatted":"All of that paperwork should be in the Files section of the Human Resources space." } ] }
Please Note Your content type that you pass in the header of your request should be 'application/json'.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/communifire-documentation/wiki/view/4848/rest-api-get-comment?locale=en-US%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1
Your session has expired. You are being logged out.