com.atproto.repo.uploadBlob
Lexicon Version: 1
Definitions
Section titled “Definitions”Type: procedure
Upload a new blob, to be referenced from a repository record. The blob will be deleted if it is not referenced within a time window (eg, minutes). Blob restrictions (mimetype, size, etc) are enforced when the reference is created. Requires auth, implemented by PDS.
Parameters: (None defined)
Input:
- Encoding:
*/* - Schema:
Schema not defined. Output:
- Encoding:
application/json - Schema:
Schema Type: object
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
blob | blob | ✅ |
Lexicon Source
Section titled “Lexicon Source”{ "lexicon": 1, "id": "com.atproto.repo.uploadBlob", "defs": { "main": { "type": "procedure", "description": "Upload a new blob, to be referenced from a repository record. The blob will be deleted if it is not referenced within a time window (eg, minutes). Blob restrictions (mimetype, size, etc) are enforced when the reference is created. Requires auth, implemented by PDS.", "input": { "encoding": "*/*" }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": [ "blob" ], "properties": { "blob": { "type": "blob" } } } } } }}