获取任务分组列表(包含任务数统计)

<基本信息>

Path /apiapi/group/list/withcount

Method GET

请求参数类型: URL路径参数

响应参数类型:JSON


<请求参数>

请求示例

curl -H "token:a3af84f7c1d0d935024ba58b5da78aaa"  https://v6-api.jiankongbao.com/apiapi/group/list/withcount


<返回数据>

名称

类型

是否必须

默认值

备注

其他信息

 count

number

必须


该分组向下包含的任务个数

备注: 该分组向下包含的任务个数

 id

number

必须


分组id

备注: 分组id

 isParent

boolean

必须


是否为

备注: 是否为

 name

string

必须


分组名称

备注: 分组名称

 open

boolean

必须




 origin_name

string

必须


初始化分组名称

备注: 初始化分组名称

 pId

number

必须


父级id名称

备注: 父级id名称

响应示例

[
    {
        "count": 581,
        "id": -1,
        "pId": 0,
        "isParent": false,
        "open": true,
        "origin_name": "未分组项目",
        "name": "未分组项目(581)"
    },
    {
        "count": 14,
        "id": 2684,
        "pId": 0,
        "isParent": true,
        "open": true,
        "origin_name": "1",
        "name": "1(14)"
    }
   ......
]