{"info":{"_postman_id":"7e08d414-ab81-4f26-b5fe-b967b32a2531","name":"Picobrew Zymatic API","description":"<html><head></head><body><p>Picobrew Zymatic API for Firmware v1.1.8</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"234053","collectionId":"7e08d414-ab81-4f26-b5fe-b967b32a2531","publishedId":"Szf54VEX","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-05-04T19:25:24.000Z"},"item":[{"name":"Get all recipes for a given user","id":"eb73f5b1-468c-41de-bc43-f2827120e8ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/API/SyncUser?user=3ccfxxxxxxxxxxxxxxxxxxxxxxxxxa39&machine=5xxxxxxx0000","description":"<p>This request retrieves all the user recipes from the server.</p>\n","urlObject":{"path":["API","SyncUser"],"host":["http://localhost:3000"],"query":[{"description":{"content":"<p>(Required) User ID</p>\n","type":"text/plain"},"key":"user","value":"3ccfxxxxxxxxxxxxxxxxxxxxxxxxxa39"},{"description":{"content":"<p>(Required) Zymatic machine ID</p>\n","type":"text/plain"},"key":"machine","value":"5xxxxxxx0000"}],"variable":[]}},"response":[{"id":"ce26f8d7-ac96-4501-b1cf-8d9c2253901e","name":"Get all recipes for a given user","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/API/SyncUser?user=3ccfxxxxxxxxxxxxxxxxxxxxxxxxxa39&machine=5xxxxxxx0000","host":["http://localhost:3000"],"path":["API","SyncUser"],"query":[{"key":"user","value":"3ccfxxxxxxxxxxxxxxxxxxxxxxxxxa39","description":"(Required) User ID"},{"key":"machine","value":"5xxxxxxx0000","description":"(Required) Zymatic machine ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"315"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.7.7"},{"key":"Date","value":"Fri, 17 Apr 2020 16:30:40 GMT"}],"cookie":[],"responseTime":null,"body":"#OBK Belgian Table/d4c9d3eddc9bbc419aa1ceb85629228e/Heat to Dough In,39,0,0,0/Dough In,39,20,1,8/Heat to Mash 1,67,0,0,0/Mash 1,67,30,1,8/Heat to Mash 2,68,0,0,0/Mash 2,68,60,1,8/Heat to Mash Out,79,0,0,0/Mash Out,79,10,1,8/Heat to Boil,97,0,0,0/Boil Adjunct 1,97,60,2,5/Connect Chiller,21,0,6,0/Chill,21,10,0,10/|#"},{"id":"d20d7e01-6994-4500-962d-bbf947164de7","name":"response","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/API/SyncUser?user=3ccfxxxxxxxxxxxxxxxxxxxxxxxxxa39&machine=5xxxxxxx0000","host":["http://localhost:3000"],"path":["API","SyncUser"],"query":[{"key":"user","value":"3ccfxxxxxxxxxxxxxxxxxxxxxxxxxa39"},{"key":"machine","value":"5xxxxxxx0000"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"eb73f5b1-468c-41de-bc43-f2827120e8ca"},{"name":"Re-Sync Recipes","id":"47366eb9-74ef-4238-80f2-f6b7fe09da31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/API/checksync?user=3ccfxxxxxxxxxxxxxxxxxxxxxxxxxa","description":"<p>Issued when using the \"re-sync recipe\" option. Sometimes triggered by the machine itself.</p>\n","urlObject":{"path":["API","checksync"],"host":["http://localhost:3000"],"query":[{"description":{"content":"<p>(Required) User ID</p>\n","type":"text/plain"},"key":"user","value":"3ccfxxxxxxxxxxxxxxxxxxxxxxxxxa"}],"variable":[]}},"response":[{"id":"42ef10a5-fcf2-4d2f-b315-3fa36b5875cf","name":"http://localhost:3000/API/checksync?user","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/API/checksync?user=3ccfxxxxxxxxxxxxxxxxxxxxxxxxxa","host":["http://localhost:3000"],"path":["API","checksync"],"query":[{"key":"user","value":"3ccfxxxxxxxxxxxxxxxxxxxxxxxxxa"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"5"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.7.7"},{"key":"Date","value":"Fri, 17 Apr 2020 16:06:46 GMT"}],"cookie":[],"responseTime":null,"body":"\r\n#!#"},{"id":"ccdaad74-d8e9-4c5f-9b88-a13407bfd388","name":"http://localhost:3000/API/checksync?user","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/API/checksync?user=3ccfxxxxxxxxxxxxxxxxxxxxxxxxxa","host":["http://localhost:3000"],"path":["API","checksync"],"query":[{"key":"user","value":"3ccfxxxxxxxxxxxxxxxxxxxxxxxxxa"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"5"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.7.7"},{"key":"Date","value":"Fri, 17 Apr 2020 16:06:46 GMT"}],"cookie":[],"responseTime":null,"body":"\r\n#!#"}],"_postman_id":"47366eb9-74ef-4238-80f2-f6b7fe09da31"},{"name":"Get all cleaning/rinse recipes","id":"ac68ae42-1eec-4096-96a2-d06e45959b44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/API/SyncUser?user=00000000000000000000000000000000&machine=5xxxxxxx0000","description":"<p>This retrieves the cleaning / rinse recipes from the \"Clean/Rinse\" menu item. The recipe follow the same schema as \"Getting all recipes\".</p>\n","urlObject":{"path":["API","SyncUser"],"host":["http://localhost:3000"],"query":[{"description":{"content":"<p>(Required) System User ID</p>\n","type":"text/plain"},"key":"user","value":"00000000000000000000000000000000"},{"description":{"content":"<p>(Required) Machine ID</p>\n","type":"text/plain"},"key":"machine","value":"5xxxxxxx0000"}],"variable":[]}},"response":[{"id":"12f4af91-21b8-46da-aa2a-cbf08c69e63b","name":"Get all cleaning/rinse recipes","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/API/SyncUser?user=00000000000000000000000000000000&machine=5xxxxxxx0000","host":["http://localhost:3000"],"path":["API","SyncUser"],"query":[{"key":"user","value":"00000000000000000000000000000000"},{"key":"machine","value":"5xxxxxxx0000"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"350"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.7.7"},{"key":"Date","value":"Fri, 17 Apr 2020 16:32:42 GMT"}],"cookie":[],"responseTime":null,"body":"#Cleaning v1/7f489e3740f848519558c41a036fe2cb/Heat Water,152,0,0,0/Clean Mash,152,15,1,5/Heat to Temp,152,0,0,0/Adjunct,152,3,2,1/Adjunct,152,2,3,1/Adjunct,152,2,4,1/Adjunct,152,2,5,1/Heat to Temp,207,0,0,0/Clean Mash,207,10,1,0/Clean Mash,207,2,1,0/Clean Adjunct,207,2,2,0/Chill,120,10,0,2/|Rinse v3/0160275741134b148eff90acdd5e462f/Rinse,0,2,0,5/|#"},{"id":"b7dedb06-3b4b-4499-a252-b769b3dc8cc3","name":"Get all cleaning/rinse recipes","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/API/SyncUser?user=00000000000000000000000000000000&machine=5xxxxxxx0000","host":["http://localhost:3000"],"path":["API","SyncUser"],"query":[{"key":"user","value":"00000000000000000000000000000000"},{"key":"machine","value":"5xxxxxxx0000"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"350"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.7.7"},{"key":"Date","value":"Fri, 17 Apr 2020 16:32:42 GMT"}],"cookie":[],"responseTime":null,"body":"#Cleaning v1/7f489e3740f848519558c41a036fe2cb/Heat Water,152,0,0,0/Clean Mash,152,15,1,5/Heat to Temp,152,0,0,0/Adjunct,152,3,2,1/Adjunct,152,2,3,1/Adjunct,152,2,4,1/Adjunct,152,2,5,1/Heat to Temp,207,0,0,0/Clean Mash,207,10,1,0/Clean Mash,207,2,1,0/Clean Adjunct,207,2,2,0/Chill,120,10,0,2/|Rinse v3/0160275741134b148eff90acdd5e462f/Rinse,0,2,0,5/|#"}],"_postman_id":"ac68ae42-1eec-4096-96a2-d06e45959b44"},{"name":"Start new Brew Session","id":"e3764691-d0d6-4e15-ab3d-4ee917abcd1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/API/logSession?user=00000000000000000000000000000000&recipe=d4c9d3eddc9bbc419aa1ceb85629228e&code=0&machine=5xxxxxxx0000&firm=1.1.8","description":"<p>This starts a new brew session for your brew log on the PicoBrew Website. The returned session ID can be used to subsequently send detailed session log entries.</p>\n","urlObject":{"path":["API","logSession"],"host":["http://localhost:3000"],"query":[{"description":{"content":"<p>(Required) User ID</p>\n","type":"text/plain"},"key":"user","value":"00000000000000000000000000000000"},{"description":{"content":"<p>(Required) Recipe ID</p>\n","type":"text/plain"},"key":"recipe","value":"d4c9d3eddc9bbc419aa1ceb85629228e"},{"description":{"content":"<p>(Required) Internal Status Code</p>\n","type":"text/plain"},"key":"code","value":"0"},{"description":{"content":"<p>(Required) Machine ID</p>\n","type":"text/plain"},"key":"machine","value":"5xxxxxxx0000"},{"description":{"content":"<p>(Required) Firmware Version</p>\n","type":"text/plain"},"key":"firm","value":"1.1.8"}],"variable":[]}},"response":[{"id":"5bfe357d-22a4-4ca6-8214-754d38dc8e3b","name":"Start new Brew Session","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/API/logSession?user=00000000000000000000000000000000&recipe=d4c9d3eddc9bbc419aa1ceb85629228e&code=0&machine=5xxxxxxx0000&firm=1.1.8","host":["http://localhost:3000"],"path":["API","logSession"],"query":[{"key":"user","value":"00000000000000000000000000000000"},{"key":"recipe","value":"d4c9d3eddc9bbc419aa1ceb85629228e"},{"key":"code","value":"0"},{"key":"machine","value":"5xxxxxxx0000"},{"key":"firm","value":"1.1.8"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"34"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.7.7"},{"key":"Date","value":"Fri, 17 Apr 2020 19:13:07 GMT"}],"cookie":[],"responseTime":null,"body":"#67e632d1d3604ce1b60bf0c3eed90f3b#"}],"_postman_id":"e3764691-d0d6-4e15-ab3d-4ee917abcd1a"},{"name":"Log temperature reading for session","id":"2ce7caf7-18d2-4535-96b8-d6f4a68ba636","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/API/logsession?session=88c7011fc51e4666b9c984311f934e07&code=1&data=Heat%20Water&state=0","description":"<p>After starting a new brew session the machine constantly sends feedback to Picobrew.com. This allows them to draw the pretty session graph.</p>\n","urlObject":{"path":["API","logsession"],"host":["http://localhost:3000"],"query":[{"description":{"content":"<p>(Required) Session ID</p>\n","type":"text/plain"},"key":"session","value":"88c7011fc51e4666b9c984311f934e07"},{"description":{"content":"<p>(Required) Status Code for Controlling the API\n1 : Log new program step \n2 : Temperature data for current step, \n3 : End Session </p>\n","type":"text/plain"},"key":"code","value":"1"},{"description":{"content":"<p>(Required) Current Recipe Stage</p>\n","type":"text/plain"},"key":"data","value":"Heat%20Water"},{"description":{"content":"<p>(Required) Internal Machine State </p>\n","type":"text/plain"},"key":"state","value":"0"}],"variable":[]}},"response":[{"id":"5970fb1e-b1a6-465f-aca3-ce6b77f5f798","name":"Log temperature reading for session","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/API/logsession?session=d2d990bc9f4940b3b34039d02eaa1879&code=1&data=Heat%20Water&state=0","host":["http://localhost:3000"],"path":["API","logsession"],"query":[{"key":"session","value":"d2d990bc9f4940b3b34039d02eaa1879"},{"key":"code","value":"1"},{"key":"data","value":"Heat%20Water"},{"key":"state","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.7.7"},{"key":"Date","value":"Fri, 17 Apr 2020 20:11:05 GMT"}],"cookie":[],"responseTime":null,"body":null},{"id":"cba1c4ca-cdd9-44f6-8e1a-d81fa709bff8","name":"Log temperature reading for session","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/API/logsession?session=bed6aa4fc659466093fa8528286979c3&code=1&data=Heat%20Water&state=0","host":["http://localhost:3000"],"path":["API","logsession"],"query":[{"key":"session","value":"bed6aa4fc659466093fa8528286979c3"},{"key":"code","value":"1"},{"key":"data","value":"Heat%20Water"},{"key":"state","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.7.7"},{"key":"Date","value":"Fri, 17 Apr 2020 19:30:28 GMT"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"2ce7caf7-18d2-4535-96b8-d6f4a68ba636"},{"name":"Resume a Session #1","id":"7fe0a80d-0e63-40e1-a067-3d24795e575a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/API/recoversession?session=d2d990bc9f4940b3b34039d02eaa1879&code=0","description":"<p>If a brew sessions is ended prematurely one can resume it from the PicoBrew's help menu. This a two-step request. 1. Request the recipe and then 2. set the correct machine parameters.</p>\n","urlObject":{"path":["API","recoversession"],"host":["http://localhost:3000"],"query":[{"description":{"content":"<p>(Required) Session ID</p>\n","type":"text/plain"},"key":"session","value":"d2d990bc9f4940b3b34039d02eaa1879"},{"description":{"content":"<p>(Required) Status Code for Controlling the API\n0:  Restore Recipe\n1:  Restore Machine State</p>\n","type":"text/plain"},"key":"code","value":"0"}],"variable":[]}},"response":[{"id":"15a01899-3c0b-482a-bcd1-d54eb4a81629","name":"Resume a Session #1","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/API/recoversession?session=d2d990bc9f4940b3b34039d02eaa1879&code=0","host":["http://localhost:3000"],"path":["API","recoversession"],"query":[{"key":"session","value":"d2d990bc9f4940b3b34039d02eaa1879"},{"key":"code","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"316"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.7.7"},{"key":"Date","value":"Fri, 17 Apr 2020 20:18:47 GMT"}],"cookie":[],"responseTime":null,"body":"#OBK Belgian Table/d4c9d3eddc9bbc419aa1ceb85629228e/Heat to Dough In,39,0,0,0/Dough In,39,20,1,8/Heat to Mash 1,67,0,0,0/Mash 1,67,30,1,8/Heat to Mash 2,68,0,0,0/Mash 2,68,60,1,8/Heat to Mash Out,79,0,0,0/Mash Out,79,10,1,8/Heat to Boil,97,0,0,0/Boil Adjunct 1,97,60,2,5/Connect Chiller,21,0,6,0/Chill,21,10,0,10/|!#"}],"_postman_id":"7fe0a80d-0e63-40e1-a067-3d24795e575a"},{"name":"Resume a Session #2","id":"66d9b2db-f699-439a-88fe-77751cdcf583","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/API/recoversession?session=d2d990bc9f4940b3b34039d02eaa1879&code=1","description":"<p>Returns the same machine parameters as were saved during the temperature logging request.</p>\n","urlObject":{"path":["API","recoversession"],"host":["http://localhost:3000"],"query":[{"description":{"content":"<p>(Required) Session ID</p>\n","type":"text/plain"},"key":"session","value":"d2d990bc9f4940b3b34039d02eaa1879"},{"description":{"content":"<p>(Required) Status Code for Controlling the API\n0:  Restore Recipe\n1:  Restore Machine State</p>\n","type":"text/plain"},"key":"code","value":"1"}],"variable":[]}},"response":[],"_postman_id":"66d9b2db-f699-439a-88fe-77751cdcf583"}],"variable":[{"id":"baseUrl","key":"baseUrl","value":"http://localhost:3000","type":"string"}]}