NEWXRPAAS

新版XRPAAS平台


分页查询项目接口

[TOC]

简要描述
  • 分页查询项目接口
请求URL
  • http://localhost:8188/cloudrender/item/pageItemList?status=1&itemName=1&type=1&current=1&size=5
请求方式
  • GET
参数
参数名 必选 类型 说明
current Integer 页数
size Integer 每页数据个数
status Integer 状态,0未配置并发,1已配置并发
type Integer 项目类型,1单应用独享,2多应用共享
itemName string 项目名称
返回示例
  {
    "code": 10000,
    "state": true,
    "data": {
        "records": [
            {
                "id": 1,
                "loginName": "item1",
                "itemName": "123",
                "status": 1,
                "type": 1,
                "linkAppId": 18,
                "linkAppName": "test1",
                "createTime": "2023-09-01T10:20:33",
                "updateTime": "2023-09-01T10:20:33",
                "useAndConcurrence": "0/6",
                "quotaList": [
                    {
                        "id": 2,
                        "loginName": "item1",
                        "name": "ITMC2",
                        "quotaSign": null,
                        "concurrency": 3,
                        "createTime": "2023-08-25 11:08:15",
                        "auditStatus": 2,
                        "reason": "",
                        "auditCompleteDate": "2023-08-28 10:14:19",
                        "idles": 3,
                        "occupancy": 0,
                        "useAndConcurrence": "0/3",
                        "itemString": null
                    },
                    {
                        "id": 3,
                        "loginName": "item1",
                        "name": "ITMC",
                        "quotaSign": null,
                        "concurrency": 3,
                        "createTime": "2023-08-25 11:08:16",
                        "auditStatus": 2,
                        "reason": "",
                        "auditCompleteDate": "2023-08-11 00:00:00",
                        "idles": 3,
                        "occupancy": 0,
                        "useAndConcurrence": "0/3",
                        "itemString": null
                    }
                ],
                "idles": 6,
                "occupancy": 0,
                "quotaString": "ITMC2,ITMC"
            }
        ],
        "total": 1,
        "size": 1,
        "current": 1,
        "orders": [],
        "optimizeCountSql": true,
        "searchCount": true,
        "countId": null,
        "maxLimit": null,
        "pages": 1
    },
    "message": "分页查询成功",
    "total": null
}
返回参数说明
参数名 类型 说明
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