app.didpic.write.createBlock

Create an app.didpic.graph.block record on the authenticated viewer's own PDS, mediated by the AppView using its server-held session (confidential OAuth client only).

Details · procedure
Kindprocedure
Authoritywrite.didpic.app
Indexed
cid bafyreibcl7gfejtmxelka5bj4yvj6qddlfft2gdf53ye3xgmvvrdrgxlv4

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Create an app.didpic.graph.block record on the authenticated viewer's own PDS, mediated by the AppView using its server-held session (confidential OAuth client only).",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "subjectDid": {
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "subjectDid"
          ],
          "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": "app.didpic.write.createBlock",
  "lexicon": 1
}