Sugar Network/API: Difference between revisions

Line 35: Line 35:
* {{Code|creator}}, ''guid'', ''read''<br>the ''player'' who created the object.
* {{Code|creator}}, ''guid'', ''read''<br>the ''player'' who created the object.


Resources that can be voted (everything except ''player'', ''comment'' and ''event''), have these additional properties:
Resources that can be voted (everything except ''player'', ''report'', ''comment'' and ''event''), have these additional properties:


:* {{Code|respect}}, ''guid'', ''read'', ''create''<br>what ''player'' needs to be respected on getting vote to this object, if empty, the associated ''project'' itself will be voted.
:* {{Code|respect}}, ''guid'', ''read'', ''create''<br>what ''player'' needs to be respected on getting vote to this object, if empty, the associated ''project'' itself will be voted.