Get information about an image voting entry

GET /Api/ImageVotingEntries/{id}

Requires verified email; Requires one of the following permissions: ImageVotings.ViewImageVotingEntry, ImageVotings.ViewActiveImageVotingEntry; 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)
    • title string | null
    • imageUrl string | null
    • userId string(uuid) | null
    • user object
      Hide user attributes Show user attributes object
      • name string | null
      • realName string | null
      • class string | null
      • Additional properties are NOT allowed
    • imageVotingId integer(int32)
    • canChoose boolean | null
    • chosen boolean | null
    • incrementType string | null
    • createdAt string(date-time)
    • updatedAt string(date-time)
    • Additional properties are NOT allowed
  • 401

    Unauthorized

  • 403

    Forbidden

GET /Api/ImageVotingEntries/{id}
curl \
 -X GET https://app.lovassy.hu/Api/ImageVotingEntries/{id} \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (404)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}
Response examples (200)
{
  "id": 42,
  "title": "string",
  "imageUrl": "string",
  "userId": "string",
  "user": {
    "name": "string",
    "realName": "string",
    "class": "string"
  },
  "imageVotingId": 42,
  "canChoose": true,
  "chosen": true,
  "incrementType": "string",
  "createdAt": "2024-05-04T09:42:00+00:00",
  "updatedAt": "2024-05-04T09:42:00+00:00"
}