Added new action to mail module to mark all messages of a folder as seen:

PUT /ajax/mail?action=all_seen

Parameters:
session – A session ID previously obtained from the login module.
folder – Object ID of the folder.

Request Body: n.a.

Response: true



See http://oxpedia.org/wiki/index.php?title=HTTP_API#Mark_all_mails_as_seen