docs
api
Global Dynamic Acceleration(PathX)
DescribeUPath

Obtain acceleration line information - DescribeUPath

Overview

Obtain acceleration line information

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeUPath.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
ProjectIdstringProject ID. Please refer to the GetProjectList interface.Yes
UPathIdstringIf no parameters are filled in, it returns all line resources under ProjectId. If this parameter is filled in, it returns the line matching the upath instance ID.No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
UPathSetarray[UPathInfo]Route Information ArrayYes

Data Model

UPathInfo

Field NameTypeDescription InformationRequired
PostPaidbooleanIs it a postpaid instance?No
ChargeTypestringBilling mode, default is 'Month' for monthly charges, optional range ['Month','Year','Dynamic']No
NamestringUPath Instance NameNo
UPathIdstringUPath Acceleration Route Instance IDNo
BandwidthintBandwidth, unit MbpsNo
LineIdstringSelected LineNo
UGAListarray[PathXUGAInfo]The list of UGAs bound to this UPathNo
CreateTimeintCreation time of UPath, 10-digit timestampNo
ExpireTimeintExpiration time of UPath, 10-digit timestampNo
LineFromNamestringEntry Route NameNo
LineToNamestringLine Exit NameNo
OutPublicIpListarray[OutPublicIpInfo]Exit IP Array of the LineNo

PathXUGAInfo

Field NameTypeDescription InformationRequired
UGAIdstringAcceleration Configuration IDNo
IPListarray[string]List of source station IPs, multiple values separated by a comma.No
DomainstringSource DomainNo

OutPublicIpInfo

Field NameTypeDescription InformationRequired
IPstringLine Back-to-Source Node EIPNo
AreastringBack-to-source node data center codeNo

Example

Request Example

https://api.surfercloud.com/?Action=DescribeUPath
&ProjectId=org-xxxx
&UPathId=upath-2noe2u

Response Example

{
  "Action": "DescribeUPathResponse",
  "Message": "",
  "RetCode": 0,
  "UPathSet": [
    {
      "Bandwidth": 1,
      "ChargeType": "Month",
      "CreateTime": 1542029575,
      "ExpireTime": 1569859200,
      "LineFromName": "中国(多地)",
      "LineId": "line_cn_afr-nigeria",
      "LineToName": "拉各斯",
      "Name": "中国多地到拉各斯_0",
      "OutPublicIpList": [
        {
          "Area": "afr-nigeria",
          "IP": "152.32.140.87"
        },
        {
          "Area": "afr-nigeria",
          "IP": "152.32.140.102"
        },
        {
          "Area": "afr-nigeria",
          "IP": "152.32.140.64"
        },
        {
          "Area": "afr-nigeria",
          "IP": "152.32.140.105"
        },
        {
          "Area": "afr-nigeria",
          "IP": "152.32.140.15"
        },
        {
          "Area": "afr-nigeria",
          "IP": "152.32.140.55"
        }
      ],
      "PostPaid": false,
      "UGAList": [
        {
          "Domain": "",
          "IPList": [
            "152.32.140.170"
          ],
          "UGAId": "uga-2yftnppa"
        }
      ],
      "UPathId": "upath-2noe2u"
    }
  ]
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved