+ ]
+ }
+
+s -> c
+La première conversation est la principale (main).
+L'ordre des conversation est le même que celui des données de l'utilisateur.
+Le format de la date n'est pas formel.
+ {
+ "reply" : "new_message",
+ "conversations" : [
+ {
+ "last_page" : true | false,
+ "messages" : [
+ {
+ "id" : 54,
+ "user_id" : 344,
+ "date" : "Hier 17:26:54",
+ "system" : true | false,
+ "owner" : true | false,
+ "answered" : true | false,
+ "is_a_reply" : true | false,
+ "nick" : "Paul",
+ "login" : "paul_22",
+ "content" : "Salut",
+ "root" : 453,
+ "answer_to" : [
+ { "id" : 123, "nick" : "Pierre", "login" : "pierre_45" }
+ ]
+ "ek_master" : true | false
+ }
+ ]
+ }
+ ...
+ ]
+ }
+ou
+ {
+ "reply" : "message_updated",
+ "message_id" : 123,
+ "content" : "Salut +++ poulpe"
+ }
+ou
+ {
+ "reply" : "new_troll",
+ "troll_id" : 123,
+ "message_id" : 12,
+ "content" : "Linux sera desktop ready en 2008 ?"
+ }
+ou
+ <error>
+
+
+=== Wait event (page = admin) ===
+c -> s
+ {
+ "action" : "wait_event",
+ "page" : "admin",
+ "last_troll" : 5
+ }
+
+s -> c
+ {
+ "reply" : "troll_modified",
+ "troll_id" : 3,
+ "content" : "plop"
+ }
+ou
+s -> c
+ {
+ "reply" : "troll_added",
+ "trolls" :
+ [
+ {
+ "troll_id" : 5,
+ "content" : "plop",
+ "author" : "<Pseudo>"
+ "author_id" : 2
+ }
+ ]
+ }
+ou
+s -> c
+ {
+ "reply" : "troll_deleted",
+ "troll_id" : 2
+ }
+ou
+indique de mettre à jour la liste d'ips
+s -> c
+ {
+ "reply" : "banned_ips_refresh"
+ }
+
+
+=== Envoie d'un troll ===
+c -> s
+ {
+ "action" : "put_troll",
+ "cookie" : "LKJDLAKSJBFLKASN",
+ "content" : "Un bon troll velu !"
+ }
+
+s -> c
+ <ok>
+ou
+ <error>
+
+
+=== Modification d'un troll ===
+c -> s
+ {
+ "action" : "mod_troll",
+ "cookie" : "LKJDLAKSJBFLKASN",
+ "troll_id" : 3,
+ "content" : "Un bon troll velu 2 !"
+ }
+
+s -> c
+ <ok>
+ou
+ <error>
+
+
+=== Suppression d'un troll ===
+c -> s
+ {
+ "action" : "del_troll",
+ "cookie" : "LKJDLAKSJBFLKASN",
+ "troll_id" : 3