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

请求路径

  1. 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

  1. {
  2. "total": 0,
  3. "regions": [
  4. {
  5. "region_id": "string",
  6. "region_name": "string",
  7. "region_alias": "string",
  8. "tenant_name": "string ",
  9. "url": "string",
  10. "wsurl": "string",
  11. "httpdomain": "string",
  12. "tcpdomain": "string",
  13. "token": "",
  14. "status" : "st",
  15. "desc": "string",
  16. "scope": "private"
  17. }
  18. ]
  19. }

Attributes

nametyperequiredconstraintChinese nameillustrate
totalintegertruenoneTotalnone
regions[TeamRegionsResp]truenonenone

TeamRegionsResp

  1. {
  2. "region_id": "string",
  3. "region_name": "string",
  4. "region_alias": "string",
  5. "tenant_name": "string",
  6. "url": "string",
  7. "wsurl" : "string",
  8. "httpdomain": "string",
  9. "tcpdomain": "string",
  10. "token": "",
  11. "status": "st",
  12. "desc": "string",
  13. "scope": "private"
  14. }

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