大屏
更新时间:2023-02-02
获取大屏树形目录列表
接口简介
获取某空间所有大屏树形目录列表
接口详情
请求地址
/openapi/v2/group/{groupKey}/dashboard
请求类型
GET
请求参数
无
返回正确 JSON 示例
{
"data": [
{
"hash": "d_ada15-8tkyaopy-wkx6ky",
"name": "大屏1",
"remark": "用户10创建的",
"type": 1,
"orderIndex": 1,
"isTemplet": false,
"authType": 0,
"isPublic": false,
"isPub": true,
"isDev": false
},
{
"hash": "d_ada15-5cuhym18-pm192o",
"name": "b创建的大屏",
"remark": "用户18创建的",
"type": 1,
"orderIndex": 2,
"isTemplet": false,
"authType": 0,
"isPublic": false,
"isPub": false,
"isDev": false
},
{
"hash": "d_ada15-7p39wnhu-bk7jkq",
"name": "大屏3",
"remark": "",
"type": 1,
"orderIndex": 3,
"isTemplet": false,
"authType": 0,
"isPublic": false,
"isPub": false,
"isDev": false
},
{
"hash": "d_ada15-3enqwwgj-wko9k3",
"name": "大屏文件夹",
"remark": "",
"type": 0,
"children": [
{
"hash": "d_ada15-6awllf72-5294mr",
"name": "文件夹中第一个",
"remark": "",
"type": 1,
"orderIndex": 1,
"isTemplet": false,
"authType": 0,
"isPublic": false,
"isPub": false,
"isDev": false
},
{
"hash": "d_ada15-bu7zfuwr-xmrpk1",
"name": "文件夹中文件夹",
"remark": "",
"type": 0,
"children": [
{
"hash": "d_ada15-clph4g7r-ekl426",
"name": "II_大屏",
"remark": "",
"type": 1,
"orderIndex": 1,
"isTemplet": false,
"authType": 0,
"isPublic": false,
"isPub": false,
"isDev": false
}
],
"orderIndex": 2,
"isTemplet": false,
"authType": 0,
"isPublic": false,
"isPub": false,
"isDev": false
}
],
"orderIndex": 4,
"isTemplet": false,
"authType": 0,
"isPublic": false,
"isPub": true,
"isDev": false
}
]
}
返回错误 JSON 示例
{
msg: '错误详情',
status:499
}
请求示例
某用户有权限查看的大屏树形列表
接口简介
某用户有权限查看的大屏树形列表
接口详情
请求地址
/openapi/v2/group/{groupKey}/dashboard/dashboardOfUser
请求类型
GET
请求参数
参数名 | 类型 | 必填 | 描述 | 默认值 | 参考值 |
---|---|---|---|---|---|
userEmail | String | 是 | 用户账号邮箱 | - | a@baidu.com |
返回正确 JSON 示例
{
"data": [
{
"hash": "d_ada15-8tkyaopy-wkx6ky",
"name": "大屏1",
"remark": "用户10创建的",
"type": 1,
"orderIndex": 1,
"isTemplet": false,
"authType": 0,
"isPublic": false,
"isPub": true,
"isDev": false
},
{
"hash": "d_ada15-5cuhym18-pm192o",
"name": "b创建的大屏",
"remark": "用户2创建的",
"type": 1,
"orderIndex": 2,
"isTemplet": false,
"authType": 0,
"isPublic": false,
"isPub": false,
"isDev": false
},
{
"hash": "d_ada15-7p39wnhu-bk7jkq",
"name": "大屏3",
"remark": "",
"type": 1,
"orderIndex": 3,
"isTemplet": false,
"authType": 0,
"isPublic": false,
"isPub": false,
"isDev": false
},
{
"hash": "d_ada15-3enqwwgj-wko9k3",
"name": "大屏文件夹",
"remark": "",
"type": 0,
"children": [
{
"hash": "d_ada15-6awllf72-5294mr",
"name": "I-大屏test",
"remark": "",
"type": 1,
"orderIndex": 1,
"isTemplet": false,
"authType": 0,
"isPublic": false,
"isPub": false,
"isDev": false
},
{
"hash": "d_ada15-bu7zfuwr-xmrpk1",
"name": "文件夹中文件夹",
"remark": "",
"type": 0,
"children": [
{
"hash": "d_ada15-clph4g7r-ekl426",
"name": "IIS大屏",
"remark": "",
"type": 1,
"orderIndex": 1,
"isTemplet": false,
"authType": 0,
"isPublic": false,
"isPub": false,
"isDev": false
}
],
"orderIndex": 2,
"isTemplet": false,
"authType": 0,
"isPublic": false,
"isPub": false,
"isDev": false
}
],
"orderIndex": 4,
"isTemplet": false,
"authType": 0,
"isPublic": false,
"isPub": true,
"isDev": false
}
]
}
返回错误 JSON 示例
{
msg: '错误详情',
status:499
}