我正在尝试使用文档化的API查询dremio以获取用户列表。Dremio版本:
Build
20.2.2-202203241726030461-f7eea3e0
Edition
Enterprise EditionAPI:https://docs.dremio.com/software/rest-api/user/list-users/示例查询:
curl -X GET --location "http://localhost:9047/api/v3/user" \
-H "Authorization: _dremiohrr395nv31g8k610616tucp91g" \
-H "Content-Type: application/json" \
-H "Accept: application/json"我一直在犯这个错误:
{
"errorMessage": "Something went wrong. Please check the log file for details, see https://docs.dremio.com/advanced-administration/log-files.html",
"moreInfo": "HTTP 405 Method Not Allowed"
}似乎根本不支持这个API。
是否有一个已发布的API来列出所有用户,以便我可以获得用户名、uid和角色成员资格?我试图避免使用SQL查询。
发布于 2022-05-14 05:48:43
v3列表用户API是错误的。
用户apiv2/用户工作
https://stackoverflow.com/questions/72130499
复制相似问题