/plan/subscribe/

This commit is contained in:
jysperm
2014-05-06 15:02:35 +08:00
parent d9521fd1db
commit c02f159783
11 changed files with 122 additions and 9 deletions

27
DOC/API/plan.md Normal file
View File

@@ -0,0 +1,27 @@
## Plan API
### POST /plan/subscribe/
Request:
{
"plan": "shadowsocks"
}
No Response.
Exception:
* invaild_plan
* already_in_plan
* insufficient_balance
### POST /plan/unsubscribe/
Request:
{
"plan": "shadowsocks"
}
No Response.