[openstreetmap/openstreetmap-website] Add an API-endpoint to set the user home location (Issue #3395)

Tobias notifications at github.com
Fri Apr 12 08:49:36 UTC 2024


I just ran into this general issue. We want to give users a quick way to add a user description to their profile.

> What sort of application would (reasonably) want to do that though?

**Our use case is:** We have an app about bike infrastructure and show OSM notes and allow to add OSM notes via the app. The feedback from the OSM community is, that users of our app do not provide enough context on who they are. The main issue is the empty user profile description.

So what we wanted to do: Check if the our user – who is logged into osm via oAuth2 – has a profile description. If the description is empty, we wanted to show a form with a suggestion on what to write. Something like "This account is managed by department X of Y in the context of the bicycle infrastructure project at URL Z." 

To make sure our users actually add this data to their OSM profile and make the whole UX as nice as possible, we would want to write the profile description via API.

---

If such an API gets green light @tomhughes I would look into adding the API endpoints to do so which should have similarities to https://github.com/openstreetmap/openstreetmap-website/pull/4605.

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

Message ID: <openstreetmap/openstreetmap-website/issues/3395/2051316873 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240412/39242836/attachment.htm>


More information about the rails-dev mailing list