club.hellyeah.invite

Spends one of the caller's invites to add an account to the allowlist. A handle is resolved to its DID now, and only the DID is stored. Requires service auth from a member.

Repository @hellyeah.club did:plc:ce2gpmv3q5a4xlnpt63e4nsn namespace authority
Details · procedure
Kindprocedure
Authorityhellyeah.club
Commit rev3mzz5zcndr22m
Indexed

Procedure

procedure · POST

Input

application/json

actor

requiredstring · at-identifier

Output

application/json

did

requiredstring · did

The account now on the allowlist.

invites

requiredinteger

The caller's unused invites after this one.

  • minimum: 0

Errors

NotMember

The caller isn't on the allowlist.

NoInvites

The caller has no unused invites.

AlreadyMember

The account is already on the allowlist. No invite was spent.

Removed

The account was removed; only an admin can add it back.

ActorNotFound

No description in schema.

Similar lexicons

semantic match

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

  • Removes an account from the allowlist. Whoever invited it loses their unused invites. Admins only, by service auth.

  • Claims an account for the caller's DID, waiting for an invite, and starts the account session. Requires service auth.

  • Emails the link that makes an invited DID's account, or gives a member's account its email. Requires service auth.