Sugar Network/API: Difference between revisions
| 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; | ||
Actions: | Actions: | ||
* '' | * ''player'' cannot be created or destroyed; | ||
* ''' | * ''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 === | ||