diff --git a/apis/swagger.yml b/apis/swagger.yml index a7e8d91bd..7e3e28fd4 100644 --- a/apis/swagger.yml +++ b/apis/swagger.yml @@ -1263,7 +1263,7 @@ definitions: dstIP: type: "string" description: | - the peer ID of the target Peer. + the peer IP of the target Peer. range: type: "string" description: | diff --git a/apis/types/piece_error_request.go b/apis/types/piece_error_request.go index 380db1009..b98774e9b 100644 --- a/apis/types/piece_error_request.go +++ b/apis/types/piece_error_request.go @@ -19,7 +19,7 @@ import ( // swagger:model PieceErrorRequest type PieceErrorRequest struct { - // the peer ID of the target Peer. + // the peer IP of the target Peer. // DstIP string `json:"dstIP,omitempty"` diff --git a/docs/api_reference/apis.md b/docs/api_reference/apis.md index c8b44181d..3fed0fdfb 100644 --- a/docs/api_reference/apis.md +++ b/docs/api_reference/apis.md @@ -981,7 +981,7 @@ Peer's detailed information in supernode. |Name|Description|Schema| |---|---|---| -|**dstIP**
*optional*|the peer ID of the target Peer.|string| +|**dstIP**
*optional*|the peer IP of the target Peer.|string| |**dstPid**
*optional*|the peer ID of the target Peer.|string| |**errorType**
*optional*|the error type when failed to download from supernode that dfget will report to supernode|enum (FILE_NOT_EXIST, FILE_MD5_NOT_MATCH)| |**expectedMd5**
*optional*|the MD5 value of piece which returned by the supernode that
in order to verify the correctness of the piece content which
downloaded from the other peers.|string|