Resolves an invitation code, so a client can show what it leads to before the user accepts. This is readable without membership.
Parameters
Output
Encoding
application/jsoncommunity
refsocial.colibri.beta.community.defs#communityView
Required
The community the invitation leads to.
invitation
refsocial.colibri.beta.community.defs#invitationView
Required
The resolved invitation.
Errors
InvitationNotFound
No invitation exists with that code. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"errors": [
{
"name": "InvitationNotFound",
"description": "No invitation exists with that code."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"invitation",
"community"
],
"properties": {
"community": {
"ref": "social.colibri.beta.community.defs#communityView",
"type": "ref",
"description": "The community the invitation leads to."
},
"invitation": {
"ref": "social.colibri.beta.community.defs#invitationView",
"type": "ref",
"description": "The resolved invitation."
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The invitation code to resolve."
}
}
},
"description": "Resolves an invitation code, so a client can show what it leads to before the user accepts. This is readable without membership."
}