Get information about an image voting choice
Requires verified email; Requires one of the following permissions: ImageVotings.ViewImageVotingChoice, ImageVotings.ViewActiveImageVotingChoice; Requires the following features to be enabled: ImageVotings
Path parameters
-
id
integer(int32) Required
GET
/Api/ImageVotingChoices/{id}
curl \
-X GET https://app.lovassy.hu/Api/ImageVotingChoices/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (404)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (200)
{
"id": 42,
"aspectKey": "string",
"imageVoting": {
"id": 42,
"name": "string",
"description": "string",
"type": "string",
"aspects": [
{
"key": "string",
"name": "string",
"description": "string"
}
],
"active": true,
"showUploaderInfo": true,
"superIncrementAllowed": true,
"superIncrementValue": 42,
"createdAt": "2024-05-04T09:42:00+00:00",
"updatedAt": "2024-05-04T09:42:00+00:00"
},
"imageVotingEntry": {
"id": 42,
"title": "string",
"imageUrl": "string",
"userId": "string",
"user": {
"name": "string",
"realName": "string",
"class": "string"
},
"createdAt": "2024-05-04T09:42:00+00:00",
"updatedAt": "2024-05-04T09:42:00+00:00"
},
"userId": "string",
"createdAt": "2024-05-04T09:42:00+00:00",
"updatedAt": "2024-05-04T09:42:00+00:00"
}