获取企业配置信息

基本信息

获取企业配置信息

请求路径

  1. GET /openapi/v1/configs

返回结果

状态码状态码含义说明数据模型
200OK成功EnterpriseConfigSeralizer

模型

EnterpriseConfigSeralizer

  1. {
  2. "export_app": {
  3. "enable": false,
  4. "value": "string"
  5. },
  6. "auto_ssl": {
  7. "enable": false,
  8. "value": "string"
  9. },
  10. "oauth_services": {
  11. "enable": false,
  12. "value": [
  13. {
  14. "enable": true,
  15. "auth_url": "string",
  16. "name": "string",
  17. "is_console": false,
  18. "is_auto_login": false,
  19. "service_id": 0,
  20. "oauth_type": "string",
  21. "eid": "string",
  22. "home_url": "string",
  23. "access_token_url": "string",
  24. "api_url": "string",
  25. "is_deleted": false,
  26. "is_git": false
  27. }
  28. ]
  29. },
  30. "cloud_market": {
  31. "enable": false,
  32. "value": "string"
  33. },
  34. "object_storage": {
  35. "enable": false,
  36. "value": {
  37. "provider": "string",
  38. "endpoint": "string",
  39. "access_key": "string",
  40. "secret_key": "string",
  41. "bucket_name": "string"
  42. }
  43. },
  44. "appstore_image_hub": {
  45. "enable": false,
  46. "value": {
  47. "namespace": "string",
  48. "hub_password": "string",
  49. "hub_url": "string",
  50. "hub_user": "string"
  51. }
  52. },
  53. "newbie_guide": {
  54. "enable": false,
  55. "value": "string"
  56. }
  57. }

属性

名称类型必选约束中文名说明
export_appExport appfalsenonenone
auto_sslAuto sslfalsenonenone
oauth_servicesOauth servicesfalsenonenone
cloud_marketCloud marketfalsenonenone
object_storageObject storagefalsenonenone
appstore_image_hubAppstore image hubfalsenonenone
newbie_guideNewbie guidefalsenonenone