app.didpic.chat.uploadMessageImage

Upload raw image bytes for a chat message.

Details · procedure
Kindprocedure
Authoritychat.didpic.app
Indexed
cid bafyreibrmnowcbiydr333exikk257o7ojkhgazwsskjh6i5wtfyfzcljzi

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.keyNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.publicUrlNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Upload raw image bytes for a chat message.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "PayloadTooLarge"
        }
      ],
      "input": {
        "encoding": "*/*"
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "height": {
              "type": "integer"
            },
            "key": {
              "type": "string"
            },
            "publicUrl": {
              "type": "string"
            },
            "width": {
              "type": "integer"
            }
          },
          "required": [
            "key",
            "publicUrl",
            "width",
            "height"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "height": {
            "minimum": 1,
            "type": "integer"
          },
          "width": {
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "width",
          "height"
        ],
        "type": "params"
      },
      "type": "procedure"
    }
  },
  "id": "app.didpic.chat.uploadMessageImage",
  "lexicon": 1
}