文档
测试

获取可切换的线路列表

GET
http://{{ego-local-test}}/ego/vpn-bss/region-configs?switchable=true

请求头

参数名
类型
描述
必填
Authorization
string
示例:Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE3NzAxMzUyMTM1IiwiZXhwIjoxNjc0NzI1NDM2LCJpYXQiOjE2NDMxODk0MzZ9.k-UCcTH7O9AmoIUo62Vkn7X5dNcAdyaMA3DKHlfwZmo
必填

请求参数

参数名
类型
描述
必填
switchable
string
示例:true
必填

响应参数

参数名
类型
描述
必填
code
string
示例:200
必填
message
object
示例:null
必填
success
boolean
示例:true
必填
data
array
数据列表
必填
id
string
示例:2001
必填
country
string
示例:美国
必填
location
string
示例:线路一
必填
parentId
string
示例:2001
必填
groupId
string
示例:2001
必填
createdTime
string
示例:2021-11-22 17:38:00
必填
updatedTime
string
示例:2021-11-22 17:38:04
必填

说明 / 示例

{ "code": "200", "message": null, "success": true, "data": [ { "id": "2001", "country": "美国", "location": "线路一", "parentId": "2001", "groupId": "2001", "createdTime": "2021-11-22 17:38:00", "updatedTime": "2021-11-22 17:38:04" }, { "id": "2002", "country": "日本", "location": "线路一", "parentId": "2002", "groupId": "2002", "createdTime": "2022-01-26 15:53:16", "updatedTime": "2022-01-26 15:53:19" }, { "id": "2003", "country": "美国", "location": "线路二", "parentId": "2001", "groupId": "2003", "createdTime": "2022-01-26 17:06:09", "updatedTime": "2022-01-26 17:06:12" }, { "id": "2004", "country": "日本", "location": "线路二", "parentId": "2002", "groupId": "2004", "createdTime": "2022-01-26 17:07:03", "updatedTime": "2022-01-26 17:07:06" } ] }