Page MenuHomePhabricator

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

Authored by tomek on Apr 19 2023, 5:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 4:38 AM
Unknown Object (File)
Fri, Nov 15, 8:21 AM
Unknown Object (File)
Mon, Nov 4, 9:34 PM
Unknown Object (File)
Oct 28 2024, 1:27 AM
Unknown Object (File)
Oct 28 2024, 1:27 AM
Unknown Object (File)
Oct 28 2024, 1:27 AM
Unknown Object (File)
Oct 28 2024, 1:26 AM
Unknown Object (File)
Oct 28 2024, 1:18 AM
Subscribers

Details

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.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage