social.coves.aggregator.updateConfig

coves.social

Documentation

Update configuration for an enabled aggregator. Updates the authorization record's config field. Requires moderator permissions.

main procedure

Update configuration for an enabled aggregator. Updates the authorization record's config field. Requires moderator permissions.

Input

Encodingapplication/json
aggregatorDid stringdid Required

DID of the aggregator

community stringat-identifier Required

DID or handle of the community

config unknown Required

New aggregator-specific configuration. Must conform to the aggregator's configSchema.

Output

Encodingapplication/json
cid stringcid Required

CID of the updated authorization record

uri stringat-uri Required

AT-URI of the updated authorization record

Errors

NotAuthorized Caller is not a moderator of this community
AuthorizationNotFound Aggregator is not enabled for this community
InvalidConfig Config does not match aggregator's configSchema
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "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"
}

Lexicon Garden

@