Newer Version Available

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

Feed Elements Capability, Topics

Get, delete, and post topics associated with a feed element.
Resource
Available version
32.0
Requires Chatter
Yes
HTTP methods
GET, DELETE, POST
Request body for POST
Root XML tag
<feedItemTopic>
JSON
The following example attaches a new topic to a feed item:
Properties
Name Type Description Required or Optional Available Version
topicId String ID of an existing topic Required for existing topics if the topicName property isn’t used 29.0
topicName String Name of a new or existing topic, up to 150 characters Required for new topics; required for existing topics if the topicId property isn’t used 29.0
Request parameters for POST
Parameter Name Type Description Required or Optional Available Version
topicId String ID of an existing topic. Required for existing topics if the topicName property isn’t used. 32.0
topicName String Name of a new or existing topic, up to 150 characters. Required for new topics; required for existing topics if the topicId property isn’t used. 32.0
Request parameters for DELETE
Parameter Name Type Description Required or Optional Available Version
topicId String An existing topic ID. Required 32.0
Response body for POST
Topic

If the feed element doesn’t support this capability, the response is 404: Not Found.

Response body for GET
Topics Capability

If the feed element doesn’t support this capability, the response is 404: Not Found.