{"info":{"_postman_id":"21c2b1c4-4e4d-4187-ade4-38e440a14378","name":"eagletrt-api/users","description":"<html><head></head><body><p>The Airtable microservice is used to serve the web-app with all the information about the user and their personalized views based on their role. This microservice consists of and adapter layer to get the information from a Airtable.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"3504740","collectionId":"21c2b1c4-4e4d-4187-ade4-38e440a14378","publishedId":"TzCMe8cb","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-03-31T16:57:47.000Z"},"item":[{"name":"status","event":[{"listen":"test","script":{"id":"ef970521-bfa2-43e3-87c6-ad79c3e2af99","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r",""],"type":"text/javascript"}}],"id":"744c20bf-6a30-4326-9501-6376ded0ac68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3001/status","urlObject":{"protocol":"http","port":"3001","path":["status"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6ade2b5c-cd70-4ec9-a84d-ae43d8445631","name":"status","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3001/status"},"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":"15"},{"key":"ETag","value":"W/\"f-v/Y1JusChTxrQUzPtNAKycooOTA\""},{"key":"Date","value":"Wed, 31 Mar 2021 16:50:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\"\n}"}],"_postman_id":"744c20bf-6a30-4326-9501-6376ded0ac68"},{"name":"docs api","event":[{"listen":"test","script":{"id":"b9fd808b-e22a-43e5-bd48-329dab2862e2","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r",""],"type":"text/javascript"}}],"id":"f4313309-5a74-4b22-9903-f488e96ec856","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3001/api-docs/","urlObject":{"protocol":"http","port":"3001","path":["api-docs",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9bb45241-5791-44df-bb0c-60edceaac776","name":"docs api","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3001/api-docs/"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"3104"},{"key":"ETag","value":"W/\"c20-YaHADSLwvE3kEdwr5u3Bfu2fhF8\""},{"key":"Date","value":"Wed, 31 Mar 2021 16:50:26 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"\n<!-- HTML for static distribution bundle build -->\n<!DOCTYPE html>\n<html lang=\"en\">\n    <head>\n        <meta charset=\"UTF-8\">\n        <title>Swagger UI</title>\n        <link rel=\"stylesheet\" type=\"text/css\" href=\"./swagger-ui.css\" >\n        <link rel=\"icon\" type=\"image/png\" href=\"./favicon-32x32.png\" sizes=\"32x32\" />\n        <link rel=\"icon\" type=\"image/png\" href=\"./favicon-16x16.png\" sizes=\"16x16\" />\n        <style>\n    html\n    {\n      box-sizing: border-box;\n      overflow: -moz-scrollbars-vertical;\n      overflow-y: scroll;\n    }\n    *,\n    *:before,\n    *:after\n    {\n      box-sizing: inherit;\n    }\n\n    body {\n      margin:0;\n      background: #fafafa;\n    }\n  </style>\n    </head>\n    <body>\n        <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" style=\"position:absolute;width:0;height:0\">\n            <defs>\n                <symbol viewBox=\"0 0 20 20\" id=\"unlocked\">\n                    <path d=\"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z\"></path>\n                </symbol>\n                <symbol viewBox=\"0 0 20 20\" id=\"locked\">\n                    <path d=\"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z\"/>\n                </symbol>\n                <symbol viewBox=\"0 0 20 20\" id=\"close\">\n                    <path d=\"M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z\"/>\n                </symbol>\n                <symbol viewBox=\"0 0 20 20\" id=\"large-arrow\">\n                    <path d=\"M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z\"/>\n                </symbol>\n                <symbol viewBox=\"0 0 20 20\" id=\"large-arrow-down\">\n                    <path d=\"M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z\"/>\n                </symbol>\n                <symbol viewBox=\"0 0 24 24\" id=\"jump-to\">\n                    <path d=\"M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z\"/>\n                </symbol>\n                <symbol viewBox=\"0 0 24 24\" id=\"expand\">\n                    <path d=\"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z\"/>\n                </symbol>\n            </defs>\n        </svg>\n        <div id=\"swagger-ui\"></div>\n        <script src=\"./swagger-ui-bundle.js\"> </script>\n        <script src=\"./swagger-ui-standalone-preset.js\"> </script>\n        <script src=\"./swagger-ui-init.js\"> </script>\n        <style>\n  .swagger-ui .topbar .download-url-wrapper { display: none } undefined\n</style>\n    </body>\n</html>"}],"_postman_id":"f4313309-5a74-4b22-9903-f488e96ec856"},{"name":"users","event":[{"listen":"test","script":{"id":"3f1167fd-3394-438c-aaf5-669c5f5449a8","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","let jsonData = pm.response.json();\r","\r","pm.test(\"GET Request\", function (){\r","    pm.response.to.have.status(200);\r","})\r","\r","pm.test(\"JSON Data Response\", function (){\r","    pm.expect(jsonData)\r","})"],"type":"text/javascript"}}],"id":"5856f14f-ed0b-4765-9934-aad21a31973c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/api/v1/users","description":"<p>This API allows to retrieve the list of the members</p>\n","urlObject":{"protocol":"http","port":"3001","path":["api","v1","users"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"2210875f-b4b8-4549-a56a-cca7882835d2","name":"users","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/vnd.github.v3+json","disabled":true},{"key":"Authorization","type":"text","value":"","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"848"},{"key":"ETag","value":"W/\"350-awGGbtIhPuRh0m/2A9TI9Ef+u1E\""},{"key":"Date","value":"Wed, 31 Mar 2021 16:50:37 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"recFDMnIxmN7yuG82\",\n        \"name\": \"Vlad\",\n        \"surname\": \"Bollic\",\n        \"username\": \"bollicciss\",\n        \"password\": \"$2b$10$QzMZumKFup4SOtm1339vQeuCEhpnxqYwqOBUAN1nfkpJvD9jGogym\"\n    },\n    {\n        \"id\": \"recLx5MhABv7ZA1Ez\",\n        \"name\": \"Luca\",\n        \"surname\": \"Martinelli\",\n        \"username\": \"lucagump\",\n        \"password\": \"$2b$10$EBIg8RpeeTCtkCacH0VpcOXskwKXn2UuHtk2pqpP.iUUemPILZMum\",\n        \"checked\": true,\n        \"jwt\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imx1Y2FndW1wIiwicGFzc3dvcmQiOiJlYWdsZVRSVCIsImlhdCI6MTYxNjYwMTk4MH0.F42shjjjS-oc1-p-YsQa_sKIqaxhEb8al1YnFxEiIBs\"\n    },\n    {\n        \"id\": \"recZjACaz26UG5UpO\",\n        \"name\": \"Cristiano\",\n        \"surname\": \"Strobbe\",\n        \"username\": \"bomberino86\",\n        \"checked\": true,\n        \"jwt\": \"wa3223s432dwad3243564wfgfterfwef43tg\"\n    },\n    {\n        \"id\": \"recp6kiB625J7DCCe\",\n        \"name\": \"Eugenio\",\n        \"surname\": \"Berretta\",\n        \"username\": \"euberdeveloper\",\n        \"checked\": true\n    },\n    {\n        \"id\": \"recrv9PWbfFOA9hKa\",\n        \"name\": \"Mario\",\n        \"surname\": \"Rossi\",\n        \"username\": \"banana26\"\n    }\n]"}],"_postman_id":"5856f14f-ed0b-4765-9934-aad21a31973c"},{"name":"users/:userID","event":[{"listen":"test","script":{"id":"1fa99f87-800f-416a-905f-cfe75e77efb1","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","let jsonData = pm.response.json();\r","\r","pm.test(\"GET Request\", function (){\r","    pm.response.to.have.status(200);\r","})\r","\r","pm.test(\"JSON Data Response\", function (){\r","    pm.expect(jsonData)\r","})"],"type":"text/javascript"}}],"id":"ac7d8d57-4e32-44a0-8074-1c7765321861","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3001/api/v1/users/:userID","description":"<p>This API allows to retrieve member by the github username</p>\n","urlObject":{"protocol":"http","port":"3001","path":["api","v1","users",":userID"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"recLx5MhABv7ZA1Ez","key":"userID"}]}},"response":[{"id":"4969351d-a17c-405e-94f6-d85026a78c84","name":"users/:userID","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/vnd.github.v3+json","disabled":true},{"key":"Authorization","type":"text","value":"","disabled":true}],"url":{"raw":"http://localhost:3001/api/v1/users/:userID","protocol":"http","host":["localhost"],"port":"3001","path":["api","v1","users",":userID"],"variable":[{"key":"userID","value":"recLx5MhABv7ZA1Ez"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"347"},{"key":"ETag","value":"W/\"15b-uP0ItzVJuxShqtu97Rv4nURgazo\""},{"key":"Date","value":"Wed, 31 Mar 2021 16:50:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"recLx5MhABv7ZA1Ez\",\n    \"name\": \"Luca\",\n    \"surname\": \"Martinelli\",\n    \"username\": \"lucagump\",\n    \"checked\": true,\n    \"password\": \"$2b$10$EBIg8RpeeTCtkCacH0VpcOXskwKXn2UuHtk2pqpP.iUUemPILZMum\",\n    \"jwt\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imx1Y2FndW1wIiwicGFzc3dvcmQiOiJlYWdsZVRSVCIsImlhdCI6MTYxNjYwMTk4MH0.F42shjjjS-oc1-p-YsQa_sKIqaxhEb8al1YnFxEiIBs\"\n}"}],"_postman_id":"ac7d8d57-4e32-44a0-8074-1c7765321861"},{"name":"users/username/:username","event":[{"listen":"test","script":{"id":"ffdaf7ba-bb0b-4bd4-8b72-4300b42bd9c8","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","let jsonData = pm.response.json();\r","\r","pm.test(\"GET Request\", function (){\r","    pm.response.to.have.status(200);\r","})\r","\r","pm.test(\"JSON Data Response\", function (){\r","    pm.expect(jsonData)\r","})"],"type":"text/javascript"}}],"id":"b61a067e-af97-4175-bd56-0575348f3d28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3001/api/v1/users/username/:username ","description":"<p>This API allows to retrieve member by the github username</p>\n","urlObject":{"protocol":"http","port":"3001","path":["api","v1","users","username",":username "],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"lucagump","key":"username "}]}},"response":[{"id":"f9cdeefd-1ba4-4dfa-a98b-1cc1dbddbee1","name":"users/username/:username","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/vnd.github.v3+json","disabled":true},{"key":"Authorization","type":"text","value":"","disabled":true}],"url":{"raw":"http://localhost:3001/api/v1/users/username/:username ","protocol":"http","host":["localhost"],"port":"3001","path":["api","v1","users","username",":username "],"variable":[{"key":"username ","value":"lucagump"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"349"},{"key":"ETag","value":"W/\"15d-Z4cSOB0yncSmrayPcVCEPgX2LBc\""},{"key":"Date","value":"Wed, 31 Mar 2021 16:50:59 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"recLx5MhABv7ZA1Ez\",\n        \"name\": \"Luca\",\n        \"surname\": \"Martinelli\",\n        \"username\": \"lucagump\",\n        \"password\": \"$2b$10$EBIg8RpeeTCtkCacH0VpcOXskwKXn2UuHtk2pqpP.iUUemPILZMum\",\n        \"checked\": true,\n        \"jwt\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imx1Y2FndW1wIiwicGFzc3dvcmQiOiJlYWdsZVRSVCIsImlhdCI6MTYxNjYwMTk4MH0.F42shjjjS-oc1-p-YsQa_sKIqaxhEb8al1YnFxEiIBs\"\n    }\n]"}],"_postman_id":"b61a067e-af97-4175-bd56-0575348f3d28"},{"name":"users","event":[{"listen":"test","script":{"id":"aebdff4d-3ef8-480d-9003-6f65cd9d73d4","exec":["pm.test(\"Status code is 201\", function () {\r","    pm.response.to.have.status(201);\r","});\r","\r","let jsonData = pm.response.json();\r","\r","pm.test(\"GET Request\", function (){\r","    pm.response.to.have.status(200);\r","})\r","\r","pm.test(\"JSON Data Response\", function (){\r","    pm.expect(jsonData)\r","})"],"type":"text/javascript"}}],"id":"6ac2db70-5b61-4782-8b18-14901a17b14c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Vladimir\",\r\n    \"surname\": \"Bollicine\",\r\n    \"username\": \"12bolliccissas\",\r\n    \"password\": \"123trueORfalseOrNegative\",\r\n    \"jwt\": \"sas76asas23wa3223s432dfgfterfwef3tg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/api/v1/users","description":"<p>This API allows to retrieve member by the github username</p>\n","urlObject":{"protocol":"http","port":"3001","path":["api","v1","users"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"aaa5432f-3050-43e7-884f-f8007eaa8adf","name":"users","originalRequest":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/vnd.github.v3+json","disabled":true},{"key":"Authorization","type":"text","value":"","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Vladimir\",\r\n    \"surname\": \"Bollicine\",\r\n    \"username\": \"12bolliccissas\",\r\n    \"password\": \"123trueORfalseOrNegative\",\r\n    \"jwt\": \"sas76asas23wa3223s432dfgfterfwef3tg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/api/v1/users"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"253"},{"key":"ETag","value":"W/\"fd-j6Zkkz8phO0gtoWTc4xExQ1Edyg\""},{"key":"Date","value":"Wed, 31 Mar 2021 16:54:55 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"recicEJir1wn6AKKu\",\n    \"fields\": {\n        \"Name\": \"Vladimir\",\n        \"Surname\": \"Bollicine\",\n        \"Username\": \"12bolliccissas\",\n        \"Views\": [\n            \"recwfBFynTYlcg1EH\"\n        ],\n        \"JWT\": \"sas76asas23wa3223s432dfgfterfwef3tg\",\n        \"Password\": \"$2b$10$mOPsH9kBgjCeyy6HxVgSb./K0MC5mS86NjXiESjMFIRVp5k05nS1m\"\n    }\n}"},{"id":"fd290a50-681b-4f37-8a77-fb8f249fff99","name":"users","originalRequest":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/vnd.github.v3+json","disabled":true},{"key":"Authorization","type":"text","value":"","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Vladimir\",\r\n    \"surname\": \"Bollicine\",\r\n    \"username\": \"12bolliccissas\",\r\n    \"password\": \"123trueORfalseOrNegative\",\r\n    \"jwt\": \"sas76asas23wa3223s432dfgfterfwef3tg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/api/v1/users"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"35"},{"key":"ETag","value":"W/\"23-mndGS56qvHC3LbeBK94Ub84G5XI\""},{"key":"Date","value":"Wed, 31 Mar 2021 16:55:17 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"User already registered\"\n}"}],"_postman_id":"6ac2db70-5b61-4782-8b18-14901a17b14c"},{"name":"users","event":[{"listen":"test","script":{"id":"9c54d515-0980-47de-93ea-e58bbbeb89da","exec":["pm.test(\"Status code is 201\", function () {\r","    pm.response.to.have.status(201);\r","});\r","\r","let jsonData = pm.response.json();\r","\r","pm.test(\"GET Request\", function (){\r","    pm.response.to.have.status(200);\r","})\r","\r","pm.test(\"JSON Data Response\", function (){\r","    pm.expect(jsonData)\r","})"],"type":"text/javascript"}}],"id":"e271ec44-4aba-4de8-b960-6834a418f2ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/api/v1/users/:username ","description":"<p>This API allows to retrieve member by the github username</p>\n","urlObject":{"protocol":"http","port":"3001","path":["api","v1","users",":username "],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"Bartolomeo","key":"username "}]}},"response":[{"id":"b3657d8b-e5c3-4030-b0ce-638105c896d9","name":"users","originalRequest":{"method":"DELETE","header":[{"key":"Accept","type":"text","value":"application/vnd.github.v3+json","disabled":true},{"key":"Authorization","type":"text","value":"","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:3001/api/v1/users/:username ","protocol":"http","host":["localhost"],"port":"3001","path":["api","v1","users",":username "],"variable":[{"key":"username ","value":"12bolliccissas"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"30"},{"key":"ETag","value":"W/\"1e-Wgml53nXYAgXwZnA8lVtI5yWDTM\""},{"key":"Date","value":"Wed, 31 Mar 2021 16:55:45 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"userid\": \"recicEJir1wn6AKKu\"\n}"}],"_postman_id":"e271ec44-4aba-4de8-b960-6834a418f2ef"},{"name":"users/:userID","event":[{"listen":"test","script":{"id":"fdc8c69f-87e5-4869-9def-13c9e1ab3ec9","exec":["pm.test(\"Status code is 201\", function () {\r","    pm.response.to.have.status(201);\r","});\r","\r","let jsonData = pm.response.json();\r","\r","pm.test(\"PUT Request\", function (){\r","    pm.response.to.have.status(201);\r","})\r","\r","pm.test(\"JSON Data Response\", function (){\r","    pm.expect(jsonData)\r","})"],"type":"text/javascript"}}],"id":"81449e90-1d8b-42ab-80d6-ec099c3b36e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"jwt\": \"12345678gvuuyhll\",\r\n    \"password\": \"eagleTRT\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/api/v1/users/:userID","description":"<p>This API allows to retrieve member by the github username</p>\n","urlObject":{"protocol":"http","port":"3001","path":["api","v1","users",":userID"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"recLx5MhABv7ZA1Ez","key":"userID"}]}},"response":[{"id":"35936ebb-d7dd-4357-a439-54930e222e66","name":"users/:userID","originalRequest":{"method":"PUT","header":[{"key":"Accept","type":"text","value":"application/vnd.github.v3+json","disabled":true},{"key":"Authorization","type":"text","value":"","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"jwt\": \"12345678gvuuyhll\",\r\n    \"password\": \"eagleTRT\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:3001/api/v1/users/:userID","protocol":"http","host":["localhost"],"port":"3001","path":["api","v1","users",":userID"],"variable":[{"key":"userID","value":"recLx5MhABv7ZA1Ez"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"199"},{"key":"ETag","value":"W/\"c7-kGLxs75C9k59b+/xR+o2WWfP4YI\""},{"key":"Date","value":"Wed, 31 Mar 2021 16:56:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"recLx5MhABv7ZA1Ez\",\n    \"name\": \"Luca\",\n    \"surname\": \"Martinelli\",\n    \"username\": \"lucagump\",\n    \"password\": \"$2b$10$WbW2/sWB8ztXL.CAOwFVpeBnQZVjP958tod3Oq6gVeeKgIkIx6lXy\",\n    \"checked\": true,\n    \"jwt\": \"12345678gvuuyhll\"\n}"}],"_postman_id":"81449e90-1d8b-42ab-80d6-ec099c3b36e1"},{"name":"users/:userID/token","event":[{"listen":"test","script":{"id":"4784b210-18de-430e-b1a9-168a52153b60","exec":["pm.test(\"Status code is 201\", function () {\r","    pm.response.to.have.status(201);\r","});\r","\r","let jsonData = pm.response.json();\r","\r","pm.test(\"PUT Request\", function (){\r","    pm.response.to.have.status(201);\r","})\r","\r","pm.test(\"JSON Data Response\", function (){\r","    pm.expect(jsonData)\r","})"],"type":"text/javascript"}}],"id":"3e491866-c3e0-40f8-8979-96593709e569","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"jwt\": \"arrarar3456adsfg23456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/api/v1/users/:userID/token","description":"<p>This API allows to retrieve member by the github username</p>\n","urlObject":{"protocol":"http","port":"3001","path":["api","v1","users",":userID","token"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"recLx5MhABv7ZA1Ez","key":"userID"}]}},"response":[{"id":"6cc2104d-673e-4f3d-97fe-4445b36d3960","name":"users/:userID/token","originalRequest":{"method":"PUT","header":[{"key":"Accept","type":"text","value":"application/vnd.github.v3+json","disabled":true},{"key":"Authorization","type":"text","value":"","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"jwt\": \"arrarar3456adsfg23456\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:3001/api/v1/users/:userID/token","protocol":"http","host":["localhost"],"port":"3001","path":["api","v1","users",":userID","token"],"variable":[{"key":"userID","value":"recLx5MhABv7ZA1Ez"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"204"},{"key":"ETag","value":"W/\"cc-Hb7t/jdMroGmJqeTkObvEEdPnN8\""},{"key":"Date","value":"Wed, 31 Mar 2021 16:56:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"recLx5MhABv7ZA1Ez\",\n    \"name\": \"Luca\",\n    \"surname\": \"Martinelli\",\n    \"username\": \"lucagump\",\n    \"password\": \"$2b$10$WbW2/sWB8ztXL.CAOwFVpeBnQZVjP958tod3Oq6gVeeKgIkIx6lXy\",\n    \"checked\": true,\n    \"jwt\": \"arrarar3456adsfg23456\"\n}"}],"_postman_id":"3e491866-c3e0-40f8-8979-96593709e569"}]}