{"info":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"31964994","collectionId":"b41158ee-7f26-4f83-90bb-427a9d272275","publishedId":"2sAYBSiY2d","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"3b82f6"},"publishDate":"2024-11-20T15:44:05.000Z"},"item":[{"name":"mission","item":[{"name":"Create Mission Point","event":[{"listen":"test","script":{"id":"b7eaddb0-44bb-4d56-9e8d-dc1f76b7f71b","exec":["pm.test(\"Response time is less than 1000ms\", function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});",""],"type":"text/javascript","packages":{}}}],"id":"91920cc0-94ff-437a-9907-31261b32e761","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[{\n    \"mission_id\": 12,\n    \"lat\": 42.140389,\n    \"lng\": 24.764549,\n    \"altitude\": 10,\n    \"type\": \"base\",\n    \"label\": \"base 1\",\n    \"sequence\": 1\n}]","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/mission/point","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["mission","point"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"91920cc0-94ff-437a-9907-31261b32e761"},{"name":"Update Mission Point","event":[{"listen":"test","script":{"id":"dca848a9-ae43-4653-b69d-70215c3fc25d","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"c92dedb3-cfff-4a42-a26f-f543f8155861","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"lat\": 42.140389,\n    \"lng\": 24.764549,\n    \"altitude\": 10,\n    \"type\": \"base\",\n    \"label\": \"base 999\",\n    \"sequence\": 3\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/mission/point/142","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["mission","point","142"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c92dedb3-cfff-4a42-a26f-f543f8155861"},{"name":"Create Mission","event":[{"listen":"test","script":{"id":"28533dbb-749c-46d7-8384-83795492df65","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"68244394-6e1e-4841-a696-5de4c81ac6c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Test mission 3\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/mission","urlObject":{"port":"5000{{api_version}}","path":["mission"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"68244394-6e1e-4841-a696-5de4c81ac6c5"},{"name":"Get Missions","event":[{"listen":"test","script":{"id":"9e3ad1ba-adfd-4fd4-b563-82063e71ef41","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"0d72324d-7925-4330-bd50-8e0e2e65cbaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"localhost:5000{{api_version}}/missions","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["missions"],"host":["localhost"],"query":[{"disabled":true,"key":"user_id","value":"9"}],"variable":[]}},"response":[],"_postman_id":"0d72324d-7925-4330-bd50-8e0e2e65cbaf"},{"name":"Get Mission","event":[{"listen":"test","script":{"id":"9617cdd0-4f3f-4136-97d8-5f9c0c6c7357","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"f4a37968-73a3-4778-a377-a9575a2ea2f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"localhost:5000{{api_version}}/mission/2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["mission","2"],"host":["localhost"],"query":[{"disabled":true,"key":"user_id","value":"9"}],"variable":[]}},"response":[],"_postman_id":"f4a37968-73a3-4778-a377-a9575a2ea2f3"},{"name":"Delete Mission","event":[{"listen":"test","script":{"id":"9361d8e6-0b6e-4d7f-a3c0-fc7fe4772c5b","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"f8cbeece-84b1-44f5-a791-f7e0742924fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"localhost:5000{{api_version}}/mission/6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["mission","6"],"host":["localhost"],"query":[{"disabled":true,"key":"user_id","value":"9"}],"variable":[]}},"response":[],"_postman_id":"f8cbeece-84b1-44f5-a791-f7e0742924fb"},{"name":"Delete Mission Point","event":[{"listen":"test","script":{"id":"3da329e3-71d9-4912-b98c-78cff5a1fc9d","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"0f76b72e-2147-415b-a309-fac6a38447f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"localhost:5000{{api_version}}/mission/point/62","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["mission","point","62"],"host":["localhost"],"query":[{"disabled":true,"key":"user_id","value":"9"}],"variable":[]}},"response":[],"_postman_id":"0f76b72e-2147-415b-a309-fac6a38447f9"}],"id":"e9181677-e734-4c4c-a944-4ca3f7212b1c","_postman_id":"e9181677-e734-4c4c-a944-4ca3f7212b1c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}}},{"name":"user","item":[{"name":"Register User","event":[{"listen":"prerequest","script":{"id":"5704bd64-e0b5-4e96-80b4-676a2f180ce6","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"31055a59-ecf4-4384-a1ad-37012daa5928","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"21ebe1ad-7a1c-475a-90b5-9ba5bda5290d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n   \"username\": \"{{e2e_username}}\",\n   \"password\": \"{{e2e_password}}\"\n}\n","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/register","description":"<h2 id=\"register-user\">Register User</h2>\n<p>This endpoint is used to register a new user.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p><code>username</code> (string, required): The username of the user to be registered.</p>\n</li>\n<li><p><code>password</code> (string, required): The password for the user account.yuo</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response for this request is a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",yuo\n  \"properties\": {\n    \"userId\": {\n      \"type\": \"string\"\n    },\n    \"username\": {\n      \"type\": \"string\"\n    },\n    \"createdAt\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\"\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"port":"5000{{api_version}}","path":["register"],"host":["localhost"],"query":[{"disabled":true,"key":"","value":null},{"disabled":true,"key":null,"value":""}],"variable":[]}},"response":[{"id":"0ebd5b6e-eff5-4624-8804-d153525e0cf0","name":"Add User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n   \"username\": \"{{username}}\",\n    \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/register"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Tue, 02 Jul 2024 11:32:48 GMT"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"265"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"<!doctype html><html lang=en><title>500 Internal Server Error</title><h1>Internal Server Error</h1><p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>"}],"_postman_id":"21ebe1ad-7a1c-475a-90b5-9ba5bda5290d"},{"name":"Login","event":[{"listen":"test","script":{"id":"71a82065-62fe-4e52-b02e-eab14be574b9","exec":["var jsonData = pm.response.json();","","pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","pm.test(\"Status code is 200 for valid credentials\", function () {","    pm.response.to.have.status(200);","    pm.expect(jsonData).to.have.property('access_token');","    pm.expect(jsonData).to.have.property('refresh_token');","});","","pm.test(\"Response contains access_token\", function () {","    pm.expect(jsonData).to.have.property(\"access_token\");","    pm.expect(jsonData.access_token).to.be.a('string');","    pm.environment.set('access_token', jsonData.access_token);","});","","pm.test(\"Response contains refresh_token\", function () {","    pm.expect(jsonData).to.have.property(\"refresh_token\");","    pm.expect(jsonData.refresh_token).to.be.a('string');","    pm.environment.set('refresh_token', jsonData.access_token);","});",""],"type":"text/javascript","packages":{}}}],"id":"3926cb10-83a0-4062-918a-8f18eb5e5743","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"{{health-check-user}}\",\n    \"password\": \"{{health-check-pass}}\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/login","urlObject":{"port":"5000{{api_version}}","path":["login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"2b17dd0d-ec59-487a-9a2d-a6f7640b19ee","name":"Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"{{username}}\",\n    \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"gunicorn"},{"key":"Date","value":"Wed, 10 Apr 2024 15:16:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"566"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTcxMjc2MjIwMSwianRpIjoiNjRjNWMxZTMtN2EwNi00M2I2LWE1ZWYtYTIxNWE0MDE5MGZhIiwidHlwZSI6ImFjY2VzcyIsInN1YiI6MTIsIm5iZiI6MTcxMjc2MjIwMSwiZXhwIjoxNzEyNzYyODAxfQ._b0CsLbu40VJXWyErKwRfegINatqREWWUUOnco7GIlg\",\n    \"refresh_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTcxMjc2MjIwMSwianRpIjoiNTcxY2FmNmEtMjg4Ni00YjZiLWIwM2YtMGQ4YzVhM2QyYjI0IiwidHlwZSI6InJlZnJlc2giLCJzdWIiOjEyLCJuYmYiOjE3MTI3NjIyMDEsImV4cCI6MTcxMjc2MzEwMX0.HvMQnMrUSIIuqIeK5EWFodS4JYwyO6krYr6kzlkwuuw\"\n}"}],"_postman_id":"3926cb10-83a0-4062-918a-8f18eb5e5743"},{"name":"Login Test","event":[{"listen":"test","script":{"id":"71a82065-62fe-4e52-b02e-eab14be574b9","exec":["var jsonData = pm.response.json();","","pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","pm.test(\"Status code is 200 for valid credentials\", function () {","    pm.response.to.have.status(200);","    pm.expect(jsonData).to.have.property('access_token');","    pm.expect(jsonData).to.have.property('refresh_token');","});","","pm.test(\"Response contains access_token\", function () {","    pm.expect(jsonData).to.have.property(\"access_token\");","    pm.expect(jsonData.access_token).to.be.a('string');","    pm.environment.set('access_token', jsonData.access_token);","});","","pm.test(\"Response contains refresh_token\", function () {","    pm.expect(jsonData).to.have.property(\"refresh_token\");","    pm.expect(jsonData.refresh_token).to.be.a('string');","    pm.environment.set('refresh_token', jsonData.access_token);","});",""],"type":"text/javascript","packages":{}}}],"id":"4008901b-bc74-4785-99f6-4547e8932772","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"{{health-check-user}}\",\n    \"password\": \"{{health-check-pass}}\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/login","urlObject":{"port":"5000{{api_version}}","path":["login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d9cac003-35bf-4523-804c-16950c65bb23","name":"Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"test\",\n    \"password\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"gunicorn"},{"key":"Date","value":"Wed, 10 Apr 2024 15:16:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"566"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTcxMjc2MjIwMSwianRpIjoiNjRjNWMxZTMtN2EwNi00M2I2LWE1ZWYtYTIxNWE0MDE5MGZhIiwidHlwZSI6ImFjY2VzcyIsInN1YiI6MTIsIm5iZiI6MTcxMjc2MjIwMSwiZXhwIjoxNzEyNzYyODAxfQ._b0CsLbu40VJXWyErKwRfegINatqREWWUUOnco7GIlg\",\n    \"refresh_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTcxMjc2MjIwMSwianRpIjoiNTcxY2FmNmEtMjg4Ni00YjZiLWIwM2YtMGQ4YzVhM2QyYjI0IiwidHlwZSI6InJlZnJlc2giLCJzdWIiOjEyLCJuYmYiOjE3MTI3NjIyMDEsImV4cCI6MTcxMjc2MzEwMX0.HvMQnMrUSIIuqIeK5EWFodS4JYwyO6krYr6kzlkwuuw\"\n}"}],"_postman_id":"4008901b-bc74-4785-99f6-4547e8932772"},{"name":"Logout","event":[{"listen":"test","script":{"id":"71a82065-62fe-4e52-b02e-eab14be574b9","exec":[""],"type":"text/javascript","packages":{}}}],"id":"9e72a3fa-1df9-45e5-98fc-9d8f7dc6248d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"{{health-check-user}}\",\n    \"password\": \"{{health-check-pass}}\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/logout","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["logout"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"b990e614-f163-45a0-9c68-3c61c92f125b","name":"Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"test\",\n    \"password\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"gunicorn"},{"key":"Date","value":"Wed, 10 Apr 2024 15:16:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"566"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTcxMjc2MjIwMSwianRpIjoiNjRjNWMxZTMtN2EwNi00M2I2LWE1ZWYtYTIxNWE0MDE5MGZhIiwidHlwZSI6ImFjY2VzcyIsInN1YiI6MTIsIm5iZiI6MTcxMjc2MjIwMSwiZXhwIjoxNzEyNzYyODAxfQ._b0CsLbu40VJXWyErKwRfegINatqREWWUUOnco7GIlg\",\n    \"refresh_token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTcxMjc2MjIwMSwianRpIjoiNTcxY2FmNmEtMjg4Ni00YjZiLWIwM2YtMGQ4YzVhM2QyYjI0IiwidHlwZSI6InJlZnJlc2giLCJzdWIiOjEyLCJuYmYiOjE3MTI3NjIyMDEsImV4cCI6MTcxMjc2MzEwMX0.HvMQnMrUSIIuqIeK5EWFodS4JYwyO6krYr6kzlkwuuw\"\n}"}],"_postman_id":"9e72a3fa-1df9-45e5-98fc-9d8f7dc6248d"},{"name":"Auth Refresh","event":[{"listen":"test","script":{"id":"9379253e-30ba-4343-a8f9-7e8c52ebe32d","exec":[""],"type":"text/javascript","packages":{}}}],"id":"a787b63c-85a6-4183-9743-c6939867c196","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"{{health-check-user}}\",\n    \"password\": \"{{health-check-pass}}\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/auth/refresh","urlObject":{"port":"5000{{api_version}}","path":["auth","refresh"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a787b63c-85a6-4183-9743-c6939867c196"},{"name":"Get User VPN","id":"7ddf4f28-8b7a-49e0-a572-14526622a08b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:5000{{api_version}}/get_user_vpn","urlObject":{"port":"5000{{api_version}}","path":["get_user_vpn"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ddf4f28-8b7a-49e0-a572-14526622a08b"},{"name":"Reset Password","id":"c6301260-fe98-4da9-a857-13b749242243","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/reset-password","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["reset-password"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6301260-fe98-4da9-a857-13b749242243"},{"name":"localhost:5000{{api_version}}/login","event":[{"listen":"test","script":{"id":"71a82065-62fe-4e52-b02e-eab14be574b9","exec":["var jsonData = pm.response.json();","","pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});","","pm.test(\"Status code is 200 for valid credentials\", function () {","    pm.response.to.have.status(200);","    pm.expect(jsonData).to.have.property('access_token');","    pm.expect(jsonData).to.have.property('refresh_token');","});","","pm.test(\"Response contains access_token\", function () {","    pm.expect(jsonData).to.have.property(\"access_token\");","    pm.expect(jsonData.access_token).to.be.a('string');","    pm.environment.set('access_token', jsonData.access_token);","});","","pm.test(\"Response contains refresh_token\", function () {","    pm.expect(jsonData).to.have.property(\"refresh_token\");","    pm.expect(jsonData.refresh_token).to.be.a('string');","    pm.environment.set('refresh_token', jsonData.access_token);","});",""],"type":"text/javascript","packages":{}}}],"id":"956a420c-c3e6-44c3-bd65-6d3c588a670c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"{{username}}\",\n    \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/login","urlObject":{"port":"5000{{api_version}}","path":["login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"956a420c-c3e6-44c3-bd65-6d3c588a670c"}],"id":"1ee7a37d-8448-46d8-8a84-fdbcd3b17fb6","_postman_id":"1ee7a37d-8448-46d8-8a84-fdbcd3b17fb6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}}},{"name":"vehicle","item":[{"name":"Add Vehicle","event":[{"listen":"prerequest","script":{"id":"8e142736-944e-40dd-acef-91c75d08afe0","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"0bdacc24-2993-4264-9361-4cc2ea157242","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"7cd10122-1172-4e23-af47-d8c32f8060f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ip\": \"10.69.0.44\",\r\n    \"name\": {{e2e_drone_name}},\r\n    \"type\": \"sitl\",\r\n    \"port\": 9090\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone","urlObject":{"port":"5000{{api_version}}","path":["drone"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7cd10122-1172-4e23-af47-d8c32f8060f1"},{"name":"Add Vehicle Real","event":[{"listen":"prerequest","script":{"id":"8e142736-944e-40dd-acef-91c75d08afe0","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"0bdacc24-2993-4264-9361-4cc2ea157242","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"73006a79-0074-4679-b229-8546204963bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"VPN_BLAZER\",\r\n    \"type\": \"physical\",\r\n    \"port\": 9090\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone","urlObject":{"port":"5000{{api_version}}","path":["drone"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"73006a79-0074-4679-b229-8546204963bd"},{"name":"List Vehicles","event":[{"listen":"test","script":{"id":"8093a7f5-28b5-4d04-82b2-64c91b22b8d3","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript"}}],"id":"9bbc00d4-23c7-4881-b04b-d5f1637119fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Cache-Control","value":"no-cache","type":"text"},{"key":"Postman-Token","value":"<calculated when request is sent>","type":"text"},{"key":"Host","value":"<calculated when request is sent>","type":"text"},{"key":"User-Agent","value":"PostmanRuntime/7.39.1","type":"text"},{"key":"Accept","value":"*/*","type":"text"},{"key":"Accept-Encoding","value":"gzip, deflate, br","type":"text"},{"key":"Connection","value":"keep-alive","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drones","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drones"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9bbc00d4-23c7-4881-b04b-d5f1637119fb"},{"name":"Get Vehicles by user","event":[{"listen":"test","script":{"id":"1e86b1e8-428e-4d57-8a20-281700865eca","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"76fd96e2-a35d-46c0-a936-11887d263e76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"mac\": \"1C:01:34:45:9C:89\",\n    \"user_id\": 1,\n    \"name\": \"Drone SN6 Orion\",\n    \"ip\": \"127.0.0.1\",\n    \"port\": \"9090\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drones","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drones"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"76fd96e2-a35d-46c0-a936-11887d263e76"},{"name":"Update Drone","event":[{"listen":"test","script":{"id":"7818fb51-2746-4708-b138-17cab1d46c72","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"8677c275-b278-4dd1-9176-55762197cb51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n        \"id\": 7,\n        \"ip\": \"10.66.66.6\",\n        \"mac\": \"1C:01:34:45:9C:91\",\n        \"mission_id\": 8,\n        \"name\": \"local SITL2\",\n        \"port\": 9091,\n        \"user_id\": 1\n    }","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8677c275-b278-4dd1-9176-55762197cb51"},{"name":"Delete Drone","event":[{"listen":"test","script":{"id":"b373f189-5141-491e-bd48-3b0ab939aa69","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript"}}],"id":"96216635-702c-41b8-82b2-19984a1f656a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/203","urlObject":{"port":"5000{{api_version}}","path":["drone","203"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"96216635-702c-41b8-82b2-19984a1f656a"},{"name":"Get Drone Connection","event":[{"listen":"test","script":{"id":"6e40b64f-f878-4ece-a214-4dd5609f761d","exec":["pm.globals.set(\"drone_session_id\", pm.response.json()[\"drone_session_id\"]);","","pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"c50ae48f-6009-422c-b2b9-1f7908d88574","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"ip\": \"10.66.66.2\",\n    \"port\": 9090\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/connection?id=6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","connection"],"host":["localhost"],"query":[{"key":"id","value":"6"}],"variable":[]}},"response":[],"_postman_id":"c50ae48f-6009-422c-b2b9-1f7908d88574"},{"name":"Stop Gps","event":[{"listen":"test","script":{"id":"c9f79519-029c-419d-9f2c-4884c1803a8c","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"56393002-9b7c-455b-bee4-88e5936fa6b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"drone_id\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/gps","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","gps"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"56393002-9b7c-455b-bee4-88e5936fa6b6"},{"name":"Land","event":[{"listen":"test","script":{"id":"44c219dd-5cdc-46f6-a76e-ba65ef62eca0","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"d4055fc3-3aef-42b8-9911-dd4f90a1caa1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"user_id\": 1,\n    \"drone_id\": \"5\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/land","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","land"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d4055fc3-3aef-42b8-9911-dd4f90a1caa1"},{"name":"RTL","event":[{"listen":"test","script":{"id":"44c219dd-5cdc-46f6-a76e-ba65ef62eca0","exec":["pm.globals.set(\"drone_session_id\", pm.response.json()[\"drone_session_id\"]);","","pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"3dba1867-7849-4e04-8cdc-1392aa0c2ec1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"user_id\": 1,\n    \"drone_id\": \"5\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/rtl","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","rtl"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"3dba1867-7849-4e04-8cdc-1392aa0c2ec1"},{"name":"Set Mode","event":[{"listen":"test","script":{"id":"44c219dd-5cdc-46f6-a76e-ba65ef62eca0","exec":["pm.globals.set(\"drone_session_id\", pm.response.json()[\"drone_session_id\"]);","","pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"2a285717-a037-4b4b-82cc-9e503b37981d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"drone_id\": \"309\",\n    \"mode_info\": \"GUIDED\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/set_mode","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","set_mode"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a285717-a037-4b4b-82cc-9e503b37981d"},{"name":"Takeoff","event":[{"listen":"test","script":{"id":"6771f62a-216e-442f-9b74-12be22e089cd","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"e098b74e-3751-4bef-9e57-df36065d338b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"drone_id\": \"5\",\n    \"altitude\": 5\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/takeoff","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","takeoff"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e098b74e-3751-4bef-9e57-df36065d338b"},{"name":"Diagnostics","event":[{"listen":"test","script":{"id":"4f130799-2a29-426e-a14e-2ee024bbf61d","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"aa002c13-1535-465b-908c-9ff10eb16cf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"drone_id\": \"5\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/diagnostics","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","diagnostics"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"aa002c13-1535-465b-908c-9ff10eb16cf0"},{"name":"Motor Test","event":[{"listen":"test","script":{"id":"35cb31ae-eacc-4117-84bf-6b7df1337c62","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"75f8b7a4-396f-4e56-b83c-3dc78ea98c3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"drone_id\": \"1\",\n    \"motor_id\": 1,\n    \"percentage\": 10\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/motortest","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","motortest"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"75f8b7a4-396f-4e56-b83c-3dc78ea98c3d"},{"name":"Arming","event":[{"listen":"test","script":{"id":"355cff0f-9008-4a19-aa01-424f0500ab7d","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"2d570360-db37-466b-a073-33b6ec017171","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"drone_id\": \"1\",\n    \"user_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/arm_drone","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","arm_drone"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d570360-db37-466b-a073-33b6ec017171"},{"name":"Disarming","event":[{"listen":"test","script":{"id":"17727cd0-56b9-45df-b622-9f3bd1fab077","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"6af4a6d0-669e-4e1d-8a67-05e077ca432d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"drone_id\": \"6\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/disarm_drone","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","disarm_drone"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6af4a6d0-669e-4e1d-8a67-05e077ca432d"},{"name":"Start Mission","event":[{"listen":"test","script":{"id":"e35f83b9-371c-472f-8105-d24798972ad0","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"edbecffa-bc7b-4511-99bd-0ab521e6a9cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"drone_id\": \"3\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/start_mission","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","start_mission"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"edbecffa-bc7b-4511-99bd-0ab521e6a9cb"},{"name":"Push Mission","event":[{"listen":"test","script":{"id":"0847ccbb-4e8e-447c-a262-8c31e609aee1","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"012d5e3e-3946-4593-b44a-fc8afd573b8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"drone_id\": \"1\",\n    \"mission_id\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/push_mission","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","push_mission"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"012d5e3e-3946-4593-b44a-fc8afd573b8e"},{"name":"Move Forward","event":[{"listen":"test","script":{"id":"f2c564e8-2730-412e-8a18-b5205ee83e6a","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"4df9ed6e-7b60-4ae8-9926-01b29fda597a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"drone_id\": 5,\n    \"header_stamp_secs\": 0,\n    \"header_stamp_nsecs\": 0,\n    \"header_frame_id\": \"\",\n    \"coordinate_frame\": 8,\n    \"type_mask\": 4088,\n    \"position_x\": -1.0,\n    \"position_y\": -2.0,\n    \"position_z\": -1.0,\n    \"velocity_x\": 4.0,\n    \"velocity_y\": 5.0,\n    \"velocity_z\": 3.0,\n    \"acceleration_or_force_x\": 7.0,\n    \"acceleration_or_force_y\": 8.0,\n    \"acceleration_or_force_z\": 9.0,\n    \"yaw\": 0,\n    \"yaw_rate\": 0\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/move","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","move"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4df9ed6e-7b60-4ae8-9926-01b29fda597a"},{"name":"Go To Global Position","event":[{"listen":"test","script":{"id":"e6b95684-9dc1-43e4-a4ad-aebb264e175b","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript"}}],"id":"48b59702-6caa-4431-84f9-2ecab870f961","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"drone_id\": 6,\n    \"header_stamp_secs\": 0,\n    \"header_stamp_nsecs\": 0,\n    \"latitude\": 42.1403890,\n    \"longitude\": 24.7745490,\n    \"altitude\": 10.0,\n    \"x\": 0.0,\n    \"y\": 0.0,\n    \"z\": 0.0,\n    \"w\": 1.0\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/goto_gps_location","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","goto_gps_location"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"48b59702-6caa-4431-84f9-2ecab870f961"},{"name":"Start Gps","event":[{"listen":"test","script":{"id":"0d35515c-0c55-426f-8614-cb8df8cdc033","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"12e03842-bdaa-41d4-9ac1-a95510b1a5c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/gps?id=6&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTcwOTI3NzI0OSwianRpIjoiYmEwNDQxMTYtMWNjZS00MDA0LWJhYTctNTRiZjE5ZjU4Mzc1IiwidHlwZSI6ImFjY2VzcyIsInN1YiI6MSwibmJmIjoxNzA5Mjc3MjQ5LCJleHAiOjE3MDkyNzgxNDl9.n28B1lWQZYKMvjvkZomvtNvBbMLDiSbiUeq5GevWaLo","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","gps"],"host":["localhost"],"query":[{"key":"id","value":"6"},{"key":"token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTcwOTI3NzI0OSwianRpIjoiYmEwNDQxMTYtMWNjZS00MDA0LWJhYTctNTRiZjE5ZjU4Mzc1IiwidHlwZSI6ImFjY2VzcyIsInN1YiI6MSwibmJmIjoxNzA5Mjc3MjQ5LCJleHAiOjE3MDkyNzgxNDl9.n28B1lWQZYKMvjvkZomvtNvBbMLDiSbiUeq5GevWaLo"}],"variable":[]}},"response":[],"_postman_id":"12e03842-bdaa-41d4-9ac1-a95510b1a5c6"},{"name":"Start Logs","event":[{"listen":"test","script":{"id":"e45d11fd-c314-4721-b964-9d3010b2ea30","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"bbf8e8a3-3e01-42c1-9026-4873dd817e98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/logs?id=3&token=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","logs"],"host":["localhost"],"query":[{"key":"id","value":"3"},{"key":"token","value":""}],"variable":[]}},"response":[{"id":"d7cb4372-0513-4877-9b68-4fc68f65083e","name":"Start Logs","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:5000{{api_version}}/drone/action/logs?id=3&token=","host":["localhost"],"port":"5000{{api_version}}","path":["drone","action","logs"],"query":[{"key":"id","value":"3"},{"key":"token","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"gunicorn"},{"key":"Date","value":"Thu, 07 Mar 2024 14:44:42 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/event-stream"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"bbf8e8a3-3e01-42c1-9026-4873dd817e98"},{"name":"Drone Disconnect","event":[{"listen":"test","script":{"id":"b1f10f53-db51-405e-8fe0-9a0328bc6974","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"13c0c8c4-3add-4ef0-8428-0f02c84db333","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:5000{{api_version}}/drone/action/connection","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","connection"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"13c0c8c4-3add-4ef0-8428-0f02c84db333"},{"name":"Start System Stats","event":[{"listen":"test","script":{"id":"275a9297-1ff5-4b45-b473-fa981f21f050","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"411289bd-871a-458f-88f5-d555456631b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/system?id=13","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","system"],"host":["localhost"],"query":[{"key":"id","value":"13"}],"variable":[]}},"response":[],"_postman_id":"411289bd-871a-458f-88f5-d555456631b2"},{"name":"Get Drone by mission","event":[{"listen":"test","script":{"id":"17fe4daf-8069-4257-8458-e9c9a64b49b2","exec":["pm.test('Response time is less than 1000ms', function () {","    pm.expect(pm.response.responseTime).to.be.below(1000);","});"],"type":"text/javascript","packages":{}}}],"id":"504e5d47-6729-4c39-b52b-9be37b0b00cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:5000{{api_version}}/drones/mission?missionId=2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drones","mission"],"host":["localhost"],"query":[{"key":"missionId","value":"2"}],"variable":[]}},"response":[],"_postman_id":"504e5d47-6729-4c39-b52b-9be37b0b00cc"},{"name":"Change Video Source","id":"b58a0df4-c172-47bf-b479-eaf62b2b54a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"drone_id\": 130,\n    \"source\": \"CAMERA\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:5000{{api_version}}/drone/action/video-source","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["drone","action","video-source"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b58a0df4-c172-47bf-b479-eaf62b2b54a6"}],"id":"720cda73-7fbb-461b-a896-262a4052ad5a","event":[{"listen":"prerequest","script":{"id":"a4388384-6e71-49e4-bb09-e96367e466d2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"09dbeb8f-2ecd-449d-812d-fb2aacf8ffd1","type":"text/javascript","exec":[""]}}],"_postman_id":"720cda73-7fbb-461b-a896-262a4052ad5a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}}},{"name":"videoroom","item":[{"name":"start","id":"d31ef750-48e6-4164-a332-7933fed4d836","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTcyMDExODkwMiwianRpIjoiM2I1YmMwZGItY2FmNC00NWRlLTk5MGEtMTJmNmZjM2Q5ZjA0IiwidHlwZSI6ImFjY2VzcyIsInN1YiI6NSwibmJmIjoxNzIwMTE4OTAyLCJleHAiOjE3MjAxMTk1MDJ9.FHMRPxIh_cnkDxaTG4yEurw-hOOcCsKu6gdWre5CoNU","type":"text"}],"url":"localhost:5000{{api_version}}/video_room/14/start","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["video_room","14","start"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d31ef750-48e6-4164-a332-7933fed4d836"},{"name":"stop","id":"4c727cdd-88d6-44b1-a078-0fd40c18f71b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTcyMDEwNzE3OCwianRpIjoiMzE3ZjQ5YWQtMDAzMS00ZTU5LTg3Y2YtZTQ5OGFiYTk5YzVmIiwidHlwZSI6ImFjY2VzcyIsInN1YiI6MSwibmJmIjoxNzIwMTA3MTc4LCJleHAiOjE3MjAxMDc3Nzh9.ed359H93Pz3n9dNIjtBCCipn7xb9FtelbREvvr79a5M","type":"text"}],"url":"localhost:5000{{api_version}}/video_room/13/stop","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["video_room","13","stop"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c727cdd-88d6-44b1-a078-0fd40c18f71b"}],"id":"37ef9f85-1c3f-48be-8094-9e5f487bedee","_postman_id":"37ef9f85-1c3f-48be-8094-9e5f487bedee","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}}},{"name":"vpn","item":[{"name":"Get User VPN","id":"9c1654ed-baff-4ff7-aa57-01275d003279","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:5000{{api_version}}/user/vpn","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}},"urlObject":{"port":"5000{{api_version}}","path":["user","vpn"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9c1654ed-baff-4ff7-aa57-01275d003279"}],"id":"cd7bb410-c234-4747-b2dd-182823613c52","_postman_id":"cd7bb410-c234-4747-b2dd-182823613c52","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b41158ee-7f26-4f83-90bb-427a9d272275","id":"b41158ee-7f26-4f83-90bb-427a9d272275","name":"skyhub_gateway_service_api","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"event":[{"listen":"prerequest","script":{"id":"f55617b3-c923-4bf6-b84b-41649e205bba","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a66ac447-f02f-4c06-896b-16a04895f934","type":"text/javascript","exec":[""]}}],"variable":[{"key":"port","value":"5000"},{"key":"server_ip","value":"localhost"},{"key":"access_token","value":""},{"key":"refresh_token","value":""},{"key":"accessToken","value":""},{"key":"refreshToken","value":""}]}