gravitystorm left a comment (openstreetmap/openstreetmap-website#6635)

> Would we add an optional request parameter for choosing between plain text 
> and HTML output formats?

We could do that. Deciding what is appropriate to put in the HTML returned by 
the API would need to be discussed since I suspect different API client apps 
would want different things.

For example, with a user reference, would you just want a `<a 
href=...>Username</a>`, even if the website is rendering it with an avatar 
beside the username `<a href=...><img /> Username</a>`? Would client apps want 
to have the additional information for a hovercard? etc etc.

Anyway, that's something for the distant future I suspect, let's get the 
foundations in first.

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

Message ID: 
<openstreetmap/openstreetmap-website/issues/6635/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to