获取子节点列表
测试中GET
/api/v2/orgs/children请求参数
Query 参数
nodeId
string
节点 ID
示例值:
ftyftyf76f82fu3g87fg3
orgId
string
组织机构 ID
示例值:
envh98h3934h30h43iueiuv
Header 参数
Authorization
string
必需
用户池管理员 Token
示例值:
Bearer token
x-authing-userpool-id
string
用户池 ID
示例值:
61cc2c7bb686e2767125230d
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
array [object {19}]
必需
depth
integer
可选
id
string
可选
createdAt
string
可选
updatedAt
string
可选
userPoolId
string
可选
orgId
string
可选
name
string
可选
nameI18n
null
可选
description
null
可选
descriptionI18n
null
可选
order
null
可选
code
null
可选
leaderUserId
null
可选
__id
null
可选
__parentid
null
可选
__groupid
null
可选
path
array[string]
可选
root
boolean
可选
children
array[string]
可选
示例
{
"code": 200,
"message": "获取成功",
"data": [
{
"depth": 1,
"id": "61c2bdc56c95dcb2317dac77",
"createdAt": "2021-12-22T05:55:17.627Z",
"updatedAt": "2021-12-22T05:55:17.627Z",
"userPoolId": "59f86b4832eb28071bdd9214",
"orgId": "613ef19b62aebcf24c423ff4",
"name": "elmvetmvbt",
"nameI18n": null,
"description": null,
"descriptionI18n": null,
"order": null,
"code": null,
"leaderUserId": null,
"__id": null,
"__parentid": null,
"__groupid": null,
"path": [
"613ef19b677706513bb4bd40",
"61c2bdc56c95dcb2317dac77"
],
"root": false,
"children": [
"61c2bf73f109d04269dc5043"
]
}
]
}
最后修改时间: 3 年前