[openstreetmap/openstreetmap-website] Add Messages API (PR #4605)

Anton Khorev notifications at github.com
Fri Mar 22 15:01:42 UTC 2024


@AntonKhorev commented on this pull request.



> @@ -0,0 +1,11 @@
+xml.tag! "message", :id => message.id,
+                    :from_user_id => message.from_user_id,
+                    :to_user_id => message.to_user_id,
+                    :sent_on => message.sent_on,

Another thing where notes api differ from everything else is date formats. In other places dates look like this: [`2014-04-02T17:09:44Z`](https://www.openstreetmap.org/api/0.6/way/1000). In the notes api they look like this: [`2013-05-01 08:10:42 UTC`](https://www.openstreetmap.org/api/0.6/notes/1000).

Dates here are written like in the notes api.

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

Message ID: <openstreetmap/openstreetmap-website/pull/4605/review/1955051083 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240322/9c094c78/attachment-0001.htm>


More information about the rails-dev mailing list