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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | actor.beta.colibri.social |
| Indexed |
Checks
Valid Lint pass{
"$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
}