[openstreetmap/openstreetmap-website] Add some javascript to check dynamically if the username is already taken (PR #4402)
Guillaume Rischard
notifications at github.com
Wed Dec 13 14:43:01 UTC 2023
> I was thinking there was an API method that could be used but there isn't one that does the lookup by name.
There is a single one. In [the civicrm username check extension](https://github.com/grischard/org.openstreetmap.username/blob/9d67583bd3e0342a9770cde48f23586f707012ee/username.php#L61) I check `https://api.openstreetmap.org/api/0.6/changesets?time=9999-01-01&display_name=TomH` or `https://api.openstreetmap.org/api/0.6/changesets?time=9999-01-01&display_name=GhostofTomH` for 404.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4402#issuecomment-1854045371
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4402/c1854045371 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231213/48000575/attachment.htm>
More information about the rails-dev
mailing list