social.coves.aggregator.updateConfig
Update configuration for an enabled aggregator. Updates the authorization record's config field. Requires moderator permissions.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | aggregator.coves.social |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Update configuration for an enabled aggregator. Updates the authorization record's config field. Requires moderator permissions.",
"errors": [
{
"description": "Caller is not a moderator of this community",
"name": "NotAuthorized"
},
{
"description": "Aggregator is not enabled for this community",
"name": "AuthorizationNotFound"
},
{
"description": "Config does not match aggregator's configSchema",
"name": "InvalidConfig"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"aggregatorDid": {
"description": "DID of the aggregator",
"format": "did",
"type": "string"
},
"community": {
"description": "DID or handle of the community",
"format": "at-identifier",
"type": "string"
},
"config": {
"description": "New aggregator-specific configuration. Must conform to the aggregator's configSchema.",
"type": "unknown"
}
},
"required": [
"community",
"aggregatorDid",
"config"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"authorization": {
"description": "The updated authorization details",
"ref": "social.coves.aggregator.defs#authorizationView",
"type": "ref"
},
"cid": {
"description": "CID of the updated authorization record",
"format": "cid",
"type": "string"
},
"uri": {
"description": "AT-URI of the updated authorization record",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid",
"authorization"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.coves.aggregator.updateConfig",
"lexicon": 1
}