Create or replace the calling player's own profile. The appview writes it to their repo on their behalf.
Input
Encoding
application/jsondisplayName
string
Optional
The player's display name.
maxLength: 640 bytesmaxGraphemes: 64 graphemesminGraphemes: 1 graphemesuri
string
Required
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 bytesOutput
Encoding
application/jsoncid
string
Optional
No description available.
uri
string
Required
No description available.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"maxLength": 512,
"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."
},
"displayName": {
"type": "string",
"maxLength": 640,
"description": "The player's display name.",
"maxGraphemes": 64,
"minGraphemes": 1
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"type": "object",
"required": [
"uri"
],
"properties": {
"cid": {
"type": "string",
"maxLength": 256
},
"uri": {
"type": "string",
"maxLength": 512
}
}
},
"encoding": "application/json"
},
"description": "Create or replace the calling player's own profile. The appview writes it to their repo on their behalf."
}