town.delve.draft.createDraft

Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication.

Repository @delve.town did:plc:qzqct2rrq4u2gmy5g3mjxske namespace authority
Details · procedure
Kindprocedure
Authoritydraft.delve.town
Indexed
cid bafyreid3glsznw6zxv6rbhwwqi42q7f5rnedfs4qt7uwicpboroz67hdoq

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication.",
      "errors": [
        {
          "description": "Trying to insert a new draft when the limit was already reached.",
          "name": "DraftLimitReached"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "draft": {
              "ref": "town.delve.draft.defs#draft",
              "type": "ref"
            }
          },
          "required": [
            "draft"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "id": {
              "description": "The ID of the created draft.",
              "format": "tid",
              "type": "string"
            }
          },
          "required": [
            "id"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "town.delve.draft.createDraft",
  "lexicon": 1
}