更新时间:2023-07-06 09:11:56下载pdf
本文介绍批量查询权限接口的 API。
根据权限标识集合批量查询权限接口。
POST: /v1.0/iot-03/idaas/spaces/{space_id}/get-batch-permission
参数名 | 类型 | 参数位置 | 是否必填 | 说明 |
---|---|---|---|---|
space_id | String | uri | true | 空间 ID |
参数名 | 类型 | 说明 |
---|---|---|
result | List |
result
说明
参数名 | 类型 | 说明 |
---|---|---|
permission_code | String | 权限标识 |
name | String | 名称 |
type | Integer | 类型,1.api 2.menu 3.button 4.data 5.combine |
parent_code | String | 父权限标识 |
order | Integer | 展示顺序 |
remark | String | 备注 |
space_id | String | 隔离空间 ID |
gmt_create | String | 创建时间 |
gmt_modified | String | 修改时间 |
POST: /v1.0/iot-03/idaas/spaces/1400762304747802670/get-batch-permission
{
"permissionCodeList": [
"permissionCode"
]
}
{
"result": [
{
"remark": "下单确认按钮",
"type": "button",
"spaceId": 1400762304747802600,
"parentCode": "parentCode",
"name": "确认",
"permissionCode": "commit",
"order": 1
},
{
"remark": "下单确认按钮",
"type": "button",
"spaceId": 1400762304747802600,
"parentCode": "parentCode",
"name": "确认",
"permissionCode": "commit2",
"order": 1
}
],
"t": 1622812752731,
"success": true
}
参考 错误码。
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈