app.didpic.write.putProfile

Create or replace the authenticated viewer's app.didpic.actor.profile record at rkey 'self' on their own PDS, mediated by the AppView using its server-held session (confidential OAuth client only). Merges over the existing record: an omitted field keeps its current stored value, an empty string clears a text field. avatar/banner, when present, must come from a prior app.didpic.write.uploadBlob call; clearAvatar/clearBanner remove the image instead.

Details · procedure
Kindprocedure
Authoritywrite.didpic.app
Indexed
cid bafyreid3ceocay72t4pfab3pz5vrt6g3low3dhx5gkw7pznthsorwz54x4

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Create or replace the authenticated viewer's app.didpic.actor.profile record at rkey 'self' on their own PDS, mediated by the AppView using its server-held session (confidential OAuth client only). Merges over the existing record: an omitted field keeps its current stored value, an empty string clears a text field. avatar/banner, when present, must come from a prior app.didpic.write.uploadBlob call; clearAvatar/clearBanner remove the image instead.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "avatar": {
              "accept": [
                "image/png",
                "image/jpeg"
              ],
              "maxSize": 1000000,
              "type": "blob"
            },
            "banner": {
              "accept": [
                "image/png",
                "image/jpeg",
                "image/webp"
              ],
              "maxSize": 2000000,
              "type": "blob"
            },
            "clearAvatar": {
              "type": "boolean"
            },
            "clearBanner": {
              "type": "boolean"
            },
            "description": {
              "type": "string"
            },
            "descriptionFacets": {
              "items": {
                "ref": "app.didpic.richtext.facet",
                "type": "ref"
              },
              "type": "array"
            },
            "displayName": {
              "type": "string"
            },
            "location": {
              "type": "string"
            },
            "pronouns": {
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "avatar": {
              "accept": [
                "image/png",
                "image/jpeg"
              ],
              "maxSize": 1000000,
              "type": "blob"
            },
            "banner": {
              "accept": [
                "image/png",
                "image/jpeg",
                "image/webp"
              ],
              "maxSize": 2000000,
              "type": "blob"
            },
            "cid": {
              "format": "cid",
              "type": "string"
            },
            "uri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "cid"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.didpic.write.putProfile",
  "lexicon": 1
}