X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=doc%2Fprotocole3.txt;h=f0b0b3847d83e066326693fcd1176aeb17c82ba5;hb=13bf850da2316cde3ad2ff8d5c26fb32928bf7b4;hp=02051e90809f677ac0fdf1f5b9e0065c9e6e1a97;hpb=2faefc542de20cfcc0220b5c7fd7982dd0fbbfd4;p=euphorik.git diff --git a/doc/protocole3.txt b/doc/protocole3.txt index 02051e9..f0b0b38 100644 --- a/doc/protocole3.txt +++ b/doc/protocole3.txt @@ -89,7 +89,8 @@ ou "racine" : 123, "page" : 1 } - ] + ], + "ek_master" : true | false } @@ -143,7 +144,8 @@ c -> s "conversations" : [ { "racine" : 123, - "page" : 1 + "page" : 1, + "last_message_id" : 4 (pas obligatoire) } ] } @@ -171,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 } ] } @@ -183,11 +186,8 @@ ou "message_id" : 123, "contenu" : "Salut +++ poulpe" } -ou - { - "reply" : "error", - "error_message" : "blabla" - } +ou + === Envoie d'un troll === @@ -218,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.