{"info":{"_postman_id":"5a817484-52e2-4a33-adbc-ea7d0499fad2","name":"Server Metric Tracker","description":"<html><head></head><body><p>Developed by Group 5: Micah Boerjan, Taylor Turner, Casey Wong, Grace Kuntz, Megan Serverson</p>\n<p>This is a API for the Server Metric Tracker is used to track and manage server traffic on a network</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"25628355","collectionId":"5a817484-52e2-4a33-adbc-ea7d0499fad2","publishedId":"2s935prPaB","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-02-07T23:34:37.000Z"},"item":[{"name":"getAllUsers","id":"871bc854-a01b-464c-84c6-5c1b9be17d2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8080/api/v1/users/getAllUsers","description":"<p>Use this endpoint to access a list of all users</p>\n","urlObject":{"port":"8080","path":["api","v1","users","getAllUsers"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0305b037-3dfd-4ebb-8b40-f9f3e06e4756","name":"getAllUsers","originalRequest":{"method":"GET","header":[],"url":"localhost:8080/api/v1/users/getAllUsers"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"871bc854-a01b-464c-84c6-5c1b9be17d2b"},{"name":"getUserByEmail/{userEmail}","id":"48765a7b-2d26-481a-8030-538f7ffe125d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/users/getUserByEmail/{userEmail}","description":"<p>Use this endpoint to get a users info by their email address</p>\n","urlObject":{"port":"8080","path":["api","v1","users","getUserByEmail","{userEmail}"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"48765a7b-2d26-481a-8030-538f7ffe125d"},{"name":"getAllUsersConnectedToServer/{serverAddress}","id":"2fa7bda1-fc72-4d14-a947-5bc0bda1a790","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/users/getAllUsersConnectedToServer/{serverAddress}","description":"<p>Use this endpoint to get all users connected to a server with the {serverAddress} eqaul to whatever the address of the server you want is</p>\n","urlObject":{"port":"8080","path":["api","v1","users","getAllUsersConnectedToServer","{serverAddress}"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"2fa7bda1-fc72-4d14-a947-5bc0bda1a790"},{"name":"getAllUserEmails","id":"f9d9ea06-b4c1-4a5a-b028-84e17d7a9f32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/users/getAllUserEmails","urlObject":{"port":"8080","path":["api","v1","users","getAllUserEmails"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"f9d9ea06-b4c1-4a5a-b028-84e17d7a9f32"},{"name":"{user_email}/addServer","id":"5a1a1531-519d-4639-a916-d0c9ac718eb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"address\": \"192.0.0.1\"\n}","options":{"raw":{"language":"json"}}},"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/users/{user_email}/addServer","description":"<p>Use this endpoint to add a server to the user in the database specified by {user_email} and json with the address for the server.</p>\n","urlObject":{"port":"8080","path":["api","v1","users","{user_email}","addServer"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a1a1531-519d-4639-a916-d0c9ac718eb1"},{"name":"updateUser/{userEmail}","id":"5a954fbd-dbf0-4c44-adad-394ee34638cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"password\": \"password\",\n    \"userType\": \"\",\n    \"userFirsName\": \"\",\n    \"userLastName\": \"\",\n    \"phoneNuumber\": \"\",\n    \"servers\": [],\n    \"clients\": []\n}","options":{"raw":{"language":"json"}}},"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/users/updateUser/admin@test.com","description":"<p>Use this endpoint ot update a user (aka put) by specifying the {userEmail} cannot update email but can update every field available all at once or individually by deleteing every field but the field you want to update</p>\n","urlObject":{"port":"8080","path":["api","v1","users","updateUser","admin@test.com"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a954fbd-dbf0-4c44-adad-394ee34638cd"},{"name":"updateUserPassword/{userEmail}","id":"653b69f9-f343-4869-a0a0-e723f54a05ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"password\": \"newPasswordGoesHere\"\n}","options":{"raw":{"language":"json"}}},"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/users/{userEmailGoesHere}/updateUserPassword","urlObject":{"port":"8080","path":["api","v1","users","{userEmailGoesHere}","updateUserPassword"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"653b69f9-f343-4869-a0a0-e723f54a05ed"},{"name":"addClient","id":"8f7fb041-a0f8-4675-9c70-aa4a051cc19b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"miboer@iastate.edu\",\n    \"password\": \"password\",\n    \"userType\": \"CLIENT\",\n    \"userFirstName\": \"Micah\",\n    \"userLastName\": \"Boerjan\"\n}","options":{"raw":{"language":"json"}}},"url":"http://coms-402-sd-05.class.las.iastate.edu:8080/api/v1/users/{userEmail}/addClient","description":"<p>This endpoint adds a client to a user (a service provider) by sending the user (client) to be added.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","users","{userEmail}","addClient"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f7fb041-a0f8-4675-9c70-aa4a051cc19b"},{"name":"addClients","id":"545aab47-ab4d-42e8-9393-08e139f96a36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"username\": \"miboer1@iastate.edu\",\n        \"password\": \"password\",\n        \"userType\": \"CLIENT\",\n        \"userFirstName\": \"Micah\",\n        \"userLastName\": \"Boerjan\"\n    },\n    {\n        \"username\": \"miboer2@iastate.edu\",\n        \"password\": \"password\",\n        \"userType\": \"CLIENT\",\n        \"userFirstName\": \"Micah\",\n        \"userLastName\": \"Boerjan\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"http://coms-402-sd-05.class.las.iastate.edu:8080/api/v1/users/{userEmail}/addClients","description":"<p>This endpoint adds a list of clients to a user (a service provider) by sending a list of users (clients) to be added.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","users","{userEmail}","addClients"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"545aab47-ab4d-42e8-9393-08e139f96a36"},{"name":"{serviceProviderEmail}/addClient/{clientEmail}","id":"49f62f2d-5531-4ef9-90d7-9c0f9fb71981","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"url":"http://coms-402-sd-05.class.las.iastate.edu:8080/api/v1/users/{serviceProviderEmail}/addClient/{clientEmail}","description":"<p>This endpoint adds a user (client) by email (clientEmail) to a user (a service provider) by email (serviceProviderEmail).</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","users","{serviceProviderEmail}","addClient","{clientEmail}"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"49f62f2d-5531-4ef9-90d7-9c0f9fb71981"},{"name":"deleteUser/{userEmail}","id":"fe365001-fb0d-489c-aad5-a876c61198de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://coms-402-sd-05.class.las.iastate.edu:8080/api/v1/users/deleteUser/test2@test.com","description":"<p>Use this endpoint to delete a user in the databse with their email specified with {userEmail}</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","users","deleteUser","test2@test.com"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe365001-fb0d-489c-aad5-a876c61198de"},{"name":"{userEmail}/removeServer","id":"bc0747ba-d2fe-4879-8925-bb28d83e4345","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"address\": \"192.0.0.1\"\n}","options":{"raw":{"language":"json"}}},"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/users/{userEmail}/removeServer","description":"<p>Use this endpoint to remove a server from the user in the database specified by {user_email} and json with the address for the server.</p>\n","urlObject":{"port":"8080","path":["api","v1","users","{userEmail}","removeServer"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc0747ba-d2fe-4879-8925-bb28d83e4345"},{"name":"removeClient","id":"0a0fc8cb-2ed2-40cc-92d5-c0eba11cd647","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"miboer@iastate.edu\",\n    \"password\": \"password\",\n    \"userType\": \"CLIENT\",\n    \"userFirstName\": \"Micah\",\n    \"userLastName\": \"Boerjan\"\n}","options":{"raw":{"language":"json"}}},"url":"http://coms-402-sd-05.class.las.iastate.edu:8080/api/v1/users/{userEmail}/removeClient","description":"<p>This endpoint removes a client from a user (a service provider) by sending the user (client) to be deleted.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","users","{userEmail}","removeClient"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"0a0fc8cb-2ed2-40cc-92d5-c0eba11cd647"},{"name":"removeClients","id":"a4a8c231-d94b-4927-8d02-6aeebc6fbc65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"userEmail\": \"miboer1@iastate.edu\",\n        \"userPassword\": \"password\",\n        \"userType\": \"CLIENT\",\n        \"userFirstName\": \"Micah\",\n        \"userLastName\": \"Boerjan\"\n    },\n    {\n        \"userEmail\": \"miboer2@iastate.edu\",\n        \"userPassword\": \"password\",\n        \"userType\": \"CLIENT\",\n        \"userFirstName\": \"Micah\",\n        \"userLastName\": \"Boerjan\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"http://coms-402-sd-05.class.las.iastate.edu:8080/api/v1/users/{userEmail}/removeClients","description":"<p>This endpoint removes a list of clients from a user (a service provider) by sending the users (clients) that are to be deleted.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","users","{userEmail}","removeClients"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4a8c231-d94b-4927-8d02-6aeebc6fbc65"},{"name":"{serviceProviderEmail}/removeClient/{clientEmail}","id":"90ed55ce-0192-4aba-98c0-cce4811d7063","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://coms-402-sd-05.class.las.iastate.edu:8080/api/v1/users/{serviceProviderEmail}/removeClient/{clientEmail}","description":"<p>This endpoint removes a user (client) by email (clientEmail) from a user (a service provider) by email (serviceProviderEmail).</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","users","{serviceProviderEmail}","removeClient","{clientEmail}"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"90ed55ce-0192-4aba-98c0-cce4811d7063"},{"name":"getServerByAddress/{serverAddress}","id":"fd36b149-2cc7-4089-b198-913f3086fa19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/servers/getServerByAddress/{serverAddress}","description":"<p>Use this endpoint to get a server by its address specified by {serverAddress}</p>\n","urlObject":{"port":"8080","path":["api","v1","servers","getServerByAddress","{serverAddress}"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd36b149-2cc7-4089-b198-913f3086fa19"},{"name":"getAllServers","id":"528ffef9-3f8e-4d0d-b7bf-30781afdf896","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/servers/getAllServers","description":"<p>Use this endpoint to return a list of all servers in the database</p>\n","urlObject":{"port":"8080","path":["api","v1","servers","getAllServers"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"528ffef9-3f8e-4d0d-b7bf-30781afdf896"},{"name":"addServer","id":"00137a83-7ecd-44dc-aa20-ebe16563e641","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"address\": \"192.0.0.1\"\n}","options":{"raw":{"language":"json"}}},"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/servers/addServer","description":"<p>Use this endpoint to add a server to the server table in the database. This must be done before adding a server to the user or traffic tables of the database</p>\n","urlObject":{"port":"8080","path":["api","v1","servers","addServer"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"00137a83-7ecd-44dc-aa20-ebe16563e641"},{"name":"update/{serverAddress}","id":"9a0493b4-11c2-446d-aeee-7c85f5395f17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"address\": \"192.0.0.1\"\n}","options":{"raw":{"language":"json"}}},"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/servers/update/{serverAddress}","description":"<p>Use this endpoint to update a server in the database specicifed by {serverAddress}</p>\n","urlObject":{"port":"8080","path":["api","v1","servers","update","{serverAddress}"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"9a0493b4-11c2-446d-aeee-7c85f5395f17"},{"name":"delete/{serverAddress}","id":"34979931-6ddd-4a98-bf4f-c6082a1f825e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/servers/delete/{serverAddress}","description":"<p>Use this endpoint to delete a server in the database specified by the {serverAddress}</p>\n","urlObject":{"port":"8080","path":["api","v1","servers","delete","{serverAddress}"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"34979931-6ddd-4a98-bf4f-c6082a1f825e"},{"name":"getAllTraffic","id":"3c4b8ac8-9296-4eb4-bb72-f2640feeee0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://coms-402-sd-05.class.las.iastate.edu:8080/api/v1/traffic","description":"<p>Use this endpoint to getAllTraffic on the database</p>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","traffic"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c4b8ac8-9296-4eb4-bb72-f2640feeee0d"},{"name":"getLatestTrafficByAddress/{serveraddress}","id":"f907a43a-763b-4c7f-b62b-e8b3619cd0fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/traffic/getLatestTrafficByAddress/129.186.67.129","urlObject":{"port":"8080","path":["api","v1","traffic","getLatestTrafficByAddress","129.186.67.129"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"f907a43a-763b-4c7f-b62b-e8b3619cd0fd"},{"name":"getAllTrafficByServer/{serverAddress}","id":"d7ff5be1-cd91-486c-9f60-833f6e9f6c9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/traffic/getAllTrafficByServer/{serverAddress}","description":"<p>This will return a list of all traffic sent and received by the specified server address</p>\n","urlObject":{"port":"8080","path":["api","v1","traffic","getAllTrafficByServer","{serverAddress}"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7ff5be1-cd91-486c-9f60-833f6e9f6c9e"},{"name":"getAllSentTrafficByServer/{serverAddress}","id":"3c76e81a-f38e-4021-8c26-8ca9f166f2d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/traffic/getAllSentTrafficByServer/{serverAddress}","description":"<p>This will return a list of all traffic sent by the specified server address</p>\n","urlObject":{"port":"8080","path":["api","v1","traffic","getAllSentTrafficByServer","{serverAddress}"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c76e81a-f38e-4021-8c26-8ca9f166f2d4"},{"name":"getAllReceivedTrafficByServer/{serverAddress}","id":"9fe6a0bd-f72a-43ef-b9c0-6f6d2e018776","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/traffic/getAllReceivedTrafficByServer/{serverAddress}","description":"<p>This will return a list of all traffic received by the specified server address</p>\n","urlObject":{"port":"8080","path":["api","v1","traffic","getAllReceivedTrafficByServer","{serverAddress}"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"9fe6a0bd-f72a-43ef-b9c0-6f6d2e018776"},{"name":"addTraffic","id":"1f0675d2-7ca1-42c9-926f-f6ed0ba0e425","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client\": [\n        \"172.17.0.1\",\n        59360\n    ],\n    \"header\": {\n        \"version\": 9,\n        \"count\": 760,\n        \"uptime\": 196946910,\n        \"timestamp\": 1669486479,\n        \"sequence\": 275080445,\n        \"source_id\": 0\n    },\n    \"flows\": [\n        {\n            \"IPV4_SRC_ADDR\": \"208.71.33.13\",\n            \"IPV4_DST_ADDR\": \"10.0.0.90\",\n            \"UNKNOWN_FIELD_TYPE\": 1669483111,\n            \"IN_BYTES\": 42,\n            \"IN_PKTS\": 1,\n            \"INPUT_SNMP\": 1,\n            \"OUTPUT_SNMP\": 1,\n            \"L4_SRC_PORT\": 57136,\n            \"L4_DST_PORT\": 8081,\n            \"PROTOCOL\": 6,\n            \"TCP_FLAGS\": 17,\n            \"IP_PROTOCOL_VERSION\": 4,\n            \"SRC_TOS\": 0,\n            \"SRC_VLAN\": 0,\n            \"DST_VLAN\": 0,\n            \"IN_SRC_MAC\": 345049419081,\n            \"OUT_DST_MAC\": 1577058561\n        },\n        {\n            \"IPV4_SRC_ADDR\": \"10.190.4.5\",\n            \"IPV4_DST_ADDR\": \"208.71.33.169\",\n            \"UNKNOWN_FIELD_TYPE\": 1669483111,\n            \"IN_BYTES\": 52,\n            \"IN_PKTS\": 1,\n            \"INPUT_SNMP\": 1,\n            \"OUTPUT_SNMP\": 1,\n            \"L4_SRC_PORT\": 38498,\n            \"L4_DST_PORT\": 9081,\n            \"PROTOCOL\": 6,\n            \"TCP_FLAGS\": 16,\n            \"IP_PROTOCOL_VERSION\": 4,\n            \"SRC_TOS\": 0,\n            \"SRC_VLAN\": 0,\n            \"DST_VLAN\": 0,\n            \"IN_SRC_MAC\": 176156468527888,\n            \"OUT_DST_MAC\": 345049357506\n        },\n        {\n            \"IPV4_SRC_ADDR\": \"208.71.33.169\",\n            \"IPV4_DST_ADDR\": \"10.190.7.4\",\n            \"UNKNOWN_FIELD_TYPE\": 1669483111,\n            \"IN_BYTES\": 52,\n            \"IN_PKTS\": 1,\n            \"INPUT_SNMP\": 1,\n            \"OUTPUT_SNMP\": 1,\n            \"L4_SRC_PORT\": 9081,\n            \"L4_DST_PORT\": 47466,\n            \"PROTOCOL\": 6,\n            \"TCP_FLAGS\": 16,\n            \"IP_PROTOCOL_VERSION\": 4,\n            \"SRC_TOS\": 0,\n            \"SRC_VLAN\": 0,\n            \"DST_VLAN\": 0,\n            \"IN_SRC_MAC\": 345049357506,\n            \"OUT_DST_MAC\": 1577058561\n        },\n        {\n            \"IPV4_SRC_ADDR\": \"208.71.33.77\",\n            \"IPV4_DST_ADDR\": \"85.168.66.130\",\n            \"UNKNOWN_FIELD_TYPE\": 1669486411,\n            \"IN_BYTES\": 204,\n            \"IN_PKTS\": 3,\n            \"INPUT_SNMP\": 1,\n            \"OUTPUT_SNMP\": 1,\n            \"ICMP_TYPE\": 2048,\n            \"IP_PROTOCOL_VERSION\": 4,\n            \"SRC_TOS\": 0,\n            \"SRC_VLAN\": 0,\n            \"DST_VLAN\": 0,\n            \"IN_SRC_MAC\": 345049385424,\n            \"OUT_DST_MAC\": 1577058561\n        },\n        {\n            \"IPV4_SRC_ADDR\": \"208.71.33.77\",\n            \"IPV4_DST_ADDR\": \"84.103.14.217\",\n            \"UNKNOWN_FIELD_TYPE\": 1669486410,\n            \"IN_BYTES\": 68,\n            \"IN_PKTS\": 1,\n            \"INPUT_SNMP\": 1,\n            \"OUTPUT_SNMP\": 1,\n            \"L4_SRC_PORT\": 39340,\n            \"L4_DST_PORT\": 33434,\n            \"PROTOCOL\": 17,\n            \"TCP_FLAGS\": 0,\n            \"IP_PROTOCOL_VERSION\": 4,\n            \"SRC_TOS\": 0,\n            \"SRC_VLAN\": 0,\n            \"DST_VLAN\": 0,\n            \"IN_SRC_MAC\": 345049385424,\n            \"OUT_DST_MAC\": 1577058561\n        },\n        {\n            \"IPV4_SRC_ADDR\": \"208.71.33.76\",\n            \"IPV4_DST_ADDR\": \"79.81.192.28\",\n            \"UNKNOWN_FIELD_TYPE\": 1669486411,\n            \"IN_BYTES\": 68,\n            \"IN_PKTS\": 1,\n            \"INPUT_SNMP\": 1,\n            \"OUTPUT_SNMP\": 1,\n            \"L4_SRC_PORT\": 34357,\n            \"L4_DST_PORT\": 33434,\n            \"PROTOCOL\": 17,\n            \"TCP_FLAGS\": 0,\n            \"IP_PROTOCOL_VERSION\": 4,\n            \"SRC_TOS\": 0,\n            \"SRC_VLAN\": 0,\n            \"DST_VLAN\": 0,\n            \"IN_SRC_MAC\": 345049385424,\n            \"OUT_DST_MAC\": 1577058561\n        },\n        {\n            \"IPV4_SRC_ADDR\": \"208.71.33.77\",\n            \"IPV4_DST_ADDR\": \"31.168.96.0\",\n            \"UNKNOWN_FIELD_TYPE\": 1669486411,\n            \"IN_BYTES\": 68,\n            \"IN_PKTS\": 1,\n            \"INPUT_SNMP\": 1,\n            \"OUTPUT_SNMP\": 1,\n            \"L4_SRC_PORT\": 27117,\n            \"L4_DST_PORT\": 33434,\n            \"PROTOCOL\": 17,\n            \"TCP_FLAGS\": 0,\n            \"IP_PROTOCOL_VERSION\": 4,\n            \"SRC_TOS\": 0,\n            \"SRC_VLAN\": 0,\n            \"DST_VLAN\": 0,\n            \"IN_SRC_MAC\": 345049385424,\n            \"OUT_DST_MAC\": 1577058561\n        },\n        {\n            \"IPV4_SRC_ADDR\": \"168.95.192.15\",\n            \"IPV4_DST_ADDR\": \"208.71.33.5\",\n            \"UNKNOWN_FIELD_TYPE\": 1669486411,\n            \"IN_BYTES\": 218,\n            \"IN_PKTS\": 1,\n            \"INPUT_SNMP\": 1,\n            \"OUTPUT_SNMP\": 1,\n            \"L4_SRC_PORT\": 53,\n            \"L4_DST_PORT\": 58648,\n            \"PROTOCOL\": 17,\n            \"TCP_FLAGS\": 0,\n            \"IP_PROTOCOL_VERSION\": 4,\n            \"SRC_TOS\": 0,\n            \"SRC_VLAN\": 0,\n            \"DST_VLAN\": 0,\n            \"IN_SRC_MAC\": 176156468527888,\n            \"OUT_DST_MAC\": 345050008814\n        },\n        {\n            \"IPV4_SRC_ADDR\": \"68.1.0.49\",\n            \"IPV4_DST_ADDR\": \"208.71.33.76\",\n            \"UNKNOWN_FIELD_TYPE\": 1669486411,\n            \"IN_BYTES\": 56,\n            \"IN_PKTS\": 1,\n            \"INPUT_SNMP\": 1,\n            \"OUTPUT_SNMP\": 1,\n            \"ICMP_TYPE\": 2816,\n            \"IP_PROTOCOL_VERSION\": 4,\n            \"SRC_TOS\": 0,\n            \"SRC_VLAN\": 0,\n            \"DST_VLAN\": 0,\n            \"IN_SRC_MAC\": 176156468527888,\n            \"OUT_DST_MAC\": 345049385424\n        },\n        {\n            \"IPV4_SRC_ADDR\": \"208.71.33.77\",\n            \"IPV4_DST_ADDR\": \"39.162.115.84\",\n            \"UNKNOWN_FIELD_TYPE\": 1669486411,\n            \"IN_BYTES\": 68,\n            \"IN_PKTS\": 1,\n            \"INPUT_SNMP\": 1,\n            \"OUTPUT_SNMP\": 1,\n            \"L4_SRC_PORT\": 44400,\n            \"L4_DST_PORT\": 33434,\n            \"PROTOCOL\": 17,\n            \"TCP_FLAGS\": 0,\n            \"IP_PROTOCOL_VERSION\": 4,\n            \"SRC_TOS\": 0,\n            \"SRC_VLAN\": 0,\n            \"DST_VLAN\": 0,\n            \"IN_SRC_MAC\": 345049385424,\n            \"OUT_DST_MAC\": 1577058561\n        },\n        {\n            \"IPV4_SRC_ADDR\": \"208.71.33.77\",\n            \"IPV4_DST_ADDR\": \"115.96.112.0\",\n            \"UNKNOWN_FIELD_TYPE\": 1669486411,\n            \"IN_BYTES\": 68,\n            \"IN_PKTS\": 1,\n            \"INPUT_SNMP\": 1,\n            \"OUTPUT_SNMP\": 1,\n            \"L4_SRC_PORT\": 23757,\n            \"L4_DST_PORT\": 33434,\n            \"PROTOCOL\": 17,\n            \"TCP_FLAGS\": 0,\n            \"IP_PROTOCOL_VERSION\": 4,\n            \"SRC_TOS\": 0,\n            \"SRC_VLAN\": 0,\n            \"DST_VLAN\": 0,\n            \"IN_SRC_MAC\": 345049385424,\n            \"OUT_DST_MAC\": 1577058561\n        },\n        {\n            \"IPV4_SRC_ADDR\": \"208.71.33.76\",\n            \"IPV4_DST_ADDR\": \"39.164.224.161\",\n            \"UNKNOWN_FIELD_TYPE\": 1669486411,\n            \"IN_BYTES\": 68,\n            \"IN_PKTS\": 1,\n            \"INPUT_SNMP\": 1,\n            \"OUTPUT_SNMP\": 1,\n            \"L4_SRC_PORT\": 12693,\n            \"L4_DST_PORT\": 33434,\n            \"PROTOCOL\": 17,\n            \"TCP_FLAGS\": 0,\n            \"IP_PROTOCOL_VERSION\": 4,\n            \"SRC_TOS\": 0,\n            \"SRC_VLAN\": 0,\n            \"DST_VLAN\": 0,\n            \"IN_SRC_MAC\": 345049385424,\n            \"OUT_DST_MAC\": 1577058561\n        },\n        {\n            \"IPV4_SRC_ADDR\": \"130.117.2.178\",\n            \"IPV4_DST_ADDR\": \"208.71.33.77\",\n            \"UNKNOWN_FIELD_TYPE\": 1669486411,\n            \"IN_BYTES\": 96,\n            \"IN_PKTS\": 1,\n            \"INPUT_SNMP\": 1,\n            \"OUTPUT_SNMP\": 1,\n            \"ICMP_TYPE\": 2816,\n            \"IP_PROTOCOL_VERSION\": 4,\n            \"SRC_TOS\": 0,\n            \"SRC_VLAN\": 0,\n            \"DST_VLAN\": 0,\n            \"IN_SRC_MAC\": 176156468527888,\n            \"OUT_DST_MAC\": 345049385424\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"http://coms-402-sd-05.class.las.iastate.edu:8080/api/v1/traffic","description":"<p>Use this endpoint to add traffic to the database, but for this to work you must add one of the servers listed in the example body to the server databse first</p>\n<p>add the servers below to the server database to test this add endpoint</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">208.71.33.13\n\n</code></pre>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">168.95.192.15\n</code></pre>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","traffic"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f0675d2-7ca1-42c9-926f-f6ed0ba0e425"},{"name":"auth/register","id":"2e40f6aa-81ba-486d-9c45-103c4ccdaa6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"miboer@iastate.edu\",\n    \"password\": \"password\",\n    \"userType\": \"CLIENT\",\n    \"userFirstName\": \"Micah\",\n    \"userLastName\": \"Boerjan\",\n    \"phoneNumber\": \"999-999-999\"\n}","options":{"raw":{"language":"json"}}},"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/auth/register","description":"<p>Register is used to add a user and get a token in the response. You will send the user just like add user endpoint but instead will receive a response with a token</p>\n","urlObject":{"port":"8080","path":["api","v1","auth","register"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"2e40f6aa-81ba-486d-9c45-103c4ccdaa6e"},{"name":"auth/sign-in","id":"19746533-69ad-4add-bbe0-d938e89dd5ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"admin@test.com\",\n    \"password\": \"Password\"\n}","options":{"raw":{"language":"json"}}},"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/auth/sign-in","description":"<p>Sign-in is used to sign-in a user and get a token in the response. You will send just the email and unencrypted password and will recieve a token response.</p>\n","urlObject":{"port":"8080","path":["api","v1","auth","sign-in"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"19746533-69ad-4add-bbe0-d938e89dd5ec"},{"name":"updateLastTimeNotified/{server_address}","id":"c68be2a2-a876-410c-b1be-0d57689d7382","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"lastTimeNotified\": 0\n}","options":{"raw":{"language":"json"}}},"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/servers/updateLastTimeNotified/{server_address}","urlObject":{"port":"8080","path":["api","v1","servers","updateLastTimeNotified","{server_address}"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"c68be2a2-a876-410c-b1be-0d57689d7382"},{"name":"getLastTimeNotified/{server_address}","id":"510f1bb6-c678-45df-b3fd-698f182b060e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"coms-402-sd-05.class.las.iastate.edu:8080/api/v1/servers/getLastTimeNotified/{server_address}","urlObject":{"port":"8080","path":["api","v1","servers","getLastTimeNotified","{server_address}"],"host":["coms-402-sd-05","class","las","iastate","edu"],"query":[],"variable":[]}},"response":[],"_postman_id":"510f1bb6-c678-45df-b3fd-698f182b060e"}]}