Guns Metaserver

The Guns Metaserver lives at http://meta.guns-game.com/ and provides a RESTful API for querying clients and servers' public keys, as well as allowing users to administer their accounts.

Note: The metaserver interface must be moved to https before release.

Forgotten password
/forgot/&lt;token&gt;

Hit this up to get an interface where you can change your password. There is currently no way to request a password change token, other than asking Narc. There is also currently no way to register.

Key fetching
/key/[client|server]/&lt;identifier&gt;

For clients, the identifier is the client's primary username (not necessarily the same as the nick they have on a server).

For servers, the identifier is set in server configuration (and the server identifies itself to clients on connect).

Key upload
/mykey/[client|server]/&lt;identifier&gt;

See above for the meaning of identifier. This HTTP request must be a POST with Content-Type=application/x-www-form-urlencoded containing at least public_key=[public key content]. Since this is generally URL-compatible all by itself, it shouldn't be too wasteful to use this instead of multipart/form-data.