{"info":{"_postman_id":"a53025e3-c349-4063-933d-d4c3d189a55f","name":"Family-Recipes","description":"<html><head></head><body><p><a href=\"https://secret-family-recipes-rebuild.herokuapp.com/\">https://secret-family-recipes-rebuild.herokuapp.com/</a></p>\n<h2 id=\"auth\">Auth</h2>\n<p>GET /api/auth<br>POST /api/auth/register<br>POST /api/auth/login<br>DELETE /api/auth/:id<br>GET /api/auth/:id/recipes</p>\n<h2 id=\"recipes\">Recipes</h2>\n<p>GET /api/recipes  </p>\n<p>POST /api/recipes  </p>\n<p>PUT /api/recipes/:id  </p>\n<p>DELETE /api/recipes/:id  </p>\n<p>GET /api/recipes/:id/ingredients  </p>\n<p>GET /api/recipes/:id/instructions  </p>\n<p>GET /api/recipes/:id/categories  </p>\n<h2 id=\"categories\">Categories</h2>\n<p>GET /api/categories  </p>\n<p>POST /api/categories  </p>\n<p>PUT /api/categories/:id  </p>\n<p>DELETE /api/categories/:id  </p>\n<h2 id=\"ingredients\">Ingredients</h2>\n<p>GET /api/ingredients  </p>\n<p>POST /api/ingredients  </p>\n<p>PUT /api/ingredients/:id  </p>\n<p>DELETE /api/ingredients/:id  </p>\n<h2 id=\"instructions\">Instructions</h2>\n<p>GET /api/instructions  </p>\n<p>POST /api/instructions  </p>\n<p>PUT /api/instructions/:id  </p>\n<p>DELETE /api/instructions/:id</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10644180","collectionId":"a53025e3-c349-4063-933d-d4c3d189a55f","publishedId":"TVzPmyif","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-01-08T17:32:24.000Z"},"item":[{"name":"auth","item":[{"name":"get /api/auth","id":"c0194384-a5f5-4786-88bb-80f008379d4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"foo","value":"bar","type":"text"},{"key":"red","value":"blue","type":"text"},{"key":"scooby","value":"doo","type":"text"}],"url":"localhost:3000","description":"<p>unrestricted endpoint\nreturns a list of users</p>\n","urlObject":{"port":"3000","host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c0194384-a5f5-4786-88bb-80f008379d4b"},{"name":"register a user","id":"43aa2339-adc9-400a-8c6b-343ee5af7bd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"user_name\":\"Charity\",\r\n    \"password\":\"lucydog\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/auth/register","description":"<p>unrestricted endpoint\nrequires request body\nfor a proposed username and password:\n{\n    \"user_name\": \"abc\",\n    \"password\": \"123\"\n}</p>\n<p>returns id and token</p>\n","urlObject":{"protocol":"https","path":["api","auth","register"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"43aa2339-adc9-400a-8c6b-343ee5af7bd7"},{"name":"log in","id":"7b5b3a12-ef1c-4542-b466-50267bd81bc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"user_name\": \"joe rogan\",\r\n    \"password\": \"chimps\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/auth/login","description":"<p>unrestricted endpoint\nrequires request body of valid username and password\n{\n    \"user_name\": \"existingusername\",\n    \"password\": \"validpassword\"\n}</p>\n<p>returns success message and token</p>\n","urlObject":{"protocol":"https","path":["api","auth","login"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b5b3a12-ef1c-4542-b466-50267bd81bc7"},{"name":"delete a user","id":"54240ce4-585b-4154-a4f4-ad7ae205f050","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/auth/5","description":"<p>put user id in path\nreturns success message that the user by that id has been deleted\nverify the user is removed by sending a get to api/auth</p>\n","urlObject":{"protocol":"https","path":["api","auth","5"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"54240ce4-585b-4154-a4f4-ad7ae205f050"},{"name":"get  a users recipes","id":"7269d007-32e1-45bd-945a-8adc2f07a159","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/auth/6/recipes","description":"<p>unrestricted endpoint\nreturns a list of a recipes belonging to the user by that id</p>\n","urlObject":{"protocol":"https","path":["api","auth","6","recipes"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7269d007-32e1-45bd-945a-8adc2f07a159"}],"id":"4c7f5812-16d2-4ad9-a950-60d300ae828d","_postman_id":"4c7f5812-16d2-4ad9-a950-60d300ae828d","description":""},{"name":"recipes","item":[{"name":"get a list of all created recipes","id":"0127747d-d7ac-4762-a5a0-488a4e7f0c3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjQ0ODc2NSwiZXhwIjoxNjAyNTM1MTY1fQ.dTopdjUxoo250frA2nNrs0XEqHXaDtSpHpFbsenytS0","type":"text"}],"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/recipes","description":"<p>restricted route\nrequires a valid token returned from a successful registration or log in\ncreate a header with a key of Authorization and a value of the token value\nexample)\nAuthorization: eyJhbG_WrAh4tr5yjtxKGEGkKJk3OeF8MgJSORk</p>\n","urlObject":{"protocol":"https","path":["api","recipes"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0127747d-d7ac-4762-a5a0-488a4e7f0c3f"},{"name":"create a new recipe","id":"15f1c593-e787-41c9-b20f-bb5017f9686d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA4ODcxMiwiZXhwIjoxNjAyMTc1MTEyfQ.-tPTbfHSki_WrAh4tr5yjtxKGEGkKJk3OeF8MgJSORk","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"fathead dough\",\r\n    \"users_id\": 5,\r\n    \"source\": \"Keto-Connect\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/recipes","description":"<p>restricted endpoint\nadd a new recipe\nyou must supply the users_id to identify ownership of the recipe\nrequires a request body of:\n{\n    \"title\": \"name\",\n    \"users_id\": 5,\n    \"source\": \"whoyougotitfrom\"\n}</p>\n<p>returns a success message and a recipe id</p>\n","urlObject":{"protocol":"https","path":["api","recipes"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"15f1c593-e787-41c9-b20f-bb5017f9686d"},{"name":"change a recipes title, source or owner","id":"7b1a808b-6ea7-40cc-8249-92014c5050f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA4ODcxMiwiZXhwIjoxNjAyMTc1MTEyfQ.-tPTbfHSki_WrAh4tr5yjtxKGEGkKJk3OeF8MgJSORk","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Fat-head Dough\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/recipes/5","description":"<p>restricted endpoint\nyou can edit the title, source and users_id\nreturns a success message</p>\n","urlObject":{"protocol":"https","path":["api","recipes","5"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b1a808b-6ea7-40cc-8249-92014c5050f7"},{"name":"delete a recipe by id","id":"3f08f97e-8657-41d3-81fa-5dfd593ccbe9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA5MTg2MSwiZXhwIjoxNjAyMTc4MjYxfQ.WW5q5vhWHjgQMgKBPXyF0L3yD-V1YuC5URByn6ex_Oc","type":"text"}],"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/recipes/5","description":"<p>restricted endpoint\nreturns a success message</p>\n","urlObject":{"protocol":"https","path":["api","recipes","5"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3f08f97e-8657-41d3-81fa-5dfd593ccbe9"},{"name":"get a list of ingredients for a recipe by id","id":"ce007703-8946-43db-be0d-e285ceb7cf46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA4ODcxMiwiZXhwIjoxNjAyMTc1MTEyfQ.-tPTbfHSki_WrAh4tr5yjtxKGEGkKJk3OeF8MgJSORk","type":"text"}],"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/recipes/1/ingredients","description":"<p>restricted endpoint\nreturns an array of JSON objects\neach object looks like this:\n{\n    \"id\": 4,\n    \"ingredient\": \"cheese\",\n    \"quantity\": \"2 cups\"\n}</p>\n","urlObject":{"protocol":"https","path":["api","recipes","1","ingredients"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce007703-8946-43db-be0d-e285ceb7cf46"},{"name":"get a list of instructions for a recipe by id","id":"a88bf24c-2f37-4f54-b3dc-30840b63c58c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA4ODcxMiwiZXhwIjoxNjAyMTc1MTEyfQ.-tPTbfHSki_WrAh4tr5yjtxKGEGkKJk3OeF8MgJSORk","type":"text"}],"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/recipes/1/instructions","description":"<p>restricted endpoint\nreturns an array of JSON objects\neach object looks like this:\n{\n    \"id\": 1,\n    \"step\": 1,\n    \"time\": \"10 min\",\n    \"directions\": \"Pulse cheese and pork rinds in a processor\"\n}</p>\n","urlObject":{"protocol":"https","path":["api","recipes","1","instructions"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a88bf24c-2f37-4f54-b3dc-30840b63c58c"},{"name":"get a list of categories that classify the recipe","id":"fa070a4f-7159-4faa-b062-d16d180287a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA4ODcxMiwiZXhwIjoxNjAyMTc1MTEyfQ.-tPTbfHSki_WrAh4tr5yjtxKGEGkKJk3OeF8MgJSORk","type":"text"}],"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/recipes/1/categories","description":"<p>restricted endpoint\nreturns an array of JSON objects\neach object looks like this:\n{\n    \"id\": 4,\n    \"category_name\": \"breakfast\"\n}</p>\n","urlObject":{"protocol":"https","path":["api","recipes","1","categories"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa070a4f-7159-4faa-b062-d16d180287a2"}],"id":"35de4294-1771-44f5-8ee5-234eae47bdcb","_postman_id":"35de4294-1771-44f5-8ee5-234eae47bdcb","description":""},{"name":"categories","item":[{"name":"get all created categories","id":"dd3ea68e-0957-4ccf-901c-b74d92ce50b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA5MTg2MSwiZXhwIjoxNjAyMTc4MjYxfQ.WW5q5vhWHjgQMgKBPXyF0L3yD-V1YuC5URByn6ex_Oc","type":"text"}],"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/categories","description":"<p>restricted endpoint\nreturns an array of JSON objects\neach object looks like this:\n{\n    \"id\": 4,\n    \"category_name\": \"breakfast\"\n}</p>\n","urlObject":{"protocol":"https","path":["api","categories"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd3ea68e-0957-4ccf-901c-b74d92ce50b0"},{"name":"create a category","id":"b62d898b-f6b6-4533-8b5a-88488a030617","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA5MTg2MSwiZXhwIjoxNjAyMTc4MjYxfQ.WW5q5vhWHjgQMgKBPXyF0L3yD-V1YuC5URByn6ex_Oc","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"category_name\": \"mexican\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/categories","description":"<p>restricted endpoint\nrequires request body of:\n{\n    \"category_name\": \"mexican\"\n}</p>\n<p>returns \n{\n    \"success message\":\n    \"id\":\n    \"category_name\":\n}</p>\n","urlObject":{"protocol":"https","path":["api","categories"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b62d898b-f6b6-4533-8b5a-88488a030617"},{"name":"update a category name","id":"15871fa6-d26e-4c5c-baf4-6197e7a8fff4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA5MTg2MSwiZXhwIjoxNjAyMTc4MjYxfQ.WW5q5vhWHjgQMgKBPXyF0L3yD-V1YuC5URByn6ex_Oc","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"category_name\": \"Hispanic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/categories/3","description":"<p>restricted endpoint\nrequires request body of:\n{\n    \"category_nameIsTheOnlyProp\": \"ValueYouWantToReplace\"\n}</p>\n<p>returns success message and category name\n{\n    \"success\": \"Category was succcessfully updated\",\n    \"category_name\": \"Hispanic\"\n}</p>\n","urlObject":{"protocol":"https","path":["api","categories","3"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"15871fa6-d26e-4c5c-baf4-6197e7a8fff4"},{"name":"delete a category","id":"e946320d-3f9b-4e7b-90c7-eb2de987feef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA5MTg2MSwiZXhwIjoxNjAyMTc4MjYxfQ.WW5q5vhWHjgQMgKBPXyF0L3yD-V1YuC5URByn6ex_Oc","type":"text"}],"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/categories/3","description":"<p>restricted endpoint\nreturns success message</p>\n","urlObject":{"protocol":"https","path":["api","categories","3"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e946320d-3f9b-4e7b-90c7-eb2de987feef"}],"id":"ca2348eb-3267-465c-8609-b70ebf4ad775","_postman_id":"ca2348eb-3267-465c-8609-b70ebf4ad775","description":""},{"name":"ingredients","item":[{"name":"get all ingredients created","id":"4b218dfa-ae09-488c-a56d-84664930c56c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA5MTg2MSwiZXhwIjoxNjAyMTc4MjYxfQ.WW5q5vhWHjgQMgKBPXyF0L3yD-V1YuC5URByn6ex_Oc","type":"text"}],"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/ingredients","description":"<p>restricted endpoint\nreturns an array of JSON objects\neach object looks like this:\n{\n    \"id\": 2,\n    \"ingredient\": \"name\",\n    \"quantity\": \"2 cups\"</p>\n<p>}</p>\n","urlObject":{"protocol":"https","path":["api","ingredients"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4b218dfa-ae09-488c-a56d-84664930c56c"},{"name":"create an ingredient","id":"a187833f-f0c3-41bb-8920-03d3afb7873b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA5MTg2MSwiZXhwIjoxNjAyMTc4MjYxfQ.WW5q5vhWHjgQMgKBPXyF0L3yD-V1YuC5URByn6ex_Oc","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"ingredient\": \"lemon juice\",\r\n    \"quantity\": \"2 tablespoons\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/ingredients","description":"<p>restricted endpoint\nrequires req body of:\n{\n    \"ingredient\": \"name\",\n    \"quantity\": \"1 tablespoon\"\n}</p>\n<p>returns:\n{\n    \"success\": \"The Ingredient was successfully added\",\n    \"id\": 7,\n    \"ingredient\": \"lemon juice\",\n    \"quantity\": \"2 tablespoons\"\n}</p>\n","urlObject":{"protocol":"https","path":["api","ingredients"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a187833f-f0c3-41bb-8920-03d3afb7873b"},{"name":"update an ingredients name or quantity","id":"c7dc74b7-32bd-40cc-8caa-b92872c74d17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA5MTg2MSwiZXhwIjoxNjAyMTc4MjYxfQ.WW5q5vhWHjgQMgKBPXyF0L3yD-V1YuC5URByn6ex_Oc","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"ingredient\": \"Lemon Juice\",\r\n    \"quantity\": \"3 Tablespoons\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/ingredients/7","description":"<p>restricted endpoint\nrequires a request body of:\n{\n    \"ingredient\": \"name\",\n    \"quantity\": \"7 tablespoons\"\n}</p>\n<p>returns:\n{\n    \"success\": \"Ingredient was successfully updated\",\n    \"ingredient\": \"Lemon Juice\",\n    \"quantity\": \"3 Tablespoons\"\n}</p>\n","urlObject":{"protocol":"https","path":["api","ingredients","7"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c7dc74b7-32bd-40cc-8caa-b92872c74d17"},{"name":"delete an ingredient","id":"3f56bc4a-6568-4e32-b599-57b9a8ed20ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA5MTg2MSwiZXhwIjoxNjAyMTc4MjYxfQ.WW5q5vhWHjgQMgKBPXyF0L3yD-V1YuC5URByn6ex_Oc","type":"text"}],"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/ingredients/7","description":"<p>restricted endpoint\ndeletes an ingredient</p>\n<p>returns:\n{\n    \"message\": \"Ingredient successfully deleted\"\n}</p>\n","urlObject":{"protocol":"https","path":["api","ingredients","7"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3f56bc4a-6568-4e32-b599-57b9a8ed20ee"}],"id":"85fa6c21-563e-4de3-a291-80d4607e0582","_postman_id":"85fa6c21-563e-4de3-a291-80d4607e0582","description":""},{"name":"instructions","item":[{"name":"get a list of all created instructions","id":"45dc68ba-2a3f-466b-b7ae-207257f3ff5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA5MTg2MSwiZXhwIjoxNjAyMTc4MjYxfQ.WW5q5vhWHjgQMgKBPXyF0L3yD-V1YuC5URByn6ex_Oc","type":"text"}],"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/instructions","description":"<p>restricted endpoint\nreturns:\n{\n    \"id\": 1,\n    \"step\": 1,\n    \"time\": \"10 min\",\n    \"directions\": \"Pulse cheese and pork rinds in a processor\"\n}</p>\n","urlObject":{"protocol":"https","path":["api","instructions"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"45dc68ba-2a3f-466b-b7ae-207257f3ff5d"},{"name":"create a single instruction","id":"bb91e4f9-a8d7-4f78-8f2b-20192886e16e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA5MTg2MSwiZXhwIjoxNjAyMTc4MjYxfQ.WW5q5vhWHjgQMgKBPXyF0L3yD-V1YuC5URByn6ex_Oc","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"step\": 2,\r\n    \"time\": \"1 minute\",\r\n    \"directions\": \"pour into mixture\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/instructions","description":"<p>restricted endpoint\nrequires request body of:\n{\n    \"step\": 2,\n    \"time\": \"1 minute\",\n    \"directions\": \"pour into mixture\"\n}</p>\n<p>returns:\n{\n    \"success\": \"The instructions were successfully added\",\n    \"id\": 10,\n    \"step\": 2,\n    \"time\": \"1 minute\",\n    \"directions\": \"pour into mixture\"\n}</p>\n","urlObject":{"protocol":"https","path":["api","instructions"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb91e4f9-a8d7-4f78-8f2b-20192886e16e"},{"name":"update an instruction","id":"327500cc-ebc0-4ef9-bcbc-5944fc01b510","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA5MTg2MSwiZXhwIjoxNjAyMTc4MjYxfQ.WW5q5vhWHjgQMgKBPXyF0L3yD-V1YuC5URByn6ex_Oc","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"directions\": \"drizzle into dry ingredients while mixing\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/instructions/10","description":"<p>restricted endpoint</p>\n<p>requires req body of:\n{\n    whicheverPropYouWantToEdit: \"valueYouWantToAddIn\"\n}</p>\n<p>returns:\n{\n    \"success\": \"The instructions were successfully updated\",\n    \"UPDATED_PROP\": \"UPATED VALUE FOR PROP\"\n}</p>\n","urlObject":{"protocol":"https","path":["api","instructions","10"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"327500cc-ebc0-4ef9-bcbc-5944fc01b510"},{"name":"delete an instruction","id":"e449fcaf-0f2a-4431-a01b-e112f4160ca1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo4LCJ1c2VybmFtZSI6ImpvZSByb2dhbiIsImlhdCI6MTYwMjA5MTg2MSwiZXhwIjoxNjAyMTc4MjYxfQ.WW5q5vhWHjgQMgKBPXyF0L3yD-V1YuC5URByn6ex_Oc","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://secret-family-recipes-rebuild.herokuapp.com/api/instructions/10","description":"<p>restricted endpoint</p>\n<p>returns:\n{\n    \"success\": \"Instructions were successfully deleted\"\n}</p>\n","urlObject":{"protocol":"https","path":["api","instructions","10"],"host":["secret-family-recipes-rebuild","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e449fcaf-0f2a-4431-a01b-e112f4160ca1"}],"id":"24132807-d048-40e0-8dfd-81bce600e847","_postman_id":"24132807-d048-40e0-8dfd-81bce600e847","description":""}]}