Query space information and loyalty points rankings
Field | Type | Description |
---|---|---|
id | String! | Space’s unique identifier |
name | String! | Space display name |
description | String | Space description |
loyaltyPointsRanks | LoyaltyPointsRanks | Leaderboard data |
Parameter | Status | Description |
---|---|---|
cursorAfter | ✅ Current | Start pagination after this cursor |
cursorBefore | ✅ Current | Start pagination before this cursor |
sprintId | Optional | Filter by specific sprint |
first | ⚠️ Deprecated | Use cursor-based pagination |
after | ⚠️ Deprecated | Use cursor-based pagination |
Field | Type | Description |
---|---|---|
rank | Int! | User’s position in leaderboard |
points | Int! | User’s total loyalty points |
address | Address | User profile information |
sprintId
parameter:
cursorAfter: null
pageInfo.endCursor
from response as next cursorAfter
pageInfo.hasNextPage
is false
addressLoyaltyPoints
. To find a specific user’s rank, you must paginate through the leaderboard pages.cursorAfter
/cursorBefore
for efficient traversalcursorAfter
/cursorBefore
)sprintId
for time-limited competitionsError | Cause | Solution |
---|---|---|
Space not found | Invalid space ID | Verify space ID exists |
Invalid sprint ID | Sprint doesn’t exist | Check sprint ID or omit parameter |
Rate limit exceeded | Too many requests | Implement retry logic |
Invalid cursor | Malformed cursor | Start fresh without cursor |