NEWXRPAAS

新版XRPAAS平台


分页查询配额接口

[TOC]

简要描述
  • 分页查询配额接口
请求URL
  • http://localhost:8188/cloudrender/item/pageQuotaList?current=1&size=5&itemId=1&status=0&name=ITMC
请求方式
  • GET
参数
参数名 必选 类型 说明
current Integer 页数
size Integer 每页数据个数
status Integer 0表示直接查,1表示排除当前项目之外的配额,2表示当前项目的配额
name string 配额名称
itemId int 项目Id
返回示例
  {
    "code": 10000,
    "state": true,
    "data": {
        "records": [
            {
                "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": "123,1231"
            },
            {
                "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": "123,1231"
            }
        ],
        "total": 2,
        "size": 2,
        "current": 1,
        "orders": [],
        "optimizeCountSql": true,
        "searchCount": true,
        "countId": null,
        "maxLimit": null,
        "pages": 1
    },
    "message": "分页查询成功",
    "total": null
}
返回参数说明

|id |int |项目Id | |name |String |配额名称 | |concurrency |int |并发数 | |auditStatus |int |审核状态, 1:审核中,2:审核通过,3:审核失败 | |createTime |DateTime |创建时间 | |auditCompleteDate |DateTime |更新时间 | |idles |int |并发数 | |occupancy |int |空闲数 | |itemString |String |关联项目 | |useAndConcurrence |String |空闲数/并发数 |

备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML