GetTurnServerList

更新时间:
复制 MD 格式

Call GetTurnServerList to get a list of front-end access points for Alibaba Cloud Contact Center. Connecting through these access points improves network quality and stability.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The ID of the instance.

ccc-test

Response elements

Element

Type

Description

Example

object

HttpStatusCode

integer

The HTTP status code.

200

Code

string

The response code.

Message

string

The response message.

RequestId

string

The request ID.

Data

string

A list of front-end access point servers.

[ { "region":"hangzhou", "name":"杭州", "domain":"turn-hz-ecs.ccc.aliyuncs.com", "cidr":"172.31.XX.XX/28" }, { "region":"qingdao", "name":"青岛", "domain":"turn-qd-ecs.ccc.aliyuncs.com", "cidr":"172.31.XX.XX/28" }, { "region":"shanghai", "name":"上海", "domain":"turn-sh-ecs.ccc.aliyuncs.com", "cidr":"172.31.XX.XX/28" }, { "region":"chengdu", "name":"成都", "domain":"turn-cd-ecs.ccc.aliyuncs.com", "cidr":"172.31.XX.XX/28" }, { "region":"beijing", "name":"北京", "domain":"turn-bj-ecs.ccc.aliyuncs.com", "cidr":"172.31.XX.XX/28" }, { "region":"huanan", "name":"深圳", "domain":"turn-sz-ecs.ccc.aliyuncs.com", "cidr":"172.31.XX.XX/28" }, { "region":"zhangbei", "name":"张北", "domain":"turn-zb-ecs.ccc.aliyuncs.com", "cidr":"172.31.XX.XX/28" } ]

Params

array

string

The parameters returned in the response.

Examples

Success response

JSON format

{
  "HttpStatusCode": 200,
  "Code": "",
  "Message": "",
  "RequestId": "",
  "Data": "[\n\t{\n\t\t\"region\":\"hangzhou\",\n\t\t\"name\":\"杭州\",\n\t\t\"domain\":\"turn-hz-ecs.ccc.aliyuncs.com\",\n\t\t\"cidr\":\"172.31.XX.XX/28\"\n\t},\n\t{\n\t\t\"region\":\"qingdao\",\n\t\t\"name\":\"青岛\",\n\t\t\"domain\":\"turn-qd-ecs.ccc.aliyuncs.com\",\n\t\t\"cidr\":\"172.31.XX.XX/28\"\n\t},\n\t{\n\t\t\"region\":\"shanghai\",\n\t\t\"name\":\"上海\",\n\t\t\"domain\":\"turn-sh-ecs.ccc.aliyuncs.com\",\n\t\t\"cidr\":\"172.31.XX.XX/28\"\n\t},\n\t{\n\t\t\"region\":\"chengdu\",\n\t\t\"name\":\"成都\",\n\t\t\"domain\":\"turn-cd-ecs.ccc.aliyuncs.com\",\n\t\t\"cidr\":\"172.31.XX.XX/28\"\n\t},\n\t{\n\t\t\"region\":\"beijing\",\n\t\t\"name\":\"北京\",\n\t\t\"domain\":\"turn-bj-ecs.ccc.aliyuncs.com\",\n\t\t\"cidr\":\"172.31.XX.XX/28\"\n\t},\n\t{\n\t\t\"region\":\"huanan\",\n\t\t\"name\":\"深圳\",\n\t\t\"domain\":\"turn-sz-ecs.ccc.aliyuncs.com\",\n\t\t\"cidr\":\"172.31.XX.XX/28\"\n\t},\n\t{\n\t\t\"region\":\"zhangbei\",\n\t\t\"name\":\"张北\",\n\t\t\"domain\":\"turn-zb-ecs.ccc.aliyuncs.com\",\n\t\t\"cidr\":\"172.31.XX.XX/28\"\n\t}\n]",
  "Params": [
    "无"
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 Parameter.Blank The parameter %s may not be null or blank.
400 Parameter.Null The parameter %s may not be null.
404 NotExists.InstanceId The specified instance %s does not exist.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.