-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
api具体怎么调用?token怎么获取,module的value分别是什么意思?求一份文档,感谢 #8
Comments
@wushengyeyouya 大佬,帮忙解决下这个问题 |
能知道怎么调用就行 |
目前我的调用方式需要调用到5个服务:请求发起 -> /tokenQuery (没有拿到token) -> /execute/query_user(我的服务path, token直接数据库取得) -> /93/get (获取任务状态, status为Suucess就继续下一步) -> /getDirFileTrees(获取到path路径,为下一步提供入参) -> /openFile (获取结果) -> 请求结束。 不知道是不是这样,如果是这样,感觉调用一个服务要走这么多接口吗,还是说我理解错了,求大佬帮助 |
楼上的 /execute/query_user操作,会经常性的返回status为Failed的结果,我对比了DSS后台的查询方式,看到了/get请求要反复查询的,这个对于外部系统没法这样调用,请问有别的调用方式吗 |
Data service token from/queryById? Interface returns (page clicks into use), field is userToken. Access to all interfaces is GateWay certified. The token of a data service can only be used for the management process of a data service. Authentication using postman requires either cookies on the page or secret key authentication using linkis-gateway. Add Token-Code: XXX to the headThis specifies the login key for linkis-gateway Token-User: XXX This specifies the login user for linkis-gateway. |
I did it according to this step, and also called execute/{path:*}, but in the step of {id}/get, the status returned was FAILED |
If I want to get the result set, do I have to call 5 interfaces, namely /tokenQuery, /execute/{path:*}, /{id}/get, /getDirFileTrees and /openFile, is this calling method correct? |
path: {id}/get |
Please use execId to call Linkis Java SDK or RestAPI to fetch result. |
api具体怎么调用?token怎么获取,module的value分别是什么意思?求一份文档,感谢
The text was updated successfully, but these errors were encountered: