social.colibri.beta.community.getInvitation

Resolves an invitation code, so a client can show what it leads to before the user accepts. This is readable without membership. With community set, an AppView that doesn't manage that community forwards the call to the one that does.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · query
Kindquery
Authoritycommunity.beta.colibri.social
Commit rev3n3bx4kccqx2x
Indexed

Query

query · GET

Parameters

query string

code

requiredstring

The invitation code to resolve.

community

string · did

The community the invitation belongs to, as carried in the invitation link. Invitation codes are only unique within the AppView that issued them.

Output

application/json

community

requiredref

The community the invitation leads to.

invitation

requiredref

The resolved invitation.

Errors

InvitationNotFound

No invitation exists with that code.

Similar lexicons

semantic match

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