The Player resource

Players represent registered players on GGZ. They can have different privilege levels, for example normal players, hosts and administrators, and they can be bots (chat bots and game AI players). Guest players, however, will not appear in the database.

/players (GET)

GET: List all players. The format is:
<players>
<player name="$playername"/>
</players>

/players/$playername (GET, POST, PUT, DELETE)

GET: List a player. The format is:
<player name="$playername">
<email>$emailaddress</email>
<realname>$realname</realname>
<photo>$photourl</photo>
</player>

POST: Create a player. The format is like the one for GET, with the addition of:
<password>$password</password>

PUT: Update a player. The format is like the one for POST. This operation needs authentication: HTTP username is $playername, HTTP password is the old $password.

DELETE: Remove a player. This operation needs authentication: HTTP username is $playername, HTTP password is $password.