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.
Input
application/jsonmutes
array
Required
The complete, replacement mute list.
Output
application/jsonpreferences
refsocial.colibri.beta.actor.defs#preferences
Required
The requesting user's settings, after the update.
Errors
AuthRequired
The request has no valid service auth. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"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."
}