Endpoint
- Method:
POST - Path:
/feeds/{feed_id}/apps/survey-vote - Edition: Core
- Controller:
ReactionController@castSurveyVote - Route source:
fluent-community/app/Http/Routes/api.php:76 - Controller source:
fluent-community/app/Http/Controllers/ReactionController.php
POST Cast Survey Vote
POST
/feeds/{feed_id}/apps/survey-vote
Cast Survey Vote for the FluentCommunity Reactions API.
Controller: ReactionController@castSurveyVote
Route source: fluent-community/app/Http/Routes/api.php:76
Authorizations
ApplicationPasswords
WordPress Application Passwords — use Basic auth with username:application_password.
Type
API Key (header: Authorization)
Parameters
Path Parameters
feed_id*
Feed ID extracted from the URL path.
Type
Requiredinteger
Request Body
application/json
JSON "vote_indexes": [ "string" ]
{
}
Responses
Successful response
application/json
JSON "survey_config": [ { "additionalProperties": "string" } ]
{
}