app.thesocialwire.socialDraft.reserveAttachment
Owner-only private draft storage. Authentication required; disabled storage returns Unavailable. Never publishes attachments or exposes public URLs.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | socialDraft.thesocialwire.app |
| Commit rev | 3n2umvkbrem2h |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Owner-only private draft storage. Authentication required; disabled storage returns Unavailable. Never publishes attachments or exposes public URLs.",
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "NotFound"
},
{
"name": "Conflict"
},
{
"name": "Quota"
},
{
"name": "UploadPending"
},
{
"name": "Unavailable"
},
{
"name": "Unauthorized"
},
{
"description": "This attachment identifier was retired. Reserve a fresh asset ID; do not treat ordinary Conflict as retirement.",
"name": "AssetRetired"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"assetId": {
"description": "Canonical lowercase UUID.",
"maxLength": 36,
"minLength": 36,
"type": "string"
},
"byteLength": {
"maximum": 104857600,
"minimum": 1,
"type": "integer"
},
"contentType": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"kind": {
"knownValues": [
"photo",
"poster",
"gif",
"video",
"caption"
],
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"name": {
"maxLength": 1024,
"minLength": 1,
"type": "string"
},
"sha256": {
"maxLength": 64,
"minLength": 64,
"type": "string"
}
},
"required": [
"assetId",
"name",
"contentType",
"byteLength",
"sha256",
"kind"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"attachment": {
"ref": "app.thesocialwire.socialDraft.defs#asset",
"type": "ref"
}
},
"required": [
"attachment"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "app.thesocialwire.socialDraft.reserveAttachment",
"lexicon": 1
}