ink.branchline.createPollen

Pollinate a bud — a lightweight mark of appreciation. The caller must be signed in. The AppView writes an ink.branchline.pollen record to the caller's PDS and mirrors it into the local read cache. At most one pollen grain per (author, subject) is honored; retrying a call for the same subject is rejected with DuplicatePollen.

Repository @branchline.ink did:plc:brvu7akhdvsqcomb67pafw25 namespace authority
Details · procedure
Kindprocedure
Authoritybranchline.ink
Indexed
cid bafyreibxe4jukcxpcr5fc63xacuavbgpenii7e55cz4qka74icp6ujjhue

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Pollinate a bud — a lightweight mark of appreciation. The caller must be signed in. The AppView writes an ink.branchline.pollen record to the caller's PDS and mirrors it into the local read cache. At most one pollen grain per (author, subject) is honored; retrying a call for the same subject is rejected with DuplicatePollen.",
      "errors": [
        {
          "description": "The caller is not signed in.",
          "name": "Unauthorized"
        },
        {
          "description": "The subject bud does not exist in the AppView.",
          "name": "SubjectNotFound"
        },
        {
          "description": "The caller is the subject bud's author. Authors cannot pollinate their own buds.",
          "name": "SelfPollinate"
        },
        {
          "description": "The caller has already pollinated this subject.",
          "name": "DuplicatePollen"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "subjectUri": {
              "description": "AT-URI of the ink.branchline.bud record to pollinate.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "subjectUri"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "format": "cid",
              "type": "string"
            },
            "uri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "cid"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "ink.branchline.createPollen",
  "lexicon": 1
}