Changes

44 bytes added ,  02:47, 19 December 2011
Line 87: Line 87:  
:** votes given to objects where the ''player'' is a creator;
 
:** votes given to objects where the ''player'' is a creator;
 
:* {{Code|vote}}, ''bool'', ''read'', ''write''<br>did url requester voted for the current object or not;
 
:* {{Code|vote}}, ''bool'', ''read'', ''write''<br>did url requester voted for the current object or not;
  −
Events:
      
Actions:
 
Actions:
   −
* '''create''' and '''destroy''' are not allowed;
+
* ''player'' cannot be created or destroyed;
* '''update''' is allowed only for a user who is associated with a ''player''.
+
* ''player'' can be updated only by a user who is associated with it.
    
  POST /player/<GUID>/'''send'''
 
  POST /player/<GUID>/'''send'''
Line 101: Line 99:  
Inputs:
 
Inputs:
 
: A dictionary with [[#event|event]] properties.
 
: A dictionary with [[#event|event]] properties.
 +
 +
Event types:
 +
:* {{Code|message}}, direct event to the ''player''.
    
=== project ===
 
=== project ===