games.atplay.player.putProfile

Create or replace the calling player's own profile. The appview writes it to their repo on their behalf.

Repository @atplay.games did:plc:xawtkr77srkxlwhxjf7whbml namespace authority
Details · procedure
Kindprocedure
Authorityplayer.atplay.games
Indexed
cid bafyreiftrwda3mjw6scuxrpu7mqhiwuxan67wrmejydl5nyza6gwrikvky

Checks

Valid Lint pass
JSONDownload
{
  "$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
}