[openstreetmap/openstreetmap-website] Add Messages API (PR #4605)
Milan Cvetkovic
notifications at github.com
Fri Mar 22 11:08:50 UTC 2024
@milan-cvetkovic commented on this pull request.
> +xml.message do
+ xml.id message.id
+ xml.from_user_id message.from_user_id
+ xml.to_user_id message.to_user_id
+ xml.title message.title
+ xml.sent_on message.sent_on
+ xml.message_read message.message_read
+ xml.from_user_visible message.from_user_visible
+ xml.to_user_visible message.to_user_visible
+ xml.body_format message.body_format
+ xml.body message.body unless @skip_body
+end
True, I modeled after notes api, without knowing that it is an exception. Will modify the spec to use attributes, with exception of `<body>` and `<title>`.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4605#discussion_r1535413523
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4605/review/1954531885 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240322/8afef6f4/attachment.htm>
More information about the rails-dev
mailing list