List a player's recent games
Lists a player’s completed games, newest first, limited to games the key owner may view. The target must be the API key owner or an accepted friend. Campaign games are excluded, matching the app’s recent-games list.
GET
/players/{id}/gamesAuthorization
x-api-keyAPI key · headerrequiredA user (dp_) or organization (dp_org_) API key with read scopes.
Path parameters
idstringrequiredThe entity id.
Query parameters
afterstringOpaque cursor from the previous page's paging.nextCursor.
limitintegerNumber of items to return per page.
min 1 · max 50 · default: 20
Responses
200
A page of games.
itemsPlayerGame[]requiredShow propertiesHide properties
Array of
PlayerGameidstringrequiredtypestringrequiredstatusstringrequiredcreatedAtstringrequiredupdatedAtstringrequiredresultstringrequiredAllowed:
winlossdrawunknownrankedbooleanrequiredplayersobject[]requiredShow propertiesHide properties
Array of
objectnamestringrequireduserIdstring | nullrequiredisAibooleanrequiredaiLevelinteger | nullrequiredShow propertiesHide properties
Any of:
integer
integernull
nullpagingPagingrequiredShow propertiesHide properties
nextCursorstring | nullrequired400
Invalid request.
messagestringrequired401
Missing or invalid API key.
messagestringrequired403
The API key is missing a required scope or is the wrong type for this endpoint.
messagestringrequired404
Entity not found.
messagestringrequired429
Rate limit exceeded. See the Retry-After header.
messagestringrequired500
Internal server error.
messagestringrequired