social.coves.aggregator.disable

Disable an aggregator for a community. Updates the authorization record to set enabled=false. Requires moderator permissions.

Repository @coves.social did:web:coves.social namespace authority
Details · procedure
Kindprocedure
Authorityaggregator.coves.social
Indexed

Procedure

procedure · POST

Input

application/json

aggregatorDid

requiredstring · did

DID of the aggregator to disable

community

requiredstring · at-identifier

DID or handle of the community

Output

application/json

cid

requiredstring · cid

CID of the updated authorization record

disabledAt

string · datetime

When the aggregator was disabled

uri

requiredstring · at-uri

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

AlreadyDisabled

Aggregator is already disabled

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Enable an aggregator for a community. Creates an authorization record in the community's repository. Requires moderator permissions.

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

  • Authorization for an aggregator to post to a community with specific configuration. Published in the community's repository by moderators. The record key MUST be the authorized aggregator's DID, guaranteeing at most one authorization per (community, aggregator) pair. Similar to social.coves.actor.subscription.

  • Get list of communities that have authorized a specific aggregator. Used by aggregators to query which communities they can post to. Authentication optional.

  • List all aggregators authorized for a specific community. Used by community settings UI to show enabled/disabled aggregators. Authentication optional.