games.atplay.player.putProfile
Create or replace the calling player's own profile. The appview writes it to their repo on their behalf.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | player.atplay.games |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Create or replace the calling player's own profile. The appview writes it to their repo on their behalf.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"displayName": {
"description": "The player's display name.",
"maxGraphemes": 64,
"maxLength": 640,
"minGraphemes": 1,
"type": "string"
},
"uri": {
"description": "The profile's own AT-URI. Only its record key is used — which is always 'self', since a player has one profile — and the DID is ignored in favour of the caller's.",
"maxLength": 512,
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"maxLength": 256,
"type": "string"
},
"uri": {
"maxLength": 512,
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "games.atplay.player.putProfile",
"lexicon": 1
}