GET
/
api
/
v1
/
realms
/
{realmId}
/
raffles
curl --request GET \
  --url https://api.drip.re/api/v1/realms/{realmId}/raffles \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "item": {
        "id": "<string>",
        "name": "<string>",
        "description": "<string>",
        "image": "<string>",
        "type": "<string>",
        "metadata": {}
      },
      "realmPoint": {
        "id": "<string>",
        "name": "<string>"
      },
      "currencyId": "<string>",
      "ticketPrice": 123,
      "maxTickets": 123,
      "maxPerUser": 123,
      "winnerCount": 123,
      "startDate": "2023-11-07T05:31:56Z",
      "endDate": "2023-11-07T05:31:56Z",
      "status": "<string>",
      "requiredMetadata": [
        "<string>"
      ],
      "winners": [
        {
          "position": 123,
          "metadata": {},
          "member": {
            "id": "<string>",
            "accountId": "<string>",
            "account": {
              "username": "<string>"
            }
          }
        }
      ],
      "_count": {
        "entries": 123,
        "winners": 123
      }
    }
  ],
  "meta": {
    "hasNextPage": false,
    "hasPreviousPage": false,
    "startCursor": "<string>",
    "endCursor": "<string>",
    "totalCount": 123
  }
}

Authorizations

Authorization
string
header
required

API Key

Query Parameters

take
default:
25
from
string

Response

200 - application/json
Default Response
data
object[]
meta
any