Skip to main content
PATCH
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
displayName
string
required

Trimmed nonempty Unicode text, at most 64 code points and 256 UTF-8 bytes after trimming; Unicode category C characters are rejected. Names need not be unique.

expectedVersion
integer
required
Required range: 0 <= x <= 9007199254740990

Response

Saved profile with incremented version

handle
string | null
required
Pattern: ^[a-z][a-z0-9_]{2,23}$
displayName
string
required
version
integer
required
Required range: 0 <= x <= 9007199254740991
needsProfileSetup
boolean
required

True exactly when handle is null.