social.grain.unspecced.createPoolComment

Comment on a gallery in a group's pool. The comment is the viewer's own record, written into the pool beside the gallery it answers, so only that group's members can read it.

Repository @grain.social did:plc:e7rftrdyz5e2rw4y6ocszew2 not from the namespace authority
Details · procedure
Kindprocedure
Authorityunspecced.grain.social
Indexed
cid bafyreiherab33tlmydrqawom4l37dedqahf6hsroxerraea4bdi6fftivi

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.rkeyNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Comment on a gallery in a group's pool. The comment is the viewer's own record, written into the pool beside the gallery it answers, so only that group's members can read it.",
      "errors": [
        {
          "description": "The viewer is not a member of this pool.",
          "name": "NotAuthorized"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "facets": {
              "items": {
                "ref": "app.bsky.richtext.facet",
                "type": "ref"
              },
              "type": "array"
            },
            "gallery": {
              "format": "at-uri",
              "type": "string"
            },
            "group": {
              "format": "did",
              "type": "string"
            },
            "replyTo": {
              "format": "at-uri",
              "type": "string"
            },
            "text": {
              "maxLength": 3000,
              "type": "string"
            }
          },
          "required": [
            "group",
            "gallery",
            "text"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "rkey": {
              "type": "string"
            },
            "uri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "rkey"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.grain.unspecced.createPoolComment",
  "lexicon": 1
}