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