快速开始
几分钟内完成首次请求。接口默认通过反向代理同域访问,实际地址以部署环境为准。
准备已部署的 rpicx 服务地址。需要登录的用户接口还需要在控制台获取 Bearer Token;公开接口无需认证。
健康检查接口无需认证:
curl -i https://your-domain.example/healthz查询公开系统配置:
curl -H "Accept: application/json" \ https://your-domain.example/api/v1/system-configs请求认证接口
Section titled “请求认证接口”登录后取得令牌,并在后续用户接口中传入:
curl -H "Authorization: Bearer YOUR_TOKEN" \ -H "Accept: application/json" \ https://your-domain.example/api/v1/user/profile请将 YOUR_TOKEN 替换为真实令牌,不要将令牌提交到代码仓库或公开日志。
