Newer Version Available

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

Topic and Article Assignments

Assign topics to articles and unassign topics from articles in a data category.
Resource
1/connect/topics/data-category-groups/dataCategoryGroup/data-categories/dataCategory/articles
1/connect/communities/communityId/topics/data-category-groups/dataCategoryGroup/data-categories/dataCategory/articles
Available version
40.0
Requires Chatter
No
HTTP methods
POST
Request body for POST
Root XML tag
<ArticleTopicAssignmentJob>
JSON example
1{
2   "operation": "AssignTopicsToArticle",
3   "topicNames": ["API", "Connect REST API", "ConnectApi"]
4}
Properties
Name Type Description Required or Optional Available Version
operation String Type of operation to perform on articles and topics. Values are:
  • AssignTopicsToArticle—Assign topics to articles in a data category.
  • UnassignTopicsFromArticle—Unassign topics from articles in a data category.
Required 40.0
topicNames Topic Names Input List of topic names to assign to or unassign from articles. Required 40.0
Response body for POST
Topic Collection