app.bivri.actor.updateProfile

Update the authenticated user's profile. Requires OAuth session.

Details · procedure
Kindprocedure
Authorityactor.bivri.app
Indexed
cid bafyreiebcltbfe74ss64lnx3vhwfsippm6ruekb7bt2qc76oqdcmeb7yxy

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "errors": [
        {
          "description": "The authenticated member has not confirmed age and accepted the Terms and Privacy Policy.",
          "name": "ConsentRequired"
        },
        {
          "name": "Unauthenticated"
        },
        {
          "name": "InvalidProfile"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "nullable": [
            "displayName",
            "bio",
            "avatar",
            "banner",
            "links"
          ],
          "properties": {
            "avatar": {
              "accept": [
                "image/png",
                "image/jpeg",
                "image/webp",
                "image/gif"
              ],
              "description": "Blob reference for the new avatar. Send null to clear it; omit the field to leave it unchanged.",
              "maxSize": 5000000,
              "type": "blob"
            },
            "banner": {
              "accept": [
                "image/png",
                "image/jpeg",
                "image/webp",
                "image/gif"
              ],
              "description": "Blob reference for the new banner. Send null to clear it; omit the field to leave it unchanged.",
              "maxSize": 8000000,
              "type": "blob"
            },
            "bio": {
              "description": "New profile description. Send null to clear it; omit the field to leave it unchanged.",
              "maxGraphemes": 256,
              "maxLength": 2560,
              "type": "string"
            },
            "displayName": {
              "description": "New display name. Send null to clear it; omit the field to leave it unchanged.",
              "maxGraphemes": 64,
              "maxLength": 640,
              "type": "string"
            },
            "links": {
              "description": "Replacement set of external links. Send null to clear them; omit the field to leave them unchanged.",
              "items": {
                "ref": "app.bivri.actor.profile#link",
                "type": "ref"
              },
              "maxLength": 10,
              "type": "array"
            }
          },
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "type": "string"
            },
            "uri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "cid"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Update the authenticated user's profile. Requires OAuth session.",
  "id": "app.bivri.actor.updateProfile",
  "lexicon": 1
}