Get a poll by ID
GET /cms/poll/{id}
GET
/cms/poll/{id}
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”Poll found
Poll
API representation of a poll
object
id
Poll ID
integer format: int64
timestamp
Timestamp
string
question
Question
string
choices
Choices
Array<string>
votes
Votes
integer
slug
Slug
string
category
PollCategory
API representation of a poll category
object
id
Category ID
integer format: int64
name
Name
string
image
Image
results
Results
Array<object>
object
value
Number of votes
integer format: int64
percentage
Percentage of total votes
number format: float
message
Message
string
onlyLoggedIn
Only logged in
integer
endDate
End date
string
voted
Voted
boolean
voted_choice
Voted choice
integer
closed
Closed
integer
Not found