Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

A player access token. Store reads need no token. Other apps get a token through connected-app OAuth: register the client, let the player approve it on summer.games, then exchange the code at the token endpoint.

Body

application/json
language
string
required

Empty means device fallback. Accepted bounded language tags are lowercased; whitespace is rejected.

Maximum string length: 21
Pattern: ^([a-zA-Z]{2,3}(-[a-zA-Z0-9]{2,8}){0,2})?$
contentRegion
string
required

Case-insensitive africa, americas, asia, europe or oceania; empty resets to the product default.

Maximum string length: 8
expectedVersion
integer
required
Required range: 0 <= x <= 9007199254740990

Response

Saved preferences with incremented version

language
string
required
Maximum string length: 21
Pattern: ^([a-z]{2,3}(-[a-z0-9]{2,8}){0,2})?$
contentRegion
enum<string>
required
Available options:
,
africa,
americas,
asia,
europe,
oceania
version
integer
required
Required range: 0 <= x <= 9007199254740991