social.colibri.beta.blob.get

colibri.social

Schema Diff

+13 -0

From

CID
bafyreiba2koryro...
Indexed At
2026-08-23 12:32 UTC
View this version

To

CID
bafyreigfqk7of4q...
Indexed At
2026-08-25 14:45 UTC
View this version

Compatibility Analysis

Backward Compatible

No changes detected.

1 1
{
2 2
  "id": "social.colibri.beta.blob.get",
3 3
  "defs": {
4 4
    "main": {
5 5
      "type": "query",
6 6
      "errors": [
7 7
        {
8 8
          "name": "AuthRequired",
9 9
          "description": "The request has no valid service auth."
10 10
        },
11 11
        {
12 12
          "name": "Forbidden",
13 13
          "description": "The requesting user may not read the space holding the blob."
14 14
        },
15 15
        {
16 16
          "name": "BlobNotFound",
17 17
          "description": "No blob matches the given DID and CID."
18 18
        },
19 19
        {
20 20
          "name": "InvalidRequest",
21 21
          "description": "The arguments are inconsistent or malformed beyond schema validation."
22 22
        },
23 23
        {
24 24
          "name": "UpstreamFailure",
25 25
          "description": "The repo's PDS failed while the AppView fetched the blob."
26 26
        }
27 27
      ],
28 28
      "output": {
29 29
        "encoding": "*/*"
30 30
      },
31 31
      "parameters": {
32 32
        "type": "params",
33 33
        "required": [
34 34
          "did",
35 35
          "cid"
36 36
        ],
37 37
        "properties": {
38 38
          "cid": {
39 39
            "type": "string",
40 40
            "format": "cid",
41 41
            "description": "The blob's CID."
42 42
          },
43 43
          "did": {
44 44
            "type": "string",
45 45
            "format": "did",
46 46
            "description": "DID of the repo holding the blob."
47 47
          },
48 +
          "exp": {
49 +
            "type": "integer",
50 +
            "description": "Unix time in seconds after which the media link stops working."
51 +
          },
52 +
          "sig": {
53 +
            "type": "string",
54 +
            "description": "Signature over did, cid, space, viewer and exp, which lets an img or video element load the blob without a bearer header."
55 +
          },
48 56
          "space": {
49 57
            "type": "string",
50 58
            "format": "space-ref",
51 59
            "description": "The space holding the blob. Required for a blob in a permissioned space, and omitted for one on a public repo."
52 60
          },
61 +
          "viewer": {
62 +
            "type": "string",
63 +
            "format": "did",
64 +
            "description": "Who the media link was signed for. Set by the AppView on a signed link, alongside exp and sig."
65 +
          },
53 66
          "variant": {
54 67
            "type": "string",
55 68
            "description": "A rendition of a resizable image.",
56 69
            "knownValues": [
57 70
              "thumbnail",
58 71
              "avatar",
59 72
              "banner",
60 73
              "full"
61 74
            ]
62 75
          },
63 76
          "filename": {
64 77
            "type": "string",
65 78
            "description": "Sets the download filename."
66 79
          }
67 80
        }
68 81
      },
69 82
      "description": "Serves a blob from a permissioned space through the AppView, which holds the space credential the client does not. Every byte is verified against the CID before it is served, and the content type is sniffed rather than trusted. Supports HTTP range requests."
70 83
    }
71 84
  },
72 85
  "$type": "com.atproto.lexicon.schema",
73 86
  "lexicon": 1
74 87
}

Compare Other Versions

Lexicon Garden

@