This is the API definition for fetching a single Poll by its pollId. The app sends a path parameter pollId which is the pollId that is generated by the backend as a unique handle on a particular poll. The response is of the type PollDetails:
"/polls/{pollId}": { "get": { "tags": [ "Name" ], "summary": "Gets a single poll by Id", "description": "Gets a Poll\n", "produces": [ "application/json" ], "parameters": [ { "name": "pollId", "in": "path", "required": true, "type": "string" } ], "responses": { "200": { "description": "200 response", "schema": { "$ref": "#/definitions/PollDetails" } }, "404": { "description": "404 response", "schema": { "$ref": "#/definitions/APIErrorResponseWithMessage" } }, "409": { "description": ...