当前位置: 首页 > 工具软件 > documentation > 使用案例 >

API Documentation

西门山
2023-12-01

#官网
https://azkaban.readthedocs.io/en/latest/ajaxApi.html

#登录

[root@hadoop000 jobtypes]# curl -k -X POST --data "action=login&username=pk&password=123456" https://192.168.194.149:8443
{
  "session.id" : "a898e0a7-dd63-458a-8d52-afab856bac5b",
  "status" : "success"
}

#创建项目

[root@hadoop000 jobtypes]# curl -k -X POST --data "session.id=a898e0a7-dd63-458a-8d52-afab856bac5b&name=ajaxproject&description=projectajax" https://19
{"path":"manager?project=ajaxproject","action":"redirect","status":"success"}

#删除

[root@hadoop000 jobtypes]# curl -k --get --data "session.id=a898e0a7-dd63-458a-8d52-afab856bac5b&delete=true&project=ajaxproject" https://192.168.194.149:8443/manager

#信息

[root@hadoop000 jobtypes]# curl -k --get --data "session.id=a898e0a7-dd63-458a-8d52-afab856bac5b&ajax=fetchprojectflows&project=dependency" https://192.168.194.149:8443/manager
{
  "flows" : [ {
    "flowId" : "bar"
  } ],
  "project" : "dependency",
  "projectId" : 1
}[root@hadoop000 jobtypes]# 

 类似资料:

相关阅读

相关文章

相关问答