Feed-Items Polls
Get a poll or a vote on a poll.
- Resource
-
/chatter/feed-items/feedItemId/poll
The feedItemId must have the type PollPost.
- Available versions
- 26.0–31.0
- Requires Chatter
- Yes
- HTTP methods
- GET, PATCH
- Use PATCH to either vote in an existing poll, or change the context user’s vote.
- Request body for PATCH
-
- Root XML tag
- <feedPoll>
- Properties
-
Name Type Description Available Version myChoiceId String ID of an existing choice on the feed poll. Used to specify the ID of the poll choice that the context user is voting on. 26.0–31.0
- Request parameters for PATCH
-
Name Type Description Available Version myChoiceId String ID of an existing choice on the feed poll. Used to specify the ID of the poll choice that the context user is voting on. 26.0–31.0 - Response body for GET and PATCH
- Feed Item Attachment: Poll