{"info":{"_postman_id":"2cd0651c-086c-409e-b452-f1c87c74887a","name":"azkaban-api","description":"<html><head></head><body><p>azkaban相关API</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"2759292","collectionId":"2cd0651c-086c-409e-b452-f1c87c74887a","publishedId":"S1TbUaeU","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-06-12T07:01:55.000Z"},"item":[{"name":"登录\bazkaban","id":"b043be99-eda5-44ba-b025-2d02d586aa49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"action","value":"login","type":"text"},{"key":"username","value":"azkaban","type":"text"},{"key":"password","value":"azkaban","type":"text"}]},"url":"http://{{azkaban.server}}","description":"<p>application/json\n{\n    \"session.id\": \"e17a22d7-17e2-4d62-bdb5-0edc2a9c0d66\",\n    \"status\": \"success\"\n}\n{\n    \"error\": \"Incorrect Login. Username/Password not found.\"\n}</p>\n","urlObject":{"protocol":"http","host":["{{azkaban.server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b043be99-eda5-44ba-b025-2d02d586aa49"},{"name":"创建项目","id":"10ec8d3a-9d5b-4807-aeb8-3cef09029c13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"action","value":"create","type":"text"},{"key":"session.id","value":"e17a22d7-17e2-4d62-bdb5-0edc2a9c0d66","type":"text"},{"key":"name","value":"apiTest2019","type":"text"},{"key":"description","value":"desc","type":"text"}]},"url":"http://{{azkaban.server}}/manager","description":"<p>{\"path\":\"manager?project=apiTest2019\",\"action\":\"redirect\",\"status\":\"success\"}</p>\n","urlObject":{"protocol":"http","path":["manager"],"host":["{{azkaban.server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"10ec8d3a-9d5b-4807-aeb8-3cef09029c13"},{"name":"删除项目","id":"7a07ca38-6529-439e-b863-fd01b78b2ce5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"session.id","value":"e17a22d7-17e2-4d62-bdb5-0edc2a9c0d66","type":"text"},{"key":"project","value":"shirukai12312","type":"text"}]},"url":"http://{{azkaban.server}}/manager?delete=true&project=32434","urlObject":{"protocol":"http","path":["manager"],"host":["{{azkaban.server}}"],"query":[{"key":"delete","value":"true"},{"key":"project","value":"32434"}],"variable":[]}},"response":[],"_postman_id":"7a07ca38-6529-439e-b863-fd01b78b2ce5"},{"name":"查询Flow信息","id":"18f4343d-a52a-42eb-afd1-3eb8deebcd6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{azkaban.server}}/executor?ajax=fetchexecflow&session.id=fcfd576c-6ca8-4b07-9a60-23367af54082&execid=3001","urlObject":{"protocol":"http","path":["executor"],"host":["{{azkaban.server}}"],"query":[{"key":"ajax","value":"fetchexecflow"},{"key":"session.id","value":"fcfd576c-6ca8-4b07-9a60-23367af54082"},{"key":"execid","value":"3001"}],"variable":[]}},"response":[],"_postman_id":"18f4343d-a52a-42eb-afd1-3eb8deebcd6f"},{"name":"查询Flow的执行记录","id":"4a0d49f2-5732-47fd-9d8b-3a17828a8cb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{azkaban.server}}/manager?ajax=fetchFlowExecutions&session.id=fcfd576c-6ca8-4b07-9a60-23367af54082&project=project_000001_8aaa1e8f666233330166ae3838770235&flow=hiacloud&start=0&length=10","urlObject":{"protocol":"http","path":["manager"],"host":["{{azkaban.server}}"],"query":[{"key":"ajax","value":"fetchFlowExecutions"},{"key":"session.id","value":"fcfd576c-6ca8-4b07-9a60-23367af54082"},{"key":"project","value":"project_000001_8aaa1e8f666233330166ae3838770235"},{"key":"flow","value":"hiacloud"},{"key":"start","value":"0"},{"key":"length","value":"10"}],"variable":[]}},"response":[],"_postman_id":"4a0d49f2-5732-47fd-9d8b-3a17828a8cb8"},{"name":"执行Flow","id":"7a6c32a8-d44d-495c-9091-155034d200c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://{{azkaban.server}}/executor?ajax=executeFlow&session.id=fcfd576c-6ca8-4b07-9a60-23367af54082&project=project_000001_8aaa1e8f666233330166ae3838770235&flow=hiacloud","urlObject":{"protocol":"http","path":["executor"],"host":["{{azkaban.server}}"],"query":[{"key":"ajax","value":"executeFlow"},{"key":"session.id","value":"fcfd576c-6ca8-4b07-9a60-23367af54082"},{"key":"project","value":"project_000001_8aaa1e8f666233330166ae3838770235"},{"key":"flow","value":"hiacloud"}],"variable":[]}},"response":[],"_postman_id":"7a6c32a8-d44d-495c-9091-155034d200c9"},{"name":"取消Flow","id":"5a8e25b5-2c03-4cdf-b000-e51939c45e2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{azkaban.server}}/executor?ajax=cancelFlow&session.id=fcfd576c-6ca8-4b07-9a60-23367af54082&execid=3001","urlObject":{"protocol":"http","path":["executor"],"host":["{{azkaban.server}}"],"query":[{"key":"ajax","value":"cancelFlow"},{"key":"session.id","value":"fcfd576c-6ca8-4b07-9a60-23367af54082"},{"disabled":true,"key":"project","value":"project_000001_8aaa1e8f666233330166ae3838770235"},{"key":"execid","value":"3001"}],"variable":[]}},"response":[],"_postman_id":"5a8e25b5-2c03-4cdf-b000-e51939c45e2d"},{"name":"查询执行Job的日志","id":"4dee5d7d-e9e7-4fc6-8965-f4404dc3fe01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{azkaban.server}}/executor?ajax=fetchExecJobLogs&session.id=4e2aaa6d-937c-40fd-afe4-762e3b87349a&execid=3001&jobId=hiacloud&offset=0&length=100","urlObject":{"protocol":"http","path":["executor"],"host":["{{azkaban.server}}"],"query":[{"key":"ajax","value":"fetchExecJobLogs"},{"key":"session.id","value":"4e2aaa6d-937c-40fd-afe4-762e3b87349a"},{"key":"execid","value":"3001"},{"key":"jobId","value":"hiacloud"},{"key":"offset","value":"0"},{"key":"length","value":"100"}],"variable":[]}},"response":[],"_postman_id":"4dee5d7d-e9e7-4fc6-8965-f4404dc3fe01"},{"name":"获取所有项目","id":"a888ee20-2614-4410-a902-67434041354b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{azkaban.server}}/index?ajax=fetchuserprojects&session.id={1}","urlObject":{"protocol":"http","path":["index"],"host":["{{azkaban.server}}"],"query":[{"key":"ajax","value":"fetchuserprojects"},{"key":"session.id","value":"{1}"}],"variable":[]}},"response":[],"_postman_id":"a888ee20-2614-4410-a902-67434041354b"},{"name":"设置定时调度","id":"926a2dc5-7aa9-4890-8700-fb8c16702057","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"ajax","value":"scheduleCronFlow","type":"text","disabled":true},{"key":"session.id","value":"4e2aaa6d-937c-40fd-afe4-762e3b87349a","type":"text","disabled":true},{"key":"projectName","value":"project_000001_8aaa1e8f666233330166ae3838770235","type":"text","disabled":true},{"key":"flow","value":"hiacloud","type":"text","disabled":true},{"key":"cronExpression","value":"0 0 0/1 * * ? ","type":"text","disabled":true}]},"url":"http://{{azkaban.server}}/schedule?ajax=scheduleCronFlow&session.id=4e2aaa6d-937c-40fd-afe4-762e3b87349a&projectName=project_000001_8aaa1e8f666233330166ae3838770235&flow=hiacloud&cronExpression=0 0 0/1 * * ? ","urlObject":{"protocol":"http","path":["schedule"],"host":["{{azkaban.server}}"],"query":[{"key":"ajax","value":"scheduleCronFlow"},{"key":"session.id","value":"4e2aaa6d-937c-40fd-afe4-762e3b87349a"},{"key":"projectName","value":"project_000001_8aaa1e8f666233330166ae3838770235"},{"key":"flow","value":"hiacloud"},{"key":"cronExpression","value":"0 0 0/1 * * ? "}],"variable":[]}},"response":[],"_postman_id":"926a2dc5-7aa9-4890-8700-fb8c16702057"},{"name":"查询定时任务","id":"9e0ee5a1-45fb-4059-86da-4f201ae7d7f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://{{azkaban.server}}/schedule?ajax=fetchSchedule&session.id=4e2aaa6d-937c-40fd-afe4-762e3b87349a&projectId=514&flowId=hiacloud","urlObject":{"protocol":"http","path":["schedule"],"host":["{{azkaban.server}}"],"query":[{"key":"ajax","value":"fetchSchedule"},{"key":"session.id","value":"4e2aaa6d-937c-40fd-afe4-762e3b87349a"},{"key":"projectId","value":"514"},{"key":"flowId","value":"hiacloud"}],"variable":[]}},"response":[],"_postman_id":"9e0ee5a1-45fb-4059-86da-4f201ae7d7f6"},{"name":"删除定时任务","id":"280a3a14-ef2f-4511-9763-d32e4eaa23d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"action","value":"removeSched","type":"text"},{"key":"\bsession.id","value":"4e2aaa6d-937c-40fd-afe4-762e3b87349a","type":"text"},{"key":"scheduleId","value":"1","type":"text"}]},"url":"http://{{azkaban.server}}/schedule","urlObject":{"protocol":"http","path":["schedule"],"host":["{{azkaban.server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"280a3a14-ef2f-4511-9763-d32e4eaa23d4"},{"name":"上传zip包","id":"cef88bed-3c6a-4615-ab1c-dbbee01ef01d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","value":null,"warning":"This file resides outside the working directory. Collaborators might not have the same file path."},{"key":"session.id","value":"76d9bc2f-b1b9-4290-8da1-c0ed1fe4e18b","type":"text"},{"key":"project","value":"project_000000_402881ec6b446f3a016b4471d9280000","type":"text"},{"key":"ajax","value":"upload","type":"text"}]},"url":"http://{{azkaban.server}}/manager","urlObject":{"protocol":"http","path":["manager"],"host":["{{azkaban.server}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cef88bed-3c6a-4615-ab1c-dbbee01ef01d"}]}