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