com.atproto.repo.upload Blob
POST {{baseUrl}}/xrpc/com.atproto.repo.uploadBlob
This endpoint is part of the atproto PDS repository management APIs. Requests usually require authentication (unlike the `com.atproto.sync.` endpoints), and are made directly to the user's own PDS instance.*
To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.
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.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"blob":"\u003cbinary\u003e"}