X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=doc%2Fprotocole3.txt;h=99776a48b3c6d3ebafe66655aef7dc792e197832;hp=feae1f0036412801258ebb962603ac45192f41d2;hb=eae50232e73fca26d6f631c8177cbea649e5036e;hpb=d9d05b6a2a13c2da190dd68d4409381d093679b2 diff --git a/doc/protocole3.txt b/doc/protocole3.txt index feae1f0..99776a4 100644 --- a/doc/protocole3.txt +++ b/doc/protocole3.txt @@ -161,7 +161,8 @@ Le format de la date n'est pas formel. "last_page" : true | false, "messages" : [ { - "id" : 54, + "id" : 54, + "user_id" : 344, "date" : "Hier 17:26:54", "system" : true | false, "owner" : true | false, @@ -173,6 +174,7 @@ Le format de la date n'est pas formel. "answer_to" : [ { "id" : 123, "nick" : "Pierre", "login" : "pierre_45" } ] + "ek_master" : true | false } ] } @@ -223,13 +225,28 @@ ou +=== Slapage === + +c -> s + { + "action" : "slap", + "cookie" : "LKJDLAKSJBFLKASN", + "user_id" : 67 + } + +s -> c + +ou + + + === Bannissement === c -> s { "action" : "ban", "cookie" : "LKJDLAKSJBFLKASN", - "duration" : 3, // en heure + "duration" : 15, // en minute "user_id" : 67 }