app.thesocialwire.socialDraft.reserveAttachment

Owner-only private draft storage. Authentication required; disabled storage returns Unavailable. Never publishes attachments or exposes public URLs.

Repository @samclemente.me did:plc:qy5pluw2bsuq2x6albsgkvx3 namespace authority
Details · procedure
Kindprocedure
AuthoritysocialDraft.thesocialwire.app
Commit rev3n2umvkbrem2h
Indexed
cid bafyreiemob5du25s55sxca42ccla4fuotz4wpcmygdmggte7jbmnvbzjv4

Checks

Valid Lint pass
JSONDownload
{
  "$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
}