Newer Version Available

This content describes an older version of this product. View Latest

List of Topics

List of topics for the organization.

Resource
1/connect/topics
1/connect/communities/communityId/topics
Available since version
29.0

In version 28.0, use /chatter/topics.

Requires Chatter
No
HTTP methods
GET or HEAD
Request parameters
Parameter Name Values Description Required or Optional Available Version
exactMatch Boolean Use with the q parameter and specify true to find a topic by its exact, case-insensitive name. Specify true and use with the q parameter and the fallBackToRenamed​Topics parameter set to true to find the most recent renamed topic match if there isn’t an exact match. Default value is false. Optional 28.0
fallBackTo​RenamedTopics Boolean Use with the q parameter and the exactMatch parameter set to true. If an exact match isn’t found and fallBackToRenamed​Topics is set to true, the most recent renamed topic match is returned. If there are multiple renamed topic matches, only the most recent is returned. If there are no renamed topic matches, an empty collection is returned. Optional 35.0
page Integer An integer greater than 0 specifying a page of topics. The default value is zero. Optional 28.0
pageSize Integer Specifies the number of items per page. Valid values are from 1 to 100. The default value is 25. Optional 28.0
q String A query string to filter the results. The string must contain at least two characters, not including wildcards. Optional 28.0
sort String One of the following values:
  • popularDesc—Sorts topics by popularity with the most popular first. This value is the default.
  • alphaAsc—Sorts topics alphabetically.
Optional 28.0
Response body
Topic Collection
Example for GET
This example requests a list of topics sorted alphabetically:
1/connect/topics?sort=alphaAsc