Changes

Jump to navigation Jump to search
24 bytes removed ,  09:29, 10 February 2012
Actualize API, s/player/user/g
Line 106: Line 106:  
== Resources ==
 
== Resources ==
   −
=== player ===
+
=== user ===
    
Actions:
 
Actions:
   −
* ''player'' cannot be created or destroyed;
+
* ''user'' cannot be created or destroyed;
* ''player'' can be updated only by a user who is associated with it.
+
* ''user'' can be updated only by a user who is associated with it.
   −
  POST /player/<GUID>/'''message'''
+
  POST /user/<GUID>/'''message'''
   −
Send private message to the ''player''.
+
Send private message to the ''user''.
    
Sends:
 
Sends:
Line 121: Line 121:     
Events:
 
Events:
: Direct event to the ''player'':
+
: Direct event to the ''user'':
 
:* {{Code|type: message}}.
 
:* {{Code|type: message}}.
   Line 132: Line 132:  
* [[#Wiki_actions|Wiki related actions]] to manage object description.
 
* [[#Wiki_actions|Wiki related actions]] to manage object description.
   −
  POST /context/<GUID/'''add_member'''?member=<PLAYER>
+
  POST /context/<GUID/'''add_member'''?member=<USER>
   −
Make a ''PLAYER'' the ''team'' member. Only ''team'' members can call this action.
+
Make a ''USER'' the ''team'' member. Only ''team'' members can call this action.
    
Events:
 
Events:
Line 140: Line 140:  
:* {{Code|memeber: GUID}}.
 
:* {{Code|memeber: GUID}}.
   −
  POST /context/GUID/'''remove_member'''?member=<PLAYER>
+
  POST /context/GUID/'''remove_member'''?member=<USER>
   −
Remove ''PLAYER'' from the to the ''team''. Only ''team'' member can call this action if he is not the ''PLAYER'' and ''PLAYER'' is not the same as ''creator''.
+
Remove ''USER'' from the to the ''team''. Only ''team'' member can call this action if he is not the ''USER'' and ''USER'' is not the same as ''creator''.
    
Events:
 
Events:

Navigation menu