mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-04-23 11:17:54 +08:00
/plan/subscribe/
This commit is contained in:
27
DOC/API/plan.md
Normal file
27
DOC/API/plan.md
Normal 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.
|
||||
Reference in New Issue
Block a user