GET Api/Service/Proxy/GetOneHostProxy/{License}/{HostId}
获取指定主机代理
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
License |
证件 |
string |
Required |
HostId |
主机标识 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取指定主机代理
SpeedPower.Utility.Models.Helper.ResultMessageOfSpeedPower.Utility.Models.Service.ProxyServer.Service.ProxyClientName | Description | Type | Additional information |
---|---|---|---|
Content | SpeedPower.Utility.Models.Service.ProxyServer.Service.ProxyClient |
None. |
|
Succeed |
操作是否成功 |
boolean |
None. |
Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Content": { "HostId": "sample string 1", "Groups": { "ID": "d85d9b02-d774-4448-b215-ae452782df14", "Name": "sample string 2", "DialInterval": 3, "DelayInterval": 4, "AutoDial": true }, "ProxyInfo": { "ConnectionId": "aa598554-343a-47c9-8bb7-1b9884a6709b", "Status": 0, "Address": "sample string 2", "Port": 3, "SigninTime": "2024-12-24T03:09:35.4358142+08:00", "ExpiredTime": "2024-12-24T03:09:35.4358142+08:00", "LastUsedTime": "2024-12-24T03:09:35.4358142+08:00" } }, "Succeed": true, "Message": "sample string 2" }
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Content.HostId" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Content.Groups.ID" d85d9b02-d774-4448-b215-ae452782df14 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Content.Groups.Name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Content.Groups.DialInterval" 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Content.Groups.DelayInterval" 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Content.Groups.AutoDial" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Content.ProxyInfo.ConnectionId" aa598554-343a-47c9-8bb7-1b9884a6709b --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Content.ProxyInfo.Status" Idle --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Content.ProxyInfo.Address" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Content.ProxyInfo.Port" 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Content.ProxyInfo.SigninTime" 2024-12-24T03:09:35.4358142+08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Content.ProxyInfo.ExpiredTime" 2024-12-24T03:09:35.4358142+08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Content.ProxyInfo.LastUsedTime" 2024-12-24T03:09:35.4358142+08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Succeed" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Message" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e--