Verint | Telligent Community
Verint | Telligent Community
  • Site
  • User
  • Site
  • Search
  • User
Verint Community 11.x
  • Verint Community
Verint Community 11.x
API Documentation List Threaded Comments REST Endpoint
  • User Documentation
  • Ask the Community
  • API Documentation
  • Manager Training
  • Developer Training
  • Tags
  • More
  • Cancel
  • New
  • API Documentation
  • +In-Process API Documentation
  • +Plugin API Documentation
  • -REST API Documentation
    • +Abuse Appeal REST Endpoints
    • +Abuse Report REST Endpoints
    • +Abusive Content REST Endpoints
    • +Achievement REST Endpoints
    • +Activity Story REST Endpoints
    • +Activity Story Site Preference REST Endpoints
    • +Activity Story Types REST Endpoints
    • +Activity Story User Preference REST Endpoints
    • +Aggregate Tagged Content REST Endpoints
    • +Aggregate Tags REST Endpoints
    • +Application Subscriptions REST Endpoints
    • +Batching REST Endpoints
    • +Blog Contact Request REST Endpoints
    • +Blog Post REST Endpoints
    • +Blog Post Subscription REST Endpoints
    • +Blog Post Summary REST Endpoints
    • +Blog REST Endpoints
    • +Bookmark REST Endpoints
    • +Calendar REST Endpoints
    • +Cfs REST Endpoints
    • +Challenge REST Endpoints
    • +Comment REST Endpoints
    • +Comment Summary REST Endpoints
    • +Comment Vote REST Endpoints
    • +Content Conversion REST Endpoints
    • +Content Presence REST Endpoints
    • +Content Presence Summary REST Endpoints
    • +Content Recommendation REST Endpoints
    • +Content REST Endpoints
    • +Content Subscriptions REST Endpoints
    • +Content Tags REST Endpoints
    • +Content View REST Endpoints
    • +Conversation Message REST Endpoints
    • +Conversation REST Endpoints
    • +Conversion Target Applications REST Endpoints
    • +Conversion Target Content Types REST Endpoints
    • +Endpoint REST Endpoints
    • +Event Log REST Endpoints
    • +Events REST Endpoints
    • +Feature (v3) REST Endpoints
    • +Feature REST Endpoints
    • +Follower REST Endpoints
    • +Following REST Endpoints
    • +Follows REST Endpoints
    • +Forum Reply REST Endpoints
    • +Forum Reply Vote REST Endpoints
    • +Forum Reply Votes REST Endpoints
    • +Forum REST Endpoints
    • +Forum Thread REST Endpoints
    • +Forum Thread Votes REST Endpoints
    • +Friendship REST Endpoints
    • +Gallery REST Endpoints
    • +Generic Content REST Endpoints
    • +Geocoding REST Endpoints
    • +Group Author Quality Score REST Endpoints
    • +Group Avatar REST Endpoints
    • +Group Contact Request REST Endpoints
    • +Group REST Endpoints
    • +Group User REST Endpoints
    • +Hash Tag REST Endpoints
    • +Html REST Endpoints
    • +Idea Category REST Endpoints
    • +Idea REST Endpoints
    • +Idea Status REST Endpoints
    • +Idea Vote (v3) REST Endpoints
    • +Idea Vote REST Endpoints
    • +Ignore Content Recommendation REST Endpoints
    • +Ignore User Recommendation REST Endpoints
    • +Info Result REST Endpoints
    • +Leaderboard REST Endpoints
    • +Like REST Endpoints
    • +Liked Item REST Endpoints
    • +Media REST Endpoints
    • +Media Subscription REST Endpoints
    • +Mention REST Endpoints
    • +Mentionable REST Endpoints
    • +Node Permission REST Endpoints
    • +Notification Category REST Endpoints
    • +Notification Distribution Types REST Endpoints
    • +Notification Preference REST Endpoints
    • +Notification REST Endpoints
    • +Notification Types REST Endpoints
    • +O Auth REST Endpoints
    • +Permission (v3) REST Endpoints
    • +Permission REST Endpoints
    • +Point Transaction REST Endpoints
    • +Poll Item REST Endpoints
    • +Poll Item Vote REST Endpoints
    • +Poll REST Endpoints
    • +Poll Vote REST Endpoints
    • +Rated Item REST Endpoints
    • +Rating REST Endpoints
    • +Remote Proxy Information REST Endpoints
    • +Remote URL Entity REST Endpoints
    • +Remote URL REST Endpoints
    • +Remote Widget API REST Endpoints
    • +Reply Message REST Endpoints
    • +Reviewable Content REST Endpoints
    • +Role REST Endpoints
    • +Scripting REST Endpoints
    • +Search Result REST Endpoints
    • +Service Presence REST Endpoints
    • +Service Presence Summary REST Endpoints
    • +Status Message REST Endpoints
    • +System Notification REST Endpoints
    • +Text REST Endpoints
    • +Threaded Comment Ancestors for a Comment REST Endpoints
    • +Threaded Comments For a Comment REST Endpoints
    • -Threaded Comments REST Endpoints
      • List Threaded Comments REST Endpoint
    • +Threaded Forum Replies for a Reply REST Endpoints
    • +Threaded Forum Replies REST Endpoints
    • +Threaded Forum Reply Ancestors for a Reply REST Endpoints
    • +Tour Tip REST Endpoints
    • +Ui REST Endpoints
    • +User Achievement REST Endpoints
    • +User Avatar REST Endpoints
    • +User Cover Photo REST Endpoints
    • +User Invitation REST Endpoints
    • +User Presence REST Endpoints
    • +User Profile Field REST Endpoints
    • +User Profile Field Types REST Endpoints
    • +User Recommendation REST Endpoints
    • +User REST Endpoints
    • +User Validation REST Endpoints
    • +User Vote Summary REST Endpoints
    • +Vote Summary REST Endpoints
    • +Webhook Event REST Endpoints
    • +Webhook REST Endpoints
    • +Wiki File REST Endpoints
    • +Wiki Page Comment Subscription REST Endpoints
    • +Wiki Page REST Endpoints
    • +Wiki Page Revision REST Endpoints
    • +Wiki Page Subscription REST Endpoints
    • +Wiki REST Endpoints
    • +Wiki Toc REST Endpoints
  • +Widget, Theme, and Automation APIs

List Threaded Comments REST Endpoint


URLs

GET api.ashx/v2/comments/threaded.xml (or .json)

Request Parameters

NameTypeDescriptionLocationRequiredDefaultOptions
ParentCommentIdGuidParent Comment IdQuery StringOptional
StartCommentIdGuidStart Comment IdQuery StringOptional
EndCommentIdGuidEnd Comment IdQuery StringOptional
ContentIdGuidContent Id. Either ContentUrl or ContentId and ContentTypeId are requiredQuery StringOptional
ContentTypeIdGuidContent Type IdQuery StringOptional
ContentUrlstringThe URL at which the content can be accessed. Either ContentUrl or ContentId and ContentTypeId are requiredQuery StringOptional
CommentTypeIdGuidComment type IdQuery StringOptional
CreatedStartDateDateTimeCreated start date. Only filters first level of comments returned.Query StringOptional
CreatedEndDateDateTimeCreated end date. Only filters first level of comments returned.Query StringOptional
ThreadedSortBystringSort threaded comments by. Sort options include CreatedDate, VotesQuery StringOptional
ThreadedSortOrderstringSort order of threaded comments returned. 'Ascending' or 'Descending'Query StringOptional
FlattenedSortBystringSort of flattened comments. Sort options include CreatedDate, VotesQuery StringOptional
FlattenedSortOrderstringSort order of flattened comments. 'Ascending' or 'Descending'Query StringOptional
RootPageSizeintNumber of first level comments to return. Max of 100.Query StringOptional20
FlattenedDepthintSpecify the depth at which all child comments will be wrapped under the last level of threaded comments. Zero-based index. Max of 9.Query StringOptional2
ChildPageSizeintSpecifies the number of child records to return per first level comment. Max of 50.Query StringOptional10
PostTargetstringRender target. Options: Unknown, Web, Syndication, Offline, Other, Print, Nntp, Email, WebQuote, WebServices.Query StringOptional
CommentIdGuidComment IdQuery StringRequired
ContentIdGuidContent Id. Either ContentUrl or ContentId and ContentTypeId are requiredQuery StringOptional
ContentTypeIdGuidContent Type IdQuery StringOptional
ContentUrlstringThe URL at which the content can be accessed. Either ContentUrl or ContentId and ContentTypeId are requiredQuery StringOptional
CommentTypeIdGuidComment type IdQuery StringOptional
ThreadedSortBystringSort threaded comments by. Sort options include CreatedDate, VotesQuery StringOptional
ThreadedSortOrderstringSort order of threaded comments returned. 'Ascending' or 'Descending'Query StringOptional
FlattenedSortBystringSort of flattened comments. Sort options include CreatedDate, VotesQuery StringOptional
FlattenedSortOrderstringSort order of flattened comments. 'Ascending' or 'Descending'Query StringOptional
FlattenedDepthintSpecify the depth at which all child comments will be wrapped under the last level of threaded comments. Zero-based index. Max of 9.Query StringOptional2
PageSizeintNumber of comments to return. Max of 100.Query StringOptional20
DirectionstringSpecifies the direction paging occurs, either up from the CommentId passed in to the root comment, or down from the root comment for the CommentId passed in. 'FromRootComment', 'FromComment'Query StringOptionalFromComment
PostTargetstringRender target. Options: Unknown, Web, Syndication, Offline, Other, Print, Nntp, Email, WebQuote, WebServices.Query StringOptional

Example Requests

C# REST SDK

This example uses the REST SDK to access the Community REST API within a .Net C# application. In the example, USER_NAME is the user name of the effective user for the request and OAUTH_CLIENT_ID and OAUTH_SECRET are the OAuth client ID and secret, respectively, associated to this application as configured in Administration > Integration > OAuth Clients with the "Client Credentials" grant type enabled. See the documentation for the REST SDK for more details about installation, configuration, and usage options.

var host = new ClientCredentialsRestHost("USER_NAME", "https://mysite.com/", "OAUTH_CLIENT_ID", "OAUTH_SECRET");
var response = host.GetToDynamic(2, "comments/threaded.json", false, new RestGetOptions {
	QueryStringParameters = new System.Collections.Specialized.NameValueCollection {
		{ "CommentId", "49fec544-6df7-4a82-872b-f8be586d5e9e" }
	}
});

Widget Javascript

This example uses the rest JavaScript API to access the Community REST API within the Community web UI. When accessing the REST API through the javascript API, the effective user is the current contextual user of the web interface.

jQuery.telligent.evolution.get({
	url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/comments/threaded.json',
	data: { 
		'CommentId': '49fec544-6df7-4a82-872b-f8be586d5e9e'
	},
	success: function(response) {

	}
});

cURL

This example uses the cURL command-line HTTP utility. ENCODED_TOKEN in the example is the base64-encoded concatenation of the user's API key (created from the user's profile), a colon (:), and the user's user name. Learn more about using the REST API.

curl -H "Rest-User-Token: ENCODED_TOKEN" -X GET https://mysite.com/api.ashx/v2/comments/threaded.xml?CommentId=49fec544-6df7-4a82-872b-f8be586d5e9e

  • Share
  • History
  • More
  • Cancel
Related
Recommended
  • Telligent
  • Professional Services
  • Submit a Support Ticket
  • Become a Partner
  • Request a Demo
  • Contact Us

About
Privacy Policy
Terms of use
Copyright 2024 Verint, Inc.
Powered by Verint Community