Skip to content

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.

POST
/xrpc/com.atproto.repo.uploadBlob
curl --request POST \
--url https://example.com/xrpc/com.atproto.repo.uploadBlob \
--header 'Content-Type: */*' \
--data example
Media type*/*

Success

Media typeapplication/json
object
blob
required
string format: binary

Example generated

{
"blob": "binary"
}