Get application upgradeable information

Basic Information

This interface is mainly used to obtain application upgradeable information

请求路径

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

request parameters

nameLocationtyperequiredChinese nameillustrate
app_idpathintegerYesapplication group id
team_idpathstringYesnone
region_namepathstringYesnone

return result

status codeStatus code meaningillustratedata model
200OKsuccessInline

return data structure

响应示例

  1. [
  2. {
  3. "market_name": "string",
  4. "app_model_id": "string",
  5. "app_model_name": "string",
  6. "current_version": "string",
  7. "enterprise_id": "string",
  8. " can_upgrade": true,
  9. "upgrade_versions": [
  10. "string"
  11. ],
  12. "source": "string"
  13. }
  14. ]
nametyperequiredconstraintChinese nameillustrate
anonymous[ListUpgrade]falsenonenone
» market_namestringtruenoneMarket nameapp store name
» app_model_idstringtruenoneApp model idapplication model id
» app_model_namestringtruenoneApp model nameApp model name
» current_versionstringtruenoneCurrent versioncurrent version
» enterprise_idstringtruenoneEnterprise identerprise id
» can_upgradebooleantruenoneCan upgradeupgradeable
» upgrade_versions[string]truenoneList of upgradeable versions
» sourcestringtruenoneSourceApplication Model Source

Model

ListUpgrade

  1. {
  2. "market_name": "string",
  3. "app_model_id": "string",
  4. "app_model_name": "string",
  5. "current_version": "string",
  6. "enterprise_id": "string",
  7. "can_upgrade" : true,
  8. "upgrade_versions": [
  9. "string"
  10. ],
  11. "source": "string"
  12. }

Attributes

nametyperequiredconstraintChinese nameillustrate
market_namestringtruenoneMarket nameapp store name
app_model_idstringtruenoneApp model idapplication model id
app_model_namestringtruenoneApp model nameApp model name
current_versionstringtruenoneCurrent versioncurrent version
enterprise_idstringtruenoneEnterprise identerprise id
can_upgradebooleantruenoneCan upgradeupgradeable
upgrade_versions[string]truenoneList of upgradeable versions
sourcestringtruenoneSourceApplication Model Source