From
bafyreie3ydibya6icwzc3gsfkyiwhr7s5irfweogsgqwetnaokagpmvlfu
indexed 2026-11-30 19:36 UTC
View this version
To
bafyreigos7qqb27qvsqt55iwuplxsdn4lsfmpl5237rvkhbrs6hrpmb4qi
indexed 2026-11-30 21:17 UTC
View this version
Compatibility
backward compatible No changes detected.
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {5
"description": "Upload a file for a frame app (a picture, a recording, or another file as application/octet-stream, the person chose) to the person's PDS as their blob, for an entry they write next. Its Content-Type is a type one of the app's kinds takes (a blob field's accept), the body its bytes, no larger than the largest maxSize the kinds give that type. Checked before the PDS hears of it: the app, the type and size, the bytes being that type, the person being one of its writers where it names them, the person having allowed the app (place.hud.allowAppEntries) and their sign-in asking to upload that type. 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.",5
"description": "Upload a file for a frame app (a picture, a recording, or another file as application/octet-stream, the person chose) to the person's PDS as their blob, for an entry they write next. Its Content-Type is a type one of the app's kinds takes (a blob field's accept), the body its bytes, no larger than the largest maxSize the kinds give that type. Checked before the PDS hears of it: the app, the type and size, the bytes being that type, the person being one of its writers where it names them (with instance, one of the instance's writable members), the person having allowed the app (place.hud.allowAppEntries) and their sign-in asking to upload that type. An entry in a private instance referencing it, its PDS serves it only through the space (com.atproto.space.getBlob). 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.",66
"errors": [77
{88
"description": "Neither app nor preview given; or the file is not of a type the app's kinds take, is larger than they take, or its bytes are not that type.",99
"name": "InvalidRequest"1010
},1111
{12
"description": "With instance: the person is not one of its members, or there is no such instance.",13
"name": "NotAMember"14
},15
{16
"description": "With instance: the person's PDS gives no delegation token to read it with.",17
"name": "CannotRead"18
},19
{1220
"description": "A preview's: it saves nothing.",1321
"name": "Preview"1422
},1523
{1624
"description": "No such app, or this server took it down.",1725
"name": "NotFound"1826
},1927
{2028
"description": "The person has not allowed the app to save their entries.",2129
"name": "ConsentRequired"2230
},2331
{2432
"description": "The app names its writers, and the person is none of them.",2533
"name": "NotAWriter"2634
},2735
{2836
"description": "The body is over 10,000,000 bytes.",2937
"name": "BlobTooLarge"3038
},3139
{3240
"description": "The person's PDS could not be reached or refused the file; or their sign-in does not ask to upload this type, and the message says to sign in again.",3341
"name": "UpstreamFailure"3442
},3543
{3644
"description": "No live session, or its sign-in at the person's PDS ended: sign in again.",3745
"name": "AuthRequired"3846
}3947
],4048
"input": {4149
"encoding": "*/*"4250
},4351
"output": {4452
"encoding": "application/json",4553
"schema": {4654
"properties": {4755
"blob": {4856
"description": "The blob, as the PDS answered it: to put in an entry's data as it is.",4957
"type": "blob"5058
}5159
},5260
"required": [5361
"blob"5462
],5563
"type": "object"5664
}5765
},5866
"parameters": {5967
"properties": {6068
"app": {6169
"description": "The app's place.hud.app record, its authority a DID or a handle.",6270
"format": "at-uri",6371
"type": "string"6472
},73
"instance": {74
"description": "A private instance of the app (at:space/<authority DID>/place.hud.app.instance/<key>), whose entry will hold it.",75
"format": "at-uri",76
"type": "string"77
},6578
"preview": {6679
"description": "A preview's id, in place of app: refused, as a preview saves nothing.",6780
"maxLength": 64,6881
"type": "string"6982
}7083
},7184
"type": "params"7285
},7386
"type": "procedure"7487
}7588
},7689
"description": "Upload a file a frame app's entry holds to the person's PDS.",7790
"id": "place.hud.uploadAppBlob",7891
"lexicon": 17992
}