{"info":{"_postman_id":"220776bc-c509-4c9e-b6a9-1e4d42432502","name":"Prueba Magneto","description":"<html><head></head><body><p>API Rest para la verificacion de secuencias del adn que permite determinar si un ser human es mutante o no.</p>\n<p><a href=\"https://adn-mutants.herokuapp.com/api/index\">URL Servicio Heroku</a></p>\n<p>Autor: <a href=\"https://www.linkedin.com/in/calypsobronte/\">Lina Maria Montaño Ramirez - @calypsobronte</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"2984359","collectionId":"220776bc-c509-4c9e-b6a9-1e4d42432502","publishedId":"UVXdQKGm","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-01-07T04:51:50.000Z"},"item":[{"name":"api-heroku","item":[{"name":"index","id":"2e54db4f-ce96-4e98-8d1c-59d2a3382242","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://adn-mutants.herokuapp.com/api/index","description":"<p>Endpoint <strong>/api/index</strong> nos indica si esta corriendo correctamente nuestro servicio de servidor</p>\n","urlObject":{"protocol":"https","path":["api","index"],"host":["adn-mutants","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"c0eb686d-c19c-4311-8fd1-9a724b1b06a1","name":"index","originalRequest":{"method":"GET","header":[],"url":"https://adn-mutants.herokuapp.com/api/index"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Headers","value":"Origin, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version, X-Response-Time, X-PINGOTHER, X-CSRF-Token,Authorization"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"56"},{"key":"Etag","value":"W/\"38-r6ZQYZ7Y8OZqpfmRsJ+HO2SXlU8\""},{"key":"Date","value":"Fri, 07 Jan 2022 04:47:10 GMT"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"Recopilacion de datos\": \"Bienvenidos a la plataforma.\"\n}"}],"_postman_id":"2e54db4f-ce96-4e98-8d1c-59d2a3382242"},{"name":"Ingreso de secuencia adn","id":"195c3981-89d1-4b62-a54f-79201048615e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dna\": [\"ATG\",\"CAG\",\"TTA\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://adn-mutants.herokuapp.com/api/magneto/mutant","description":"<p>Endpoint <strong>/api/magneto/mutant</strong> metodo <strong>POST</strong> nos indica la verificacion si una secuencia de ADN ingresada corresponde a un humano mutante o no-mutante.</p>\n","urlObject":{"protocol":"https","path":["api","magneto","mutant"],"host":["adn-mutants","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"7c48a18d-88de-4d91-b913-4cda04edb15d","name":"secuencia adn cuando ya existe en la base de datos","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dna\": [\"TCACTGGCT\",\"CTGTGCCTA\",\"TATTTCGAG\",\"AGATGGTTC\",\"GCGTCAACG\",\"TCACTCGCT\",\"ATGCGACGC\",\"AGACGGTCC\",\"CAGTGCCTA\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://adn-mutants.herokuapp.com/api/magneto/mutant"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Headers","value":"Origin, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version, X-Response-Time, X-PINGOTHER, X-CSRF-Token,Authorization"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"234"},{"key":"Etag","value":"W/\"ea-ae2V+XrQcHvRcZ6VLxx+iAJ0lVM\""},{"key":"Date","value":"Fri, 07 Jan 2022 04:44:59 GMT"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"El registro de adn ingresado ya se encuentra en nuestra base de datos y su resultado es el siguiente dna: [TCACTGGCT,CTGTGCCTA,TATTTCGAG,AGATGGTTC,GCGTCAACG,TCACTCGCT,ATGCGACGC,AGACGGTCC,CAGTGCCTA], y su tipo es: mutant \"\n}"},{"id":"f7fad038-5a3d-4757-9a90-7a2b109fb7fd","name":"Ingreso de registro nuevo de secuencia adn","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dna\": [\"ATG\",\"CAG\",\"TTA\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://adn-mutants.herokuapp.com/api/magneto/mutant"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Headers","value":"Origin, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version, X-Response-Time, X-PINGOTHER, X-CSRF-Token,Authorization"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"111"},{"key":"Etag","value":"W/\"6f-uoTwOH7dEe3KhF4hRA373ePh/O8\""},{"key":"Date","value":"Fri, 07 Jan 2022 04:48:46 GMT"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"El resultado final del analisis, su tipo es: human y su secuencia ADN es: [ATG,CAG,TTA] code: 403\"\n}"}],"_postman_id":"195c3981-89d1-4b62-a54f-79201048615e"},{"name":"List all secuencias adn","id":"ddb2ced1-2e71-40b8-8627-3343f9573ed2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://adn-mutants.herokuapp.com/api/magneto/all","description":"<p>Endpoint <strong>/api/magneto/all</strong> metodo <strong>GET</strong> nos indica la lista de todas las muestras de ADN almacenadas en la base de datos</p>\n","urlObject":{"protocol":"https","path":["api","magneto","all"],"host":["adn-mutants","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"f6a1ae59-f823-4fe8-b5a1-e7139d41ac06","name":"List all secuencias adn","originalRequest":{"method":"GET","header":[],"url":"https://adn-mutants.herokuapp.com/api/magneto/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Headers","value":"Origin, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version, X-Response-Time, X-PINGOTHER, X-CSRF-Token,Authorization"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"974"},{"key":"Etag","value":"W/\"3ce-ElRrnwAiw154POqEWNL6vLKFCZ0\""},{"key":"Date","value":"Fri, 07 Jan 2022 04:49:27 GMT"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"61d7c4b64595df9934d04af3\",\n        \"dna\": [\n            \"CTGCGA\",\n            \"CAGTAC\",\n            \"CTGAGT\",\n            \"CGATGG\",\n            \"CCCCTA\",\n            \"TCACTG\"\n        ],\n        \"mutant\": true,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"61d7c4e44595df9934d04af8\",\n        \"dna\": [\n            \"ATGGGG\",\n            \"CAGTGC\",\n            \"TTATTT\",\n            \"AGACGG\",\n            \"GCGTCA\",\n            \"TCACTG\"\n        ],\n        \"mutant\": false,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"61d7c5034595df9934d04afc\",\n        \"dna\": [\n            \"ATGCGA\",\n            \"CAGTGC\",\n            \"TTATTT\",\n            \"AGACGG\",\n            \"GCGTCA\",\n            \"TCACTG\"\n        ],\n        \"mutant\": false,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"61d7c5224595df9934d04b00\",\n        \"dna\": [\n            \"TAAAAA\",\n            \"CAGTGC\",\n            \"TTATGT\",\n            \"AGAAGG\",\n            \"AACCAT\",\n            \"ATTTTG\"\n        ],\n        \"mutant\": true,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"61d7c5264595df9934d04b04\",\n        \"dna\": [\n            \"TAAAAA\",\n            \"CAGTGC\",\n            \"TTATGT\",\n            \"AGAAGG\",\n            \"AACCAT\",\n            \"ATTTTG\"\n        ],\n        \"mutant\": true,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"61d7c5324595df9934d04b08\",\n        \"dna\": [\n            \"TAAAAA\",\n            \"CAGTGC\",\n            \"TTATGT\",\n            \"AGAAGG\",\n            \"AACCAT\",\n            \"ATTTTG\"\n        ],\n        \"mutant\": true,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"61d7c5474595df9934d04b0c\",\n        \"dna\": [\n            \"TCACTGGCT\",\n            \"CTGTGCCTA\",\n            \"TATTTCGAG\",\n            \"AGATGGTTC\",\n            \"GCGTCAACG\",\n            \"TCACTCGCT\",\n            \"ATGCGACGC\",\n            \"AGACGGTCC\",\n            \"CAGTGCCTA\"\n        ],\n        \"mutant\": true,\n        \"__v\": 0\n    },\n    {\n        \"_id\": \"61d7c62e4595df9934d04b13\",\n        \"dna\": [\n            \"ATG\",\n            \"CAG\",\n            \"TTA\"\n        ],\n        \"mutant\": false,\n        \"__v\": 0\n    }\n]"}],"_postman_id":"ddb2ced1-2e71-40b8-8627-3343f9573ed2"},{"name":"Contador de adn","id":"a51b90fe-2bd9-40b5-b806-677a25d60056","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://adn-mutants.herokuapp.com/api/magneto/stats","description":"<p>Endpoint <strong>/api/magneto/stats</strong> metodo <strong>GET</strong> nos indica las estadisticas de las muestras de ADN almacenadas y verificadas si son mutantes o humanos.</p>\n","urlObject":{"protocol":"https","path":["api","magneto","stats"],"host":["adn-mutants","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"c443ef92-734b-40c1-9db1-5b203b1d83de","name":"Contador de adn","originalRequest":{"method":"GET","header":[],"url":"https://adn-mutants.herokuapp.com/api/magneto/stats"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Headers","value":"Origin, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version, X-Response-Time, X-PINGOTHER, X-CSRF-Token,Authorization"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"69"},{"key":"Etag","value":"W/\"45-9VvZlpkSkS48RCDnf3YnUgTG6Fw\""},{"key":"Date","value":"Fri, 07 Jan 2022 04:49:43 GMT"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"count_mutant_dna\": 5,\n    \"count_human_dna\": 3,\n    \"ratio\": 1.6666666666666667\n}"}],"_postman_id":"a51b90fe-2bd9-40b5-b806-677a25d60056"}],"id":"f4e64c14-999e-4d67-9e6c-b3ff3f76d332","description":"<p>API Rest servicio cloud Heroku</p>\n<p><a href=\"https://adn-mutants.herokuapp.com/api/index\">Servers</a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Metodos</strong></th>\n<th><strong>endpoint</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>POST</td>\n<td>/api/mutant</td>\n</tr>\n<tr>\n<td>GET</td>\n<td>/api/stats</td>\n</tr>\n<tr>\n<td>GET</td>\n<td>/api/all</td>\n</tr>\n<tr>\n<td>GET</td>\n<td>/api/index</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"f4e64c14-999e-4d67-9e6c-b3ff3f76d332"},{"name":"api-local","item":[{"name":"index","id":"79f5c376-e33e-41c9-9672-84c06f83ce09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/index","description":"<p>Endpoint <strong>/api/index</strong> nos indica si esta corriendo correctamente nuestro servicio de servidor</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","index"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"79f5c376-e33e-41c9-9672-84c06f83ce09"},{"name":"Contador de adn","id":"79f4d263-04b5-4488-9ac3-99670cfde537","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/magneto/stats","description":"<p>Endpoint <strong>/api/magneto/stats</strong> metodo <strong>GET</strong> nos indica las estadisticas de las muestras de ADN almacenadas y verificadas si son mutantes o humanos.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","magneto","stats"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"79f4d263-04b5-4488-9ac3-99670cfde537"},{"name":"List all secuencias adn","id":"eec58e07-571a-4e6e-9bb4-208e881de4c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/magneto/all","description":"<p>Endpoint <strong>/api/magneto/all</strong> metodo <strong>GET</strong> nos indica la lista de todas las muestras de ADN almacenadas en la base de datos</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","magneto","all"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"eec58e07-571a-4e6e-9bb4-208e881de4c7"},{"name":"Ingreso de secuencia adn","id":"45ec914d-27b4-4941-b271-b0fdec3663e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"dna\": [\"ATG\",\"CAG\",\"TTA\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/magneto/mutant","description":"<p>Endpoint <strong>/api/magneto/mutant</strong> metodo <strong>POST</strong> nos indica la verificacion si una secuencia de ADN ingresada corresponde a un humano mutante o no-mutante.</p>\n","urlObject":{"protocol":"http","port":"5000","path":["api","magneto","mutant"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"45ec914d-27b4-4941-b271-b0fdec3663e8"}],"id":"aa21fd8a-bb2d-4c86-a093-9eab3300427d","description":"<p>API Rest local</p>\n<p><a href=\"http://localhost:5000/api/index\">Servers</a></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Metodos</strong></th>\n<th><strong>endpoint</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>POST</td>\n<td>/api/mutant</td>\n</tr>\n<tr>\n<td>GET</td>\n<td>/api/stats</td>\n</tr>\n<tr>\n<td>GET</td>\n<td>/api/all</td>\n</tr>\n<tr>\n<td>GET</td>\n<td>/api/index</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"aa21fd8a-bb2d-4c86-a093-9eab3300427d"}]}