The following are methods for Knowledge. All methods are static.
41.0
41.0
No
public static ConnectApi.KnowledgeArticleVersionCollection getTopViewedArticlesForTopic(String communityId, String topicId, Integer maxResults)
36.0
36.0
No
public static ConnectApi.KnowledgeArticleVersionCollection getTrendingArticles(String communityId, Integer maxResults)
36.0
36.0
No
public static ConnectApi.KnowledgeArticleVersionCollection getTrendingArticlesForTopic(String communityId, String topicId, Integer maxResults)
The following are the test methods for Knowledge. All methods are static.
For information about using these methods to test your ConnectApi code, see Testing ConnectApi Code.
36.0
public static Void setTestGetTrendingArticles(String communityId, Integer maxResults, ConnectApi.KnowledgeArticleVersionCollection result)
Type: Void
36.0
public static Void setTestGetTrendingArticlesForTopic(String communityId, String topicId, Integer maxResults, ConnectApi.KnowledgeArticleVersionCollection result)
Type: Void