parent
1a5c1eb76f
commit
2f9b78df23
36
Readme.md
36
Readme.md
|
@ -642,27 +642,41 @@
|
||||||
Request URI|dispose/task/start
|
Request URI|dispose/task/start
|
||||||
Content type|application/json;charset=UTF-8
|
Content type|application/json;charset=UTF-8
|
||||||
Authorization|"Bearer b8f01b8303cd9fcb7d3c9ed1b1c54d4a6e04bac3a66ab7df6ba81f690882ca2e"
|
Authorization|"Bearer b8f01b8303cd9fcb7d3c9ed1b1c54d4a6e04bac3a66ab7df6ba81f690882ca2e"
|
||||||
Body|{"ver":2,"cryptoType":0,"timeStamp":1587604296988,"msgContent":"{\"id\":-1,\"type\":0, \"disposeIp\":\"192.168.3.2\", \"disposeTime\":120}"}
|
Body|{"ver":3,"cryptoType":0,"timeStamp":1598597142580,"msgContent":"{\"type\":0, \"disposeIp\":\"192.168.5.3\", \"disposeTime\":10, \"flowDirection\":2, \"attackType\":[1]}"}
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"ver": 2,
|
"ver": 3,
|
||||||
"cryptoType": 0,
|
"cryptoType": 0,
|
||||||
"timeStamp": 1587604296988,
|
"timeStamp": 1598597142580,
|
||||||
"msgContent": "{\"id\":-1,\"type\":0, \"disposeIp\":\"192.168.3.2\", \"disposeTime\":120}"}
|
"msgContent": {
|
||||||
|
"type": 0,
|
||||||
|
"disposeIp": "192.168.5.3",
|
||||||
|
"disposeTime": 10,
|
||||||
|
"flowDirection": 2,
|
||||||
|
"attackType": [
|
||||||
|
1
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
+ 响应消息
|
+ 响应消息
|
||||||
字段|内容
|
字段|内容
|
||||||
----|----
|
----|----
|
||||||
Content type|application/json;charset=UTF-8
|
Content type|application/json;charset=UTF-8
|
||||||
Body|{"ver":2,"cryptoType":0,"timeStamp":1589421147343,"code":200,"msgContent":"{\"id\":\"1\",\"taskId\":\"60\",\"expireTime\":0,\"status\":0,\"message\":\"成功\"}"}
|
Body|{"ver":3,"cryptoType":0,"timeStamp":1598863603232,"code":200,"msgContent":"{\"taskId\":\"75\",\"status\":0,\"message\":[\"成功\"]}"}
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"ver": 2,
|
"ver": 3,
|
||||||
"cryptoType": 0,
|
"cryptoType": 0,
|
||||||
"timeStamp": 1589421147343,
|
"timeStamp": 1598863603232,
|
||||||
"code": 200,
|
"code": 200,
|
||||||
"msgContent": "{\"id\":\"1\",\"taskId\":\"60\",\"expireTime\":0,\"status\":0,\"message\":\"成功\"}"
|
"msgContent": {
|
||||||
|
"taskId": "75",
|
||||||
|
"status": 0,
|
||||||
|
"message": [
|
||||||
|
"成功"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue