place.hud.uploadBlob
Upload an image (JPEG, PNG, WebP or HEIC, at most 2,000,000 bytes) to the person's PDS as their blob, as com.atproto.repo.uploadBlob does, for a record they write next (a post's images, a gallery's photos). With purpose app, one of a frame app's files for place.hud.publishApp instead: its document (text/html, UTF-8, at most 2,000,000 bytes), its words (application/json, an object, at most 512,000) or its icon (image/png or image/webp, at most 256,000). Never logged. Requires auth: the workspace's web session (its cookie, with X-HUD: 1 and the server's own Origin) or a HUD access token as Bearer.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | hud.place |
| Commit rev | 3n3jbjeotdoju |
| Indexed |
Procedure
procedure · POSTParameters
query stringpurpose
stringapp: one of a frame app's files, as its record takes them.
maxLength: 16knownValues: app
Input
*/*Output
application/jsonThe blob, as the PDS answered it: to put in a record as it is.
Errors
InvalidRequest
The body is not a JPEG, PNG, WebP or HEIC image sent as one (Content-Type image/*); or, for an app, not a document, words or icon of a type and size its record takes.
BlobTooLarge
The body is over 2,000,000 bytes.
UpstreamFailure
The person's PDS could not be reached, refused the blob, or answered something that is not one.
AuthRequired
No live session, or its sign-in at the person's PDS ended: sign in again.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
place.hud.uploadAppBlob
procedureUpload a file a frame app's entry holds to the person's PDS.
-
app.didpic.write.uploadBlob
procedureUpload raw image bytes to the authenticated viewer's own PDS, mediated by the AppView using its server-held session (confidential OAuth client only). Mirrors com.atproto.repo.uploadBlob. The returned blob ref is passed into createPost, createComment, or putProfile to attach it to a record. This endpoint applies no per-context size limit beyond a generous ceiling — the PDS enforces the real limit (post/comment 5MB, avatar 1MB, banner 2MB) when the blob is actually attached to a record.
-
place.hud.publishApp
procedurePublish a frame app.
-
app.chronosky.media.uploadBlob
procedureUpload an image blob for scheduled posts. The blob is temporarily stored in Chronosky's storage and will be uploaded to Bluesky PDS when the scheduled post is published.
-
dev.knotless.uploadImage
procedureUploads a picture to show in a pull, an issue or a comment, as the account logged in to this appview's pages.