Get a game
Returns a game the key owner may view (their own, one they participate in, a friend’s, or a public game), including its config and current state. Send If-None-Match with the previous ETag, or ?since=<stateUpdatedAt>, to get a 304 / { "unchanged": true } while nothing has moved.
GET
/games/{id}Authorization
x-api-keyAPI key · headerrequiredA user (dp_) or organization (dp_org_) API key with read scopes.
Path parameters
idstringrequiredThe entity id.
Query parameters
sincestring<date-time>Returns { "unchanged": true } when the game has not changed since this stateUpdatedAt timestamp.
Responses
200
The game.
idstringrequiredtypestringrequiredstatusstringrequiredplayersGamePlayer[]requiredShow propertiesHide properties
Array of
GamePlayernamestringrequireduserIdstring | nullrequiredimagestring | nullrequiredcreatedAtstringrequiredupdatedAtstringrequiredconfigobjectrequiredstateobject | nullrequiredShow propertiesHide properties
Any of:
object
objectnull
nullstateUpdatedAtstringrequired400
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