Skip to content

Instantly share code, notes, and snippets.

@japj
Created February 25, 2009 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save japj/70157 to your computer and use it in GitHub Desktop.
Save japj/70157 to your computer and use it in GitHub Desktop.
Bespin Server API
* Register
** '^/register/new/(?P<username>.*)$', 'POST'
*** input
username, email, password
*** output
{
}
** '^/register/userinfo/$', 'GET'
*** output
{
"username" : "<username>",
"quota" : "<quota>",
"amountUsed" : "<amountUsed>"
}
** '^/register/login/(?P<login_username>.+)', 'POST'
*** input
login_username, password
*** output
{
}
** '^/register/logout/$'
*** output
"Logged out"
* Settings
* File
* Edit
* Project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment