[openstreetmap/openstreetmap-website] Add show user block api endpoint (PR #4240)

Anton Khorev notifications at github.com
Mon Sep 11 09:51:28 UTC 2023


The web interface prefers to work with usernames while the api prefers user ids. For example you need a user id for [user details](https://wiki.openstreetmap.org/wiki/API_v0.6#Details_of_a_user:_GET_/api/0.6/user/#id). When you know a username and want to get the corresponding id through the api, you typically do a changeset search by the username and get the id from the search results. It's only difficult to do if the user has no contributions, but then, if it's a genuine user and not a pre-blocked vandal account, there has to be a problem with their contributions and changesets (or notes) searchable by the username exist.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4240#issuecomment-1713552528
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4240/c1713552528 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230911/8b0c8a66/attachment.htm>


More information about the rails-dev mailing list