Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 655 Bytes

results.md

File metadata and controls

36 lines (26 loc) · 655 Bytes

Get results of a poll

HTTP Request

GET /polls/{poll_id}/votes

Parameters

Name Type In Description
poll_id string path Required. The poll id.

Success response

Status: 200 OK
[
    {
        "_id": "61c2fa59ea2c210bf43907cc",
        "title": "4 legs",
        "hidden": false,
        "votes": 7
    },
]

Note: For participants the list only contains answers that have not been hidden by an organizer.

Poll not found

Status: 404 Not Found