{"info":{"_postman_id":"7eb94714-7e9e-4461-8da1-b07ec391bc07","name":"Noodlewall PROTOTYPE API","description":"<html><head></head><body><h1 id=\"noodlewall-prototype-api\">Noodlewall Prototype API</h1>\n<ul>\n<li>Griffin Atkinson 04/2021 </li>\n<li>for FRMH coop, for CP490 - Confederation College</li>\n</ul>\n<h2 id=\"dependencies\">Dependencies</h2>\n<ul>\n<li>XAMPP (Apache + MYSQL) required</li>\n</ul>\n<h2 id=\"authors\">Authors</h2>\n<ul>\n<li>Griffin Atkinson (<a href=\"https://github.com/griffthegrouch\">https://github.com/griffthegrouch</a>)</li>\n</ul>\n<h2 id=\"intro\">Intro</h2>\n<ul>\n<li>This API was developed by Griffin Atkinson, April 2021, in order to communicate with the React Noodlewall prototype, as part of a coop placement for FRMH at Confederation College.</li>\n<li>This API can be used both locally and remotely, although to use locally, small manual modifications need to be made to files, and alternate database setup procedure must be followed, details are outlined clearly throughout setup process.</li>\n<li>Currently the remote repository is hosted on my personal site \"gatkinson.site\", and will likely be unavailable shortly after the coop placement ends</li>\n</ul>\n<h1 id=\"description\">Description</h1>\n<ul>\n<li>This API's functionality is to be used by a frontend prototype to store user accounts and event objects, as well as corresponding images, and interact with them. </li>\n<li>It contains the functionality for the frontend to create/read/update/delete user profiles and the user's events</li>\n</ul>\n<h1 id=\"getting-started\">Getting Started</h1>\n<ul>\n<li>1 - Setup database -&gt; See Database Setup</li>\n<li>2 - Modify files if using repository locally.\n  Local vs Remote repository, when using api locally,\n  -&gt; change the database connection info on the config/database.php from the remote repository connection info, to the local repository connection info supplied\n  -&gt; change and the addresses in event/uploadEventImage.php, and user/uploadUserIcon.php from the remote repository address, to the local repository address supplied</li>\n<li>3 - Make calls to the endpoints -&gt; see API_Call_Examples.txt</li>\n</ul>\n<h1 id=\"database-setup\">Database Setup</h1>\n<ul>\n<li>config/database.php -&gt; contains database connection details and credentials (see file to uncomment/comment details when connecting to local vs remote repositories)</li>\n<li>db_scripts/ folder contains scripts with sql queries that when used on database will create the database \"noodlewall_db\" and the tables \"events, users\"(create_db.sql), and populate it with event and user data </li>\n<li>If using remote repository -&gt; (populate_db.sql)</li>\n<li>If using local repository -&gt; (LOCAL_populate_db.sql)</li>\n</ul>\n<h1 id=\"file-structure\">File Structure</h1>\n<p>cp490-noodlewall-API-PHP/</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>config/         - contains database.php, stores database connection credentials and details\n\ndb_scripts/     - contains scripts for creating and populating the database\n\nevent/          - contains all api call files for interacting with noodlewall events\n\nimages/         - contains subfolders events/ and userIcons/ that hold all images for events and user profile icons\n\nobjects/        - contains event.php and user.php - the classes the contain the endpoints that handle the interaction between the api endpoint calls and the database\n\nuser/           - contains all api call files for interacting with noodlewall user profile accounts\n\nApi_Call_Examples.txt    - contains all example/template GET/POST requests\n\nindex.html               - contains a simple landing page in case the user navigates to the API's root directory, has no function or other purpose\n\nREADME.md                - contains all information about this project\n</code></pre><h1 id=\"database-structure\">Database Structure</h1>\n<h2 id=\"events-table\">Events Table</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>noodleID            -- required field   -- int(11)          unique ID of event - auto generated\nnoodleTitle         -- required field   -- varchar(256)     name of the event\nuserID              -- required field   -- int(11)          ID of the user the event belongs to\nnoodleStatus        -- required field   -- varchar(256)     event/dream status\nnoodleDescription   -- required field   -- varchar(3000)        long description of event\nnoodleSummary                           -- varchar(512)     short descriptiopn of event\nnoodleTags                              -- varchar(256)         short tags/categories event belongs to -- a long csv string\nnoodleCoverImage                        -- varchar(256)         string that stores address of image in website\nnoodleImages                            -- varchar(512)     long csv string that stores address of images in website\nnoodleImageText                         -- varchar(3000)        long csv string that stores texts coresponding to images in website\nnoodleLocation                          -- varchar(256)     location of event\nnoodleDirections                        -- varchar(512)     directions to event\nnoodleDate                              -- varchar(256)     date of event\nnoodleTime                              -- varchar(256)     time of event\nnoodlePrice                             -- decimal(15,2)        price of tickets 15 is precision(total length of value) 2 is num of digits after decimal\nnoodleMinTickets                        -- int(11)          minimum number of tickets sold for event to take place\nnoodleMaxTickets                        -- int(11)          maximum number of tickets available\nnoodleTicketsSold                       -- int(11)          current number of sold tickets\nnoodleCutoff                            -- varchar(256)     cutoff date for event funding\n</code></pre><h2 id=\"users-table\">Users Table</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>userID              -- required field   -- int(11)          unique ID of user - auto generated\nuserName            -- required field   -- varchar(256)     user's username \nuserFirstName       -- required field   -- varchar(256)     user's firstname\nuserLastName        -- required field   -- varchar(256)     user's lastname\nuserRating                              -- float (15)       user's rating 0-5\nuserBio                                 -- varchar(256)     short version of user's bio\nuserBioLong                             -- varchar(3000)        long version of user's bio\nuserImage                               -- varchar(256)         address of user's icon image\n</code></pre><h1 id=\"endpoints-overview\">Endpoints Overview</h1>\n<h2 id=\"event-endpoints\">Event Endpoints</h2>\n<ul>\n<li><p>create.php\n  POST - allows you to create an event in the db</p>\n</li>\n<li><p>delete.php\n  POST - allows you to delete an event</p>\n</li>\n<li><p>deleteEventImage.php\n  POST - allows you to delete an event image</p>\n</li>\n<li><p>getByID.php\n  GET - allows you to return an individual event's information</p>\n</li>\n<li><p>getEventsByUserID.php\n  GET - returns all events and their information belonging to an individual user</p>\n</li>\n<li><p>read.php\n  GET - returns all information about all individual events</p>\n</li>\n<li><p>search.php\n  GET - allows you to search all events</p>\n</li>\n<li><p>update.php\n  POST - allows you to edit an event</p>\n</li>\n<li><p>uploadEventImage.php\n  POST - allows you to store an event image</p>\n</li>\n</ul>\n<h2 id=\"user-endpoints\">User Endpoints</h2>\n<ul>\n<li><p>create.php\n  POST - allows you to create a user</p>\n</li>\n<li><p>delete.php\n  POST - allows you to delete a user</p>\n</li>\n<li><p>deleteUserIcon.php\n  POST - allows you to delete a user's icon image</p>\n</li>\n<li><p>getByID.php\n  GET - allows you to return all information about a user</p>\n</li>\n<li><p>getUserByEventID.php\n  GET - allows you to return all information about a user by one of their event's IDs</p>\n</li>\n<li><p>read.php\n  GET - returns all information about all users</p>\n</li>\n<li><p>search.php\n  POST - allows you to search all users</p>\n</li>\n<li><p>update.php\n  POST -allows you to edit a user</p>\n</li>\n<li><p>uploadUserIcon.php\n  POST - allows you to store a user's icon image</p>\n</li>\n</ul>\n<h1 id=\"endpoint-call-examples\">Endpoint Call Examples</h1>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Noodlewall Prototype API","slug":"noodlewall-prototype-api"},{"content":"Description","slug":"description"},{"content":"Getting Started","slug":"getting-started"},{"content":"Database Setup","slug":"database-setup"},{"content":"File Structure","slug":"file-structure"},{"content":"Database Structure","slug":"database-structure"},{"content":"Endpoints Overview","slug":"endpoints-overview"},{"content":"Endpoint Call Examples","slug":"endpoint-call-examples"}],"owner":"15350394","collectionId":"7eb94714-7e9e-4461-8da1-b07ec391bc07","publishedId":"TzJvdbor","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-04-21T15:43:05.000Z"},"item":[{"name":"Remote Event Endpoints","item":[{"name":"Create Event","id":"d7760313-1422-4cc3-8b50-47454276fb71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"noodleID\" : null,\r\n    \"noodleTitle\" : \"event title\",\r\n    \"userID\" : 1,\r\n    \"noodleStatus\" : \"event\",\r\n    \"noodleDescription\" : \"super great event description\",\r\n    \"noodleSummary\" : \"super great event summary\",\r\n    \"noodleTags\" : [\"fishing\", \"food\", \"hobby\", \"friends\", \"sports\"],\r\n    \"noodleCoverImage\" : null,\r\n    \"noodleImages\" : [],\r\n    \"noodleImageText\" : [],\r\n    \"noodleLocation\" : null,\r\n    \"noodleDirections\" : null,\r\n    \"noodleDate\" : null,\r\n    \"noodleTime\" : null,\r\n    \"noodlePrice\" : null,\r\n    \"noodleMinTickets\" : null,\r\n    \"noodleMaxTickets\" : null,\r\n    \"noodleTicketsSold\" : null,\r\n    \"noodleCutoff\" : null\r\n}"},"url":"http://www.gatkinson.site/noodlewall/event/create.php","description":"<p>This endpoint allows you to create an event in the database by providing all event info in the request body, returns all information about the newly created event</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","create.php"],"host":["www","gatkinson","site"],"query":[],"variable":[]}},"response":[{"id":"5f411325-a286-47f5-a060-1363f61afe7f","name":"event create","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"noodleID\" : null,\r\n    \"noodleTitle\" : \"event title\",\r\n    \"userID\" : 1,\r\n    \"noodleStatus\" : \"event\",\r\n    \"noodleDescription\" : \"super great event description\",\r\n    \"noodleSummary\" : \"super great event summary\",\r\n    \"noodleTags\" : [\"fishing\", \"food\", \"hobby\", \"friends\", \"sports\"],\r\n    \"noodleCoverImage\" : null,\r\n    \"noodleImages\" : [],\r\n    \"noodleImageText\" : [],\r\n    \"noodleLocation\" : null,\r\n    \"noodleDirections\" : null,\r\n    \"noodleDate\" : null,\r\n    \"noodleTime\" : null,\r\n    \"noodlePrice\" : null,\r\n    \"noodleMinTickets\" : null,\r\n    \"noodleMaxTickets\" : null,\r\n    \"noodleTicketsSold\" : null,\r\n    \"noodleCutoff\" : null\r\n}"},"url":"http://www.gatkinson.site/noodlewall/event/create.php"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Apr 2021 17:17:22 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"279"},{"key":"Keep-Alive","value":"timeout=5, max=75"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"noodleID\": \"15\",\n    \"noodleTitle\": \"event title\",\n    \"userID\": \"1\",\n    \"noodleStatus\": \"event\",\n    \"noodleDescription\": \"super great event description\",\n    \"noodleSummary\": \"super great event summary\",\n    \"noodleTags\": \"fishing,food,hobby,friends,sports\",\n    \"noodleCoverImage\": \"http://gatkinson.site/noodlewall/images/events/607dbb14667d1.png\",\n    \"noodleImages\": \"\",\n    \"noodleImageText\": \"\",\n    \"noodleLocation\": \"\",\n    \"noodleDirections\": \"\",\n    \"noodleDate\": \"\",\n    \"noodleTime\": \"\",\n    \"noodlePrice\": \"0.00\",\n    \"noodleMinTickets\": \"0\",\n    \"noodleMaxTickets\": \"0\",\n    \"noodleTicketsSold\": \"0\",\n    \"noodleCutoff\": \"\"\n}"}],"_postman_id":"d7760313-1422-4cc3-8b50-47454276fb71"},{"name":"Delete Event","id":"1fae8ffd-7586-43a3-a805-f7dcab41c9c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userID\" : 1\r\n}"},"url":"http://www.gatkinson.site/noodlewall/event/delete.php","description":"<p>This endpoint allows you to delete an event by providing an event's id in the request body</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","delete.php"],"host":["www","gatkinson","site"],"query":[],"variable":[]}},"response":[{"id":"e149a5eb-57b1-4051-ba62-17a38928b863","name":"Delete Event","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userID\" : 1\r\n}"},"url":"http://www.gatkinson.site/noodlewall/event/delete.php"},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:24:50 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Content-Length","value":"32"},{"key":"Keep-Alive","value":"timeout=5, max=75"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Event was deleted.\"\n}"}],"_postman_id":"1fae8ffd-7586-43a3-a805-f7dcab41c9c3"},{"name":"Delete Event Image","id":"cf7eab31-4fc7-46f4-9c93-b953c707ac6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"imageAddress\" : \"http://gatkinson.site/noodlewall/images/events/607f37f84291f.png\"\r\n}"},"url":"http://www.gatkinson.site/noodlewall/event/deleteEventImage.php","description":"<p>This endpoint allows you to delete an event image by providing a url or path to the image in the request body</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","deleteEventImage.php"],"host":["www","gatkinson","site"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"b8c1099c-f00e-4766-9ce5-f4d22dfa3db2","name":"Delete Event Image","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"imageAddress\" : \"http://gatkinson.site/noodlewall/images/events/608035c115c15.png\"\r\n}"},"url":{"raw":"http://www.gatkinson.site/noodlewall/event/deleteEventImage.php","protocol":"http","host":["www","gatkinson","site"],"path":["noodlewall","event","deleteEventImage.php"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:25:19 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"87"},{"key":"Keep-Alive","value":"timeout=5, max=75"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"../images/events/608035c115c15.png deleted successfully\"\n}"}],"_postman_id":"cf7eab31-4fc7-46f4-9c93-b953c707ac6b"},{"name":"Get Event by ID","id":"8f094196-c935-4b9a-8b78-c300430324c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://www.gatkinson.site/noodlewall/event/getByID.php?id=1","description":"<p>This endpoint allows you to return an event's information by providing the event's noodleID as a parameter</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","getByID.php"],"host":["www","gatkinson","site"],"query":[{"key":"id","value":"1"}],"variable":[]}},"response":[{"id":"87448cb5-70a0-48d9-b6d7-18d82a6b2336","name":"event find by id","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://www.gatkinson.site/noodlewall/event/getByID.php?id=1","protocol":"http","host":["www","gatkinson","site"],"path":["noodlewall","event","getByID.php"],"query":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 20 Apr 2021 16:07:32 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"1613"},{"key":"Keep-Alive","value":"timeout=5, max=75"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"noodleID\": \"1\",\n    \"noodleTitle\": \"Fishing with Friends\",\n    \"userID\": \"1\",\n    \"noodleStatus\": \"event\",\n    \"noodleDescription\": \"Hey, I am Pam! I love fishing but none of my friends do! I have a boat, and all the gear you could possibly need. Fish is on the menu but if we get skunked, I have food available as well.\",\n    \"noodleSummary\": \"Come fish with me! I have a boat, and gear.\",\n    \"noodleTags\": \"fishing, food, hobby, friends, sports\",\n    \"noodleCoverImage\": \"http://gatkinson.site/noodlewall/images/events/fishing-crop.png\",\n    \"noodleImages\": \"http://gatkinson.site/noodlewall/images/events/fishing-crop.png,http://gatkinson.site/noodlewall/images/events/607ed7fd2e92c.png,https%3A%2F%2Fimages.unsplash.com%2Fphoto-1618806733202-06a1f73443e3%3Fw%3D1280%26h%3D720%26fit%3Dcrop%26crop%3Dentropy\",\n    \"noodleImageText\": \"Lorem%20ipsum%20dolor%20sit%20amet%2C%20consectetur%20adipiscing%20elit.%20Etiam%20velit%20nibh%2C%20viverra%20et%20leo%20et%2C%20ornare%20venenatis%20orci.%20Pellentesque%20facilisis%20orci%20vitae%20urna%20malesuada%2C%20sed%20aliquet%20arcu%20placerat.%20Quisque%20nec%20sapien%20at%20mi%20dapibus%20aliquam%20at%20ut%20neque.%20Nam%20blandit%20convallis%20ligula%20id%20tristique.%20Fusce%20turpis%20est%2C%20laoreet%20a%20nunc%20vitae%2C%20euismod%20placerat%20massa.%20Etiam%20tempor%20quis%20ex%20eu%20lobortis.%20Aenean%20faucibus%2C%20nunc%20non%20congue%20dictum%2C%20orci%20felis%20suscipit%20sapien%2C%20ut%20accumsan%20quam%20urna%20ac%20lacus.%20Curabitur%20tincidunt%20purus%20leo%2C%20eu%20egestas%20purus%20tincidunt%20a.%20Donec%20quis%20elit%20ornare%2C%20interdum%20mi%20ut%2C%20lobortis%20leo.%20Cras%20mollis%20condimentum%20odio%2C%20ac%20ultrices%20metus%20viverra%20vitae.%20Nullam%20sit%20amet%20eros%20a%20neque%20aliquet%20tristique%20ac%20vitae%20magna.%20Nullam%20pretium%20dui%20est%2C%20at%20imperdiet%20est%20molestie%20sed.%20Interdum%20et%20malesuada%20fames%20ac%20ante%20ipsum%20primis%20in%20faucibus.,In%20eu%20nunc%20tincidunt%2C%20tempus%20arcu%20sit%20amet%2C%20lacinia%20ipsum.%20Vestibulum%20vitae%20tempor%20quam.%20Sed%20vel%20posuere%20massa.%20Suspendisse%20eu%20laoreet%20nisl.%20Nulla%20facilisi.%20Curabitur%20scelerisque%2C%20nibh%20vel%20sollicitudin%20viverra%2C%20diam%20tellus%20porttitor%20tortor%2C%20ut%20suscipit%20nisi%20enim%20et%20diam.%20Mauris%20non%20volutpat%20metus.%20Nunc%20iaculis%20ac%20mi%20id%20elementum.%20Maecenas%20commodo%20faucibus%20dapibus.%20Quisque%20congue%20nisl%20eget%20pulvinar%20rutrum.%20Pellentesque%20eleifend%20faucibus%20justo.%20Mauris%20iaculis%20sit%20amet%20velit%20quis%20dapibus.%20Vivamus%20suscipit%20felis%20nec%20ligula%20ultrices%20bibendum.,Aliquam%20a%20dui%20vitae%20lorem%20vehicula%20interdum.%20Curabitur%20consequat%20pharetra%20metus%2C%20ut%20egestas%20erat%20tristique%20a.%20Nullam%20eu%20tellus%20tempus%2C%20convallis%20lorem%20eget%2C%20commodo%20est.%20Vestibulum%20ante%20ipsum%20primis%20in%20faucibus%20orci%20luctus%20et%20ultrices%20posuere%20cubilia%20curae%3B%20Sed%20eleifend%20lacus%20laoreet%2C%20tincidunt%20nulla%20vitae%2C%20posuere%20magna.%20Donec%20porta%20nibh%20ut%20velit%20ultrices%20aliquet.%20Donec%20suscipit%20sodales%20mollis.%20Donec%20vel%20tempor%20lectus.%20Mauris%20eros%20est%2C%20commodo%20et%20venenatis%20id%2C%20dignissim%20ut%20ex.%20Mauris%20egestas%20mauris%20eros%2C%20sed%20ornare%20lectus%20pharetra%20accumsan.\",\n    \"noodleLocation\": \"Sydney, Ontario\",\n    \"noodleDirections\": \"Drive up the hill, then take a right, and into the large parking lot on the left\",\n    \"noodleDate\": \"2021-05-30\",\n    \"noodleTime\": \"8:30AM-5:00PM\",\n    \"noodlePrice\": \"17.00\",\n    \"noodleMinTickets\": \"2\",\n    \"noodleMaxTickets\": \"3\",\n    \"noodleTicketsSold\": \"0\",\n    \"noodleCutoff\": \"2021-04-30\"\n}"}],"_postman_id":"8f094196-c935-4b9a-8b78-c300430324c0"},{"name":"Get Events by UserID","id":"5a765351-646d-4f6a-a772-df2231520420","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://www.gatkinson.site/noodlewall/event/getEventsByUserID.php?id=1","description":"<p>This endpoint returns all events and their details belonging to an individual user, by providing the user's userID</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","getEventsByUserID.php"],"host":["www","gatkinson","site"],"query":[{"disabled":true,"key":"","value":null},{"key":"id","value":"1"}],"variable":[]}},"response":[{"id":"c86223f3-05a1-4448-827c-7974d9969b95","name":"events find by user id","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://www.gatkinson.site/noodlewall/event/getEventsByUserID.php?id=1","protocol":"http","host":["www","gatkinson","site"],"path":["noodlewall","event","getEventsByUserID.php"],"query":[{"key":"","value":null,"type":"text","disabled":true},{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Apr 2021 16:14:06 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"745"},{"key":"Keep-Alive","value":"timeout=5, max=75"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"records\": [\n        {\n            \"noodleID\": \"1\",\n            \"noodleTitle\": \"Fishing with Friends\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"event\",\n            \"noodleDescription\": \"Hey, I am Pam! I love fishing but none of my friends do! I have a boat, and all the gear you could possibly need. Fish is on the menu but if we get skunked, I have food available as well.\",\n            \"noodleTags\": [\n                \"fishing\",\n                \" food\",\n                \" hobby\",\n                \" friends\",\n                \" sports\"\n            ],\n            \"noodleImage\": \"http://gatkinson.site/noodlewall/images/events/fishing-crop.png\",\n            \"noodleLocation\": \"Sydney, Ontario\",\n            \"noodleDate\": \"2021-05-30\",\n            \"noodleTime\": \"8:30AM-5:00PM\",\n            \"noodlePrice\": \"17.00\",\n            \"noodleMinTickets\": \"2\",\n            \"noodleMaxTickets\": \"3\",\n            \"noodleTicketsSold\": \"1\",\n            \"noodleCutoff\": \"2021-04-30\"\n        },\n        {\n            \"noodleID\": \"3\",\n            \"noodleTitle\": \"Cooking For Kids\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Cooking Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere.\",\n            \"noodleTags\": [\n                \"cooking\",\n                \" food\",\n                \" hobby\",\n                \" kids\"\n            ],\n            \"noodleImage\": \"http://gatkinson.site/noodlewall/images/events/kidsCooking-crop.png\",\n            \"noodleLocation\": null,\n            \"noodleDate\": null,\n            \"noodleTime\": null,\n            \"noodlePrice\": null,\n            \"noodleMinTickets\": null,\n            \"noodleMaxTickets\": null,\n            \"noodleTicketsSold\": null,\n            \"noodleCutoff\": null\n        },\n        {\n            \"noodleID\": \"7\",\n            \"noodleTitle\": \"Farmers Market\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Id like to know how much interest there is in a sunday morning farmers market, I know many local businesses that would love to get something rolling and if we can get real interest, I can plan something.\",\n            \"noodleTags\": [\n                \"farmers market\",\n                \" grocery\"\n            ],\n            \"noodleImage\": \"http://gatkinson.site/noodlewall/images/events/bowling-crop.png\",\n            \"noodleLocation\": \"Lakehead University Area\",\n            \"noodleDate\": null,\n            \"noodleTime\": null,\n            \"noodlePrice\": null,\n            \"noodleMinTickets\": null,\n            \"noodleMaxTickets\": null,\n            \"noodleTicketsSold\": null,\n            \"noodleCutoff\": null\n        }\n    ]\n}"}],"_postman_id":"5a765351-646d-4f6a-a772-df2231520420"},{"name":"Get All Events","id":"cdc1a25a-5648-4e72-bf46-7757968be543","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://www.gatkinson.site/noodlewall/event/read.php","description":"<p>This endpoint returns all events and their details stored in the database</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","read.php"],"host":["www","gatkinson","site"],"query":[],"variable":[]}},"response":[{"id":"7f7fcfc6-3eac-42ea-add3-ace29526f02a","name":"events read","originalRequest":{"method":"GET","header":[],"url":"http://www.gatkinson.site/noodlewall/event/read.php"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 20 Apr 2021 16:06:58 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"3826"},{"key":"Keep-Alive","value":"timeout=5, max=75"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"records\": [\n        {\n            \"noodleID\": \"1\",\n            \"noodleTitle\": \"Fishing with Friends\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"event\",\n            \"noodleDescription\": \"Hey, I am Pam! I love fishing but none of my friends do! I have a boat, and all the gear you could possibly need. Fish is on the menu but if we get skunked, I have food available as well.\",\n            \"noodleSummary\": \"Come fish with me! I have a boat, and gear.\",\n            \"noodleTags\": [\n                \"fishing\",\n                \" food\",\n                \" hobby\",\n                \" friends\",\n                \" sports\"\n            ],\n            \"noodleCoverImage\": \"http://gatkinson.site/noodlewall/images/events/fishing-crop.png\",\n            \"noodleImages\": [\n                \"http://gatkinson.site/noodlewall/images/events/fishing-crop.png\",\n                \"http://gatkinson.site/noodlewall/images/events/607ed7fd2e92c.png\",\n                \"https%3A%2F%2Fimages.unsplash.com%2Fphoto-1618806733202-06a1f73443e3%3Fw%3D1280%26h%3D720%26fit%3Dcrop%26crop%3Dentropy\"\n            ],\n            \"noodleImageText\": [\n                \"Lorem%20ipsum%20dolor%20sit%20amet%2C%20consectetur%20adipiscing%20elit.%20Etiam%20velit%20nibh%2C%20viverra%20et%20leo%20et%2C%20ornare%20venenatis%20orci.%20Pellentesque%20facilisis%20orci%20vitae%20urna%20malesuada%2C%20sed%20aliquet%20arcu%20placerat.%20Quisque%20nec%20sapien%20at%20mi%20dapibus%20aliquam%20at%20ut%20neque.%20Nam%20blandit%20convallis%20ligula%20id%20tristique.%20Fusce%20turpis%20est%2C%20laoreet%20a%20nunc%20vitae%2C%20euismod%20placerat%20massa.%20Etiam%20tempor%20quis%20ex%20eu%20lobortis.%20Aenean%20faucibus%2C%20nunc%20non%20congue%20dictum%2C%20orci%20felis%20suscipit%20sapien%2C%20ut%20accumsan%20quam%20urna%20ac%20lacus.%20Curabitur%20tincidunt%20purus%20leo%2C%20eu%20egestas%20purus%20tincidunt%20a.%20Donec%20quis%20elit%20ornare%2C%20interdum%20mi%20ut%2C%20lobortis%20leo.%20Cras%20mollis%20condimentum%20odio%2C%20ac%20ultrices%20metus%20viverra%20vitae.%20Nullam%20sit%20amet%20eros%20a%20neque%20aliquet%20tristique%20ac%20vitae%20magna.%20Nullam%20pretium%20dui%20est%2C%20at%20imperdiet%20est%20molestie%20sed.%20Interdum%20et%20malesuada%20fames%20ac%20ante%20ipsum%20primis%20in%20faucibus.\",\n                \"In%20eu%20nunc%20tincidunt%2C%20tempus%20arcu%20sit%20amet%2C%20lacinia%20ipsum.%20Vestibulum%20vitae%20tempor%20quam.%20Sed%20vel%20posuere%20massa.%20Suspendisse%20eu%20laoreet%20nisl.%20Nulla%20facilisi.%20Curabitur%20scelerisque%2C%20nibh%20vel%20sollicitudin%20viverra%2C%20diam%20tellus%20porttitor%20tortor%2C%20ut%20suscipit%20nisi%20enim%20et%20diam.%20Mauris%20non%20volutpat%20metus.%20Nunc%20iaculis%20ac%20mi%20id%20elementum.%20Maecenas%20commodo%20faucibus%20dapibus.%20Quisque%20congue%20nisl%20eget%20pulvinar%20rutrum.%20Pellentesque%20eleifend%20faucibus%20justo.%20Mauris%20iaculis%20sit%20amet%20velit%20quis%20dapibus.%20Vivamus%20suscipit%20felis%20nec%20ligula%20ultrices%20bibendum.\",\n                \"Aliquam%20a%20dui%20vitae%20lorem%20vehicula%20interdum.%20Curabitur%20consequat%20pharetra%20metus%2C%20ut%20egestas%20erat%20tristique%20a.%20Nullam%20eu%20tellus%20tempus%2C%20convallis%20lorem%20eget%2C%20commodo%20est.%20Vestibulum%20ante%20ipsum%20primis%20in%20faucibus%20orci%20luctus%20et%20ultrices%20posuere%20cubilia%20curae%3B%20Sed%20eleifend%20lacus%20laoreet%2C%20tincidunt%20nulla%20vitae%2C%20posuere%20magna.%20Donec%20porta%20nibh%20ut%20velit%20ultrices%20aliquet.%20Donec%20suscipit%20sodales%20mollis.%20Donec%20vel%20tempor%20lectus.%20Mauris%20eros%20est%2C%20commodo%20et%20venenatis%20id%2C%20dignissim%20ut%20ex.%20Mauris%20egestas%20mauris%20eros%2C%20sed%20ornare%20lectus%20pharetra%20accumsan.\"\n            ],\n            \"noodleLocation\": \"Sydney, Ontario\",\n            \"noodleDirections\": \"Drive up the hill, then take a right, and into the large parking lot on the left\",\n            \"noodleDate\": \"2021-05-30\",\n            \"noodleTime\": \"8:30AM-5:00PM\",\n            \"noodlePrice\": \"17.00\",\n            \"noodleMinTickets\": \"2\",\n            \"noodleMaxTickets\": \"3\",\n            \"noodleTicketsSold\": \"0\",\n            \"noodleCutoff\": \"2021-04-30\"\n        },\n        {\n            \"noodleID\": \"2\",\n            \"noodleTitle\": \"Thursday Bowling Nights\",\n            \"userID\": \"2\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Bowling Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere.\",\n            \"noodleSummary\": \"\",\n            \"noodleTags\": [\n                \"bowling\",\n                \" hobby\",\n                \" sports\"\n            ],\n            \"noodleCoverImage\": \"http://gatkinson.site/noodlewall/images/events/bowling-crop.png\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": null,\n            \"noodleDirections\": null,\n            \"noodleDate\": null,\n            \"noodleTime\": null,\n            \"noodlePrice\": null,\n            \"noodleMinTickets\": null,\n            \"noodleMaxTickets\": null,\n            \"noodleTicketsSold\": null,\n            \"noodleCutoff\": null\n        },\n        {\n            \"noodleID\": \"4\",\n            \"noodleTitle\": \"Throwback Disco Night\",\n            \"userID\": \"7\",\n            \"noodleStatus\": \"event\",\n            \"noodleDescription\": \"Not many events feature so strongly in our culture as those that revolve around the dance floor. Whether you go ballroom dancing or clubbing, just for fun or to compete, their variety is almost limitless, and so is their enduring appeal. If venues are limited, consider moving the event — and moving your body.\",\n            \"noodleSummary\": \"\",\n            \"noodleTags\": [\n                \"dancing\",\n                \" fun\",\n                \" party\",\n                \" friends\",\n                \" social\",\n                \" drinks\"\n            ],\n            \"noodleCoverImage\": \"http://gatkinson.site/noodlewall/images/events/disco-crop.png\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"Toronto, Ontario\",\n            \"noodleDirections\": null,\n            \"noodleDate\": \"2021-07-22\",\n            \"noodleTime\": \"9:00PM-2:00AM\",\n            \"noodlePrice\": \"22.00\",\n            \"noodleMinTickets\": \"20\",\n            \"noodleMaxTickets\": \"40\",\n            \"noodleTicketsSold\": \"6\",\n            \"noodleCutoff\": \"2021-06-15\"\n        },\n        {\n            \"noodleID\": \"5\",\n            \"noodleTitle\": \"Dryden Barbeque\",\n            \"userID\": \"8\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Hey Im Bob, Im a bit of a grillmaster, and a perfect dad. If you would like to experience the best meal of your life, bring some beer and a few bucks so we can hang out and do what we do best.\",\n            \"noodleSummary\": \"\",\n            \"noodleTags\": [\n                \"bbq\",\n                \" barbeque\",\n                \" meat\",\n                \" friends\",\n                \" social\",\n                \" drinks\"\n            ],\n            \"noodleCoverImage\": \"http://gatkinson.site/noodlewall/images/events/bbq-crop.png\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"Dryden, Ontario\",\n            \"noodleDirections\": null,\n            \"noodleDate\": \"2021-06-12\",\n            \"noodleTime\": \"4:30PM-10:00PM\",\n            \"noodlePrice\": null,\n            \"noodleMinTickets\": null,\n            \"noodleMaxTickets\": null,\n            \"noodleTicketsSold\": null,\n            \"noodleCutoff\": \"2021-06-01\"\n        },\n        {\n            \"noodleID\": \"6\",\n            \"noodleTitle\": \"Local Live Rock\",\n            \"userID\": \"3\",\n            \"noodleStatus\": \"event\",\n            \"noodleDescription\": \"Witness some of the most talented local rock artists in Thunder Bay, planning on a fun bar concert, but if theres enough interest I can find a bigger venue.\",\n            \"noodleSummary\": \"\",\n            \"noodleTags\": [\n                \"music\",\n                \" livemusic\",\n                \" bar\",\n                \" friends\",\n                \" concert\",\n                \" social\"\n            ],\n            \"noodleCoverImage\": \"http://gatkinson.site/noodlewall/images/events/liveRock-crop.png\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"Thunder Bay, Ontario\",\n            \"noodleDirections\": null,\n            \"noodleDate\": \"2021-05-30\",\n            \"noodleTime\": \"7:00PM-11:30PM\",\n            \"noodlePrice\": \"10.00\",\n            \"noodleMinTickets\": \"15\",\n            \"noodleMaxTickets\": \"50\",\n            \"noodleTicketsSold\": \"4\",\n            \"noodleCutoff\": \"2021-05-01\"\n        },\n        {\n            \"noodleID\": \"7\",\n            \"noodleTitle\": \"Farmers Market\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Id like to know how much interest there is in a sunday morning farmers market, I know many local businesses that would love to get something rolling and if we can get real interest, I can plan something.\",\n            \"noodleSummary\": \"Farmers Market\",\n            \"noodleTags\": [\n                \"farmers market\",\n                \" grocery\"\n            ],\n            \"noodleCoverImage\": \"http://gatkinson.site/noodlewall/images/events/bowling-crop.png\",\n            \"noodleImages\": [\n                \"http://gatkinson.site/noodlewall/images/events/bowling-crop.png\"\n            ],\n            \"noodleImageText\": [\n                \"PamLorem%20ipsum%20dolor%20sit%20amet%2C%20consectetur%20adipiscing%20elit.%20Nunc%20id%20sodales%20ex.%20Quisque%20vitae%20ultricies%20ipsum.\"\n            ],\n            \"noodleLocation\": \"Lakehead University Area\",\n            \"noodleDirections\": \"\",\n            \"noodleDate\": \"\",\n            \"noodleTime\": \"\",\n            \"noodlePrice\": \"0.00\",\n            \"noodleMinTickets\": \"0\",\n            \"noodleMaxTickets\": \"0\",\n            \"noodleTicketsSold\": \"0\",\n            \"noodleCutoff\": \"\"\n        },\n        {\n            \"noodleID\": \"8\",\n            \"noodleTitle\": \"Board Game Night\",\n            \"userID\": \"4\",\n            \"noodleStatus\": \"event\",\n            \"noodleDescription\": \"\",\n            \"noodleSummary\": \"Hi there, im Howie. I love board games but have few friends who share my love. Im looking for a few like-minded individuals who would like nothing better than to stay in on a friday night and order a pizza to play some games.\",\n            \"noodleTags\": [\n                \"board games\",\n                \" hobby\",\n                \" pizza\",\n                \" games\",\n                \" friends\"\n            ],\n            \"noodleCoverImage\": \"http://gatkinson.site/noodlewall/images/events/boardgame-crop.png\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"Carleton Place, Ontario\",\n            \"noodleDirections\": null,\n            \"noodleDate\": \"2021-05-30\",\n            \"noodleTime\": \"6:00PM-9:00PM\",\n            \"noodlePrice\": \"5.00\",\n            \"noodleMinTickets\": \"3\",\n            \"noodleMaxTickets\": \"6\",\n            \"noodleTicketsSold\": \"1\",\n            \"noodleCutoff\": \"2021-05-16\"\n        },\n        {\n            \"noodleID\": \"39\",\n            \"noodleTitle\": \"Cooking for Kids\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Cooking for Kids\",\n            \"noodleSummary\": \"Cooking for Kids\",\n            \"noodleTags\": [\n                \"cooking\",\n                \"kids\",\n                \"fun\",\n                \"food\"\n            ],\n            \"noodleCoverImage\": \"http://gatkinson.site/noodlewall/images/events/kidsCooking-crop.png\",\n            \"noodleImages\": [\n                \"http://gatkinson.site/noodlewall/images/events/kidsCooking-crop.png\"\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"\",\n            \"noodleDirections\": \"\",\n            \"noodleDate\": \"\",\n            \"noodleTime\": \"\",\n            \"noodlePrice\": \"0.00\",\n            \"noodleMinTickets\": \"0\",\n            \"noodleMaxTickets\": \"0\",\n            \"noodleTicketsSold\": \"0\",\n            \"noodleCutoff\": \"\"\n        },\n        {\n            \"noodleID\": \"40\",\n            \"noodleTitle\": \"Test Dream\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Test Dream\",\n            \"noodleSummary\": \"Test Dream\",\n            \"noodleTags\": [\n                \"test\"\n            ],\n            \"noodleCoverImage\": \"\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"\",\n            \"noodleDirections\": \"\",\n            \"noodleDate\": \"\",\n            \"noodleTime\": \"\",\n            \"noodlePrice\": \"0.00\",\n            \"noodleMinTickets\": \"0\",\n            \"noodleMaxTickets\": \"0\",\n            \"noodleTicketsSold\": \"0\",\n            \"noodleCutoff\": \"\"\n        },\n        {\n            \"noodleID\": \"41\",\n            \"noodleTitle\": \"Test Dream\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Test Dream\",\n            \"noodleSummary\": \"Test Dream\",\n            \"noodleTags\": [\n                \"test\"\n            ],\n            \"noodleCoverImage\": \"\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"\",\n            \"noodleDirections\": \"\",\n            \"noodleDate\": \"\",\n            \"noodleTime\": \"\",\n            \"noodlePrice\": \"0.00\",\n            \"noodleMinTickets\": \"0\",\n            \"noodleMaxTickets\": \"0\",\n            \"noodleTicketsSold\": \"0\",\n            \"noodleCutoff\": \"\"\n        },\n        {\n            \"noodleID\": \"42\",\n            \"noodleTitle\": \"Test Dream\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Test Dream\",\n            \"noodleSummary\": \"Test Dream\",\n            \"noodleTags\": [\n                \"test\"\n            ],\n            \"noodleCoverImage\": \"\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"\",\n            \"noodleDirections\": \"\",\n            \"noodleDate\": \"\",\n            \"noodleTime\": \"\",\n            \"noodlePrice\": \"0.00\",\n            \"noodleMinTickets\": \"0\",\n            \"noodleMaxTickets\": \"0\",\n            \"noodleTicketsSold\": \"0\",\n            \"noodleCutoff\": \"\"\n        },\n        {\n            \"noodleID\": \"43\",\n            \"noodleTitle\": \"Test Dream\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Test Dream\",\n            \"noodleSummary\": \"Test Dream\",\n            \"noodleTags\": [\n                \"test\"\n            ],\n            \"noodleCoverImage\": \"\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"\",\n            \"noodleDirections\": \"\",\n            \"noodleDate\": \"\",\n            \"noodleTime\": \"\",\n            \"noodlePrice\": \"0.00\",\n            \"noodleMinTickets\": \"0\",\n            \"noodleMaxTickets\": \"0\",\n            \"noodleTicketsSold\": \"0\",\n            \"noodleCutoff\": \"\"\n        },\n        {\n            \"noodleID\": \"44\",\n            \"noodleTitle\": \"Test Dream\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Test Dream\",\n            \"noodleSummary\": \"Test Dream\",\n            \"noodleTags\": [\n                \"test\"\n            ],\n            \"noodleCoverImage\": \"https://picsum.photos/seed/199/1280/720\",\n            \"noodleImages\": [\n                \"https://picsum.photos/seed/199/1280/720\"\n            ],\n            \"noodleImageText\": [\n                \"undefined\"\n            ],\n            \"noodleLocation\": \"\",\n            \"noodleDirections\": \"\",\n            \"noodleDate\": \"\",\n            \"noodleTime\": \"\",\n            \"noodlePrice\": \"0.00\",\n            \"noodleMinTickets\": \"0\",\n            \"noodleMaxTickets\": \"0\",\n            \"noodleTicketsSold\": \"0\",\n            \"noodleCutoff\": \"\"\n        },\n        {\n            \"noodleID\": \"45\",\n            \"noodleTitle\": \"Test Dream\",\n            \"userID\": \"9\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Test Dream\",\n            \"noodleSummary\": \"Test Dream\",\n            \"noodleTags\": [\n                \"test\"\n            ],\n            \"noodleCoverImage\": \"https://picsum.photos/seed/530/1280/720\",\n            \"noodleImages\": [\n                \"https://picsum.photos/seed/530/1280/720\"\n            ],\n            \"noodleImageText\": [\n                \"undefined\"\n            ],\n            \"noodleLocation\": \"\",\n            \"noodleDirections\": \"\",\n            \"noodleDate\": \"\",\n            \"noodleTime\": \"\",\n            \"noodlePrice\": \"0.00\",\n            \"noodleMinTickets\": \"0\",\n            \"noodleMaxTickets\": \"0\",\n            \"noodleTicketsSold\": \"0\",\n            \"noodleCutoff\": \"\"\n        }\n    ]\n}"}],"_postman_id":"cdc1a25a-5648-4e72-bf46-7757968be543"},{"name":"Search Events","id":"c9ba532a-792c-4dd4-8d89-bc996fe16100","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://www.gatkinson.site/noodlewall/event/search.php?s=fish","description":"<p>This endpoint allows you to search all events by providing a search query, searches event columns noodleTitle, noodleStatus, noodleLocation, and noodleTags, returns all info about the event if found</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","search.php"],"host":["www","gatkinson","site"],"query":[{"disabled":true,"key":"","value":null},{"key":"s","value":"fish"}],"variable":[]}},"response":[{"id":"1b7f547b-1a87-4cf9-909b-ed5d8466434c","name":"event search","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://www.gatkinson.site/noodlewall/event/search.php?s=fish","protocol":"http","host":["www","gatkinson","site"],"path":["noodlewall","event","search.php"],"query":[{"key":"","value":null,"type":"text","disabled":true},{"key":"s","value":"fish"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Apr 2021 16:16:34 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"697"},{"key":"Keep-Alive","value":"timeout=5, max=73"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"records\": [\n        {\n            \"userID\": \"2\",\n            \"userName\": \"Krieger's Bowling Team\",\n            \"userFirstName\": \"Krieger's\",\n            \"userLastName\": \"Bowling Team\",\n            \"userRating\": \"3\",\n            \"userBio\": \"KriegLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"KriegLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://gatkinson.site/noodlewall/images/userIcons/bowling-icon.png\"\n        },\n        {\n            \"userID\": \"3\",\n            \"userName\": \"RichAGand\",\n            \"userFirstName\": \"Richard\",\n            \"userLastName\": \"Gandy\",\n            \"userRating\": \"3\",\n            \"userBio\": \"RichLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"RichLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://gatkinson.site/noodlewall/images/userIcons/richard-icon.png\"\n        },\n        {\n            \"userID\": \"4\",\n            \"userName\": \"Howie B\",\n            \"userFirstName\": \"Howard\",\n            \"userLastName\": \"Olson\",\n            \"userRating\": \"2\",\n            \"userBio\": \"HowieLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"HowieLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://gatkinson.site/noodlewall/images/userIcons/howie-icon.png\"\n        },\n        {\n            \"userID\": \"6\",\n            \"userName\": \"Caro54\",\n            \"userFirstName\": \"Carol\",\n            \"userLastName\": \"Vance\",\n            \"userRating\": \"4\",\n            \"userBio\": \"Carolorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"Carolorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://gatkinson.site/noodlewall/images/userIcons/carol-icon.png\"\n        },\n        {\n            \"userID\": \"7\",\n            \"userName\": \"Jeanette100\",\n            \"userFirstName\": \"Jeanette\",\n            \"userLastName\": \"Stewart\",\n            \"userRating\": \"1\",\n            \"userBio\": \"JeanetteLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"JeanetteLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://gatkinson.site/noodlewall/images/userIcons/jeanette-icon.png\"\n        },\n        {\n            \"userID\": \"8\",\n            \"userName\": \"BobbyRay\",\n            \"userFirstName\": \"Bobby\",\n            \"userLastName\": \"Raymer\",\n            \"userRating\": \"5\",\n            \"userBio\": \"BobLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"BobLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://gatkinson.site/noodlewall/images/userIcons/bob-icon.png\"\n        },\n        {\n            \"userID\": \"17\",\n            \"userName\": \"username1\",\n            \"userFirstName\": \"john\",\n            \"userLastName\": \"appleseed\",\n            \"userRating\": \"0\",\n            \"userBio\": \"\",\n            \"userBioLong\": \"\",\n            \"userImage\": \"https://picsum.photos/seed/826/300/300\"\n        }\n    ]\n}"}],"_postman_id":"c9ba532a-792c-4dd4-8d89-bc996fe16100"},{"name":"Update Event","id":"9fd9585c-702c-4f34-a899-ccf16f45ab1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"noodleID\" : 3,\r\n    \"noodleTitle\" : \"new event title\",\r\n    \"userID\" : 1,\r\n    \"noodleStatus\" : \"event\",\r\n    \"noodleDescription\" : \"even better event description\",\r\n    \"noodleSummary\" : \"even better event summary\",\r\n    \"noodleTags\" : [\"fishing\", \"food\", \"hobby\", \"friends\", \"sports\"],\r\n    \"noodleCoverImage\" : null,\r\n    \"noodleImages\" : [],\r\n    \"noodleImageText\" : [],\r\n    \"noodleLocation\" : null,\r\n    \"noodleDirections\" : null,\r\n    \"noodleDate\" : null,\r\n    \"noodleTime\" : null,\r\n    \"noodlePrice\" : null,\r\n    \"noodleMinTickets\" : null,\r\n    \"noodleMaxTickets\" : null,\r\n    \"noodleTicketsSold\" : null,\r\n    \"noodleCutoff\" : null\r\n}"},"url":"http://www.gatkinson.site/noodlewall/event/update.php","description":"<p>This endpoint allows you to edit an event, by providing all information about an event in the request body, identified by the provided noodleID</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","update.php"],"host":["www","gatkinson","site"],"query":[],"variable":[]}},"response":[{"id":"ff5061e9-04dc-4819-98e9-4975ef3db54e","name":"Update Event","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"noodleID\" : 3,\r\n    \"noodleTitle\" : \"new event title\",\r\n    \"userID\" : 1,\r\n    \"noodleStatus\" : \"event\",\r\n    \"noodleDescription\" : \"even better event description\",\r\n    \"noodleSummary\" : \"even better event summary\",\r\n    \"noodleTags\" : [\"fishing\", \"food\", \"hobby\", \"friends\", \"sports\"],\r\n    \"noodleCoverImage\" : null,\r\n    \"noodleImages\" : [],\r\n    \"noodleImageText\" : [],\r\n    \"noodleLocation\" : null,\r\n    \"noodleDirections\" : null,\r\n    \"noodleDate\" : null,\r\n    \"noodleTime\" : null,\r\n    \"noodlePrice\" : null,\r\n    \"noodleMinTickets\" : null,\r\n    \"noodleMaxTickets\" : null,\r\n    \"noodleTicketsSold\" : null,\r\n    \"noodleCutoff\" : null\r\n}"},"url":"http://www.gatkinson.site/noodlewall/event/update.php"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:26:49 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Content-Length","value":"32"},{"key":"Keep-Alive","value":"timeout=5, max=75"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Event was updated.\"\n}"}],"_postman_id":"9fd9585c-702c-4f34-a899-ccf16f45ab1e"}],"id":"650f9b76-43bf-476e-a431-ce7e4684db61","description":"<p>All endpoints for accessing api when hosted remotely(endpoints are using the remote host)</p>\n","_postman_id":"650f9b76-43bf-476e-a431-ce7e4684db61"},{"name":"Remote User Endpoints","item":[{"name":"Create User","id":"cf5467ec-b0f8-4d7b-a681-a6ff13b148a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userID\" : null,\r\n    \"userName\" : \"username1\",\r\n    \"userFirstName\" : \"john\",\r\n    \"userLastName\" : \"appleseed\",\r\n    \"userRating\" : null,\r\n    \"userBio\" : null,\r\n    \"userBioLong\" : null,\r\n    \"userImage\" : null\r\n}"},"url":"http://www.gatkinson.site/noodlewall/user/create.php","description":"<p>This endpoint allows you to create a user in the database by providing all user info in the request body, returns all information about the newly created user</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","create.php"],"host":["www","gatkinson","site"],"query":[],"variable":[]}},"response":[{"id":"9af8aeb2-2ee4-40ee-bb80-de2e367085af","name":"Create User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userID\" : null,\r\n    \"userName\" : \"username1\",\r\n    \"userFirstName\" : \"john\",\r\n    \"userLastName\" : \"appleseed\",\r\n    \"userRating\" : null,\r\n    \"userBio\" : null,\r\n    \"userBioLong\" : null,\r\n    \"userImage\" : null\r\n}"},"url":"http://www.gatkinson.site/noodlewall/user/create.php"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:27:47 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"108"},{"key":"Keep-Alive","value":"timeout=5, max=75"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"userID\": \"14\",\n    \"userName\": \"username1\",\n    \"userFirstName\": \"john\",\n    \"userLastName\": \"appleseed\",\n    \"userRating\": \"0\",\n    \"userBio\": \"\",\n    \"userBioLong\": \"\",\n    \"userImage\": \"\"\n}"}],"_postman_id":"cf5467ec-b0f8-4d7b-a681-a6ff13b148a5"},{"name":"Delete User","id":"b9099d75-02ec-4f8c-a3ae-0175298fb932","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userID\" : 3\r\n}"},"url":"http://www.gatkinson.site/noodlewall/user/delete.php","description":"<p>This endpoint allows you to delete a user, by providing a user's userID in the request body</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","delete.php"],"host":["www","gatkinson","site"],"query":[],"variable":[]}},"response":[{"id":"cddba0d3-d1a6-413c-9b65-e7259cdd3eb1","name":"Delete User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userID\" : 3\r\n}"},"url":"http://www.gatkinson.site/noodlewall/user/delete.php"},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:28:35 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Content-Length","value":"31"},{"key":"Keep-Alive","value":"timeout=5, max=75"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"user was deleted.\"\n}"}],"_postman_id":"b9099d75-02ec-4f8c-a3ae-0175298fb932"},{"name":"Delete User Icon","id":"44bbd4fb-640e-4d0d-a4ae-67b4977f1669","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"imageAddress\" : \"http://gatkinson.site/noodlewall/images/userIcons/607ef994718dc.png\"\r\n}"},"url":"http://www.gatkinson.site/noodlewall/user/deleteUserIcon.php","description":"<p>This endpoint allows you to delete a user icon image by providing a url or path to the image in the request body</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","deleteUserIcon.php"],"host":["www","gatkinson","site"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"ff88fb55-b10a-4e04-978d-11f4b8704cfe","name":"Delete User Icon","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"imageAddress\" : \"http://gatkinson.site/noodlewall/images/userIcons/607ef994718dc.png\"\r\n}"},"url":{"raw":"http://www.gatkinson.site/noodlewall/user/deleteUserIcon.php","protocol":"http","host":["www","gatkinson","site"],"path":["noodlewall","user","deleteUserIcon.php"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 20 Apr 2021 15:56:20 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"91"},{"key":"Keep-Alive","value":"timeout=5, max=75"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"../images/userIcons/607ef994718dc.png deleted successfully\"\n}"}],"_postman_id":"44bbd4fb-640e-4d0d-a4ae-67b4977f1669"},{"name":"Get User by ID","id":"fa94c2c8-5475-45ef-b18f-14d6912fa635","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://www.gatkinson.site/noodlewall/user/getByID.php?id=1","description":"<p>This endpoint allows you to return all information about a user by passing it's  userID as a parameter</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","getByID.php"],"host":["www","gatkinson","site"],"query":[{"key":"id","value":"1"}],"variable":[]}},"response":[{"id":"4c677a29-9586-4e0b-95f2-763954f3f7d0","name":"Get User by ID","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://www.gatkinson.site/noodlewall/user/getByID.php?id=1","protocol":"http","host":["www","gatkinson","site"],"path":["noodlewall","user","getByID.php"],"query":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:28:43 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"84"},{"key":"Keep-Alive","value":"timeout=5, max=75"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"userID\": \"1\",\n    \"userName\": \"\",\n    \"userFirstName\": \"\",\n    \"userLastName\": \"\",\n    \"userRating\": \"0\",\n    \"userBio\": \"\",\n    \"userBioLong\": \"\",\n    \"userImage\": \"\"\n}"}],"_postman_id":"fa94c2c8-5475-45ef-b18f-14d6912fa635"},{"name":"Get User by Event ID","id":"08f8b5fa-11bc-406e-bc5e-a41f00f96d29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://www.gatkinson.site/noodlewall/user/getUserByEventID.php?id=1","description":"<p>This endpoint returns all information about a user that the provided noodleID's event belongs to</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","getUserByEventID.php"],"host":["www","gatkinson","site"],"query":[{"key":"id","value":"1"},{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"4f0e2e27-816e-4a8a-ba89-2d3a68e27ef6","name":"Get User by Event ID","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://www.gatkinson.site/noodlewall/user/getUserByEventID.php?id=1","protocol":"http","host":["www","gatkinson","site"],"path":["noodlewall","user","getUserByEventID.php"],"query":[{"key":"id","value":"1"},{"key":"","value":null,"type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:28:51 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"97"},{"key":"Keep-Alive","value":"timeout=5, max=75"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"record\": [\n        {\n            \"userID\": \"1\",\n            \"userName\": \"\",\n            \"userFirstName\": \"\",\n            \"userLastName\": \"\",\n            \"userRating\": \"0\",\n            \"userBio\": \"\",\n            \"userBioLong\": \"\",\n            \"userImage\": \"\"\n        }\n    ]\n}"}],"_postman_id":"08f8b5fa-11bc-406e-bc5e-a41f00f96d29"},{"name":"Get all Users","id":"0b0a9615-044c-4d6a-a3da-22cca9ce258b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://www.gatkinson.site/noodlewall/user/read.php","description":"<p>This endpoint returns all information about all users</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","read.php"],"host":["www","gatkinson","site"],"query":[],"variable":[]}},"response":[{"id":"474879db-81a5-40e1-a786-616662c4bc7f","name":"Get all Users","originalRequest":{"method":"GET","header":[],"url":"http://www.gatkinson.site/noodlewall/user/read.php"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:28:58 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"1262"},{"key":"Keep-Alive","value":"timeout=5, max=75"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"records\": [\n        {\n            \"userID\": \"1\",\n            \"userName\": \"\",\n            \"userFirstName\": \"\",\n            \"userLastName\": \"\",\n            \"userRating\": \"0\",\n            \"userBio\": \"\",\n            \"userBioLong\": \"\",\n            \"userImage\": \"\"\n        },\n        {\n            \"userID\": \"2\",\n            \"userName\": \"Krieger's Bowling Team\",\n            \"userFirstName\": \"Krieger's\",\n            \"userLastName\": \"Bowling Team\",\n            \"userRating\": \"4\",\n            \"userBio\": \"KriegLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"KriegLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://gatkinson.site/noodlewall/images/userIcons/bowling-icon.png\"\n        },\n        {\n            \"userID\": \"4\",\n            \"userName\": \"Howie B\",\n            \"userFirstName\": \"Howard\",\n            \"userLastName\": \"Olson\",\n            \"userRating\": \"2\",\n            \"userBio\": \"HowieLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"HowieLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://gatkinson.site/noodlewall/images/userIcons/howie-icon.png\"\n        },\n        {\n            \"userID\": \"5\",\n            \"userName\": \"NouPaiMan\",\n            \"userFirstName\": \"Nouel\",\n            \"userLastName\": \"Paiement\",\n            \"userRating\": \"5\",\n            \"userBio\": \"NouelLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"NouelLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://gatkinson.site/noodlewall/images/userIcons/nouel-icon.png\"\n        },\n        {\n            \"userID\": \"6\",\n            \"userName\": \"Caro54\",\n            \"userFirstName\": \"Carol\",\n            \"userLastName\": \"Vance\",\n            \"userRating\": \"4\",\n            \"userBio\": \"Carolorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"Carolorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://gatkinson.site/noodlewall/images/userIcons/carol-icon.png\"\n        },\n        {\n            \"userID\": \"7\",\n            \"userName\": \"Jeanette100\",\n            \"userFirstName\": \"Jeanette\",\n            \"userLastName\": \"Stewart\",\n            \"userRating\": \"3\",\n            \"userBio\": \"JeanetteLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"JeanetteLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://gatkinson.site/noodlewall/images/userIcons/jeanette-icon.png\"\n        },\n        {\n            \"userID\": \"8\",\n            \"userName\": \"BobbyRay\",\n            \"userFirstName\": \"Bobby\",\n            \"userLastName\": \"Raymer\",\n            \"userRating\": \"5\",\n            \"userBio\": \"BobLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"BobLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://gatkinson.site/noodlewall/images/userIcons/bob-icon.png\"\n        },\n        {\n            \"userID\": \"9\",\n            \"userName\": \"Test User\",\n            \"userFirstName\": \"Test\",\n            \"userLastName\": \"User\",\n            \"userRating\": \"0\",\n            \"userBio\": \"Test User\",\n            \"userBioLong\": \"Test User\",\n            \"userImage\": \"https%3A%2F%2Fi.picsum.photos%2Fid%2F452%2F300%2F300.jpg%3Fhmac%3DOOMw6P_YFqFDVLzILqwQ0-8iGgNMlOP8adZLF3gLC84\"\n        },\n        {\n            \"userID\": \"13\",\n            \"userName\": \"Rogue Rocket\",\n            \"userFirstName\": \"Philip\",\n            \"userLastName\": \"DeFranco\",\n            \"userRating\": \"3\",\n            \"userBio\": \"Production Company founded by online entrepreneur Philip DeFranco in 2017 that is working to create an independent news network. Welcome to your new go-to place for all of the news, information, entertainment, and pop culture you need in your life! When in\",\n            \"userBioLong\": \"Production Company founded by online entrepreneur Philip DeFranco in 2017 that is working to create an independent news network. Welcome to your new go-to place for all of the news, information, entertainment, and pop culture you need in your life! When in doubt... GO ROGUE. Our mission is to start a conversation about this crazy world we live in, in the most inviting way possible. We aim to bring various, vibrant voices, and stories to the forefront as we strive to contribute to the new-age way in which we as a society consume news and spread information.\",\n            \"userImage\": \"http://gatkinson.site/noodlewall/images/userIcons/60801de84701f.png\"\n        },\n        {\n            \"userID\": \"14\",\n            \"userName\": \"username1\",\n            \"userFirstName\": \"john\",\n            \"userLastName\": \"appleseed\",\n            \"userRating\": \"0\",\n            \"userBio\": \"\",\n            \"userBioLong\": \"\",\n            \"userImage\": \"\"\n        }\n    ]\n}"}],"_postman_id":"0b0a9615-044c-4d6a-a3da-22cca9ce258b"},{"name":"Search Users","id":"5770cd93-8830-4f16-b1d5-15875030dc47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://www.gatkinson.site/noodlewall/user/search.php?s=pam","description":"<p>This endpoint allows you to search for a user by providing a search query, searches user fields username, firstname, and lastname. returns all information about user if found</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","search.php"],"host":["www","gatkinson","site"],"query":[{"key":"s","value":"pam"}],"variable":[]}},"response":[{"id":"353d8bc4-3ab4-4d5a-8a5f-27d0f9d3df5e","name":"Search Users","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://www.gatkinson.site/noodlewall/user/search.php?s=pam","protocol":"http","host":["www","gatkinson","site"],"path":["noodlewall","user","search.php"],"query":[{"key":"s","value":"pam"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Apr 2021 17:54:25 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"407"},{"key":"Keep-Alive","value":"timeout=5, max=75"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"records\": [\n        {\n            \"userID\": \"1\",\n            \"userName\": \"Pam's Fishing\",\n            \"userFirstName\": \"Pam\",\n            \"userLastName\": \"Poovey\",\n            \"userRating\": \"4\",\n            \"userBio\": \"PamLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"PamLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://gatkinson.site/noodlewall/images/userIcons/pam-icon.png\"\n        }\n    ]\n}"}],"_postman_id":"5770cd93-8830-4f16-b1d5-15875030dc47"},{"name":"Update User","id":"167ff2bb-1b4f-41e2-bd35-d1bbb211a5ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userID\" : 1,\r\n    \"userName\" : \"new username1\",\r\n    \"userFirstName\" : \"john\",\r\n    \"userLastName\" : \"appleseed\",\r\n    \"userRating\" : null,\r\n    \"userBio\" : null,\r\n    \"userBioLong\" : null,\r\n    \"userImage\" : null\r\n}"},"url":"http://www.gatkinson.site/noodlewall/user/update.php","description":"<p>This endpoint allows you to edit a user, by providing all information about a user in the request body, identified by the provided userID</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","update.php"],"host":["www","gatkinson","site"],"query":[],"variable":[]}},"response":[{"id":"9fcc7775-4897-4065-ae20-1aa97bf7fa8f","name":"Update User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userID\" : 1,\r\n    \"userName\" : \"new username1\",\r\n    \"userFirstName\" : \"john\",\r\n    \"userLastName\" : \"appleseed\",\r\n    \"userRating\" : null,\r\n    \"userBio\" : null,\r\n    \"userBioLong\" : null,\r\n    \"userImage\" : null\r\n}"},"url":"http://www.gatkinson.site/noodlewall/user/update.php"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:29:09 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Content-Length","value":"31"},{"key":"Keep-Alive","value":"timeout=5, max=75"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"user was updated.\"\n}"}],"_postman_id":"167ff2bb-1b4f-41e2-bd35-d1bbb211a5ae"},{"name":"Upload User Icon","id":"8554ec25-0d37-4865-8264-1b8ae4883fef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","src":"/C:/Users/Duke/Downloads/USER-icon.png"}]},"url":"http://www.gatkinson.site/noodlewall/user/uploadUserIcon.php","description":"<p>This endpoint allows you to store an image in the images/userIcons directory by passing the image file in the message body, returns the address of newly stored image</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","uploadUserIcon.php"],"host":["www","gatkinson","site"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"02b0c3eb-1e26-46f8-8b6c-1b6950e47343","name":"Upload User Icon","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","src":"/C:/Users/Duke/Downloads/USER-icon.png"}]},"url":{"raw":"http://www.gatkinson.site/noodlewall/user/uploadUserIcon.php","protocol":"http","host":["www","gatkinson","site"],"path":["noodlewall","user","uploadUserIcon.php"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 20 Apr 2021 15:56:04 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"107"},{"key":"Keep-Alive","value":"timeout=5, max=75"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"imageAddress\": \"http://gatkinson.site/noodlewall/images/userIcons/607ef994718dc.png\"\n}"}],"_postman_id":"8554ec25-0d37-4865-8264-1b8ae4883fef"}],"id":"698b1e16-620f-4518-9303-ab0c136d8941","description":"<p>All endpoints for accessing api when hosted remotely(endpoints are using the remote host)</p>\n","_postman_id":"698b1e16-620f-4518-9303-ab0c136d8941"},{"name":"Local Event Endpoints","item":[{"name":"Create Event","id":"112f1190-9057-45bf-8d1a-e040ee3c2879","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"noodleID\" : null,\r\n    \"noodleTitle\" : \"event title\",\r\n    \"userID\" : 1,\r\n    \"noodleStatus\" : \"event\",\r\n    \"noodleDescription\" : \"super great event description\",\r\n    \"noodleSummary\" : \"super great event summary\",\r\n    \"noodleTags\" : [\"fishing\", \"food\", \"hobby\", \"friends\", \"sports\"],\r\n    \"noodleCoverImage\" : null,\r\n    \"noodleImages\" : [\"1212\",\"32323\",\"43434\"],\r\n    \"noodleImageText\" : [\"1212\",\"32323\",\"43434\"],\r\n    \"noodleLocation\" : null,\r\n    \"noodleDirections\" : null,\r\n    \"noodleDate\" : null,\r\n    \"noodleTime\" : null,\r\n    \"noodlePrice\" : null,\r\n    \"noodleMinTickets\" : null,\r\n    \"noodleMaxTickets\" : null,\r\n    \"noodleTicketsSold\" : null,\r\n    \"noodleCutoff\" : null\r\n}"},"url":"http://localhost/noodlewall/event/create.php","description":"<p>This endpoint allows you to create an event in the database by providing all event info in the request body, returns all information about the newly created event</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","create.php"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"5d704589-5346-4c61-9200-04c9e18a651d","name":"Create Event","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"noodleID\" : null,\r\n    \"noodleTitle\" : \"event title\",\r\n    \"userID\" : 1,\r\n    \"noodleStatus\" : \"event\",\r\n    \"noodleDescription\" : \"super great event description\",\r\n    \"noodleSummary\" : \"super great event summary\",\r\n    \"noodleTags\" : [\"fishing\", \"food\", \"hobby\", \"friends\", \"sports\"],\r\n    \"noodleCoverImage\" : null,\r\n    \"noodleImages\" : [],\r\n    \"noodleImageText\" : [],\r\n    \"noodleLocation\" : null,\r\n    \"noodleDirections\" : null,\r\n    \"noodleDate\" : null,\r\n    \"noodleTime\" : null,\r\n    \"noodlePrice\" : null,\r\n    \"noodleMinTickets\" : null,\r\n    \"noodleMaxTickets\" : null,\r\n    \"noodleTicketsSold\" : null,\r\n    \"noodleCutoff\" : null\r\n}"},"url":"http://localhost/noodlewall/event/create.php"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:29:30 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Content-Length","value":"469"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"noodleID\": \"9\",\n    \"noodleTitle\": \"event title\",\n    \"userID\": \"1\",\n    \"noodleStatus\": \"event\",\n    \"noodleDescription\": \"super great event description\",\n    \"noodleSummary\": \"super great event summary\",\n    \"noodleTags\": \"fishing,food,hobby,friends,sports\",\n    \"noodleCoverImage\": \"\",\n    \"noodleImages\": \"\",\n    \"noodleImageText\": \"\",\n    \"noodleLocation\": \"\",\n    \"noodleDirections\": \"\",\n    \"noodleDate\": \"\",\n    \"noodleTime\": \"\",\n    \"noodlePrice\": \"0.00\",\n    \"noodleMinTickets\": \"0\",\n    \"noodleMaxTickets\": \"0\",\n    \"noodleTicketsSold\": \"0\",\n    \"noodleCutoff\": \"\"\n}"}],"_postman_id":"112f1190-9057-45bf-8d1a-e040ee3c2879"},{"name":"Delete Event","id":"d1d0f7d0-2eb9-441c-bcaf-6c776d08e27b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"noodleID\" : 1\r\n}"},"url":"http://localhost/noodlewall/event/delete.php","description":"<p>This endpoint allows you to delete an event by providing an event's id in the request body</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","delete.php"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"db094c8e-47cc-49b2-b384-9fcd87660eca","name":"Delete Event","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"noodleID\" : 1\r\n}"},"url":"http://localhost/noodlewall/event/delete.php"},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:29:48 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Content-Length","value":"32"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Event was deleted.\"\n}"}],"_postman_id":"d1d0f7d0-2eb9-441c-bcaf-6c776d08e27b"},{"name":"Delete Event Image","id":"4b7620fa-fe1c-4476-b8c0-d0f5115d8556","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"imageAddress\" : \"http://gatkinson.site/noodlewall/images/events/608036ea087bc.png\"\r\n}"},"url":"http://localhost/noodlewall/event/deleteEventImage.php","description":"<p>This endpoint allows you to delete an event image by providing a url or path to the image in the request body</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","deleteEventImage.php"],"host":["localhost"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"22a47772-9cc2-40e0-bd75-07dbe97be768","name":"Delete Event Image","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"imageAddress\" : \"http://gatkinson.site/noodlewall/images/events/608036ea087bc.png\"\r\n}"},"url":{"raw":"http://localhost/noodlewall/event/deleteEventImage.php","protocol":"http","host":["localhost"],"path":["noodlewall","event","deleteEventImage.php"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:30:17 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Content-Length","value":"72"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"../images/events/608036ea087bc.png deleted successfully\"\n}"}],"_postman_id":"4b7620fa-fe1c-4476-b8c0-d0f5115d8556"},{"name":"Get Event by ID","id":"f6c2f450-1050-4ccf-ab79-8eb6e073dd9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost/noodlewall/event/getByID.php?id=2","description":"<p>This endpoint allows you to return an event's information by providing the event's noodleID as a parameter</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","getByID.php"],"host":["localhost"],"query":[{"key":"id","value":"2"}],"variable":[]}},"response":[{"id":"92130841-f87c-484d-9c93-c349214590c9","name":"Get Event by ID","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost/noodlewall/event/getByID.php?id=2","protocol":"http","host":["localhost"],"path":["noodlewall","event","getByID.php"],"query":[{"key":"id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:30:37 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"650"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"noodleID\": \"2\",\n    \"noodleTitle\": \"Thursday Bowling Nights\",\n    \"userID\": \"2\",\n    \"noodleStatus\": \"dream\",\n    \"noodleDescription\": \"Bowling Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere.\",\n    \"noodleSummary\": null,\n    \"noodleTags\": \"bowling, hobby, sports\",\n    \"noodleCoverImage\": \"http://localhost/noodlewall/images/events/bowling-crop.png\",\n    \"noodleImages\": null,\n    \"noodleImageText\": null,\n    \"noodleLocation\": null,\n    \"noodleDirections\": null,\n    \"noodleDate\": null,\n    \"noodleTime\": null,\n    \"noodlePrice\": null,\n    \"noodleMinTickets\": null,\n    \"noodleMaxTickets\": null,\n    \"noodleTicketsSold\": null,\n    \"noodleCutoff\": null\n}"}],"_postman_id":"f6c2f450-1050-4ccf-ab79-8eb6e073dd9e"},{"name":"Get Events by UserID","id":"9471d96f-9585-4863-8ca4-7064fed75f36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost/noodlewall/event/getEventsByUserID.php?id=1","description":"<p>This endpoint returns all events and their details belonging to an individual user, by providing the user's userID</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","getEventsByUserID.php"],"host":["localhost"],"query":[{"disabled":true,"key":"","value":null},{"key":"id","value":"1"}],"variable":[]}},"response":[{"id":"feff5eab-a8ae-4053-9bf9-538541633f0c","name":"Get Events by UserID","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost/noodlewall/event/getEventsByUserID.php?id=1","protocol":"http","host":["localhost"],"path":["noodlewall","event","getEventsByUserID.php"],"query":[{"key":"","value":null,"type":"text","disabled":true},{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:30:57 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"1884"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"records\": [\n        {\n            \"noodleID\": \"3\",\n            \"noodleTitle\": \"Cooking For Kids\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Cooking Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere.\",\n            \"noodleSummary\": \"\",\n            \"noodleTags\": [\n                \"cooking\",\n                \" food\",\n                \" hobby\",\n                \" kids\"\n            ],\n            \"noodleCoverImage\": \"http://localhost/noodlewall/images/events/kidsCooking-crop.png\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": null,\n            \"noodleDirections\": null,\n            \"noodleDate\": null,\n            \"noodleTime\": null,\n            \"noodlePrice\": null,\n            \"noodleMinTickets\": null,\n            \"noodleMaxTickets\": null,\n            \"noodleTicketsSold\": null,\n            \"noodleCutoff\": null\n        },\n        {\n            \"noodleID\": \"7\",\n            \"noodleTitle\": \"Farmers Market\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Id like to know how much interest there is in a sunday morning farmers market, I know many local businesses that would love to get something rolling and if we can get real interest, I can plan something.\",\n            \"noodleSummary\": \"\",\n            \"noodleTags\": [\n                \"farmers market\",\n                \" grocery\"\n            ],\n            \"noodleCoverImage\": \"http://localhost/noodlewall/images/events/bowling-crop.png\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"Lakehead University Area\",\n            \"noodleDirections\": null,\n            \"noodleDate\": null,\n            \"noodleTime\": null,\n            \"noodlePrice\": null,\n            \"noodleMinTickets\": null,\n            \"noodleMaxTickets\": null,\n            \"noodleTicketsSold\": null,\n            \"noodleCutoff\": null\n        },\n        {\n            \"noodleID\": \"9\",\n            \"noodleTitle\": \"event title\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"event\",\n            \"noodleDescription\": \"super great event description\",\n            \"noodleSummary\": \"super great event summary\",\n            \"noodleTags\": [\n                \"fishing\",\n                \"food\",\n                \"hobby\",\n                \"friends\",\n                \"sports\"\n            ],\n            \"noodleCoverImage\": \"\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"\",\n            \"noodleDirections\": \"\",\n            \"noodleDate\": \"\",\n            \"noodleTime\": \"\",\n            \"noodlePrice\": \"0.00\",\n            \"noodleMinTickets\": \"0\",\n            \"noodleMaxTickets\": \"0\",\n            \"noodleTicketsSold\": \"0\",\n            \"noodleCutoff\": \"\"\n        }\n    ]\n}"}],"_postman_id":"9471d96f-9585-4863-8ca4-7064fed75f36"},{"name":"Get All Events","id":"7f050203-f83a-4dbe-ab77-ee99c1386f87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost/noodlewall/event/read.php","description":"<p>This endpoint returns all events and their details stored in the database</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","read.php"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d23f0aab-5269-4b9b-8ec5-4d32f75accc2","name":"Get All Events","originalRequest":{"method":"GET","header":[],"url":"http://localhost/noodlewall/event/read.php"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:31:03 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"5728"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"records\": [\n        {\n            \"noodleID\": \"2\",\n            \"noodleTitle\": \"Thursday Bowling Nights\",\n            \"userID\": \"2\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Bowling Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere.\",\n            \"noodleSummary\": null,\n            \"noodleTags\": [\n                \"bowling\",\n                \" hobby\",\n                \" sports\"\n            ],\n            \"noodleCoverImage\": \"http://localhost/noodlewall/images/events/bowling-crop.png\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": null,\n            \"noodleDirections\": null,\n            \"noodleDate\": null,\n            \"noodleTime\": null,\n            \"noodlePrice\": null,\n            \"noodleMinTickets\": null,\n            \"noodleMaxTickets\": null,\n            \"noodleTicketsSold\": null,\n            \"noodleCutoff\": null\n        },\n        {\n            \"noodleID\": \"3\",\n            \"noodleTitle\": \"Cooking For Kids\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Cooking Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere.\",\n            \"noodleSummary\": null,\n            \"noodleTags\": [\n                \"cooking\",\n                \" food\",\n                \" hobby\",\n                \" kids\"\n            ],\n            \"noodleCoverImage\": \"http://localhost/noodlewall/images/events/kidsCooking-crop.png\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": null,\n            \"noodleDirections\": null,\n            \"noodleDate\": null,\n            \"noodleTime\": null,\n            \"noodlePrice\": null,\n            \"noodleMinTickets\": null,\n            \"noodleMaxTickets\": null,\n            \"noodleTicketsSold\": null,\n            \"noodleCutoff\": null\n        },\n        {\n            \"noodleID\": \"4\",\n            \"noodleTitle\": \"Throwback Disco Night\",\n            \"userID\": \"7\",\n            \"noodleStatus\": \"event\",\n            \"noodleDescription\": \"Not many events feature so strongly in our culture as those that revolve around the dance floor. Whether you go ballroom dancing or clubbing, just for fun or to compete, their variety is almost limitless, and so is their enduring appeal. If venues are limited, consider moving the event — and moving your body.\",\n            \"noodleSummary\": null,\n            \"noodleTags\": [\n                \"dancing\",\n                \" fun\",\n                \" party\",\n                \" friends\",\n                \" social\",\n                \" drinks\"\n            ],\n            \"noodleCoverImage\": \"http://localhost/noodlewall/images/events/disco-crop.png\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"Toronto, Ontario\",\n            \"noodleDirections\": null,\n            \"noodleDate\": \"2021-07-22\",\n            \"noodleTime\": \"9:00PM-2:00AM\",\n            \"noodlePrice\": \"22.00\",\n            \"noodleMinTickets\": \"20\",\n            \"noodleMaxTickets\": \"40\",\n            \"noodleTicketsSold\": \"6\",\n            \"noodleCutoff\": \"2021-06-15\"\n        },\n        {\n            \"noodleID\": \"5\",\n            \"noodleTitle\": \"Dryden Barbeque\",\n            \"userID\": \"8\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Hey Im Bob, Im a bit of a grillmaster, and a perfect dad. If you would like to experience the best meal of your life, bring some beer and a few bucks so we can hang out and do what we do best.\",\n            \"noodleSummary\": null,\n            \"noodleTags\": [\n                \"bbq\",\n                \" barbeque\",\n                \" meat\",\n                \" friends\",\n                \" social\",\n                \" drinks\"\n            ],\n            \"noodleCoverImage\": \"http://localhost/noodlewall/images/events/bbq-crop.png\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"Dryden, Ontario\",\n            \"noodleDirections\": null,\n            \"noodleDate\": \"2021-06-12\",\n            \"noodleTime\": \"4:30PM-10:00PM\",\n            \"noodlePrice\": null,\n            \"noodleMinTickets\": null,\n            \"noodleMaxTickets\": null,\n            \"noodleTicketsSold\": null,\n            \"noodleCutoff\": \"2021-06-01\"\n        },\n        {\n            \"noodleID\": \"6\",\n            \"noodleTitle\": \"Local Live Rock\",\n            \"userID\": \"3\",\n            \"noodleStatus\": \"event\",\n            \"noodleDescription\": \"Witness some of the most talented local rock artists in Thunder Bay, planning on a fun bar concert, but if theres enough interest I can find a bigger venue.\",\n            \"noodleSummary\": null,\n            \"noodleTags\": [\n                \"music\",\n                \" livemusic\",\n                \" bar\",\n                \" friends\",\n                \" concert\",\n                \" social\"\n            ],\n            \"noodleCoverImage\": \"http://localhost/noodlewall/images/events/liveRock-crop.png\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"Thunder Bay, Ontario\",\n            \"noodleDirections\": null,\n            \"noodleDate\": \"2021-05-30\",\n            \"noodleTime\": \"7:00PM-11:30PM\",\n            \"noodlePrice\": \"10.00\",\n            \"noodleMinTickets\": \"15\",\n            \"noodleMaxTickets\": \"50\",\n            \"noodleTicketsSold\": \"4\",\n            \"noodleCutoff\": \"2021-05-01\"\n        },\n        {\n            \"noodleID\": \"7\",\n            \"noodleTitle\": \"Farmers Market\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"dream\",\n            \"noodleDescription\": \"Id like to know how much interest there is in a sunday morning farmers market, I know many local businesses that would love to get something rolling and if we can get real interest, I can plan something.\",\n            \"noodleSummary\": null,\n            \"noodleTags\": [\n                \"farmers market\",\n                \" grocery\"\n            ],\n            \"noodleCoverImage\": \"http://localhost/noodlewall/images/events/bowling-crop.png\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"Lakehead University Area\",\n            \"noodleDirections\": null,\n            \"noodleDate\": null,\n            \"noodleTime\": null,\n            \"noodlePrice\": null,\n            \"noodleMinTickets\": null,\n            \"noodleMaxTickets\": null,\n            \"noodleTicketsSold\": null,\n            \"noodleCutoff\": null\n        },\n        {\n            \"noodleID\": \"8\",\n            \"noodleTitle\": \"Board Game Night\",\n            \"userID\": \"4\",\n            \"noodleStatus\": \"event\",\n            \"noodleDescription\": \"\",\n            \"noodleSummary\": \"Hi there, im Howie. I love board games but have few friends who share my love. Im looking for a few like-minded individuals who would like nothing better than to stay in on a friday night and order a pizza to play some games.\",\n            \"noodleTags\": [\n                \"board games\",\n                \" hobby\",\n                \" pizza\",\n                \" games\",\n                \" friends\"\n            ],\n            \"noodleCoverImage\": \"http://localhost/noodlewall/images/events/boardgame-crop.png\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"Carleton Place, Ontario\",\n            \"noodleDirections\": null,\n            \"noodleDate\": \"2021-05-30\",\n            \"noodleTime\": \"6:00PM-9:00PM\",\n            \"noodlePrice\": \"5.00\",\n            \"noodleMinTickets\": \"3\",\n            \"noodleMaxTickets\": \"6\",\n            \"noodleTicketsSold\": \"1\",\n            \"noodleCutoff\": \"2021-05-16\"\n        },\n        {\n            \"noodleID\": \"9\",\n            \"noodleTitle\": \"event title\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"event\",\n            \"noodleDescription\": \"super great event description\",\n            \"noodleSummary\": \"super great event summary\",\n            \"noodleTags\": [\n                \"fishing\",\n                \"food\",\n                \"hobby\",\n                \"friends\",\n                \"sports\"\n            ],\n            \"noodleCoverImage\": \"\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"\",\n            \"noodleDirections\": \"\",\n            \"noodleDate\": \"\",\n            \"noodleTime\": \"\",\n            \"noodlePrice\": \"0.00\",\n            \"noodleMinTickets\": \"0\",\n            \"noodleMaxTickets\": \"0\",\n            \"noodleTicketsSold\": \"0\",\n            \"noodleCutoff\": \"\"\n        }\n    ]\n}"}],"_postman_id":"7f050203-f83a-4dbe-ab77-ee99c1386f87"},{"name":"Search Events","id":"80f6bc02-1d3d-4588-ad21-13aef7a2a1ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost/noodlewall/event/search.php?s=fish","description":"<p>This endpoint allows you to search all events by providing a search query, searches event columns noodleTitle, noodleStatus, noodleLocation, and noodleTags, returns all info about the event if found</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","search.php"],"host":["localhost"],"query":[{"disabled":true,"key":"","value":null},{"key":"s","value":"fish"}],"variable":[]}},"response":[{"id":"0b675833-c954-46f0-aa37-c23879ff79a4","name":"Search Events","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost/noodlewall/event/search.php?s=fish","protocol":"http","host":["localhost"],"path":["noodlewall","event","search.php"],"query":[{"key":"","value":null,"type":"text","disabled":true},{"key":"s","value":"fish"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:31:09 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"501"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"records\": [\n        {\n            \"noodleID\": \"9\",\n            \"noodleTitle\": \"event title\",\n            \"userID\": \"1\",\n            \"noodleStatus\": \"event\",\n            \"noodleDescription\": \"super great event description\",\n            \"noodleSummary\": \"super great event summary\",\n            \"noodleTags\": [\n                \"fishing\",\n                \"food\",\n                \"hobby\",\n                \"friends\",\n                \"sports\"\n            ],\n            \"noodleCoverImage\": \"\",\n            \"noodleImages\": [\n                null\n            ],\n            \"noodleImageText\": [\n                null\n            ],\n            \"noodleLocation\": \"\",\n            \"noodleDirections\": \"\",\n            \"noodleDate\": \"\",\n            \"noodleTime\": \"\",\n            \"noodlePrice\": \"0.00\",\n            \"noodleMinTickets\": \"0\",\n            \"noodleMaxTickets\": \"0\",\n            \"noodleTicketsSold\": \"0\",\n            \"noodleCutoff\": \"\"\n        }\n    ]\n}"}],"_postman_id":"80f6bc02-1d3d-4588-ad21-13aef7a2a1ac"},{"name":"Update Event","id":"87a8798e-24d4-4c01-b5b1-a40fdcb60259","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"noodleID\" : 3,\r\n    \"noodleTitle\" : \"new event title\",\r\n    \"userID\" : 1,\r\n    \"noodleStatus\" : \"event\",\r\n    \"noodleDescription\" : \"even better event description\",\r\n    \"noodleSummary\" : \"even better event summary\",\r\n    \"noodleTags\" : [\"fishing\", \"food\", \"hobby\", \"friends\", \"sports\"],\r\n    \"noodleCoverImage\" : null,\r\n    \"noodleImages\" : [],\r\n    \"noodleImageText\" : [],\r\n    \"noodleLocation\" : null,\r\n    \"noodleDirections\" : null,\r\n    \"noodleDate\" : null,\r\n    \"noodleTime\" : null,\r\n    \"noodlePrice\" : null,\r\n    \"noodleMinTickets\" : null,\r\n    \"noodleMaxTickets\" : null,\r\n    \"noodleTicketsSold\" : null,\r\n    \"noodleCutoff\" : null\r\n}"},"url":"http://localhost/noodlewall/event/update.php","description":"<p>This endpoint allows you to edit an event, by providing all information about an event in the request body, identified by the provided noodleID</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","update.php"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"99a1c1ce-93a6-4df6-afb6-2f2225eda5b9","name":"Update Event","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"noodleID\" : 3,\r\n    \"noodleTitle\" : \"new event title\",\r\n    \"userID\" : 1,\r\n    \"noodleStatus\" : \"event\",\r\n    \"noodleDescription\" : \"even better event description\",\r\n    \"noodleSummary\" : \"even better event summary\",\r\n    \"noodleTags\" : [\"fishing\", \"food\", \"hobby\", \"friends\", \"sports\"],\r\n    \"noodleCoverImage\" : null,\r\n    \"noodleImages\" : [],\r\n    \"noodleImageText\" : [],\r\n    \"noodleLocation\" : null,\r\n    \"noodleDirections\" : null,\r\n    \"noodleDate\" : null,\r\n    \"noodleTime\" : null,\r\n    \"noodlePrice\" : null,\r\n    \"noodleMinTickets\" : null,\r\n    \"noodleMaxTickets\" : null,\r\n    \"noodleTicketsSold\" : null,\r\n    \"noodleCutoff\" : null\r\n}"},"url":"http://localhost/noodlewall/event/update.php"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:31:32 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Content-Length","value":"32"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Event was updated.\"\n}"}],"_postman_id":"87a8798e-24d4-4c01-b5b1-a40fdcb60259"},{"name":"Upload Event Images","id":"7010abe0-d490-4116-8b16-6d3339ebffef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","src":"/C:/Users/Duke/Downloads/farmersmarket.png"}]},"url":"http://localhost/noodlewall/event/uploadEventImage.php","description":"<p>This endpoint allows you to store an image in the images/events directory, by passing the image file in the message body, returns the address of the newly uploaded image</p>\n","urlObject":{"protocol":"http","path":["noodlewall","event","uploadEventImage.php"],"host":["localhost"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"a5641da7-f3fe-4274-b2d9-df141f9d48b0","name":"Upload Event Images","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","src":"/C:/Users/Duke/Downloads/farmersmarket.png"}]},"url":{"raw":"http://localhost/noodlewall/event/uploadEventImage.php","protocol":"http","host":["localhost"],"path":["noodlewall","event","uploadEventImage.php"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:30:02 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Content-Length","value":"89"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"imageAddress\": \"http://gatkinson.site/noodlewall/images/events/608036ea087bc.png\"\n}"}],"_postman_id":"7010abe0-d490-4116-8b16-6d3339ebffef"}],"id":"47830032-a261-4066-bb6f-d36dfef5dfdf","description":"<p>All endpoints for accessing api when hosted locally(endpoints are using the localhost)</p>\n","_postman_id":"47830032-a261-4066-bb6f-d36dfef5dfdf"},{"name":"Local User Endpoints","item":[{"name":"Create User","id":"2590e4d2-2258-4645-a679-89935baa1b07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userID\" : null,\r\n    \"userName\" : \"username1\",\r\n    \"userFirstName\" : \"john\",\r\n    \"userLastName\" : \"appleseed\",\r\n    \"userRating\" : null,\r\n    \"userBio\" : null,\r\n    \"userBioLong\" : null,\r\n    \"userImage\" : null\r\n}"},"url":"http://localhost/noodlewall/user/create.php","description":"<p>This endpoint allows you to create a user in the database by providing all user info in the request body, returns all information about the newly created user</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","create.php"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"13002094-bd75-4371-87e4-c39450258296","name":"Create User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userID\" : null,\r\n    \"userName\" : \"username1\",\r\n    \"userFirstName\" : \"john\",\r\n    \"userLastName\" : \"appleseed\",\r\n    \"userRating\" : null,\r\n    \"userBio\" : null,\r\n    \"userBioLong\" : null,\r\n    \"userImage\" : null\r\n}"},"url":"http://localhost/noodlewall/user/create.php"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:22:16 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Content-Length","value":"149"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"userID\": \"9\",\n    \"userName\": \"username1\",\n    \"userFirstName\": \"john\",\n    \"userLastName\": \"appleseed\",\n    \"userRating\": \"0\",\n    \"userBio\": \"\",\n    \"userBioLong\": \"\",\n    \"userImage\": \"\"\n}"}],"_postman_id":"2590e4d2-2258-4645-a679-89935baa1b07"},{"name":"Delete User","id":"8117f7b2-28d7-4652-a66b-9f26cbbca7b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userID\" : 3\r\n}"},"url":"http://localhost/noodlewall/user/delete.php","description":"<p>This endpoint allows you to delete a user, by providing a user's userID in the request body</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","delete.php"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9a719348-c4c9-4312-8b0d-a3a418616077","name":"Delete User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userID\" : 3\r\n}"},"url":"http://localhost/noodlewall/user/delete.php"},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:22:01 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Content-Length","value":"31"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"user was deleted.\"\n}"}],"_postman_id":"8117f7b2-28d7-4652-a66b-9f26cbbca7b0"},{"name":"Delete User Icon","id":"5f15e7dc-93ae-4ca1-9fec-512c73fe7d22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"imageAddress\" : \"http://gatkinson.site/noodlewall/images/userIcons/608034d699da4.png\"\r\n}"},"url":"http://localhost/noodlewall/user/deleteUserIcon.php","description":"<p>This endpoint allows you to delete a user icon image by providing a url or path to the image in the request body</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","deleteUserIcon.php"],"host":["localhost"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"79105540-2a95-4022-bf55-4e5a686fd4ec","name":"Delete User Icon","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"imageAddress\" : \"http://gatkinson.site/noodlewall/images/userIcons/608034d699da4.png\"\r\n}"},"url":{"raw":"http://localhost/noodlewall/user/deleteUserIcon.php","protocol":"http","host":["localhost"],"path":["noodlewall","user","deleteUserIcon.php"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"status":"Gone","code":410,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:21:31 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Content-Length","value":"75"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"../images/userIcons/608034d699da4.png deleted successfully\"\n}"}],"_postman_id":"5f15e7dc-93ae-4ca1-9fec-512c73fe7d22"},{"name":"Get User by ID","id":"077ca856-3c21-40d5-aeb1-424b58619232","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost/noodlewall/user/getByID.php?id=1","description":"<p>This endpoint allows you to return all information about a user by passing it's  userID as a parameter</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","getByID.php"],"host":["localhost"],"query":[{"key":"id","value":"1"}],"variable":[]}},"response":[{"id":"eed5131d-ca68-4413-88dd-3d75e19eb948","name":"Get User by ID","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost/noodlewall/user/getByID.php?id=1","protocol":"http","host":["localhost"],"path":["noodlewall","user","getByID.php"],"query":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:20:49 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"153"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"userID\": \"1\",\n    \"userName\": \"new username1\",\n    \"userFirstName\": \"john\",\n    \"userLastName\": \"appleseed\",\n    \"userRating\": \"0\",\n    \"userBio\": \"\",\n    \"userBioLong\": \"\",\n    \"userImage\": \"\"\n}"}],"_postman_id":"077ca856-3c21-40d5-aeb1-424b58619232"},{"name":"Get User by Event ID","id":"98fb4ba6-a578-49f0-a455-90f584daa317","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost/noodlewall/user/getUserByEventID.php?id=1","description":"<p>This endpoint returns all information about a user that the provided noodleID's event belongs to</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","getUserByEventID.php"],"host":["localhost"],"query":[{"key":"id","value":"1"},{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"aa9327a5-54c5-4ba7-ac16-de264023228c","name":"Get User by Event ID","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost/noodlewall/user/getUserByEventID.php?id=1","protocol":"http","host":["localhost"],"path":["noodlewall","user","getUserByEventID.php"],"query":[{"key":"id","value":"1"},{"key":"","value":null,"type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:19:42 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"166"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"record\": [\n        {\n            \"userID\": \"1\",\n            \"userName\": \"new username1\",\n            \"userFirstName\": \"john\",\n            \"userLastName\": \"appleseed\",\n            \"userRating\": \"0\",\n            \"userBio\": \"\",\n            \"userBioLong\": \"\",\n            \"userImage\": \"\"\n        }\n    ]\n}"}],"_postman_id":"98fb4ba6-a578-49f0-a455-90f584daa317"},{"name":"Get all Users","id":"c57d5efb-a0a4-45cb-89d1-79b9cfde28c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost/noodlewall/user/read.php","description":"<p>This endpoint returns all information about all users</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","read.php"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"aeedf56d-2c68-4022-aef1-b8af320ca9ae","name":"Get all Users","originalRequest":{"method":"GET","header":[],"url":"http://localhost/noodlewall/user/read.php"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:18:39 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"5797"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"records\": [\n        {\n            \"userID\": \"1\",\n            \"userName\": \"Pam's Fishing\",\n            \"userFirstName\": \"Pam\",\n            \"userLastName\": \"Poovey\",\n            \"userRating\": \"4\",\n            \"userBio\": \"PamLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"PamLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://localhost/noodlewall/images/userIcons/pam-icon.png\"\n        },\n        {\n            \"userID\": \"2\",\n            \"userName\": \"Krieger's Bowling Team\",\n            \"userFirstName\": \"Krieger's\",\n            \"userLastName\": \"Bowling Team\",\n            \"userRating\": \"3\",\n            \"userBio\": \"KriegLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"KriegLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://localhost/noodlewall/images/userIcons/bowling-icon.png\"\n        },\n        {\n            \"userID\": \"3\",\n            \"userName\": \"RichAGand\",\n            \"userFirstName\": \"Richard\",\n            \"userLastName\": \"Gandy\",\n            \"userRating\": \"3\",\n            \"userBio\": \"RichLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"RichLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://localhost/noodlewall/images/userIcons/richard-icon.png\"\n        },\n        {\n            \"userID\": \"4\",\n            \"userName\": \"Howie B\",\n            \"userFirstName\": \"Howard\",\n            \"userLastName\": \"Olson\",\n            \"userRating\": \"2\",\n            \"userBio\": \"HowieLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"HowieLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://localhost/noodlewall/images/userIcons/howie-icon.png\"\n        },\n        {\n            \"userID\": \"5\",\n            \"userName\": \"NouPaiMan\",\n            \"userFirstName\": \"Nouel\",\n            \"userLastName\": \"Paiement\",\n            \"userRating\": \"5\",\n            \"userBio\": \"NouelLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"NouelLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://localhost/noodlewall/images/userIcons/nouel-icon.png\"\n        },\n        {\n            \"userID\": \"6\",\n            \"userName\": \"Caro54\",\n            \"userFirstName\": \"Carol\",\n            \"userLastName\": \"Vance\",\n            \"userRating\": \"4\",\n            \"userBio\": \"Carolorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"Carolorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://localhost/noodlewall/images/userIcons/carol-icon.png\"\n        },\n        {\n            \"userID\": \"7\",\n            \"userName\": \"Jeanette100\",\n            \"userFirstName\": \"Jeanette\",\n            \"userLastName\": \"Stewart\",\n            \"userRating\": \"1\",\n            \"userBio\": \"JeanetteLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"JeanetteLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://localhost/noodlewall/images/userIcons/jeanette-icon.png\"\n        },\n        {\n            \"userID\": \"8\",\n            \"userName\": \"BobbyRay\",\n            \"userFirstName\": \"Bobby\",\n            \"userLastName\": \"Raymer\",\n            \"userRating\": \"5\",\n            \"userBio\": \"BobLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"BobLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://localhost/noodlewall/images/userIcons/bob-icon.png\"\n        }\n    ]\n}"}],"_postman_id":"c57d5efb-a0a4-45cb-89d1-79b9cfde28c8"},{"name":"Search Users","id":"54711903-f93e-4152-9411-ea865c6f0877","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost/noodlewall/user/search.php?s=j","description":"<p>This endpoint allows you to search for a user by providing a search query, searches user fields username, firstname, and lastname. returns all information about user if found</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","search.php"],"host":["localhost"],"query":[{"key":"s","value":"j"}],"variable":[]}},"response":[{"id":"560d9dff-b0ec-49e5-a96a-71ab6e8f827b","name":"Search Users","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost/noodlewall/user/search.php?s=j","protocol":"http","host":["localhost"],"path":["noodlewall","user","search.php"],"query":[{"key":"s","value":"j"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:20:27 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"902"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"records\": [\n        {\n            \"userID\": \"1\",\n            \"userName\": \"new username1\",\n            \"userFirstName\": \"john\",\n            \"userLastName\": \"appleseed\",\n            \"userRating\": \"0\",\n            \"userBio\": \"\",\n            \"userBioLong\": \"\",\n            \"userImage\": \"\"\n        },\n        {\n            \"userID\": \"7\",\n            \"userName\": \"Jeanette100\",\n            \"userFirstName\": \"Jeanette\",\n            \"userLastName\": \"Stewart\",\n            \"userRating\": \"1\",\n            \"userBio\": \"JeanetteLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum.\",\n            \"userBioLong\": \"JeanetteLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc id sodales ex. Quisque vitae ultricies ipsum. Suspendisse pulvinar in ex a posuere. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras varius arcu tellus, et eleifend turpis porta id. Aliquam commodo leo leo, eget rhoncus enim dictum nec. Morbi porta elementum ex sollicitudin porttitor.\",\n            \"userImage\": \"http://localhost/noodlewall/images/userIcons/jeanette-icon.png\"\n        }\n    ]\n}"}],"_postman_id":"54711903-f93e-4152-9411-ea865c6f0877"},{"name":"Update User","id":"46486a9e-f46c-42d1-a4fc-4e8725e8d53d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userID\" : 1,\r\n    \"userName\" : \"new username1\",\r\n    \"userFirstName\" : \"john\",\r\n    \"userLastName\" : \"appleseed\",\r\n    \"userRating\" : null,\r\n    \"userBio\" : null,\r\n    \"userBioLong\" : null,\r\n    \"userImage\" : null\r\n}"},"url":"http://localhost/noodlewall/user/update.php","description":"<p>This endpoint allows you to edit a user, by providing all information about a user in the request body, identified by the provided userID</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","update.php"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"904b8b2a-9015-4741-a700-f9357daad797","name":"Update User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userID\" : 1,\r\n    \"userName\" : \"new username1\",\r\n    \"userFirstName\" : \"john\",\r\n    \"userLastName\" : \"appleseed\",\r\n    \"userRating\" : null,\r\n    \"userBio\" : null,\r\n    \"userBioLong\" : null,\r\n    \"userImage\" : null\r\n}"},"url":"http://localhost/noodlewall/user/update.php"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:19:07 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Content-Length","value":"31"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"user was updated.\"\n}"}],"_postman_id":"46486a9e-f46c-42d1-a4fc-4e8725e8d53d"},{"name":"Upload User Icon","id":"e990de46-3fa9-496a-bb0a-b37ff4261c50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","src":"/C:/Users/Duke/Downloads/USER-icon.png"}]},"url":"http://localhost/noodlewall/user/uploadUserIcon.php","description":"<p>This endpoint allows you to store an image in the images/userIcons directory by passing the image file in the message body, returns the address of newly stored image</p>\n","urlObject":{"protocol":"http","path":["noodlewall","user","uploadUserIcon.php"],"host":["localhost"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"bd02964c-64ee-4585-a630-ed69027aa5a7","name":"Upload User Icon","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","src":"/C:/Users/Duke/Downloads/USER-icon.png"}]},"url":{"raw":"http://localhost/noodlewall/user/uploadUserIcon.php","protocol":"http","host":["localhost"],"path":["noodlewall","user","uploadUserIcon.php"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 21 Apr 2021 14:19:33 GMT"},{"key":"Server","value":"Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0"},{"key":"X-Powered-By","value":"PHP/8.0.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Content-Length","value":"92"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"imageAddress\": \"http://gatkinson.site/noodlewall/images/userIcons/60803475bbd0d.png\"\n}"}],"_postman_id":"e990de46-3fa9-496a-bb0a-b37ff4261c50"}],"id":"adc8a616-ae10-4f02-9f96-ed45bcfbe4d6","description":"<p>All endpoints for accessing api when hosted locally(endpoints are using the localhost)</p>\n","_postman_id":"adc8a616-ae10-4f02-9f96-ed45bcfbe4d6"}]}