app.didpic.chat.uploadMessageImage

lexicons.didpic.app

Schema Diff

+1 -1

From

CID
bafyreihsd7ovzht...
Indexed At
2026-10-10 08:21 UTC
View this version

To

CID
bafyreibrmnowcbi...
Indexed At
2026-10-11 02:28 UTC
View this version

Compatibility Analysis

Backward Compatible

No changes detected.

1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 -
      "description": "Upload raw image bytes for a chat message to a dedicated R2 bucket - never the atproto PDS, never images.didpic.app. DM images must never be world-readable the way a PDS blob would be. The caller already square-crops client-side; this stores exactly what's sent, one size, no server-side resizing. width/height are passed as query parameters alongside the raw body (there's no room in a raw-bytes request for a JSON field) and are trusted as given, same as createComment's width/height fields. The returned key/publicUrl/width/height are passed into sendMessage's image field.",
5 +
      "description": "Upload raw image bytes for a chat message.",
6 6
      "errors": [
7 7
        {
8 8
          "name": "InvalidRequest"
9 9
        },
10 10
        {
11 11
          "name": "PayloadTooLarge"
12 12
        }
13 13
      ],
14 14
      "input": {
15 15
        "encoding": "*/*"
16 16
      },
17 17
      "output": {
18 18
        "encoding": "application/json",
19 19
        "schema": {
20 20
          "properties": {
21 21
            "height": {
22 22
              "type": "integer"
23 23
            },
24 24
            "key": {
25 25
              "type": "string"
26 26
            },
27 27
            "publicUrl": {
28 28
              "type": "string"
29 29
            },
30 30
            "width": {
31 31
              "type": "integer"
32 32
            }
33 33
          },
34 34
          "required": [
35 35
            "key",
36 36
            "publicUrl",
37 37
            "width",
38 38
            "height"
39 39
          ],
40 40
          "type": "object"
41 41
        }
42 42
      },
43 43
      "parameters": {
44 44
        "properties": {
45 45
          "height": {
46 46
            "minimum": 1,
47 47
            "type": "integer"
48 48
          },
49 49
          "width": {
50 50
            "minimum": 1,
51 51
            "type": "integer"
52 52
          }
53 53
        },
54 54
        "required": [
55 55
          "width",
56 56
          "height"
57 57
        ],
58 58
        "type": "params"
59 59
      },
60 60
      "type": "procedure"
61 61
    }
62 62
  },
63 63
  "id": "app.didpic.chat.uploadMessageImage",
64 64
  "lexicon": 1
65 65
}

Compare Other Versions

Lexicon Garden

@