{"info":{"_postman_id":"fce5b394-80b9-4d91-8d23-38b7ed370d12","name":"Face API Documentation","description":"<html><head></head><body><h1 id=\"presentation\">Presentation</h1>\n<p>Face Recognition is a powerful tool for facial recognition in any image file provided by the user.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Presentation","slug":"presentation"}],"owner":"9485780","collectionId":"fce5b394-80b9-4d91-8d23-38b7ed370d12","publishedId":"T1LHGpVD","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-08-06T22:26:21.000Z"},"item":[{"name":"Register Face","id":"0566726d-fb49-4772-99b7-c600cd992a8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{token_face}}"},{"key":"Content-Type","type":"text","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/home/hoobox/Pictures/photo_user.jpg"},{"key":"email","type":"text","value":"893ccdb0-24eb-11eb-b775-1966e5141955@passaporte.id"},{"key":"name","type":"text","value":"Marcos"},{"key":"force_save","type":"text","value":"true"}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/","description":"<h2 id=\"description\">Description</h2>\n<p>Allows registering a face in Face Recognition's records. Once a person is registered, Face Recognition can then identify their face in different pictures, associating the following probabilites with the recognition: <code>high</code>, <code>medium</code>, and <code>low</code>. </p>\n<h2 id=\"request-url\">Request URL</h2>\n<p><a href=\"https://facematch-homologacao.hoobox.one/rest/database/\">https://facematch-homologacao.hoobox.one/rest/database/</a></p>\n<h2 id=\"request-method\">Request Method</h2>\n<p>The request is made via <strong>POST</strong> method, with <em>multipart/form-data</em> content consisting of an image file along with textual information.</p>\n","urlObject":{"protocol":"https","path":["rest","database",""],"host":["facematch-homologacao","hoobox","one"],"query":[],"variable":[]}},"response":[{"id":"1b1f7b66-769b-4301-85dd-d07f972b0101","name":"Criando face sem informar o campo nome","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/Will Smith.jpg"]},{"key":"email","value":"willl@email.com","type":"text"},{"key":"name","value":"","type":"text"},{"key":"force_save","value":"true","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:14:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"35"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorMessage\": \"Name is required\"\n}"},{"id":"2f3b3893-295a-4600-bd9c-09978fb3ecce","name":"Criando registro sem arquivo de imagem","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]},{"key":"email","value":"willl@email.com","type":"text"},{"key":"name","value":"Will Smith","type":"text"},{"key":"force_save","value":"true","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Failed Dependency","code":424,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:18:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorMessage\": \"Sorry we found some errors\",\n    \"errors\": {\n        \"file\": [\n            \"The submitted data was not a file. Check the encoding type on the form.\"\n        ]\n    }\n}"},{"id":"525565a1-5b80-4137-ada7-2a881c4298cd","name":"Cadastrar face sem  token ou token inválido","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token ","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/Will Smith.jpg"]},{"key":"email","value":"willl@email.com","type":"text"},{"key":"name","value":"Will Smith","type":"text"},{"key":"force_save","value":"true","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:10:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"59"},{"key":"Connection","value":"keep-alive"},{"key":"WWW-Authenticate","value":"Token"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Invalid token header. No credentials provided.\"\n}"},{"id":"65e32918-6bf5-4415-a511-f1c5c822ad6d","name":"Cadastrar face com sucesso","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/Will Smith.jpg"]},{"key":"email","value":"willl@email.com","type":"text"},{"key":"name","value":"Will Smith","type":"text"},{"key":"force_save","value":"true","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 02:45:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"300"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"faceRecognized\": false,\n    \"personRecordCreated\": true,\n    \"faceRecordCreated\": true,\n    \"personId\": 2016,\n    \"personEmail\": \"willl@email.com\",\n    \"personName\": \"Will Smith\",\n    \"distanceValue\": 0,\n    \"confidenceValue\": 0,\n    \"imageAnalysisTime\": 0.03844928741455078,\n    \"databaseQueryTime\": 0.01056528091430664,\n    \"totalTime\": 0.04901456832885742\n}"},{"id":"8d6d2025-b1e0-4bdf-8708-47c99f2173f6","name":"Fazer registro com email inválido","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/willSmith.jpg"]},{"key":"email","value":"123","type":"text"},{"key":"name","value":"Will Smith","type":"text"},{"key":"force_save","value":"true","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:23:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"32"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorMessage\": \"Invalid email\"\n}"},{"id":"9bdc42ac-6dd1-4536-a60b-be01ed544b78","name":"Cadastrando face com dados já existentes","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/willSmith.jpg"]},{"key":"email","value":"willl@email.com","type":"text"},{"key":"name","value":"Will Smith","type":"text"},{"key":"force_save","value":"false","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:20:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"330"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"faceRecognized\": true,\n    \"personRecordCreated\": false,\n    \"faceRecordCreated\": false,\n    \"personId\": 2015,\n    \"personEmail\": \"email@email.com\",\n    \"personName\": \"teste\",\n    \"distanceValue\": 0.22564877889412244,\n    \"confidenceValue\": 81.58944203430606,\n    \"imageAnalysisTime\": 0.03249073028564453,\n    \"databaseQueryTime\": 0.06249213218688965,\n    \"totalTime\": 0.09498286247253418\n}"},{"id":"fac065f7-4ff4-4b67-b4d9-cb464337d9af","name":"Criando face sem informar o campo email","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/Will Smith.jpg"]},{"key":"email","value":"","type":"text"},{"key":"name","value":"Will Smith","type":"text"},{"key":"force_save","value":"true","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:16:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"36"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorMessage\": \"Email is required\"\n}"}],"_postman_id":"0566726d-fb49-4772-99b7-c600cd992a8d"},{"name":"Delete Face","id":"72d2edd2-a923-4039-af55-39feaddd4e5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"{{token_face}}"},{"key":"Content-Type","type":"text","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[{"key":"email","type":"text","value":"893ccdb0-24eb-11eb-b775-1966e5141955@passaporte.id"},{"key":"","value":"","type":"text"}]},"url":"https://facematch-homologacao.hoobox.one/rest/person/delete/","description":"<h2 id=\"description\">Description</h2>\n<p>Allows registering a face in Face Recognition's records. Once a person is registered, Face Recognition can then identify their face in different pictures, associating the following probabilites with the recognition: <code>high</code>, <code>medium</code>, and <code>low</code>. </p>\n<h2 id=\"request-url\">Request URL</h2>\n<p><a href=\"https://facematch-homologacao.hoobox.one/rest/database/\">https://facematch-homologacao.hoobox.one/rest/database/</a></p>\n<h2 id=\"request-method\">Request Method</h2>\n<p>The request is made via <strong>POST</strong> method, with <em>multipart/form-data</em> content consisting of an image file along with textual information.</p>\n","urlObject":{"protocol":"https","path":["rest","person","delete",""],"host":["facematch-homologacao","hoobox","one"],"query":[],"variable":[]}},"response":[{"id":"0695a0b0-ae61-4d39-9071-b901842b3965","name":"Criando face sem informar o campo email","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/Will Smith.jpg"]},{"key":"email","value":"","type":"text"},{"key":"name","value":"Will Smith","type":"text"},{"key":"force_save","value":"true","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:16:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"36"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorMessage\": \"Email is required\"\n}"},{"id":"573ad35f-008a-40a8-9ef9-f63e860f4ff3","name":"Criando face sem informar o campo nome","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/Will Smith.jpg"]},{"key":"email","value":"willl@email.com","type":"text"},{"key":"name","value":"","type":"text"},{"key":"force_save","value":"true","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:14:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"35"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorMessage\": \"Name is required\"\n}"},{"id":"72d21e8f-1918-4c27-a24a-d6bca7730a4f","name":"Criando registro sem arquivo de imagem","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]},{"key":"email","value":"willl@email.com","type":"text"},{"key":"name","value":"Will Smith","type":"text"},{"key":"force_save","value":"true","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Failed Dependency","code":424,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:18:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorMessage\": \"Sorry we found some errors\",\n    \"errors\": {\n        \"file\": [\n            \"The submitted data was not a file. Check the encoding type on the form.\"\n        ]\n    }\n}"},{"id":"78794515-7779-4438-bbf7-073b2b5dd300","name":"Cadastrar face com sucesso","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/Will Smith.jpg"]},{"key":"email","value":"willl@email.com","type":"text"},{"key":"name","value":"Will Smith","type":"text"},{"key":"force_save","value":"true","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 02:45:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"300"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"faceRecognized\": false,\n    \"personRecordCreated\": true,\n    \"faceRecordCreated\": true,\n    \"personId\": 2016,\n    \"personEmail\": \"willl@email.com\",\n    \"personName\": \"Will Smith\",\n    \"distanceValue\": 0,\n    \"confidenceValue\": 0,\n    \"imageAnalysisTime\": 0.03844928741455078,\n    \"databaseQueryTime\": 0.01056528091430664,\n    \"totalTime\": 0.04901456832885742\n}"},{"id":"81b5ff79-9789-498d-ab72-d478daad62fe","name":"Cadastrar face sem  token ou token inválido","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token ","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/Will Smith.jpg"]},{"key":"email","value":"willl@email.com","type":"text"},{"key":"name","value":"Will Smith","type":"text"},{"key":"force_save","value":"true","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:10:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"59"},{"key":"Connection","value":"keep-alive"},{"key":"WWW-Authenticate","value":"Token"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Invalid token header. No credentials provided.\"\n}"},{"id":"9561cdaa-5d12-4b01-95f5-b2d528817ae0","name":"Cadastrando face com dados já existentes","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/willSmith.jpg"]},{"key":"email","value":"willl@email.com","type":"text"},{"key":"name","value":"Will Smith","type":"text"},{"key":"force_save","value":"false","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:20:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"330"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"faceRecognized\": true,\n    \"personRecordCreated\": false,\n    \"faceRecordCreated\": false,\n    \"personId\": 2015,\n    \"personEmail\": \"email@email.com\",\n    \"personName\": \"teste\",\n    \"distanceValue\": 0.22564877889412244,\n    \"confidenceValue\": 81.58944203430606,\n    \"imageAnalysisTime\": 0.03249073028564453,\n    \"databaseQueryTime\": 0.06249213218688965,\n    \"totalTime\": 0.09498286247253418\n}"},{"id":"fa6b0c4e-0599-4333-a280-d0bc36a97ec5","name":"Fazer registro com email inválido","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/willSmith.jpg"]},{"key":"email","value":"123","type":"text"},{"key":"name","value":"Will Smith","type":"text"},{"key":"force_save","value":"true","type":"text"}],"options":{"raw":{"language":"json"}}},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:23:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"32"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorMessage\": \"Invalid email\"\n}"}],"_postman_id":"72d2edd2-a923-4039-af55-39feaddd4e5b"},{"name":"Recognize Face","id":"245ed248-a51e-4229-a0f4-f50c7e5e3b12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token_face}}","type":"text"},{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/home/hoobox/Pictures/photo_user.jpg"}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/","description":"<h2 id=\"description\">Description</h2>\n<p>Upload an image and verify whether it has a matching record registered with Face Recognition.</p>\n<h2 id=\"request-url\">Request URL</h2>\n<p><a href=\"https://facematch-homologacao.hoobox.one/rest/database/\">https://facematch-homologacao.hoobox.one/rest/database/</a></p>\n<h2 id=\"request-method\">Request Method</h2>\n<p>The request is made via <strong>POST</strong> method, with <em>multipart/form-data</em> content consisting of an image file.</p>\n","urlObject":{"protocol":"https","path":["rest","database",""],"host":["facematch-homologacao","hoobox","one"],"query":[],"variable":[]}},"response":[{"id":"03738f54-0110-429f-9d20-d233c231b34d","name":"Reconhecer face sem token ou token inválido","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token ","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/Will Smith.jpg"]}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:31:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"59"},{"key":"Connection","value":"keep-alive"},{"key":"WWW-Authenticate","value":"Token"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Invalid token header. No credentials provided.\"\n}"},{"id":"23d01464-4f0e-4e46-884f-9f15c6279379","name":"Chamada de reconhecimento sem o arquivo de imagem","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Failed Dependency","code":424,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:32:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorMessage\": \"Sorry we found some errors\",\n    \"errors\": {\n        \"file\": [\n            \"The submitted data was not a file. Check the encoding type on the form.\"\n        ]\n    }\n}"},{"id":"418f41d4-9b8c-4660-9696-9285cbed3968","name":"Reconhecimento de face com sucesso","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/Will Smith.jpg"]}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 02:56:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"303"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"faceRecognized\": true,\n    \"personRecordCreated\": false,\n    \"faceRecordCreated\": false,\n    \"personId\": 2015,\n    \"personEmail\": \"email@email.com\",\n    \"personName\": \"teste\",\n    \"distanceValue\": 0,\n    \"confidenceValue\": 100,\n    \"imageAnalysisTime\": 0.033531904220581055,\n    \"databaseQueryTime\": 0.04944014549255371,\n    \"totalTime\": 0.08297204971313477\n}"},{"id":"4b5bc0c3-4288-47aa-9fb9-f6d60003da16","name":"Reconhecimento de face não catalogada na API","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/dwayne johnson.jpg"]}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:35:20 GMT"},{"key":"Content-Type","value":"text/html"},{"key":"Content-Length","value":"145"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"\n<!doctype html><html lang=\"en\"><head><title>Server Error (500)</title></head><body><h1>Server Error (500)</h1><p></p></body></html>\n"}],"_postman_id":"245ed248-a51e-4229-a0f4-f50c7e5e3b12"},{"name":"Liveness","id":"699e5a5d-c5ad-430f-811d-cda155466d21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123"},{"key":"Content-Type","type":"text","value":"multipart/form-data","warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman."}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/home/hoobox/gitlab/liveness-detection/data/[OK]smile_open_kiss_eyebrowsup.mp4"},{"key":"expressions","value":"40","type":"text","disabled":true}]},"url":"http://18.230.8.46/rest/expressionsd/","description":"<h2 id=\"description\">Description</h2>\n<p>Upload an image and verify whether it has a matching record registered with Face Recognition.</p>\n<h2 id=\"request-url\">Request URL</h2>\n<p><a href=\"https://facematch-homologacao.hoobox.one/rest/database/\">https://facematch-homologacao.hoobox.one/rest/database/</a></p>\n<h2 id=\"request-method\">Request Method</h2>\n<p>The request is made via <strong>POST</strong> method, with <em>multipart/form-data</em> content consisting of an image file.</p>\n","urlObject":{"protocol":"http","path":["rest","expressionsd",""],"host":["18","230","8","46"],"query":[],"variable":[]}},"response":[{"id":"3a8a1253-7eb9-4a20-aeb2-37de8dedd341","name":"Reconhecimento de face não catalogada na API","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/dwayne johnson.jpg"]}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:35:20 GMT"},{"key":"Content-Type","value":"text/html"},{"key":"Content-Length","value":"145"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"\n<!doctype html><html lang=\"en\"><head><title>Server Error (500)</title></head><body><h1>Server Error (500)</h1><p></p></body></html>\n"},{"id":"42e37279-08f6-4bf0-aad0-6dfccc924b1d","name":"Chamada de reconhecimento sem o arquivo de imagem","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Failed Dependency","code":424,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:32:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorMessage\": \"Sorry we found some errors\",\n    \"errors\": {\n        \"file\": [\n            \"The submitted data was not a file. Check the encoding type on the form.\"\n        ]\n    }\n}"},{"id":"53a0877e-8d39-4922-b597-41f4df78147e","name":"Reconhecer face sem token ou token inválido","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token ","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/Will Smith.jpg"]}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:31:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"59"},{"key":"Connection","value":"keep-alive"},{"key":"WWW-Authenticate","value":"Token"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Invalid token header. No credentials provided.\"\n}"},{"id":"88caf05e-98db-45ca-a629-0e8e34d24613","name":"Reconhecimento de face com sucesso","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/Will Smith.jpg"]}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 02:56:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"303"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"faceRecognized\": true,\n    \"personRecordCreated\": false,\n    \"faceRecordCreated\": false,\n    \"personId\": 2015,\n    \"personEmail\": \"email@email.com\",\n    \"personName\": \"teste\",\n    \"distanceValue\": 0,\n    \"confidenceValue\": 100,\n    \"imageAnalysisTime\": 0.033531904220581055,\n    \"databaseQueryTime\": 0.04944014549255371,\n    \"totalTime\": 0.08297204971313477\n}"}],"_postman_id":"699e5a5d-c5ad-430f-811d-cda155466d21"},{"name":"Detect Mask","id":"8911891b-f658-439d-9124-3134885cf123","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/home/hoobox/Pictures/gustavo_lima.jpg"}]},"url":"http://18.230.8.46/rest/mask/","description":"<h2 id=\"description\">Description</h2>\n<p>Upload an image and verify whether it has a matching record registered with Face Recognition.</p>\n<h2 id=\"request-url\">Request URL</h2>\n<p><a href=\"https://facematch-homologacao.hoobox.one/rest/database/\">https://facematch-homologacao.hoobox.one/rest/database/</a></p>\n<h2 id=\"request-method\">Request Method</h2>\n<p>The request is made via <strong>POST</strong> method, with <em>multipart/form-data</em> content consisting of an image file.</p>\n","urlObject":{"protocol":"http","path":["rest","mask",""],"host":["18","230","8","46"],"query":[],"variable":[]}},"response":[{"id":"39392865-49e4-4459-85e5-efca2f7a2dfc","name":"Reconhecer face sem token ou token inválido","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token ","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/Will Smith.jpg"]}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:31:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"59"},{"key":"Connection","value":"keep-alive"},{"key":"WWW-Authenticate","value":"Token"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Invalid token header. No credentials provided.\"\n}"},{"id":"920d461d-ffe2-45a4-a0ac-963ca11b3ed1","name":"Chamada de reconhecimento sem o arquivo de imagem","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Failed Dependency","code":424,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:32:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorMessage\": \"Sorry we found some errors\",\n    \"errors\": {\n        \"file\": [\n            \"The submitted data was not a file. Check the encoding type on the form.\"\n        ]\n    }\n}"},{"id":"d4a5f331-6477-4268-a6e8-b5667260b419","name":"Reconhecimento de face não catalogada na API","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/dwayne johnson.jpg"]}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:35:20 GMT"},{"key":"Content-Type","value":"text/html"},{"key":"Content-Length","value":"145"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"\n<!doctype html><html lang=\"en\"><head><title>Server Error (500)</title></head><body><h1>Server Error (500)</h1><p></p></body></html>\n"},{"id":"ed6c7ce8-98cd-451d-97dc-e2e5eae09bfc","name":"Reconhecimento de face com sucesso","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/Will Smith.jpg"]}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 02:56:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"303"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"faceRecognized\": true,\n    \"personRecordCreated\": false,\n    \"faceRecordCreated\": false,\n    \"personId\": 2015,\n    \"personEmail\": \"email@email.com\",\n    \"personName\": \"teste\",\n    \"distanceValue\": 0,\n    \"confidenceValue\": 100,\n    \"imageAnalysisTime\": 0.033531904220581055,\n    \"databaseQueryTime\": 0.04944014549255371,\n    \"totalTime\": 0.08297204971313477\n}"}],"_postman_id":"8911891b-f658-439d-9124-3134885cf123"},{"name":"Encodings","id":"6c8a8547-e1ef-4cf6-b19b-2a1fc5682652","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","type":"text","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123"},{"key":"Content-Type","type":"text","value":"multipart/form-data","warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman."}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/home/hoobox/Pictures/user_comp.jpg"}]},"url":"https://facematch-homologacao.hoobox.one/rest/encode/","description":"<h2 id=\"description\">Description</h2>\n<p>Upload an image and verify whether it has a matching record registered with Face Recognition.</p>\n<h2 id=\"request-url\">Request URL</h2>\n<p><a href=\"https://facematch-homologacao.hoobox.one/rest/database/\">https://facematch-homologacao.hoobox.one/rest/database/</a></p>\n<h2 id=\"request-method\">Request Method</h2>\n<p>The request is made via <strong>POST</strong> method, with <em>multipart/form-data</em> content consisting of an image file.</p>\n","urlObject":{"protocol":"https","path":["rest","encode",""],"host":["facematch-homologacao","hoobox","one"],"query":[],"variable":[]}},"response":[{"id":"2b0abdc4-75a2-4fd2-b2c1-cd43d124bcbd","name":"Reconhecimento de face com sucesso","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/Will Smith.jpg"]}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 02:56:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"303"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"faceRecognized\": true,\n    \"personRecordCreated\": false,\n    \"faceRecordCreated\": false,\n    \"personId\": 2015,\n    \"personEmail\": \"email@email.com\",\n    \"personName\": \"teste\",\n    \"distanceValue\": 0,\n    \"confidenceValue\": 100,\n    \"imageAnalysisTime\": 0.033531904220581055,\n    \"databaseQueryTime\": 0.04944014549255371,\n    \"totalTime\": 0.08297204971313477\n}"},{"id":"7280b384-adf7-468b-97b3-85dcab834d5f","name":"Reconhecer face sem token ou token inválido","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token ","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/Will Smith.jpg"]}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:31:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"59"},{"key":"Connection","value":"keep-alive"},{"key":"WWW-Authenticate","value":"Token"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Invalid token header. No credentials provided.\"\n}"},{"id":"e5b28aaf-6299-4128-b7df-afc5859f2781","name":"Reconhecimento de face não catalogada na API","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":["/home/miguel/Imagens/dwayne johnson.jpg"]}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:35:20 GMT"},{"key":"Content-Type","value":"text/html"},{"key":"Content-Length","value":"145"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Vary","value":"Origin"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"\n<!doctype html><html lang=\"en\"><head><title>Server Error (500)</title></head><body><h1>Server Error (500)</h1><p></p></body></html>\n"},{"id":"e74190d7-b2ef-4554-a47b-faf7977eb380","name":"Chamada de reconhecimento sem o arquivo de imagem","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":"https://facematch-homologacao.hoobox.one/rest/database/"},"status":"Failed Dependency","code":424,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:32:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorMessage\": \"Sorry we found some errors\",\n    \"errors\": {\n        \"file\": [\n            \"The submitted data was not a file. Check the encoding type on the form.\"\n        ]\n    }\n}"}],"_postman_id":"6c8a8547-e1ef-4cf6-b19b-2a1fc5682652"},{"name":"Compare Face","id":"f32f2519-5838-4a0c-826b-ef5ebab17555","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file1","type":"file","src":"/home/hoobox/Pictures/user_comp.jpg"},{"key":"file2","type":"file","src":"/home/hoobox/Pictures/photo_user.jpg"}]},"url":"https://facematch-homologacao.hoobox.one/rest/compare/","description":"<h2 id=\"description\">Description</h2>\n<p>Provided with two image files, Face Recognition compares the largest face detected in each of them and quantifies their similarity.</p>\n<h2 id=\"url-de-solicitação\">URL de Solicitação</h2>\n<p><a href=\"https://facematch-homologacao.hoobox.one/rest/compare/\">https://facematch-homologacao.hoobox.one/rest/compare/</a></p>\n<h2 id=\"método-de-solicitação\">Método de Solicitação</h2>\n<p>The request is made via <strong>POST</strong> method, with multipart/form-data content consisting of two image files.</p>\n","urlObject":{"protocol":"https","path":["rest","compare",""],"host":["facematch-homologacao","hoobox","one"],"query":[],"variable":[]}},"response":[{"id":"0afbe0a1-f91a-489a-a73d-8fc9279ede25","name":"Comparar face com sucesso","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file1","type":"file","src":["/home/miguel/Imagens/Will Smith1.jpg"]},{"key":"file2","type":"file","src":["/home/miguel/Imagens/willSmith.jpg"]}]},"url":"https://facematch-homologacao.hoobox.one/rest/compare/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 03:06:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"250"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"samePerson\": true,\n    \"distanceValue\": 0.11078150217282595,\n    \"confidenceValue\": 90.02670624635685,\n    \"image1AnalysisTime\": 0.046920061111450195,\n    \"image2AnalysisTime\": 0.0360560417175293,\n    \"comparisonAlgorithmTime\": 0.0002288818359375,\n    \"totalTime\": 0.08418774604797363\n}"},{"id":"6a50bc66-3d6d-473b-a224-672e1877d48f","name":"Comparar face com ausência de um arquivo de imagem","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file1","type":"file","src":["/home/miguel/Imagens/Will Smith1.jpg"]},{"key":"file2","type":"file","src":[]}]},"url":"https://facematch-homologacao.hoobox.one/rest/compare/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:44:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"85"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"file2\": [\n        \"The submitted data was not a file. Check the encoding type on the form.\"\n    ]\n}"},{"id":"7605808b-f899-4917-ba03-931a7757c071","name":"Comparar imagens da mesma pessoa","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file1","type":"file","src":["/home/miguel/Imagens/Will Smith1.jpg"]},{"key":"file2","type":"file","src":["/home/miguel/Imagens/willSmith.jpg"]}]},"url":"https://facematch-homologacao.hoobox.one/rest/compare/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:49:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"256"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"samePerson\": true,\n    \"distanceValue\": 0.11078150217282595,\n    \"confidenceValue\": 90.02670624635685,\n    \"image1AnalysisTime\": 0.034917593002319336,\n    \"image2AnalysisTime\": 0.027225494384765625,\n    \"comparisonAlgorithmTime\": 0.00014591217041015625,\n    \"totalTime\": 0.06437253952026367\n}"},{"id":"995724c3-a46a-4d55-acf6-cacd68510ae6","name":"Comparação de faces distintas","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token 8983b809d6b5c6095b7bc8c5f09141b3b4ee8123","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file1","type":"file","src":["/home/miguel/Imagens/Will Smith1.jpg"]},{"key":"file2","type":"file","src":["/home/miguel/Imagens/dwayne johnson.jpg"]}]},"url":"https://facematch-homologacao.hoobox.one/rest/compare/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:46:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"254"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"samePerson\": false,\n    \"distanceValue\": 0.4632995472473792,\n    \"confidenceValue\": 68.33870767479601,\n    \"image1AnalysisTime\": 0.0632486343383789,\n    \"image2AnalysisTime\": 0.048424720764160156,\n    \"comparisonAlgorithmTime\": 0.00015401840209960938,\n    \"totalTime\": 0.11384463310241699\n}"},{"id":"9f19df19-eef5-4b83-bed7-fbd2b1d65ea3","name":"Comparar face sem token ou token inválido","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Token ","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file1","type":"file","src":["/home/miguel/Imagens/Will Smith1.jpg"]},{"key":"file2","type":"file","src":["/home/miguel/Imagens/willSmith.jpg"]}]},"url":"https://facematch-homologacao.hoobox.one/rest/compare/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Date","value":"Wed, 29 Jul 2020 10:39:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"59"},{"key":"Connection","value":"keep-alive"},{"key":"WWW-Authenticate","value":"Token"},{"key":"Vary","value":"Accept, Origin"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Invalid token header. No credentials provided.\"\n}"}],"_postman_id":"f32f2519-5838-4a0c-826b-ef5ebab17555"}],"event":[{"listen":"prerequest","script":{"id":"637e4190-f596-4632-9e13-7cf412312ad5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"59dbbef1-a4c9-4db7-a943-d967d1989f1a","type":"text/javascript","exec":[""]}}]}