Get a list of team apps

Basic Information

This interface is mainly used to get the list of all applications under the team

请求路径

  1. GET /openapi/v1/teams/{team_id}/regions/{region_name}/apps

request parameters

nameLocationtyperequiredChinese nameillustrate
team_idpathstringYesnone
region_namepathstringYesnone
queryquerystringnoSearch query application name, team name

return result

status codeStatus code meaningillustratedata model
200OKsuccessInline

return data structure

nametyperequiredconstraintChinese nameillustrate
anonymous[AppBaseInfo]falsenonenone
» IDintegerfalseread-onlyIDnone
» tenant_idstringtruenoneTenant idtenant id
» group_namestringtruenoneGroup namegroup name
» region_namestringtruenoneRegion nameRegional center name
» is_defaultbooleanfalsenoneIs defaultdefault components
» order_indexintegerfalsenoneOrder indexApply sorting
» notestring¦nullfalsenoneNoteRemark
» usernamestring¦nullfalsenoneUsernamethe username of principal
» governance_modestring¦nullfalsenoneGovernance modegovernance mode
» create_timestring(date-time)truenoneCreate timecreation time
» update_timestring(date-time)truenoneUpdate timeupdate time
» app_typestringfalsenoneApp typeApp types
» app_store_namestring¦nullfalsenoneApp store nameapp store name
» app_store_urlstring¦nullfalsenoneApp store urlApp store URL
» app_template_namestring¦nullfalsenoneApp template nameApp template name
» versionstring¦nullfalsenoneVersionHelm app version
» logostring¦nullfalsenoneLogoapplication logo
» k8s_appstringfalsenoneK8s appIn-cluster application name

响应示例

  1. [
  2. {
  3. "ID": 3,
  4. "tenant_id": "string",
  5. "group_name": "string",
  6. "region_name": "string",
  7. "is_default": true,
  8. "order_index": 3 ,
  9. "note": "string",
  10. "username": "string",
  11. "governance_mode": "string",
  12. "create_time": "2004-01-01 11:11:11",
  13. "update_time" : "2004-01-01 11:11:11",
  14. "app_type": "string",
  15. "app_store_name": "string",
  16. "app_store_url": "string",
  17. "app_template_name": "string",
  18. "version": "string",
  19. "logo": "string",
  20. "k8s_app": "string"
  21. }
  22. ]

Model

AppBaseInfo

  1. {
  2. "ID": 0,
  3. "tenant_id": "string",
  4. "group_name": "string",
  5. "region_name": "string",
  6. "is_default": true,
  7. "order_index": -2147483648,
  8. "note": "string",
  9. "username": "string",
  10. "governance_mode": "string",
  11. "create_time": "2019-08-24T14:15:22Z",
  12. "update_time": " 2019-08-24T14:15:22Z",
  13. "app_type": "string",
  14. "app_store_name": "string",
  15. "app_store_url": "string",
  16. "app_template_name": "string",
  17. "version ": "string",
  18. "logo": "string",
  19. "k8s_app": "string"
  20. }

Attributes

nametyperequiredconstraintChinese nameillustrate
IDintegerfalseread-onlyIDnone
tenant_idstringtruenoneTenant idtenant id
group_namestringtruenoneGroup namegroup name
region_namestringtruenoneRegion nameRegional center name
is_defaultbooleanfalsenoneIs defaultdefault components
order_indexintegerfalsenoneOrder indexApply sorting
notestring¦nullfalsenoneNoteRemark
usernamestring¦nullfalsenoneUsernameapplication manager
governance_modestring¦nullfalsenoneGovernance modeApplication Governance Model
create_timestring(date-time)truenoneCreate timecreation time
update_timestring(date-time)truenoneUpdate timeupdate time
app_typestringfalsenoneApp typeApp types
app_store_namestring¦nullfalsenoneApp store nameapp store name
app_store_urlstring¦nullfalsenoneApp store urlApp store URL
app_template_namestring¦nullfalsenoneApp template nameApp template name
versionstring¦nullfalsenoneVersionHelm app version
logostring¦nullfalsenoneLogoapplication logo
k8s_appstringfalsenoneK8s appIn-cluster application name