{"info":{"_postman_id":"80278c4b-5b05-491a-8d83-092522ccc9ce","name":"Questioner-API-V2 Docs","description":"<html><head></head><body><p>Questioner is a crowd-source questions for a meetup. It helps the meetup organizer prioritize questions to be answered. Other users can vote on asked questions and they bubble to the top or to the bottom of the log.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"6005235","collectionId":"80278c4b-5b05-491a-8d83-092522ccc9ce","publishedId":"RzthPq78","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-01-24T05:37:46.000Z"},"item":[{"name":"meetups","item":[{"name":"http://127.0.0.1:5000/api/v2/meetups","id":"3cd5a094-3aad-4aa9-a421-37531e9a00e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImFkbWluIn0._BIpJHx-a2aa1MbuoUvpJS893V6eABuMt9XOgQN6IB8","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"                             {\"topic\": \"Scrum\",\n                             \"happenningon\": \"14/02/2019\",\n                             \"location\": \"Thika\",\n                             \"images\": \"blair.png\",\n                             \"tags\": \"Tech\"\n                             }"},"url":"http://127.0.0.1:5000/api/v2/meetups/","description":"<p>Create Meetups</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","meetups",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3cd5a094-3aad-4aa9-a421-37531e9a00e7"},{"name":"http://127.0.0.1:5000/api/v2/meetups/","id":"de1a73f4-2350-4d2e-b6cc-701b862b609a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImFkbWluIn0._BIpJHx-a2aa1MbuoUvpJS893V6eABuMt9XOgQN6IB8","type":"text"}],"body":{"mode":"raw","raw":"{\"topic\": \"Miguel Miguel\",\n                             \"happenningon\": \"16/02/2019\",\n                             \"location\": \"Nairobi\",\n                             \"images\": \"Miguel.png\",\n                             \"tags\": [\"Tech\"]\n                             }"},"url":"http://127.0.0.1:5000/api/v2/meetups/","description":"<p>Admin Create Meetup 2</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","meetups",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"de1a73f4-2350-4d2e-b6cc-701b862b609a"},{"name":"http://127.0.0.1:5000/api/v2/meetups/upcoming","id":"22035c76-5b9f-4a09-9972-eeab1913cbd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImZha2VhZG1pbiJ9.3JCgD2AMcZTKUsKWrwAq--gomRcsh2is-HbtVHa6HTs","type":"text"}],"url":"http://127.0.0.1:5000/api/v2/meetups/upcoming","description":"<p>Get all meetups</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","meetups","upcoming"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"22035c76-5b9f-4a09-9972-eeab1913cbd6"},{"name":"http://127.0.0.1:5000/api/v2/meetups/3","id":"70b91e29-fb81-48c0-9077-35f54eac0200","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImZha2VhZG1pbiJ9.3JCgD2AMcZTKUsKWrwAq--gomRcsh2is-HbtVHa6HTs","type":"text"}],"url":"http://127.0.0.1:5000/api/v2/meetups/3","description":"<p>Get specific meetup</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","meetups","3"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"70b91e29-fb81-48c0-9077-35f54eac0200"},{"name":"http://127.0.0.1:5000/api/v2/meetups/4","id":"02ad92e9-7075-448c-9018-23957cae4cd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImFkbWluIn0._BIpJHx-a2aa1MbuoUvpJS893V6eABuMt9XOgQN6IB8","type":"text"}],"url":"http://127.0.0.1:5000/api/v2/meetups/4","description":"<p>Admin Delete Meetup</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","meetups","4"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"02ad92e9-7075-448c-9018-23957cae4cd7"},{"name":"http://127.0.0.1:5000/api/v2/meetups/3/rsvps/no","id":"98bf55d3-992a-47aa-9245-c7898d64f2e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImZha2VhZG1pbiJ9.3JCgD2AMcZTKUsKWrwAq--gomRcsh2is-HbtVHa6HTs","type":"text"}],"body":{"mode":"raw","raw":"[{\"Attending\": \"yes\",\n                                \"meetup\": 1,\n                                \"topic\": \"Scrum\"}]"},"url":"http://127.0.0.1:5000/api/v2/meetups/3/rsvps/yes","description":"<p>User rsvp to a meetup</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","meetups","3","rsvps","yes"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"98bf55d3-992a-47aa-9245-c7898d64f2e8"}],"id":"e08f5b0e-4268-44db-9ebe-43200f5dfed0","description":"<p>Contains all meetups API Endpoints</p>\n","_postman_id":"e08f5b0e-4268-44db-9ebe-43200f5dfed0"},{"name":"questions","item":[{"name":"http://127.0.0.1:5000/api/v2/meetups/3/questions","id":"6a7d1a70-c443-4fdf-ae5c-a5fb20a0efa3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImZha2VhZG1pbiJ9.3JCgD2AMcZTKUsKWrwAq--gomRcsh2is-HbtVHa6HTs","type":"text"}],"body":{"mode":"raw","raw":"{\"title\": \"What is Dev?\",\n                               \"body\": \"I really like how people talk about Tonys Dev\"}"},"url":"http://127.0.0.1:5000/api/v2/meetups/3/questions","description":"<p>Post a question to a meetup record</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","meetups","3","questions"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a7d1a70-c443-4fdf-ae5c-a5fb20a0efa3"},{"name":"http://127.0.0.1:5000/api/v2/meetups/3/questions","id":"29a34866-ea30-491b-ad6b-ce08fd615265","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImZha2VhZG1pbiJ9.3JCgD2AMcZTKUsKWrwAq--gomRcsh2is-HbtVHa6HTs","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"title\": \"What is JWT?\",\n                               \"body\": \"I learnt more about JWT at Bootcamp\"}\n"},"url":"http://127.0.0.1:5000/api/v2/meetups/3/questions","description":"<p>User Create a Question</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","meetups","3","questions"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"29a34866-ea30-491b-ad6b-ce08fd615265"},{"name":"http://127.0.0.1:5000/api/v2/meetups/3/questions","id":"a798134d-b3f2-49c9-9421-573fc545a9dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImZha2VhZG1pbiJ9.3JCgD2AMcZTKUsKWrwAq--gomRcsh2is-HbtVHa6HTs","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://127.0.0.1:5000/api/v2/meetups/3/questions","description":"<p>Get all questions</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","meetups","3","questions"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a798134d-b3f2-49c9-9421-573fc545a9dc"},{"name":"http://127.0.0.1:5000/api/v2/questions/1/comment","id":"c0e3605b-e9ae-478d-bc3a-d49a320cf948","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImZha2VhZG1pbiJ9.3JCgD2AMcZTKUsKWrwAq--gomRcsh2is-HbtVHa6HTs","type":"text"}],"body":{"mode":"raw","raw":"{\"comment\": \"Wow, I love every topic on Dev\"}"},"url":"http://127.0.0.1:5000/api/v2/questions/1/comment","description":"<p>User Comment on a Question</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","questions","1","comment"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c0e3605b-e9ae-478d-bc3a-d49a320cf948"},{"name":"http://127.0.0.1:5000/api/v2/questions/1/comments","id":"690a7ed2-c72a-4b50-b95c-5303a605d383","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImZha2VhZG1pbiJ9.3JCgD2AMcZTKUsKWrwAq--gomRcsh2is-HbtVHa6HTs","type":"text"}],"url":"http://127.0.0.1:5000/api/v2/questions/1/comments","description":"<p>User Get all comments</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","questions","1","comments"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"690a7ed2-c72a-4b50-b95c-5303a605d383"},{"name":"http://127.0.0.1:5000/api/v2/questions/1/upvote","id":"adf9f998-5f2a-4745-9b0e-39880b472cbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImZha2VhZG1pbiJ9.3JCgD2AMcZTKUsKWrwAq--gomRcsh2is-HbtVHa6HTs","type":"text"}],"url":"http://127.0.0.1:5000/api/v2/questions/1/upvote","description":"<p>User Upvote A Question</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","questions","1","upvote"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"adf9f998-5f2a-4745-9b0e-39880b472cbc"},{"name":"http://127.0.0.1:5000/api/v2/questions/2/downvote/","id":"5a455754-5bfd-4cea-99dc-e557c514ed6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImZha2VhZG1pbiJ9.3JCgD2AMcZTKUsKWrwAq--gomRcsh2is-HbtVHa6HTs","type":"text"}],"url":"http://127.0.0.1:5000/api/v2/questions/2/downvote/","description":"<p>User Downvote a question</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","questions","2","downvote",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a455754-5bfd-4cea-99dc-e557c514ed6c"}],"id":"f1fc8a40-8970-4d07-a239-1b5a74e3ee3a","description":"<p>Contain all questions API Endpoints</p>\n","_postman_id":"f1fc8a40-8970-4d07-a239-1b5a74e3ee3a"},{"name":"comments","item":[{"name":"http://127.0.0.1:5000/api/v2/questions/1/comment","id":"6bb8296d-f5da-4ff4-8e3a-7b8e9d0ba7b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImZha2VhZG1pbiJ9.3JCgD2AMcZTKUsKWrwAq--gomRcsh2is-HbtVHa6HTs","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"comment\": \"Wow, I love itt\"}"},"url":"http://127.0.0.1:5000/api/v2/questions/1/comment","urlObject":{"protocol":"http","port":"5000","path":["api","v2","questions","1","comment"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6bb8296d-f5da-4ff4-8e3a-7b8e9d0ba7b8"},{"name":"http://127.0.0.1:5000/api/v2/questions/1/comments","id":"6c6536c6-833b-4c21-a4ca-573a325a1231","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImZha2VhZG1pbiJ9.3JCgD2AMcZTKUsKWrwAq--gomRcsh2is-HbtVHa6HTs","type":"text"}],"url":"http://127.0.0.1:5000/api/v2/questions/1/comments","description":"<p>Get all comments</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","questions","1","comments"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6c6536c6-833b-4c21-a4ca-573a325a1231"}],"id":"c922bf41-afdd-4a14-8af8-77d74bd6aca5","description":"<p>Contain all comments API Endpoints</p>\n","_postman_id":"c922bf41-afdd-4a14-8af8-77d74bd6aca5"},{"name":"users","item":[{"name":"http://127.0.0.1:5000/api/v2/auth/signup","id":"b1ddc4e8-da27-45f3-bb61-778d289ecb1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"firstname\": \"Tony\",\n                             \"lastname\": \"Andela\",\n                             \"phoneNumber\": \"0713403687\",\n                             \"username\": \"fakeadmin\",\n                             \"email\": \"blairtdev@gmail.com\",\n                             \"password\": \"Blairman1234\",\n                             \"confirm_password\": \"Blairman1234\"}"},"url":"http://127.0.0.1:5000/api/v2/auth/signup","description":"<p>Sign up user</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","auth","signup"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b1ddc4e8-da27-45f3-bb61-778d289ecb1f"},{"name":"http://127.0.0.1:5000/api/v2/auth/login","id":"dfa27fec-7c0b-4b90-8b36-2b4083f111cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"username\": \"fakeadmin\",\n\"password\": \"Blairman1234\"}"},"url":"http://127.0.0.1:5000/api/v2/auth/login","description":"<p>Log in user</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","auth","login"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"dfa27fec-7c0b-4b90-8b36-2b4083f111cb"},{"name":"http://127.0.0.1:5000/api/v2/auth/login","id":"3e584b30-96fd-45fa-917d-c31e7ef67813","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"                             {\n                             \"username\": \"admin\",\n                             \"password\": \"Andela2019\"}"},"url":"http://127.0.0.1:5000/api/v2/auth/login","description":"<p>admin login</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","auth","login"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e584b30-96fd-45fa-917d-c31e7ef67813"},{"name":"http://127.0.0.1:5000/api/v2/auth/logout?x-access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImZha2VhZG1pbiJ9.3JCgD2AMcZTKUsKWrwAq--gomRcsh2is-HbtVHa6HTs","id":"f827549a-29f9-4e89-80ca-bd92b0d69256","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImZha2VhZG1pbiJ9.3JCgD2AMcZTKUsKWrwAq--gomRcsh2is-HbtVHa6HTs","type":"text"}],"url":"http://127.0.0.1:5000/api/v2/auth/logout?x-access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImZha2VhZG1pbiJ9.3JCgD2AMcZTKUsKWrwAq--gomRcsh2is-HbtVHa6HTs","description":"<p>User Logout</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","v2","auth","logout"],"host":["127","0","0","1"],"query":[{"key":"x-access-token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImZha2VhZG1pbiJ9.3JCgD2AMcZTKUsKWrwAq--gomRcsh2is-HbtVHa6HTs"}],"variable":[]}},"response":[],"_postman_id":"f827549a-29f9-4e89-80ca-bd92b0d69256"}],"id":"5d6428a1-5acf-4ece-8bc6-6f211a5bcb4e","description":"<p>contain all users API Endpoints</p>\n","_postman_id":"5d6428a1-5acf-4ece-8bc6-6f211a5bcb4e"}]}