List DA IPs

This API is used to list IPs of DA.

Note:

  1. By default, all IP addresses of DA type are found.
  2. If ifMt=false, all IP addresses of DA type other than MT are queried.

1. Request Definition

  • API URL
https://base-api.swiftfederation.com/v1.1/infras/ips
https://base-api.swiftfederation.com/v1.1/infras/ips?isMt=false
  • Request Protocol
GET
  • Request Header

Request Header

  • Request Body

No request body for this API.

  • Request Example
GET /v1.1/infras/ips HTTP/1.1
Host: base-api.swiftfederation.com

Authorization:HMAC-SHA256 V265i4K31j991E19:bc051d2e520a462e36455dc75b2bc68e9a135bbf4d2fefbf6d2fc1f28c5aa5dc
Content-Type:application/json; charset=utf-8
X-SFD-Date:20220920T011000Z
X-SFD-Nonce:69527

2. Response Definition

This section is intended to describe response header and body data definition.

2.1. Success Response

  • Success Response Body
Field Data Type Description
ips list of str list of IPs for that node, both primary and additional
  • Success Response Body Example
{
"ips": [
"123.1.22.21",
"123.1.22.22",
"10.2.20.20",
"85.238.102.75",
"217.25.231.201",
"10.20.0.10",
"10.20.1.10",
"10.20.0.11",
"10.20.0.12",
"1.2.3.62",
"34.253.38.15",
"172.16.38.72",
"34.240.201.131",
"172.16.41.251",
"34.255.238.86",
"172.16.33.251",
"10.20.0.5",
"1.22.33.52",
"1.22.33.53",
"fe80::450f:b3b6:6673:8ae3"
]
}

2.2. Error Response

  • Error Response Code

Error Code

  • Error Response Example
HTTP/1.1 401 
{
    "code":"AccessCredential.Invalid",
    "message":"Access key id is not correct.",
    "requestId":"aaaad71588f4ccea"
}
           Updated 2022-09-20 12:01:43

results matching ""

    No results matching ""