This is the API to respond to the poll. The app sends a object of type PollResponseRequest as the request body and receives a generic success message response on successful response registration. The following code block shows the fragment from the swagger documentation:
"/response": { "post": { "tags": [ "Name" ], "summary": "Responds to the poll", "description": "Records the response for a poll\n", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "in": "body", "name": "PollResponseRequest", "description": "Request body description", "required": true, "schema": { "$ref": "#/definitions/PollResponseRequest" } } ], "responses": { "200": { "description": "200 response", "schema": ...