Details
The Quest Events API provides a comprehensive set of endpoints to interact with quest events a community has created.
Quest Event
The id or slug of the event
Generic Client Error
Authentication related errors:
GENERIC_UNAUTHORIZED: Generic unauthorized access error.SESSION_TOKEN_EXPIRED: User session has expired.REFRESH_TOKEN_EXPIRED: Refresh token has expired.
Generic not found
Internal server error
GET /v1/quest-event/{eventId} HTTP/1.1
Host:
Accept: */*
{
"code": 10002,
"message": "generic_client_error"
}Quest Events
Retrieve a list of events. Flags can be combined to return events open to register or/and with user participating.
Return only events the user is participating in
Return only events open to register
Additional filters for the events
{"containerId":"containerId","features":"true","status":["active","completed"]}Filter events by itemId
Filter events by resourceId
Generic Client Error
Authentication related errors:
GENERIC_UNAUTHORIZED: Generic unauthorized access error.SESSION_TOKEN_EXPIRED: User session has expired.REFRESH_TOKEN_EXPIRED: Refresh token has expired.
Generic not found
Internal server error
GET /v1/quest-event HTTP/1.1
Host:
Accept: */*
{
"code": 10002,
"message": "generic_client_error"
}Quest Event Leaderboard
Quest Event Quests
Quest Event Rewards
Upon successful completion of a quest event a user will be allocated tickets that can be used to claim rewards associated to the quest event. The allocation endpoints return information about these tickets and previously submitted requirement data that fulfils configured requirements.
Get Reward Allocations
Generic Client Error
Authentication related errors:
GENERIC_UNAUTHORIZED: Generic unauthorized access error.SESSION_TOKEN_EXPIRED: User session has expired.REFRESH_TOKEN_EXPIRED: Refresh token has expired.
Generic not found
Internal server error
GET /v1/quest-event/{eventId}/reward/allocations HTTP/1.1
Host:
Accept: */*
{
"code": 10002,
"message": "generic_client_error"
}Claim Reward Allocation
Generic Client Error
Authentication related errors:
GENERIC_UNAUTHORIZED: Generic unauthorized access error.SESSION_TOKEN_EXPIRED: User session has expired.REFRESH_TOKEN_EXPIRED: Refresh token has expired.
Generic not found
Internal server error
POST /v1/quest-event/{eventId}/reward/allocations/claim/{rewardAllocationId} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 202
{
"email": "text",
"walletAddress": "text",
"address": {
"addressId": "text",
"addressLine1": "text",
"addressLine2": "text",
"addressLine3": "text",
"city": "text",
"state": "text",
"postalCode": "text",
"country": "text"
}
}{
"code": 10002,
"message": "generic_client_error"
}Last updated