[openstreetmap/openstreetmap-website] feat: add social links and company to user api endpoint (PR #6452)

Moritz Stückler notifications at github.com
Mon Oct 20 16:19:09 UTC 2025


@pReya commented on this pull request.



> @@ -4,6 +4,14 @@ xml.tag! "user", :id => user.id,
                  :display_name => user.display_name,
                  :account_created => user.created_at.xmlschema do
   xml.tag! "description", user.description if user.description
+  xml.tag! "company", user.company if user.company
+  if user.social_links
+    xml.tag! "social-links" do
+      user.social_links.each do |link|
+        xml.tag! "link", link["url"]

I've added it now.

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

Message ID: <openstreetmap/openstreetmap-website/pull/6452/review/3357111987 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251020/0dee2439/attachment.htm>


More information about the rails-dev mailing list