social.colibri.beta.actor.putBlocks

Pushes the requesting user's block list to the AppView, so it takes effect immediately instead of waiting for a sync notification. The client writes the underlying block records to its own personal space first, then calls this. The list replaces the AppView's whole copy.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · procedure
Kindprocedure
Authorityactor.beta.colibri.social
Indexed
cid bafyreibruiiqhcg2s7n76rr4z6gwlyes73mcnbrivq6wxrj6lleamo7ojq

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Pushes the requesting user's block list to the AppView, so it takes effect immediately instead of waiting for a sync notification. The client writes the underlying block records to its own personal space first, then calls this. The list replaces the AppView's whole copy.",
      "errors": [
        {
          "description": "The request has no valid service auth.",
          "name": "AuthRequired"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "blocks": {
              "description": "The complete, replacement block list.",
              "items": {
                "ref": "social.colibri.beta.actor.defs#block",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "blocks"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "preferences": {
              "description": "The requesting user's settings, after the update.",
              "ref": "social.colibri.beta.actor.defs#preferences",
              "type": "ref"
            }
          },
          "required": [
            "preferences"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.colibri.beta.actor.putBlocks",
  "lexicon": 1
}