{"info":{"_postman_id":"43df2e2e-1b7a-4a95-9b9a-af1cb9a43093","name":"FIZZBUZZ_REFACTORING","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"15722353","collectionId":"43df2e2e-1b7a-4a95-9b9a-af1cb9a43093","publishedId":"UyrHeYDu","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-05-02T22:58:59.000Z"},"item":[{"name":"EXPLORERS ENDPOINT","item":[{"name":"Get students username by the selected Mission","id":"9609fdad-3536-4793-8423-075111afc7b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3000/v1/explorers/usernames/node","description":"<p>This endpoint returns the usernames of the explorers belonging to each mission.\nThe missions can be \"node\" or \"java\".</p>\n","urlObject":{"port":"3000","path":["v1","explorers","usernames","node"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ab960cf3-c95f-4548-b3ab-34e1c22c2f57","name":"localhost:3000/v1/explorers/usernames/node","originalRequest":{"method":"GET","header":[],"url":"localhost:3000/v1/explorers/usernames/node"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"146"},{"key":"ETag","value":"W/\"92-d0ZlJINEylv+LiyNbIATMB2HinY\""},{"key":"Date","value":"Mon, 02 May 2022 22:50:14 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    \"ajolonauta1\",\n    \"ajolonauta2\",\n    \"ajolonauta3\",\n    \"ajolonauta4\",\n    \"ajolonauta5\",\n    \"ajolonauta11\",\n    \"ajolonauta12\",\n    \"ajolonauta13\",\n    \"ajolonauta14\",\n    \"ajolonauta15\"\n]"}],"_postman_id":"9609fdad-3536-4793-8423-075111afc7b8"},{"name":"Get amount of explorers by Mission","id":"8f781b12-5942-4f06-bfed-d160006d46a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3000/v1/explorers/amount/java","description":"<p>This endpoint returns the total number of scouts filtered by the mission to which they belong.</p>\n<p>The missions can be \"java\" or \"node\".</p>\n","urlObject":{"port":"3000","path":["v1","explorers","amount","java"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"30ef7d77-e7ff-4024-a18d-a96eecdca2fd","name":"localhost:3000/v1/explorers/amount/java","originalRequest":{"method":"GET","header":[],"url":"localhost:3000/v1/explorers/amount/java"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"ETag","value":"W/\"1f-rwgVTqatXjHPbaDKPIiV87zL2VQ\""},{"key":"Date","value":"Mon, 02 May 2022 22:50:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"mission\": \"java\",\n    \"quantity\": 5\n}"}],"_postman_id":"8f781b12-5942-4f06-bfed-d160006d46a3"},{"name":"Get explorer by the selected mission","id":"4934cfbd-8a4f-4dbc-bfe0-e9723880a534","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3000/v1/explorers/node","description":"<p>This endpoint returns the explorers data according to the mission they have chosen. \nIt can be \"node\" or \"java\".</p>\n","urlObject":{"port":"3000","path":["v1","explorers","node"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"2ca7d480-e7db-4825-9e38-e12f2b1645aa","name":"localhost:3000/v1/explorers/node","originalRequest":{"method":"GET","header":[],"url":"localhost:3000/v1/explorers/node"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1254"},{"key":"ETag","value":"W/\"4e6-Ywvgb+jIkPHGv0WoR3rH/Cy6Eh8\""},{"key":"Date","value":"Mon, 02 May 2022 22:50:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"Woopa1\",\n        \"githubUsername\": \"ajolonauta1\",\n        \"score\": 1,\n        \"mission\": \"node\",\n        \"stacks\": [\n            \"javascript\",\n            \"reasonML\",\n            \"elm\"\n        ]\n    },\n    {\n        \"name\": \"Woopa2\",\n        \"githubUsername\": \"ajolonauta2\",\n        \"score\": 2,\n        \"mission\": \"node\",\n        \"stacks\": [\n            \"javascript\",\n            \"groovy\",\n            \"elm\"\n        ]\n    },\n    {\n        \"name\": \"Woopa3\",\n        \"githubUsername\": \"ajolonauta3\",\n        \"score\": 3,\n        \"mission\": \"node\",\n        \"stacks\": [\n            \"elixir\",\n            \"groovy\",\n            \"reasonML\"\n        ]\n    },\n    {\n        \"name\": \"Woopa4\",\n        \"githubUsername\": \"ajolonauta4\",\n        \"mission\": \"node\",\n        \"score\": 4,\n        \"stacks\": [\n            \"javascript\"\n        ]\n    },\n    {\n        \"name\": \"Woopa5\",\n        \"githubUsername\": \"ajolonauta5\",\n        \"score\": 5,\n        \"mission\": \"node\",\n        \"stacks\": [\n            \"javascript\",\n            \"elixir\",\n            \"elm\"\n        ]\n    },\n    {\n        \"name\": \"Woopa11\",\n        \"githubUsername\": \"ajolonauta11\",\n        \"score\": 11,\n        \"mission\": \"node\",\n        \"stacks\": [\n            \"javascript\",\n            \"elixir\",\n            \"groovy\",\n            \"reasonML\",\n            \"elm\"\n        ]\n    },\n    {\n        \"name\": \"Woopa12\",\n        \"githubUsername\": \"ajolonauta12\",\n        \"score\": 12,\n        \"mission\": \"node\",\n        \"stacks\": [\n            \"javascript\",\n            \"elixir\",\n            \"groovy\",\n            \"reasonML\",\n            \"elm\"\n        ]\n    },\n    {\n        \"name\": \"Woopa13\",\n        \"githubUsername\": \"ajolonauta13\",\n        \"score\": 13,\n        \"mission\": \"node\",\n        \"stacks\": [\n            \"javascript\",\n            \"elixir\",\n            \"groovy\",\n            \"reasonML\",\n            \"elm\"\n        ]\n    },\n    {\n        \"name\": \"Woopa14\",\n        \"githubUsername\": \"ajolonauta14\",\n        \"score\": 14,\n        \"mission\": \"node\",\n        \"stacks\": [\n            \"javascript\",\n            \"elixir\",\n            \"groovy\",\n            \"reasonML\",\n            \"elm\"\n        ]\n    },\n    {\n        \"name\": \"Woopa15\",\n        \"githubUsername\": \"ajolonauta15\",\n        \"score\": 15,\n        \"mission\": \"node\",\n        \"stacks\": [\n            \"javascript\",\n            \"elixir\",\n            \"groovy\",\n            \"reasonML\",\n            \"elm\"\n        ]\n    }\n]"}],"_postman_id":"4934cfbd-8a4f-4dbc-bfe0-e9723880a534"}],"id":"940cf206-3492-4749-b177-e15e68118e6c","_postman_id":"940cf206-3492-4749-b177-e15e68118e6c","description":""},{"name":"FIZZBUZZ ENDPOINT","item":[{"name":"Gets the string \"FIZZBUZZ\" if the number sent is divided by 3 and 5.","id":"54caca18-b19e-492b-af62-84fafad58a9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3000/v1/fizzbuzz/15","description":"<p>This endpoint returns the word \"FIZZBUZZ\" when the score value entered is divisible between 3 and 5.</p>\n","urlObject":{"port":"3000","path":["v1","fizzbuzz","15"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"962c37b5-a8ae-4de5-8a40-8bdfbebcf10e","name":"localhost:3000/v1/fizzbuzz/15","originalRequest":{"method":"GET","header":[],"url":"localhost:3000/v1/fizzbuzz/15"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"33"},{"key":"ETag","value":"W/\"21-jWkJ/5sWK75x2DL5ikVED1wJrGg\""},{"key":"Date","value":"Mon, 02 May 2022 22:51:08 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"score\": \"15\",\n    \"trick\": \"FIZZBUZZ\"\n}"}],"_postman_id":"54caca18-b19e-492b-af62-84fafad58a9d"},{"name":"Get the string \"FIZZ\" if the number sent is divied by 3","id":"3e207a2f-f5c3-45ca-b9b2-d9c778522a83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3000/v1/fizzbuzz/3","description":"<p>This endpoint returns the word \"FIZZ\" when the score value entered is divisible between 3.</p>\n","urlObject":{"port":"3000","path":["v1","fizzbuzz","3"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1ebdad9e-8638-4733-a787-6c13f1f9a97d","name":"localhost:3000/v1/fizzbuzz/3","originalRequest":{"method":"GET","header":[],"url":"localhost:3000/v1/fizzbuzz/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"28"},{"key":"ETag","value":"W/\"1c-r6yuP+flN0+5lgqXDTYOYK7DA8Q\""},{"key":"Date","value":"Mon, 02 May 2022 22:51:14 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"score\": \"3\",\n    \"trick\": \"FIZZ\"\n}"}],"_postman_id":"3e207a2f-f5c3-45ca-b9b2-d9c778522a83"},{"name":"Get the string \"BUZZ\" if the number sent is divied by 5","id":"cab77639-70e8-4cce-a0e9-ed163cf954d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3000/v1/fizzbuzz/5","description":"<p>This endpoint returns the word \"BUZZ\" when the score value entered is divisible between 5.</p>\n","urlObject":{"port":"3000","path":["v1","fizzbuzz","5"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"5b8ae1ca-ca6f-4e79-9a0a-213813570cca","name":"localhost:3000/v1/fizzbuzz/5","originalRequest":{"method":"GET","header":[],"url":"localhost:3000/v1/fizzbuzz/5"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"28"},{"key":"ETag","value":"W/\"1c-1Lcy6VNGe2tDJyMVs0LWNhOq5LA\""},{"key":"Date","value":"Mon, 02 May 2022 22:51:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"score\": \"5\",\n    \"trick\": \"BUZZ\"\n}"}],"_postman_id":"cab77639-70e8-4cce-a0e9-ed163cf954d6"},{"name":"GET a number if the number sent is not divided by 3, 5 or both","id":"483becdd-4ae6-4d8b-8dba-4c7a47613c95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:3000/v1/fizzbuzz/1","description":"<p>When the score entered is not divisible by 3,5 or both, the score value will be returned.</p>\n","urlObject":{"port":"3000","path":["v1","fizzbuzz","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"38bdf5ce-7bc5-48ed-aadd-05972a832773","name":"localhost:3000/v1/fizzbuzz/1","originalRequest":{"method":"GET","header":[],"url":"localhost:3000/v1/fizzbuzz/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"25"},{"key":"ETag","value":"W/\"19-3hhBKVme9ml1f+AEATKF5fMU2To\""},{"key":"Date","value":"Mon, 02 May 2022 22:51:24 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"score\": \"1\",\n    \"trick\": \"1\"\n}"}],"_postman_id":"483becdd-4ae6-4d8b-8dba-4c7a47613c95"}],"id":"78446348-fa21-4d20-b336-79b19426ff0a","_postman_id":"78446348-fa21-4d20-b336-79b19426ff0a","description":""}]}