重新修改的wenapi

重新修改的wenapi
pull/352/head
avengexyz 2020-01-06 01:11:25 +08:00 committed by GitHub
parent c595db19b9
commit 103268a5dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 49 additions and 47 deletions

View File

@ -1,8 +1,9 @@
获取客户端列表
url='http://你的域名或者网址/client/list/';
```
POST /client/list/
```
post提交的数据
| 参数 | 含义 |
| --- | --- |
@ -14,9 +15,10 @@ post提交的数据
***
获取单个客户端
url='http://你的域名或者网址/client/getclient/';
```
POST /client/getclient/
```
post提交的数据
| 参数 | 含义 |
| --- | --- |
@ -25,9 +27,9 @@ post提交的数据
***
添加客户端
url='http://你的域名或者网址/client/add/';
post提交的数据
```
POST /client/add/
```
| 参数 | 含义 |
| --- | --- |
@ -47,9 +49,9 @@ post提交的数据
***
修改客户端(25.4版本有问题暂时不能用)
url='http://你的域名或者网址/client/edit/';
post提交的数据
```
POST /client/edit/
```
| 参数 | 含义 |
| --- | --- |
@ -70,9 +72,9 @@ post提交的数据
***
删除客户端
url='http://你的域名或者网址/client/del/';
post提交的数据
```
POST /client/del/
```
| 参数 | 含义 |
| --- | --- |
@ -81,9 +83,9 @@ post提交的数据
***
获取域名解析列表
url='http://你的域名或者网址/index/hostlist/';
post提交的数据
```
POST /index/hostlist/
```
| 参数 | 含义 |
| --- | --- |
@ -94,9 +96,10 @@ post提交的数据
***
添加域名解析
url='http://你的域名或者网址/index/addhost/';
```
POST /index/addhost/
```
post提交的数据
| 参数 | 含义 |
| --- | --- |
@ -112,9 +115,9 @@ post提交的数据
***
修改域名解析
url='http://你的域名或者网址/index/edithost/';
post提交的数据
```
POST /index/edithost/
```
| 参数 | 含义 |
| --- | --- |
@ -131,9 +134,9 @@ post提交的数据
***
删除域名解析
url='http://你的域名或者网址/index/delhost/';
post提交的数据
```
POST /index/delhost/
```
| 参数 | 含义 |
| --- | --- |
@ -142,9 +145,9 @@ post提交的数据
***
获取单条隧道信息
url='http://你的域名或者网址/index/getonetunnel/';
post提交的数据
```
POST /index/getonetunnel/
```
| 参数 | 含义 |
| --- | --- |
@ -153,9 +156,9 @@ post提交的数据
***
获取隧道列表
url='http://你的域名或者网址/index/gettunnel/';
post提交的数据
```
POST /index/gettunnel/
```
| 参数 | 含义 |
| --- | --- |
@ -168,9 +171,9 @@ post提交的数据
***
添加隧道
url='http://你的域名或者网址/index/add/';
post提交的数据
```
POST /index/add/
```
| 参数 | 含义 |
| --- | --- |
@ -183,10 +186,9 @@ post提交的数据
***
修改隧道
url='http://你的域名或者网址/index/edit/';
***
post提交的数据
```
POST /index/edit/
```
| 参数 | 含义 |
| --- | --- |
@ -200,9 +202,9 @@ post提交的数据
***
删除隧道
url='http://你的域名或者网址/index/del/';
post提交的数据
```
POST /index/del/
```
| 参数 | 含义 |
| --- | --- |
@ -211,9 +213,9 @@ post提交的数据
***
隧道停止工作
url='http://你的域名或者网址/index/stop/';
post提交的数据
```
POST /index/stop/
```
| 参数 | 含义 |
| --- | --- |
@ -222,10 +224,10 @@ post提交的数据
***
隧道开始工作
url='http://你的域名或者网址/index/start/';
post提交的数据
```
POST /index/start/
```
| 参数 | 含义 |
| --- | --- |
| id | 隧道id |
| id | 隧道id |