NEWXRPAAS

新版XRPAAS平台


应用详情

[TOC]

  • 需要请求两个接口获取到所有数据
简要描述
  • 应用详情
请求URL-1
  • http://localhost:8188/cloudrender/appVersion/applicationDetails?appId=18
请求方式
  • POST
参数
参数名 必选 类型 说明
appId int 应用id
返回示例
  {
    "code": 10000,
    "state": true,
    "data": [
        {
            "runningState": "正常运行",
            "createTime": "2023-08-24T16:54:53",
            "appName": "太空装电梯",
            "appId": 18
        },
        {
            "displayArea": null,
            "exePath": "StreamingWebApp_Install/webserver.exe"
        },
        {
            "versionCount": 4,
            "createTime": "2023-09-19T13:30:11",
            "currentVersion": 1,
            "updateStatus": "无"
        }
    ],
    "message": "应用详情查询成功",
    "total": null
}
返回参数说明
参数名 类型 说明
data List 三个map对应:应用信息、应用配置、应用版本
请求URL-2
  • http://localhost:8188/cloudrender/item/appItemList?appId=18
请求方式
  • GET
参数
参数名 必选 类型 说明
appId int 应用id
返回示例
  {
    "code": 10000,
    "state": true,
    "data": [
        {
            "id": 4,
            "loginName": "ITMC1",
            "itemName": "哈哈哈",
            "status": 1,
            "type": 2,
            "linkAppId": null,
            "linkAppName": null,
            "createTime": "2023-09-18T08:47:22",
            "updateTime": "2023-09-18T08:47:22",
            "useAndConcurrence": "0/5",
            "quotaList": [
                {
                    "id": 18,
                    "loginName": "ITMC1",
                    "name": "ITMC",
                    "quotaSign": 4,
                    "concurrency": 5,
                    "createTime": "2023-09-12 10:06:22.0",
                    "auditStatus": 2,
                    "reason": "",
                    "auditCompleteDate": "2023-09-18 14:04:26.0",
                    "idles": 5,
                    "occupancy": 0,
                    "useAndConcurrence": "0/5",
                    "itemString": null,
                    "type": null
                }
            ],
            "idles": 5,
            "occupancy": 0,
            "quotaString": "ITMC"
        },
        {
            "id": 5,
            "loginName": "ITMC1",
            "itemName": "阿松大",
            "status": 1,
            "type": 1,
            "linkAppId": 18,
            "linkAppName": "太空装电梯",
            "createTime": "2023-09-06T08:57:03",
            "updateTime": "2023-09-06T08:57:03",
            "useAndConcurrence": "0/0",
            "quotaList": [],
            "idles": 0,
            "occupancy": 0,
            "quotaString": "-"
        }
    ],
    "message": "查询关联该应用的所有项目查询成功",
    "total": 2
}
返回参数说明
参数名 类型 说明
id int 项目Id
itemName String 项目名称
status int 状态,0未配置并发,1已配置并发
type int 项目类型,1单应用独享,2多应用共享
linkAppId int 关联应用Id
linkAppName String 关联应用名称
createTime DateTime 创建时间
updateTime DateTime 更新时间
idles int 并发数
occupancy int 空闲数
useAndConcurrence String 空闲数/并发数
quotaString String 配额规格
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML