Get a list of all image voting choices

GET /Api/ImageVotingChoices

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

Query parameters

  • Filters string
  • Sorts string
  • Page integer(int32)

    Minimum value is 1, maximum value is 2147483647.

  • PageSize integer(int32)

    Minimum value is 1, maximum value is 2147483647.

Responses

  • 200 application/json

    Success

    Hide response attributes Show response attributes object
    • id integer(int32)
    • aspectKey string | null
    • imageVotingId integer(int32)
    • imageVotingEntry object
      Hide imageVotingEntry attributes Show imageVotingEntry attributes object
      • id integer(int32)
      • title string | null
      • Additional properties are NOT allowed
    • userId string(uuid)
    • createdAt string(date-time)
    • updatedAt string(date-time)
    • Additional properties are NOT allowed
  • 401

    Unauthorized

  • 403

    Forbidden

GET /Api/ImageVotingChoices
curl \
 -X GET https://app.lovassy.hu/Api/ImageVotingChoices \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "id": 42,
    "aspectKey": "string",
    "imageVotingId": 42,
    "imageVotingEntry": {
      "id": 42,
      "title": "string"
    },
    "userId": "string",
    "createdAt": "2024-05-04T09:42:00+00:00",
    "updatedAt": "2024-05-04T09:42:00+00:00"
  }
]