节点详情
测试中
GET
/api/v2/orgs/nodes/{id}
请求参数
Path 参数
id
string
节点 ID
示例值:
string
Header 参数
Authorization
string
必需
示例值:
Bearer token
x-authing-userpool-id
string
用户池 ID
示例值:
61cc2c7bb686e2767125230d
示例代码
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://core.authing.cn/api/v2/orgs/nodes/string' \
--header 'Authorization: Bearer token' \
--header 'x-authing-userpool-id: 61cc2c7bb686e2767125230d '
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object
必需
id
string
必需
createdAt
string
必需
updatedAt
string
必需
userPoolId
string
必需
orgId
string
必需
name
string
必需
nameI18n
null
必需
description
string
必需
descriptionI18n
null
必需
order
null
必需
code
string
必需
leaderUserId
null
必需
__id
null
必需
__parentid
null
必需
__groupid
null
必需
path
array[string]
必需
root
boolean
必需
children
array[string]
必需
示例
{
"code": 200,
"message": "获取成功",
"data": {
"id": "61dd52c73e7d2733f13d80bb",
"createdAt": "2022-01-11T09:49:59.809Z",
"updatedAt": "2022-01-11T09:49:59.809Z",
"userPoolId": "61b95d6c96d42670da568408",
"orgId": "61dd52c7ad9825f8df7f067a",
"name": "fe-console",
"nameI18n": null,
"description": "werwerewr",
"descriptionI18n": null,
"order": null,
"code": "wefwerwr",
"leaderUserId": null,
"__id": null,
"__parentid": null,
"__groupid": null,
"path": [
"61dd52c73e7d2733f13d80bb"
],
"root": true,
"children": [
"61dd52d2d04072108e946432"
]
}
}
修改于 2022-01-24 05:49:28