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

  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
    • Additional properties:
  • 200 application/json

    Success

    Hide response attributes Show response attributes object
    • id integer(int32)
    • name string | null
    • description string | null
    • type string | null
    • aspects array[object] | null
      Hide aspects attributes Show aspects attributes object
      • key string | null
      • name string | null
      • description string | null
      • canChoose boolean | null
      • chosenEntryId integer(int32) | null
      • imageVotingAspectEntryIncrements array[object] | null
        Hide imageVotingAspectEntryIncrements attributes Show imageVotingAspectEntryIncrements attributes object
        • entryId integer(int32)
        • type string | null
        • Additional properties are NOT allowed
      • Additional properties are NOT allowed
    • active boolean
    • showUploaderInfo boolean
    • uploaderUserGroupId integer(int32)
    • bannedUserGroupId integer(int32) | null
    • maxUploadsPerUser integer(int32)
    • superIncrementAllowed boolean
    • superIncrementValue integer(int32)
    • canUpload boolean
    • createdAt string(date-time)
    • updatedAt string(date-time)
    • Additional properties are NOT allowed
  • 401

    Unauthorized

  • 403

    Forbidden

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"
}