{
"id": "com.atproto.repo.uploadBlob",
"defs": {
"main": {
"type": "procedure",
"input": {
"encoding": "*/*"
},
"output": {
"schema": {
"type": "object",
"required": [
"blob"
],
"properties": {
"blob": {
"type": "blob"
}
}
},
"encoding": "application/json"
},
"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."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}