{"info":{"_postman_id":"fa90d0b4-a5a6-4b3b-9a19-669b22426735","name":"Eventful API","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>Event(ful) API powers the app with the same name.</p>\n<h1 id=\"overview\">Overview</h1>\n<p>The Event(ful) API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>Event(ful) API currently requires no authentication.</p>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p>200 OK - The request has succeeded.</p>\n<p>404 Not Found - The server can not find the requested resource.</p>\n<p>500 Internal Server Error - The server has encountered a situation it doesn't know how to handle.</p>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>Event(ful) API  runs on Heroku plan with the following limitations:</p>\n<p>Enforced row limits of 10,000 rows for hobby-dev and 10,000,000 for hobby-basic plans\nMaximum storage of 1GB for hobby-dev and 10GB for hobby-basic plans\nMaximum of 20 connections</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Error Codes","slug":"error-codes"},{"content":"Rate limit","slug":"rate-limit"}],"owner":"16788389","collectionId":"fa90d0b4-a5a6-4b3b-9a19-669b22426735","publishedId":"UUy65PT5","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-10-05T19:46:38.000Z"},"item":[{"name":"Users","item":[{"name":"Create new user","id":"8adecc11-75b7-41c2-b793-8e83b3ed152a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"email\": \"sampleemail@email.com\", \"password\": \"password\"}","options":{"raw":{"language":"json"}}},"url":"https://eventful-capstone.herokuapp.com/users","urlObject":{"protocol":"https","path":["users"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"2b9dfed0-f31d-4554-99f8-916715e32234","name":"Create new user","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"email\": \"sampleemail@email.com\", \"password\": \"password\"}","options":{"raw":{"language":"json"}}},"url":"https://eventful-capstone.herokuapp.com/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"135"},{"key":"Etag","value":"W/\"87-nLjXzlsse4gjuoIx6hZ9zWjASm0\""},{"key":"Date","value":"Tue, 05 Oct 2021 18:47:18 GMT"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"payload\": {\n        \"user_id\": 9,\n        \"password\": \"password\",\n        \"email\": \"sample2email@email.com\",\n        \"created_at\": \"2021-10-05T18:47:18.230Z\"\n    }\n}"}],"_postman_id":"8adecc11-75b7-41c2-b793-8e83b3ed152a"},{"name":"Get all users","id":"da892f1e-1519-4fe9-89cf-008da3ade103","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://eventful-capstone.herokuapp.com/users","urlObject":{"protocol":"https","path":["users"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"da892f1e-1519-4fe9-89cf-008da3ade103"},{"name":"Get one user","id":"3441dc51-7c5f-4dce-8f93-e1db9f2e8ba8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://eventful-capstone.herokuapp.com/users/:email","urlObject":{"protocol":"https","path":["users",":email"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"email"}]}},"response":[],"_postman_id":"3441dc51-7c5f-4dce-8f93-e1db9f2e8ba8"}],"id":"0e920103-3b20-4d75-87dd-9b232ae45af5","_postman_id":"0e920103-3b20-4d75-87dd-9b232ae45af5","description":""},{"name":"Events","item":[{"name":"Create new event for a user","id":"3fcadb6f-2df3-46db-bafa-6323cbc4fda8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://eventful-capstone.herokuapp.com/events/:user_id","urlObject":{"protocol":"https","path":["events",":user_id"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"}]}},"response":[],"_postman_id":"3fcadb6f-2df3-46db-bafa-6323cbc4fda8"},{"name":"Delete an event for a user","id":"ba16353c-f0f9-4b3b-b24c-368857c684bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://eventful-capstone.herokuapp.com/events/:user_id/:event_id","urlObject":{"protocol":"https","path":["events",":user_id",":event_id"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"event_id"}]}},"response":[],"_postman_id":"ba16353c-f0f9-4b3b-b24c-368857c684bc"},{"name":"Get all events for a user","id":"4f45eb76-3e1b-437e-8d53-21fe0ccd570e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://eventful-capstone.herokuapp.com/events/:user_id","urlObject":{"protocol":"https","path":["events",":user_id"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"}]}},"response":[],"_postman_id":"4f45eb76-3e1b-437e-8d53-21fe0ccd570e"},{"name":"Get one event for a user","id":"47216c6a-f45d-471a-ad8f-15587afc3fc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://eventful-capstone.herokuapp.com/users/:user_id/:event_id","urlObject":{"protocol":"https","path":["users",":user_id",":event_id"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"event_id"}]}},"response":[],"_postman_id":"47216c6a-f45d-471a-ad8f-15587afc3fc6"},{"name":"Update an event for a user","id":"797bcaf3-03aa-494f-83a4-4d509f7a770e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":""},"url":"https://eventful-capstone.herokuapp.com/events/:user_id/:event_id","urlObject":{"protocol":"https","path":["events",":user_id",":event_id"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"event_id"}]}},"response":[],"_postman_id":"797bcaf3-03aa-494f-83a4-4d509f7a770e"}],"id":"4029f540-4c0c-4a6f-bcc6-b9b89e957155","_postman_id":"4029f540-4c0c-4a6f-bcc6-b9b89e957155","description":""},{"name":"Favorite Vendors","item":[{"name":"Get all favorite vendors for a user","id":"0b74cdea-2b75-4540-b537-c78f2b094a9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://eventful-capstone.herokuapp.com/favorites/:user_id","urlObject":{"protocol":"https","path":["favorites",":user_id"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"}]}},"response":[],"_postman_id":"0b74cdea-2b75-4540-b537-c78f2b094a9c"},{"name":"Get one favorite vendor for a user","id":"6beca180-5bbd-4280-b523-b9ded13cf621","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://eventful-capstone.herokuapp.com/favorites/:user_id/:event_id/:vendor_name","urlObject":{"protocol":"https","path":["favorites",":user_id",":event_id",":vendor_name"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"event_id"},{"type":"any","value":null,"key":"vendor_name"}]}},"response":[],"_postman_id":"6beca180-5bbd-4280-b523-b9ded13cf621"},{"name":"Crete new favorite vendor for a user","id":"67dac836-fe95-4a2d-bddc-09802f8a44ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"\n        {\n            \"vendor_name\": \"Studio by Sehee\",\n            \"vendor_address\": \"Brooklyn, NY 11230\",\n            \"vendor_phone_number\": \"0\",\n            \"vendor_id\": \"44d8kRfrvPty7BAONiDueg\",\n            \"vendor_category\": \"videographers\",\n            \"vendor_image\": \"https://s3-media4.fl.yelpcdn.com/bphoto/qN_iP6Omv0exEMatjv8HWw/o.jpg\",\n            \"vendor_rating\": 0\n        }\n","options":{"raw":{"language":"json"}}},"url":"https://eventful-capstone.herokuapp.com/favorites/:user_id","urlObject":{"protocol":"https","path":["favorites",":user_id"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"}]}},"response":[],"_postman_id":"67dac836-fe95-4a2d-bddc-09802f8a44ad"},{"name":"Delete a favorite vendor for a user","id":"6071b2f7-ac7f-464e-8d34-c7fb740daaeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://eventful-capstone.herokuapp.com/favorites/:user_id/:vendor_name","urlObject":{"protocol":"https","path":["favorites",":user_id",":vendor_name"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"vendor_name"}]}},"response":[],"_postman_id":"6071b2f7-ac7f-464e-8d34-c7fb740daaeb"}],"id":"d9312cbb-ed42-46c2-8f9f-eee8ccedf1f5","_postman_id":"d9312cbb-ed42-46c2-8f9f-eee8ccedf1f5","description":""},{"name":"Booked Vendors","item":[{"name":"Get all booked vendors for a user","id":"5d9f7287-fb47-4dda-9fc4-ecc947cbcb1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://eventful-capstone.herokuapp.com/booked/:user_id/:event_id","urlObject":{"protocol":"https","path":["booked",":user_id",":event_id"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"event_id"}]}},"response":[],"_postman_id":"5d9f7287-fb47-4dda-9fc4-ecc947cbcb1c"},{"name":"Get one booked vendor for a user","id":"01b63eb9-a680-4714-9d8c-e2f98471daa8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://eventful-capstone.herokuapp.com/booked/:user_id/:event_id/:vendor_name","urlObject":{"protocol":"https","path":["booked",":user_id",":event_id",":vendor_name"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"event_id"},{"type":"any","value":null,"key":"vendor_name"}]}},"response":[],"_postman_id":"01b63eb9-a680-4714-9d8c-e2f98471daa8"},{"name":"Get one booked vendor for a user by category","id":"e5eed0c4-ab0a-407e-8f6f-c284a9153436","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://eventful-capstone.herokuapp.com/booked/category/:category/:user_id/:event_id","urlObject":{"protocol":"https","path":["booked","category",":category",":user_id",":event_id"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"category"},{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"event_id"}]}},"response":[],"_postman_id":"e5eed0c4-ab0a-407e-8f6f-c284a9153436"},{"name":"Create a booked vendor for a user","id":"b3197983-eabb-4c2c-a5ea-b632632d2f5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"\n        {\n            \"vendor_name\": \"Peachy Cao Photography\",\n            \"vendor_address\": \"1615 Bay Ridge Pkwy, Brooklyn, NY 11204\",\n            \"vendor_phone_number\": \"0\",\n            \"vendor_image\": \"https://s3-media3.fl.yelpcdn.com/bphoto/ce8jIO6n_EXulI7rnnAx1A/o.jpg\",\n            \"rating\": 5,\n            \"category\": \"photographers\",\n            \"amount\": \"345\"\n        }\n","options":{"raw":{"language":"json"}}},"url":"https://eventful-capstone.herokuapp.com/booked/:user_id/:event_id","urlObject":{"protocol":"https","path":["booked",":user_id",":event_id"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"event_id"}]}},"response":[],"_postman_id":"b3197983-eabb-4c2c-a5ea-b632632d2f5e"},{"name":"Delete a booked vendor for a user","id":"bbd064a6-a12e-427d-831b-d7bdddf35cfb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://eventful-capstone.herokuapp.com/booked/:user_id/:event_id/:category","urlObject":{"protocol":"https","path":["booked",":user_id",":event_id",":category"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"event_id"},{"type":"any","value":null,"key":"category"}]}},"response":[],"_postman_id":"bbd064a6-a12e-427d-831b-d7bdddf35cfb"},{"name":"Update a booked vendor for a user","id":"5b42a630-0671-4623-865d-2e79cfbe324c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"vendor_name\": \"Peachy Cao Photography\",\n  \"vendor_address\": \"1615 Bay Ridge Pkwy, Brooklyn, NY 11204\",\n  \"vendor_phone_number\": \"0\",\n  \"vendor_image\": \"https://s3-media3.fl.yelpcdn.com/bphoto/ce8jIO6n_EXulI7rnnAx1A/o.jpg\",\n  \"rating\": 5,\n  \"category\": \"photographers\",\n  \"amount\": \"345\"\n}","options":{"raw":{"language":"json"}}},"url":"https://eventful-capstone.herokuapp.com/booked/:user_id/:event_id","urlObject":{"protocol":"https","path":["booked",":user_id",":event_id"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"event_id"}]}},"response":[],"_postman_id":"5b42a630-0671-4623-865d-2e79cfbe324c"}],"id":"794027c6-e096-4a33-afca-9ace864eac72","_postman_id":"794027c6-e096-4a33-afca-9ace864eac72","description":""},{"name":"Checklist","item":[{"name":"Get a checklist for an event","id":"0357f928-af5e-4832-aef8-d3e9f769c63f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://eventful-capstone.herokuapp.com/checklist/:user_id/:event_id","urlObject":{"protocol":"https","path":["checklist",":user_id",":event_id"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"event_id"}]}},"response":[],"_postman_id":"0357f928-af5e-4832-aef8-d3e9f769c63f"},{"name":"Create a new checklist for an event","id":"3834c1f2-8487-4527-b31d-00f3b62ae345","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://eventful-capstone.herokuapp.com/checklist/:user_id/:event_id","urlObject":{"protocol":"https","path":["checklist",":user_id",":event_id"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"event_id"}]}},"response":[],"_postman_id":"3834c1f2-8487-4527-b31d-00f3b62ae345"},{"name":"Delete a checklist for an event","id":"14fab326-2ff0-4201-8e2c-323e19b2494e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://eventful-capstone.herokuapp.com/checklist/:user_id/:event_id/:task_name","urlObject":{"protocol":"https","path":["checklist",":user_id",":event_id",":task_name"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"event_id"},{"type":"any","value":null,"key":"task_name"}]}},"response":[],"_postman_id":"14fab326-2ff0-4201-8e2c-323e19b2494e"},{"name":"Delete all checklists for an event","id":"533947fa-16fb-413a-954c-51ef60c445f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://eventful-capstone.herokuapp.com/checklist/all/:user_id/:event_id","urlObject":{"protocol":"https","path":["checklist","all",":user_id",":event_id"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"event_id"}]}},"response":[],"_postman_id":"533947fa-16fb-413a-954c-51ef60c445f3"},{"name":"Update a checklist for an event","id":"1b06b0ba-a6c9-467f-9b21-745f37d27aac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"\n        {\n            \"task_name\": \"photographers\",\n            \"is_completed\": true\n        }","options":{"raw":{"language":"json"}}},"url":"https://eventful-capstone.herokuapp.com/:user_id/:event_id","urlObject":{"protocol":"https","path":[":user_id",":event_id"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"event_id"}]}},"response":[],"_postman_id":"1b06b0ba-a6c9-467f-9b21-745f37d27aac"},{"name":"Update cost in a checklist for an event","id":"4dd7a4cc-ff5e-4eb3-be4a-7b7c9f911fba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"\n        {\n            \"task_name\": \"photographers\",\n            \"task_cost\": \"345\"\n        }","options":{"raw":{"language":"json"}}},"url":"https://eventful-capstone.herokuapp.com/checklist/cost/:user_id/:event_id","urlObject":{"protocol":"https","path":["checklist","cost",":user_id",":event_id"],"host":["eventful-capstone","herokuapp","com"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"},{"type":"any","value":null,"key":"event_id"}]}},"response":[],"_postman_id":"4dd7a4cc-ff5e-4eb3-be4a-7b7c9f911fba"}],"id":"3c630995-6a10-473c-b1e1-828026955553","_postman_id":"3c630995-6a10-473c-b1e1-828026955553","description":""}],"event":[{"listen":"prerequest","script":{"id":"229c5568-edb8-4192-b119-a743acc4df34","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0a9408bc-976e-47d6-b9f2-090be56bc07c","type":"text/javascript","exec":[""]}}],"variable":[{"key":"user_id","value":""}]}