Skip to main content

Get the list of clusters opened by the team

Basic Information​

This interface is mainly used to obtain the list of clusters opened by the team

请求路径
GET /openapi/v1/teams/{team_id}/regions

request parameters​

nameLocationtyperequiredChinese nameillustrate
team_idpathstringYesnone
queryquerystringnoSearch by data center name
pagequerystringnopage number
page_sizequerystringnoQuantity per page

return result​

status codeStatus code meaningillustratedata model
200OKsuccessListTeamRegionsResp

Model​

ListTeamRegionsResp​

{
"total": 0,
"regions": [
{
"region_id": "string",
"region_name": "string",
"region_alias": "string",
"tenant_name": "string ",
"url": "string",
"wsurl": "string",
"httpdomain": "string",
"tcpdomain": "string",
"token": "",
"status" : "st",
"desc": "string",
"scope": "private"
}
]
}

Attributes​

nametyperequiredconstraintChinese nameillustrate
totalintegertruenoneTotalnone
regions[TeamRegionsResp]truenonenone

TeamRegionsResp​

{
"region_id": "string",
"region_name": "string",
"region_alias": "string",
"tenant_name": "string",
"url": "string",
"wsurl" : "string",
"httpdomain": "string",
"tcpdomain": "string",
"token": "",
"status": "st",
"desc": "string",
"scope": "private"
}

Attributes​

nametyperequiredconstraintChinese nameillustrate
region_idstringtruenoneRegion idregion id
region_namestringtruenoneRegion namedata center name
region_aliasstringtruenoneRegion aliasdata center alias
tenant_namestringtruenoneTenant nameTenant name
urlstringtruenoneUrlDatacenter API url
wsurlstringtruenoneWsurldatacenter websocket url
httpdomainstringtruenoneHttpdomainData center http application access root domain name
tcpdomainstringtruenoneTcpdomainData center tcp application access root domain name
tokenstring¦nullfalsenoneTokendata center token
statusstringtruenoneStatusData Center Status 0:Editing 1: Enabled 2:Disabled 3: In Maintenance
descstringtruenoneDescData Center Description
scopestringfalsenoneScopeDatacenter-wide private