X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=doc%2Fprotocole3.txt;h=8c8d2539f23e1c8d3f371d375216366e83bcfde8;hp=f7fd6a5837f2806e71b55ef49c4d33068cd4ba40;hb=994f68e1f8a7a43b55d6bd6214b2a0066671ba74;hpb=28cbabecbfc2e05861779a19e5a75bddbc0ad416 diff --git a/doc/protocole3.txt b/doc/protocole3.txt index f7fd6a5..8c8d253 100644 --- a/doc/protocole3.txt +++ b/doc/protocole3.txt @@ -82,14 +82,11 @@ ou "login" : "paul49", "email" : "paul@pierre.com", "css" : "css/3/euphorik.css", - "nick_format" : "nick" | "login" | "nick_login", - "main_page" : 1, - "conversations" : [ - { - "racine" : 123, - "page" : 1 - } - ], + "nick_format" : "nick" | "login" | "nick_login", + "view_times" : true | false, + "view_tooltips" : true | false, + // "main_page" : 1, + "conversations" : [3, 8], "ek_master" : true | false } @@ -112,14 +109,11 @@ c -> s "nick" : "Paul", "email" : "paul@pierre.com", "css" : "css/3/euphorik.css", - "nick_format" : "nick" | "login" | "nick_login", + "nick_format" : "nick" | "login" | "nick_login", + "view_times" : true | false, + "view_tooltips" : true | false, "main_page" : 1, - "conversations" : [ - { - "root" : 123, - "page" : 1 - } - ] + "conversations" : [3, 8] } s -> c @@ -144,7 +138,7 @@ c -> s "troll_id" : 45, "conversations" : [ { - "racine" : 123, + "root" : 123, "page" : 1, "last_message_id" : 4 (pas obligatoire) } @@ -171,7 +165,8 @@ Le format de la date n'est pas formel. "is_a_reply" : true | false, "nick" : "Paul", "login" : "paul_22", - "content" : "Salut", + "content" : "Salut", + "root" : 453, "answer_to" : [ { "id" : 123, "nick" : "Pierre", "login" : "pierre_45" } ] @@ -192,6 +187,7 @@ ou { "reply" : "new_troll", "troll_id" : 123, + "message_id" : 12, "content" : "Linux sera desktop ready en 2008 ?" } ou @@ -232,6 +228,12 @@ 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 ===