跳到主要内容

endpoints.api

获取所有授权的Api端点

  • 请求路由: endpoints.api
  • 交互模型: Request Stream
  • 访问限制: 无

请求​

RSocket.rs({
"route" : "endpoints.api"
});

请求参数​

无

返回​

授权给当前用户的Api端点列表

[
{
"id" : "app.drivers.console.{id}.completed",
"title" : "控制台设置乘客到达目的地(专车订单已完成)",
"parent" : "ccOrder",
"service" : "cbv-main",
"scope" : "cbv",
"route" : "app.drivers.console.{id}.completed",
"frameType" : "REQUEST_RESPONSE"
},
{
"id" : "app.drivers.feedback",
"title" : "添加反馈",
"parent" : "feedback",
"service" : "cbv-main",
"scope" : "cbv",
"route" : "app.drivers.feedback",
"frameType" : "REQUEST_RESPONSE"
},
{
"id" : "app.drivers.{id}.completed",
"title" : "乘客到达目的地(专车订单已完成)",
"parent" : "ccOrder",
"service" : "cbv-main",
"scope" : "cbv",
"route" : "app.drivers.{id}.completed",
"frameType" : "REQUEST_RESPONSE"
},
{
"id" : "app.drivers.{id}.vehicle.{vehicleId}",
"title" : "司机接单(专车订单已确定)",
"parent" : "ccOrder",
"service" : "cbv-main",
"scope" : "cbv",
"route" : "app.drivers.{id}.vehicle.{vehicleId}",
"frameType" : "REQUEST_RESPONSE"
},
{
"id" : "auth",
"title" : "登录认证",
"parent" : "auth-parent",
"service" : "idm",
"route" : "auth",
"frameType" : "REQUEST_RESPONSE"
},
{
"id" : "auth-parent",
"title" : "认证",
"service" : "idm"
}
]

返回属性​

名称类型说明
idStringAPI端点标识
titleStringAPI端点标题
parentString父API端点
serviceString所属Taurus服务标识
scopeString所属应用Scope
routeStringAPI route
frameTypeStringRSocket 交互类型

下载结果模型定义