Sugar Network/API: Difference between revisions
No edit summary |
|||
| Line 142: | Line 142: | ||
* [[#Wiki_actions|Wiki related actions]] to manage object description. | * [[#Wiki_actions|Wiki related actions]] to manage object description. | ||
POST / | POST /context/<GUID/'''add_member'''?member=<PLAYER> | ||
Make a ''PLAYER'' the ''team'' member. Only ''team'' members can call this action. | Make a ''PLAYER'' the ''team'' member. Only ''team'' members can call this action. | ||
| Line 150: | Line 150: | ||
:* {{Code|memeber: GUID}}. | :* {{Code|memeber: GUID}}. | ||
POST / | POST /context/GUID/'''remove_member'''?member=<PLAYER> | ||
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 ''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''. | ||