Get information about an image voting

GET /Api/ImageVotings/{id}

Requires verified email; Requires one of the following permissions: ImageVotings.ViewImageVoting, ImageVotings.ViewActiveImageVoting; Requires the following features to be enabled: ImageVotings

Path parameters

  • id integer(int32) Required

Responses

GET /Api/ImageVotings/{id}
curl \
 -X GET https://app.lovassy.hu/Api/ImageVotings/{id} \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (404)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}
Response examples (200)
{
  "id": 42,
  "name": "string",
  "description": "string",
  "type": "string",
  "aspects": [
    {
      "key": "string",
      "name": "string",
      "description": "string",
      "canChoose": true,
      "chosenEntryId": 42,
      "imageVotingAspectEntryIncrements": [
        {
          "entryId": 42,
          "type": "string"
        }
      ]
    }
  ],
  "active": true,
  "showUploaderInfo": true,
  "uploaderUserGroupId": 42,
  "bannedUserGroupId": 42,
  "maxUploadsPerUser": 42,
  "superIncrementAllowed": true,
  "superIncrementValue": 42,
  "canUpload": true,
  "createdAt": "2024-05-04T09:42:00+00:00",
  "updatedAt": "2024-05-04T09:42:00+00:00"
}