- Product
- Category
- _User
- _Installation
- Evidence
- Rule
- Device
- _Role
- License
- View
- Crond
- ProductTemplet
- Channel
- LogLevel
- Wechat
- Instruct
- App
- METER
- Gb26875
- System
- Log
- Project
- Group
- Data
- Notification
- TOPO
- _Session
- Menu
- Maintenance
- Timescale
- Permission
- Dict
- Decoder
- OPC
- Devicelog
- aliyun
- FFMPEG
- Article
- Basic
- Dlink
- BACnet
- UniApp
amis查询权限管理
正式环境
https://prod.iotn2n.com
正式环境
https://prod.iotn2n.com
GET
/iotapi/amis/Permission
Permission
请求参数
Query 参数
orderBy
string
可选
orderDir
string
可选
perPage
integer
可选
page
integer
可选
count
string
可选
keys
string
可选
include
string
include
where
string
可选
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://prod.iotn2n.com/iotapi/amis/Permission'
返回响应
🟢200返回权限管理记录数
application/json
Body
results
array[object (Permission) {9}]
可 选
ACL
object
可选
示例值:
{"*":{"read":true,"write":false}}
alias
string
可选
createdAt
string
可选
description
string
可选
name
string
可选
objectId
string
可选
parent
object
可选
tags
array
可选
updatedAt
string
可选
示例
{
"results": [
{
"ACL": {
"*": {
"read": true,
"write": false
}
},
"alias": "string",
"createdAt": "string",
"description": "string",
"name": "string",
"objectId": "string",
"parent": {
"__type": "Pointer",
"className": "Permission",
"objectId": "string"
},
"tags": [
null
],
"updatedAt": "string"
}
]
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🔴500Server Internal error