X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=doc%2Fprotocole3.txt;h=f0b0b3847d83e066326693fcd1176aeb17c82ba5;hb=cbe176899b697b21c18340d8cab3fd128f1fb96f;hp=585794ae7fc98f52d6f754345996ac41758eaf82;hpb=5f49b7e6af9be3e2415136013370af4ac99d59da;p=euphorik.git diff --git a/doc/protocole3.txt b/doc/protocole3.txt index 585794a..f0b0b38 100644 --- a/doc/protocole3.txt +++ b/doc/protocole3.txt @@ -89,7 +89,8 @@ ou "racine" : 123, "page" : 1 } - ] + ], + "ek_master" : true | false } @@ -172,6 +173,7 @@ Le format de la date n'est pas formel. "answer_to" : [ { "id" : 123, "nick" : "Pierre", "login" : "pierre_45" } ] + "ek_master" : true | false } ] } @@ -184,11 +186,8 @@ ou "message_id" : 123, "contenu" : "Salut +++ poulpe" } -ou - { - "reply" : "error", - "error_message" : "blabla" - } +ou + === Envoie d'un troll === @@ -219,12 +218,26 @@ c -> s "answer_to" : [ 345, 532, ... ] } -s -> c - { - "reply" : "ok" | "error", - "error_message" : "blabla" +s -> c + +ou + + + +=== Bannissement === + +c -> s + { + "action" : "ban", + "cookie" : "LKJDLAKSJBFLKASN", + "duration" : 15, // en minute + "user_id" : 67 } - + +s -> c + +ou + === Ajout d'une correction d'un messages === Le client envoie un correctif sous la forme de texte supplémentaire à appondre au dernier messages.