GET Api/Service/Proxy/GetOneHostProxy/{License}/{HostId}

获取指定主机代理

Request Information

URI Parameters

NameDescriptionTypeAdditional information
License

证件

string

Required

HostId

主机标识

string

Required

Body Parameters

None.

Response Information

Resource Description

获取指定主机代理

SpeedPower.Utility.Models.Helper.ResultMessageOfSpeedPower.Utility.Models.Service.ProxyServer.Service.ProxyClient
NameDescriptionTypeAdditional 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": "aa339221-ed78-4367-9193-5c7d96c0b049",
      "Name": "sample string 2",
      "DialInterval": 3,
      "DelayInterval": 4,
      "AutoDial": true
    },
    "ProxyInfo": {
      "ConnectionId": "26d9799a-0c67-442c-8c8e-6b9f22427d8e",
      "Status": 0,
      "Address": "sample string 2",
      "Port": 3,
      "SigninTime": "2025-04-03T05:16:25.1666437+08:00",
      "ExpiredTime": "2025-04-03T05:16:25.1666437+08:00",
      "LastUsedTime": "2025-04-03T05:16:25.1666437+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"

aa339221-ed78-4367-9193-5c7d96c0b049
--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"

26d9799a-0c67-442c-8c8e-6b9f22427d8e
--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"

2025-04-03T05:16:25.1666437+08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Content.ProxyInfo.ExpiredTime"

2025-04-03T05:16:25.1666437+08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Content.ProxyInfo.LastUsedTime"

2025-04-03T05:16:25.1666437+08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Succeed"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Message"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--