Sugar Network/API: Difference between revisions
| Line 37: | Line 37: | ||
Resources that can be voted (everything except ''player'', ''report'', ''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. | |||
And calculated ones: | And calculated ones: | ||
* {{Code|reputation}}, ''int'', ''read''<br>current object's reputation; | |||
* {{Code|vote}}, ''bool'', ''read'', ''write''<br>did url requester voted for the current object or not. | |||
=== Common actions === | === Common actions === | ||