Get a list of the user's lolo coins

GET /Api/Lolos/Own

Requires verified email; Requires one of the following permissions: Shop.IndexOwnLolos; Requires the following features to be enabled: Shop

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
    • balance integer(int32)
    • coins array[object] | null
      Hide coins attributes Show coins attributes object
      • id integer(int32)
      • userId string(uuid)
      • isSpent boolean
      • loloType string | null
      • reason string | null
      • grades array[object] | null
        Hide grades attributes Show grades attributes object
        • id integer(int32)
        • uid string | null
        • subject string | null
        • subjectCategory string | null
        • theme string | null
        • teacher string | null
        • group string | null
        • gradeValue integer(int32)
        • textGrade string | null
        • shortTextGrade string | null
        • weight integer(int32)
        • evaluationDate string(date-time)
        • createDate string(date-time)
        • type string | null
        • gradeType string | null
        • createdAt string(date-time)
        • updatedAt string(date-time)
        • Additional properties are NOT allowed
      • createdAt string(date-time)
      • updatedAt string(date-time)
      • Additional properties are NOT allowed
    • Additional properties are NOT allowed
  • 401

    Unauthorized

  • 403

    Forbidden

GET /Api/Lolos/Own
curl \
 -X GET https://app.lovassy.hu/Api/Lolos/Own \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "balance": 42,
  "coins": [
    {
      "id": 42,
      "userId": "string",
      "isSpent": true,
      "loloType": "string",
      "reason": "string",
      "grades": [
        {
          "id": 42,
          "uid": "string",
          "subject": "string",
          "subjectCategory": "string",
          "theme": "string",
          "teacher": "string",
          "group": "string",
          "gradeValue": 42,
          "textGrade": "string",
          "shortTextGrade": "string",
          "weight": 42,
          "evaluationDate": "2024-05-04T09:42:00+00:00",
          "createDate": "2024-05-04T09:42:00+00:00",
          "type": "string",
          "gradeType": "string",
          "createdAt": "2024-05-04T09:42:00+00:00",
          "updatedAt": "2024-05-04T09:42:00+00:00"
        }
      ],
      "createdAt": "2024-05-04T09:42:00+00:00",
      "updatedAt": "2024-05-04T09:42:00+00:00"
    }
  ]
}