The API for trac server.