HomePhabricator
Diffusion Comm caccb2336cfa

[keyserver] Create an endpoint that can be used to validate an invite link

Description

[keyserver] Create an endpoint that can be used to validate an invite link

Summary:
This endpoint checks if the link is valid and returns community details if that's the case. Currently, link expiration is not checked. Avatars will be returned in the future, after their API stabilizes.

Depends on D7519

Test Plan: Call the endpoint from the client and check if it returns correct value for links that are valid, invalid and that points to a community to which a user already belongs.

Reviewers: bartek, kamil, inka

Reviewed By: bartek, inka

Subscribers: ashoat, atul

Differential Revision: https://phab.comm.dev/D7521

Details

Provenance
tomekAuthored on Apr 5 2023, 3:25 AM
Reviewer
bartek
Differential Revision
D7521: [keyserver] Create an endpoint that can be used to validate an invite link
Parents
rCOMM53e9fe18b6f5: [keyserver] Create a table for invite links
Branches
Unknown
Tags
Unknown