social.colibri.beta.actor.putSettings
Pushes the requesting user's social.colibri.beta.actor.settings record to the AppView, so it takes effect immediately instead of waiting for a sync notification. The client writes the record to its own personal space first, then calls this. An absent field leaves the current value unchanged.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | actor.beta.colibri.social |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.notificationLevelNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Pushes the requesting user's social.colibri.beta.actor.settings record to the AppView, so it takes effect immediately instead of waiting for a sync notification. The client writes the record to its own personal space first, then calls this. An absent field leaves the current value unchanged.",
"errors": [
{
"description": "The request has no valid service auth.",
"name": "AuthRequired"
},
{
"description": "A field is present but does not hold an allowed value.",
"name": "InvalidRequest"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"clientPreferences": {
"description": "The contents of the user's social.colibri.beta.actor.clientPreferences record. Replaces the stored copy whole. Absent leaves the current value unchanged.",
"ref": "social.colibri.beta.actor.defs#clientPreferences",
"type": "ref"
},
"communityOrder": {
"description": "Communities in preferred sidebar order. Absent leaves the current value unchanged.",
"items": {
"description": "A community.",
"format": "did",
"type": "string"
},
"type": "array"
},
"composerState": {
"description": "The contents of the user's social.colibri.beta.actor.composerState record. Replaces the stored copy whole. Absent leaves the current value unchanged.",
"ref": "social.colibri.beta.actor.defs#composerState",
"type": "ref"
},
"gifFavorites": {
"description": "GIFs saved from the picker, stored whole. Absent leaves the current value unchanged.",
"items": {
"ref": "social.colibri.beta.embed.defs#gifView",
"type": "ref"
},
"type": "array"
},
"notificationLevel": {
"description": "Which messages produce a notification. Absent leaves the current value unchanged.",
"knownValues": [
"all",
"mentionsAndReplies",
"nothing"
],
"type": "string"
},
"shareActivity": {
"description": "Whether the AppView may show what the user is listening to. Absent leaves the current value unchanged.",
"type": "boolean"
}
},
"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.putSettings",
"lexicon": 1
}