Get results of an image voting
Requires verified email; Requires one of the following permissions: ImageVotings.ViewImageVotingResults, ImageVotings.ViewActiveImageVotingResults; Requires the following features to be enabled: ImageVotings
Path parameters
-
id
integer(int32) Required
GET
/Api/ImageVotings/{id}/Results
curl \
-X GET https://app.lovassy.hu/Api/ImageVotings/{id}/Results \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (404)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (200)
{
"chooserCount": 42,
"incrementerCount": 42,
"uploaderCount": 42,
"entries": [
{
"id": 42,
"title": "string",
"imageUrl": "string",
"choicesCount": 42,
"incrementSum": 42,
"aspects": [
{
"key": "string",
"name": "string",
"description": "string",
"choicesCount": 42,
"incrementSum": 42
}
]
}
]
}