{ "info": { "_postman_id": "ecaeec11-7b10-4666-afee-647a4d47095a", "name": "farm-planning", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "23772417" }, "item": [ { "name": "water require", "item": [ { "name": "water cal", "item": [ { "name": "water day cal", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"area_id\": 1,\n \"number_person\": 100000,\n \"number_day\": 3\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{local}}/waters/calculate/day", "host": [ "{{local}}" ], "path": [ "waters", "calculate", "day" ] } }, "response": [] }, { "name": "water industry cal", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"industry_id\": 1,\n \"industry_area_size\": 3\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{local}}/waters/calculate/industry", "host": [ "{{local}}" ], "path": [ "waters", "calculate", "industry" ] } }, "response": [] }, { "name": "water plant cal", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"plant_value\": 410,\n \"farm_area\": 3\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{local}}/waters/calculate/plant", "host": [ "{{local}}" ], "path": [ "waters", "calculate", "plant" ] } }, "response": [] }, { "name": "water animal cal", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"animal_id\": 1,\n \"number_animal\": 100000,\n \"number_day\": 3\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{local}}/waters/calculate/animal", "host": [ "{{local}}" ], "path": [ "waters", "calculate", "animal" ] } }, "response": [] }, { "name": "water require", "request": { "method": "GET", "header": [], "url": { "raw": "{{local}}/waters?type=animal", "host": [ "{{local}}" ], "path": [ "waters" ], "query": [ { "key": "type", "value": "area", "disabled": true }, { "key": "type", "value": "plant", "disabled": true }, { "key": "type", "value": "person", "disabled": true }, { "key": "type", "value": "industry", "disabled": true }, { "key": "type", "value": "animal" } ] } }, "response": [] } ] } ] }, { "name": "other", "item": [ { "name": "province", "request": { "method": "GET", "header": [], "url": { "raw": "{{prod}}/api/province", "host": [ "{{prod}}" ], "path": [ "api", "province" ] } }, "response": [] }, { "name": "pdf", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"test_text\": \"farm-planning\",\n \"test_number\": 123,\n \"test_something\": \"fuck u\",\n \"requirement_water\": 321321321,\n \"requirement_water_unit\": \"fuck/day\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{local}}/pdf", "host": [ "{{local}}" ], "path": [ "pdf" ] } }, "response": [] }, { "name": "hello", "request": { "method": "GET", "header": [], "url": { "raw": "{{stg}}/", "host": [ "{{stg}}" ], "path": [ "" ] } }, "response": [] }, { "name": "weather", "request": { "method": "GET", "header": [], "url": { "raw": "{{prod}}/weather", "host": [ "{{prod}}" ], "path": [ "weather" ] } }, "response": [] } ] }, { "name": "water capacity", "item": [ { "name": "avg runoff by province id", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"province_id\": 1\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{prod}}/capacity/avgrunoff", "host": [ "{{prod}}" ], "path": [ "capacity", "avgrunoff" ] } }, "response": [] }, { "name": "avg runoff year", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"province_id\": 1,\n \"area_receive_water\": 123\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{prod}}/capacity/avgrunoffyear", "host": [ "{{prod}}" ], "path": [ "capacity", "avgrunoffyear" ] } }, "response": [] }, { "name": "surface area", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"area_pool\": 2,\n \"percent_area\": 20\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{prod}}/capacity/surfacearea", "host": [ "{{prod}}" ], "path": [ "capacity", "surfacearea" ] } }, "response": [] }, { "name": "area receive rain water", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"surface_area\": 12\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{prod}}/capacity/areareceiverainwater", "host": [ "{{prod}}" ], "path": [ "capacity", "areareceiverainwater" ] } }, "response": [] }, { "name": "lost evaporation", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"province_id\": 2,\n \"surface_area\": 32\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{prod}}/capacity/lostevaporation/", "host": [ "{{prod}}" ], "path": [ "capacity", "lostevaporation", "" ] } }, "response": [] }, { "name": "lost leakage", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"province_id\": 2,\n \"surface_area\": 32\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{prod}}/capacity/lostleakage", "host": [ "{{prod}}" ], "path": [ "capacity", "lostleakage" ] } }, "response": [] }, { "name": "capacity", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"water_require\": 123,\n \"lost_from_evaporation\": 0.2,\n \"lost_from_leakage\": 0.3\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{prod}}/capacities", "host": [ "{{prod}}" ], "path": [ "capacities" ] } }, "response": [] }, { "name": "avg runoff", "request": { "method": "GET", "header": [], "url": { "raw": "{{prod}}/capacity/avgrunoff", "host": [ "{{prod}}" ], "path": [ "capacity", "avgrunoff" ] } }, "response": [] } ] } ], "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ], "variable": [ { "key": "local", "value": "127.0.0.1:8080", "type": "string" }, { "key": "stg", "value": "http://vps1225.vpshispeed.net:8080", "type": "string" }, { "key": "prod", "value": "https://farm-planning.com/api", "type": "string" } ] }