flesh out REST API

can now list/view/add/create/modify users
and start/stop single-user servers
This commit is contained in:
MinRK
2014-09-14 14:33:11 -07:00
parent a47e390aa0
commit 0a8759b0a5
10 changed files with 322 additions and 33 deletions

View File

@@ -75,7 +75,7 @@ class Server(Base):
def host(self):
return "{proto}://{ip}:{port}".format(
proto=self.proto,
ip=self.ip,
ip=self.ip or '*',
port=self.port,
)