{"info":{"_postman_id":"36a37351-bbc6-492c-8065-0282c7f887a8","name":"Link-Live Documentations","description":"<html><head></head><body><p>This is a basic set of Link-Live API documentation and examples.  </p>\n<p>If using Link-Live private, replace all the link-live.com(s) with your set host name.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"619257","collectionId":"36a37351-bbc6-492c-8065-0282c7f887a8","publishedId":"T1DwbZ7n","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-08-16T15:59:37.000Z"},"item":[{"name":"Documents","item":[{"name":"Get Version","id":"9568a871-802b-4ad3-bc60-3c29be47ad35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://link-live.com/version","description":"<p>A basic route to hit to get the current version of Link-Live</p>\n","urlObject":{"protocol":"https","path":["version"],"host":["link-live","com"],"query":[],"variable":[]}},"response":[{"id":"0dc78850-7bd6-4443-b88e-74af292c040f","name":"Get Version","originalRequest":{"method":"GET","header":[],"url":"https://link-live.com/version"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"48"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Cowboy"},{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"3.5.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"ETag","value":"W/\"30-kknJ6rpaSWLmKIwUqQooVg\""},{"key":"Date","value":"Fri, 18 Jan 2019 15:56:32 GMT"},{"key":"Via","value":"1.1 vegur, 1.1 dd3c369cdd23b71f5d0653cf4e4725fb.cloudfront.net (CloudFront)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"O5u4yP-Y0NimCuSMG-h51pHgmT7W-BClYObufPSHIVkLycIMlYpw7g=="}],"cookie":[],"responseTime":null,"body":"{\n    \"Link-Live\": \"3.5.0\",\n    \"ui\": \"3.5.0\",\n    \"api\": \"3.5.0\"\n}"}],"_postman_id":"9568a871-802b-4ad3-bc60-3c29be47ad35"},{"name":"Login","event":[{"listen":"test","script":{"id":"95e551f9-6e42-45a5-995a-f5f8ec1002cd","exec":["try {","    tests[\"Status code is \" + responseCode.code] = responseCode.code === 200;","    ","    var res = JSON.parse(responseBody);","    tests[\"Got access token\"] = (res.accessToken.length > 50);","    tests[\"Got context\"] = (res.context && res.context.user && res.context.orgMemberships);","    ","    postman.setEnvironmentVariable(\"ACCESS_TOKEN\", res.accessToken);","    ","    tests[\"Got the requested org\"] = (res.context.organization._id === postman.getEnvironmentVariable(\"ORG_ID1\"));","} catch(e) { tests[e.message] = false; }"],"type":"text/javascript"}}],"id":"be95f885-f956-472e-ba1f-6c913a2aac74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>","saveHelperData":"<save-helper-data>","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic Y3lnbnVzLnBvc3RtYW4uMjgzNzA1QG5ldHNjb3V0LmNvbTpQYXNzd29yZDEyMw=="},{"key":"X-Bedrock-Otpcode","value":"<OPTIONAL_MFA_CODE>","type":"text"}],"body":{"mode":"raw","raw":"{ \"claims\": {\"app\": \"3pGv3iSAICObaFX7EjdojO\"} }"},"url":"https://id.link-live.com/v2/auth/login","description":"<p>The request to our athentication server to get a token.  The Authorization is your link-live user name and password converted to Basic Auth.  For more information on basic auth see <a href=\"https://en.wikipedia.org/wiki/Basic_access_authentication\">https://en.wikipedia.org/wiki/Basic_access_authentication</a> </p>\n<p>The returned token should be stored and used for all subsquent calls.</p>\n<p>You will need to call this login again if you get a 401 on any request.</p>\n<p>If a 498 is returned on this request it means an MFA code is required.  Make the login request again with the X-Bedrock-Otpcode header with the MFA code.</p>\n<p>If a 498 is returned on other routes it means that MFA is required for the user's organization and they should set that up through the Link-Live UI.</p>\n","urlObject":{"protocol":"https","path":["v2","auth","login"],"host":["id","link-live","com"],"query":[],"variable":[]}},"response":[{"id":"974f2ec2-e657-479f-a7f3-29786c8b3510","name":"Login","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic Y3lnbnVzLnBvc3RtYW4uMjgzNzA1QG5ldHNjb3V0LmNvbTpQYXNzd29yZDEyMw=="},{"key":"X-Bedrock-Otpcode","value":"<OPTIONAL_MFA_CODE>","type":"text"}],"body":{"mode":"raw","raw":"{ \"claims\": {\"app\": \"3pGv3iSAICObaFX7EjdojO\"} }"},"url":"https://id.link-live.com/v2/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With"},{"key":"Content-Type","value":"application/json"},{"key":"Etag","value":"s0qmbs"},{"key":"X-Debug","value":"s0qmbs"},{"key":"Date","value":"Thu, 17 Jan 2019 21:16:41 GMT"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"accessToken\": \"<API_TOKEN>\",\n    \"context\": {\n        \"user\": {\n           ...\n        },\n        \"groups\": [\n\t\t\t...\n        ],\n        \"roles\": [\n            \"user\",\n            \"admin\",\n            \"owner\"\n        ],\n        \"organization\": {\n            ...\n        },\n        \"orgMemberships\": [\n            {\n                \"id\": \"<ORG_ID_0>\",\n                \"name\": \"<ORG_NAME_0>\",\n\t\t\t\t...\n            },\n            {\n                \"id\": \"<ORG_ID_1>\",\n            \t\"name\": \"<ORG_NAME_1>\",\n\t\t\t\t...\n            }\n        ]\n    }\n}"}],"_postman_id":"be95f885-f956-472e-ba1f-6c913a2aac74"},{"name":"Login Specific Org","event":[{"listen":"test","script":{"id":"95e551f9-6e42-45a5-995a-f5f8ec1002cd","exec":["try {","    tests[\"Status code is \" + responseCode.code] = responseCode.code === 200;","    ","    var res = JSON.parse(responseBody);","    tests[\"Got access token\"] = (res.accessToken.length > 50);","    tests[\"Got context\"] = (res.context && res.context.user && res.context.orgMemberships);","    ","    postman.setEnvironmentVariable(\"ACCESS_TOKEN\", res.accessToken);","    ","    tests[\"Got the requested org\"] = (res.context.organization._id === postman.getEnvironmentVariable(\"ORG_ID1\"));","} catch(e) { tests[e.message] = false; }"],"type":"text/javascript"}}],"id":"e5d43a92-c46a-4ca3-b11f-985c9e095739","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>","saveHelperData":"<save-helper-data>","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic Y3lnbnVzLnBvc3RtYW4uMjgzNzA1QG5ldHNjb3V0LmNvbTpQYXNzd29yZDEyMw=="},{"key":"X-Bedrock-Otpcode","value":"<OPTIONAL_MFA_CODE>","type":"text"}],"body":{"mode":"raw","raw":"{ \"claims\": {\"app\": \"3pGv3iSAICObaFX7EjdojO\", \"org\": \"<ORG_ID>\"} }"},"url":"https://id.link-live.com/v2/auth/login","description":"<p>The request to our athentication server to get a token for a specific org.  Use the org ids found in your basic login call.</p>\n","urlObject":{"protocol":"https","path":["v2","auth","login"],"host":["id","link-live","com"],"query":[],"variable":[]}},"response":[{"id":"ae8f8cc2-d33a-4da9-a85b-2eb94fcc1f9a","name":"Login Specific Org","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic Y3lnbnVzLnBvc3RtYW4uMjgzNzA1QG5ldHNjb3V0LmNvbTpQYXNzd29yZDEyMw=="},{"key":"X-Bedrock-Otpcode","value":"<OPTIONAL_MFA_CODE>","type":"text"}],"body":{"mode":"raw","raw":"{ \"claims\": {\"app\": \"3pGv3iSAICObaFX7EjdojO\", \"org\": \"<ORG_ID_1>\"} }"},"url":"https://id.link-live.com/v2/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With"},{"key":"Content-Type","value":"application/json"},{"key":"Etag","value":"s0qmbs"},{"key":"X-Debug","value":"s0qmbs"},{"key":"Date","value":"Thu, 17 Jan 2019 21:16:41 GMT"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"accessToken\": \"<API_TOKEN>\",\n    \"context\": {\n      ...\n    }\n}"}],"_postman_id":"e5d43a92-c46a-4ca3-b11f-985c9e095739"},{"name":"Refresh AccessToken","event":[{"listen":"test","script":{"id":"be642d2c-4696-468f-81b3-36be5709d47e","exec":["try {","    tests[\"Status code is \" + responseCode.code] = responseCode.code === 200;","    ","    var res = JSON.parse(responseBody);","    tests[\"Got access token\"] = (res.accessToken.length > 50);","    tests[\"Got context\"] = (res.context && res.context.user && res.context.orgMemberships);","    ","    postman.setEnvironmentVariable(\"ACCESS_TOKEN\", res.accessToken);","} catch(e) { tests[e.message] = false; }"],"type":"text/javascript"}}],"id":"c4a0fb97-6484-47e2-ad5b-96d193c8b4fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"body":{"mode":"raw","raw":"{\"claims\": {\"app\": \"3pGv3iSAICObaFX7EjdojO\"} }"},"url":"https://id.link-live.com/v2/auth/refresh","description":"<p>Refresh the token you have for a new one.  Call this if you get a 426 on any call.  Store and use the new token for all subsequent calls.</p>\n","urlObject":{"protocol":"https","path":["v2","auth","refresh"],"host":["id","link-live","com"],"query":[],"variable":[]}},"response":[{"id":"252603df-c402-43fc-9877-cbd94ade2bca","name":"Refresh AccessToken","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"body":{"mode":"raw","raw":"{\"claims\": {\"app\": \"3pGv3iSAICObaFX7EjdojO\"} }"},"url":"https://id.link-live.com/v2/auth/refresh"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With"},{"key":"Content-Type","value":"application/json"},{"key":"Etag","value":"e6m80u"},{"key":"X-Debug","value":"e6m80u"},{"key":"Date","value":"Fri, 18 Jan 2019 15:38:53 GMT"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"accessToken\": <NEW_API_TOKEN>,\n    \"context\": {\n        \"user\": {\n            ...\n        },\n        \"groups\": [\n           ...\n        ],\n        \"roles\": [\n            ...\n        ],\n        \"organization\": {\n            \"_id\": \"<CURRENT_ORG_ID>\",\n            ...\n        },\n        \"orgMemberships\": [\n           ...\n        ]\n    }\n}"}],"_postman_id":"c4a0fb97-6484-47e2-ad5b-96d193c8b4fc"},{"name":"Login (Link-Live Private)","event":[{"listen":"test","script":{"id":"b0506015-cb3e-4979-85b4-8352caaf945a","exec":["try {","    tests[\"Status code is \" + responseCode.code] = responseCode.code === 200;","    ","    var res = JSON.parse(responseBody);","    tests[\"Got access token\"] = (res.accessToken.length > 50);","    tests[\"Got context\"] = (res.context && res.context.user && res.context.orgMemberships);","    ","    postman.setEnvironmentVariable(\"ACCESS_TOKEN\", res.accessToken);","    ","    tests[\"Got the requested org\"] = (res.context.organization._id === postman.getEnvironmentVariable(\"ORG_ID1\"));","} catch(e) { tests[e.message] = false; }"],"type":"text/javascript"}}],"id":"d8bb119d-800a-49ed-90be-db1625bfe965","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>","saveHelperData":"<save-helper-data>","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic Y3lnbnVzLnBvc3RtYW4uMjgzNzA1QG5ldHNjb3V0LmNvbTpQYXNzd29yZDEyMw=="},{"key":"X-Bedrock-Otpcode","value":"<OPTIONAL_MFA_CODE>","type":"text"}],"body":{"mode":"raw","raw":"{ \"claims\": {\"app\": \"5GTFaVgr4TX47VSgyH5P1A\"} }"},"url":"https://link-live.com/bedrock/v2/auth/login","description":"<p>The request to our athentication server to get a token.  The Authorization is your link-live user name and password converted to Basic Auth.  For more information on basic auth see <a href=\"https://en.wikipedia.org/wiki/Basic_access_authentication\">https://en.wikipedia.org/wiki/Basic_access_authentication</a> </p>\n<p>The returned token should be stored and used for all subsquent calls.</p>\n<p>You will need to call this login again if you get a 401 on any request.</p>\n<p>If a 498 is returned on this request it means an MFA code is required.  Make the login request again with the X-Bedrock-Otpcode header with the MFA code.</p>\n<p>If a 498 is returned on other routes it means that MFA is required for the user's organization and they should set that up through the Link-Live UI.</p>\n","urlObject":{"protocol":"https","path":["bedrock","v2","auth","login"],"host":["link-live","com"],"query":[],"variable":[]}},"response":[{"id":"4c7baac6-f3ad-4b18-9dc9-c835e61859cd","name":"Login (Link-Live Private)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic Y3lnbnVzLnBvc3RtYW4uMjgzNzA1QG5ldHNjb3V0LmNvbTpQYXNzd29yZDEyMw=="},{"key":"X-Bedrock-Otpcode","value":"<OPTIONAL_MFA_CODE>","type":"text"}],"body":{"mode":"raw","raw":"{ \"claims\": {\"app\": \"5GTFaVgr4TX47VSgyH5P1A\"} }"},"url":"https://link-live.com/bedrock/v2/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With"},{"key":"Content-Type","value":"application/json"},{"key":"Etag","value":"s0qmbs"},{"key":"X-Debug","value":"s0qmbs"},{"key":"Date","value":"Thu, 17 Jan 2019 21:16:41 GMT"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"accessToken\": \"<API_TOKEN>\",\n    \"context\": {\n        \"user\": {\n           ...\n        },\n        \"groups\": [\n\t\t\t...\n        ],\n        \"roles\": [\n            \"user\",\n            \"admin\",\n            \"owner\"\n        ],\n        \"organization\": {\n            ...\n        },\n        \"orgMemberships\": [\n            {\n                \"id\": \"<ORG_ID_0>\",\n                \"name\": \"<ORG_NAME_0>\",\n\t\t\t\t...\n            },\n            {\n                \"id\": \"<ORG_ID_1>\",\n            \t\"name\": \"<ORG_NAME_1>\",\n\t\t\t\t...\n            }\n        ]\n    }\n}"}],"_postman_id":"d8bb119d-800a-49ed-90be-db1625bfe965"},{"name":"Login Specific Org (Link-Live Private)","event":[{"listen":"test","script":{"id":"8a63c67a-dee5-4e94-81af-2eaec0f27eb4","exec":["try {","    tests[\"Status code is \" + responseCode.code] = responseCode.code === 200;","    ","    var res = JSON.parse(responseBody);","    tests[\"Got access token\"] = (res.accessToken.length > 50);","    tests[\"Got context\"] = (res.context && res.context.user && res.context.orgMemberships);","    ","    postman.setEnvironmentVariable(\"ACCESS_TOKEN\", res.accessToken);","    ","    tests[\"Got the requested org\"] = (res.context.organization._id === postman.getEnvironmentVariable(\"ORG_ID1\"));","} catch(e) { tests[e.message] = false; }"],"type":"text/javascript"}}],"id":"60aac431-05a8-4675-b13b-6e77d961a89e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>","saveHelperData":"<save-helper-data>","showPassword":"<show-password>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic Y3lnbnVzLnBvc3RtYW4uMjgzNzA1QG5ldHNjb3V0LmNvbTpQYXNzd29yZDEyMw=="},{"key":"X-Bedrock-Otpcode","value":"<OPTIONAL_MFA_CODE>","type":"text"}],"body":{"mode":"raw","raw":"{ \"claims\": {\"app\": \"5GTFaVgr4TX47VSgyH5P1A\", \"org\": \"<ORG_ID>\"} }"},"url":"https://link-live.com/bedrock/v2/auth/login","description":"<p>The request to our athentication server to get a token for a specific org.  Use the org ids found in your basic login call.</p>\n","urlObject":{"protocol":"https","path":["bedrock","v2","auth","login"],"host":["link-live","com"],"query":[],"variable":[]}},"response":[{"id":"7a62b674-74f0-4a93-8f3f-e3da1ad4c68e","name":"Login Specific Org (Link-Live Private)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic Y3lnbnVzLnBvc3RtYW4uMjgzNzA1QG5ldHNjb3V0LmNvbTpQYXNzd29yZDEyMw=="},{"key":"X-Bedrock-Otpcode","value":"<OPTIONAL_MFA_CODE>","type":"text"}],"body":{"mode":"raw","raw":"{ \"claims\": {\"app\": \"5GTFaVgr4TX47VSgyH5P1A\", \"org\": \"<ORG_ID_1>\"} }"},"url":"https://link-live.com/bedrock/v2/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With"},{"key":"Content-Type","value":"application/json"},{"key":"Etag","value":"s0qmbs"},{"key":"X-Debug","value":"s0qmbs"},{"key":"Date","value":"Thu, 17 Jan 2019 21:16:41 GMT"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"accessToken\": \"<API_TOKEN>\",\n    \"context\": {\n      ...\n    }\n}"}],"_postman_id":"60aac431-05a8-4675-b13b-6e77d961a89e"},{"name":"Refresh AccessToken (Link-Live Private)","event":[{"listen":"test","script":{"id":"d44b09a5-920e-4e7f-9655-6f68bdc08b86","exec":["try {","    tests[\"Status code is \" + responseCode.code] = responseCode.code === 200;","    ","    var res = JSON.parse(responseBody);","    tests[\"Got access token\"] = (res.accessToken.length > 50);","    tests[\"Got context\"] = (res.context && res.context.user && res.context.orgMemberships);","    ","    postman.setEnvironmentVariable(\"ACCESS_TOKEN\", res.accessToken);","} catch(e) { tests[e.message] = false; }"],"type":"text/javascript"}}],"id":"a274a2d3-452c-4b8c-bba0-fc7caa8504f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"body":{"mode":"raw","raw":"{\"claims\": {\"app\": \"3pGv3iSAICObaFX7EjdojO\"} }"},"url":"https://id.link-live.com/v2/auth/refresh","description":"<p>Refresh the token you have for a new one.  Call this if you get a 426 on any call.  Store and use the new token for all subsequent calls.</p>\n","urlObject":{"protocol":"https","path":["v2","auth","refresh"],"host":["id","link-live","com"],"query":[],"variable":[]}},"response":[{"id":"604502f1-29e6-4173-a904-3a0fae2d97f9","name":"Refresh AccessToken (Link-Live Private)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"body":{"mode":"raw","raw":"{\"claims\": {\"app\": \"5GTFaVgr4TX47VSgyH5P1A\"} }"},"url":"https://link-live.com/bedrock/v2/auth/refresh"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, Content-Length, X-Requested-With"},{"key":"Content-Type","value":"application/json"},{"key":"Etag","value":"e6m80u"},{"key":"X-Debug","value":"e6m80u"},{"key":"Date","value":"Fri, 18 Jan 2019 15:38:53 GMT"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"accessToken\": <NEW_API_TOKEN>,\n    \"context\": {\n        \"user\": {\n            ...\n        },\n        \"groups\": [\n           ...\n        ],\n        \"roles\": [\n            ...\n        ],\n        \"organization\": {\n            \"_id\": \"<CURRENT_ORG_ID>\",\n            ...\n        },\n        \"orgMemberships\": [\n           ...\n        ]\n    }\n}"}],"_postman_id":"a274a2d3-452c-4b8c-bba0-fc7caa8504f7"},{"name":"List Units","event":[{"listen":"test","script":{"id":"ddcd1eb6-9b38-4136-980a-3faf2e3483ae","exec":["try {","tests[\"Status code is 200\"] = responseCode.code === 200;","","var version = postman.getResponseHeader(\"Link-Live-Version\");","tests[\"Response header includes version\"] = version;","tests[\"Version (\"+version+\") has major, minor, patch\"] = (version.split('.').length >= 3);","","var results = JSON.parse(responseBody);","tests[\"Response has a list of at least 2 results\"] = (results instanceof Array) && (results.length >= 2);","","var resultsByUpdated = results;","resultsByUpdated.sort(function(a,b) { return new Date(a.updated_at) - new Date(b.updated_at); });","tests[\"DEBUG: Result updated_ats: \" + _.map(resultsByUpdated, 'updated_at').join(', ')] = true;","var result = resultsByUpdated[1];","postman.setEnvironmentVariable(\"RESULT_ID\", result._id);","postman.setEnvironmentVariable(\"RESULT_NAME\", result.name);","postman.setEnvironmentVariable(\"RESULT_CREATED\", result.created_at);","postman.setEnvironmentVariable(\"RESULT_UPDATED\", new Date(new Date(result.updated_at) - 1).toISOString());","","var knownUnitTypes = ['onetouchat', 'linksprinter', 'linkrunnerat', 'aircheckg2', 'iperf', 'linkrunnerg2'];","knownUnitTypes = knownUnitTypes.concat(knownUnitTypes.map(function(x) { return x + 's'; }));","","var iconNames = _.map(_.map(resultsByUpdated, 'meta'),'iconName');","var unknownIcons = _.difference(iconNames, knownUnitTypes);","tests[\"DEBUG: Result known types: \" + knownUnitTypes.join(', ')] = true;","tests[\"DEBUG: Result unknown iconName: \" + unknownIcons.join(', ')] = true;","tests[\"Results have 'meta' info about which icon to use\"] = _.isEmpty(unknownIcons);","","tests[\"V1 Linksprinter result is there\"] = !!_.find(results, {unit_mac: postman.getEnvironmentVariable('MAC_V1_LS')});","","tests[\"At least one result has 'meta' info about badgeColor\"] = _.reduce(results, function(found, result) { return found || _.has(result.meta, 'badgeColor'); }, false)","tests[\"At least one result has 'meta' info about which being a session\"] = _.reduce(results, function(found, result) { return found || result.meta.isSession; }, false)","","} catch(e) { tests[e.message] = false; }",""],"type":"text/javascript"}}],"id":"b47f462c-687e-461f-bc71-5b9cf66fbd9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/units","description":"<p>This request gets a list of units.</p>\n","urlObject":{"protocol":"https","path":["v1","admin","units"],"host":["link-live","com"],"query":[],"variable":[]}},"response":[{"id":"f3e168f4-cb0d-4fd4-a5d1-07a10ea4e341","name":"List Units","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/units"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Cowboy"},{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"3.5.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"ETag","value":"W/\"3599-yt0YvSulRJ5HkCbEKuTOpw\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Fri, 18 Jan 2019 16:12:42 GMT"},{"key":"Via","value":"1.1 vegur, 1.1 55429f2d64d86ac51a104a1c84030e14.cloudfront.net (CloudFront)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"OEuPVRkzQ_dj-ZULX7M3vfu18vH-1HzIcL4VfDs8eYwcNAYyCCtwBQ=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"5b0efcfc61591e0014aacf4e\",\n        \"created_at\": \"2018-05-30T19:35:24.829Z\",\n        \"updated_at\": \"2018-11-15T15:55:18.894Z\",\n        \"lastSeen\": \"2018-05-30T19:36:03.842Z\",\n        \"mac\": \"00C017-XXXXXX\",\n        \"serialNumber\": \"XXXXXXX\",\n        \"model\": \"LS 200\",\n        \"unitType\": \"LinkSprinter\",\n        \"publicIpAddress\": \"***.***.***.***\",\n        \"ipAddress\": \"129.196.197.120\",\n        \"lastConfig\": null,\n        \"firmwareVersion\": \"2.03.02.0610\",\n        \"hardwareVersion\": \"3001-004-200\",\n        \"wifiVersion\": \"SPI-RAW-EZX Ver 4.02, Apr 24 2013 21:33:27 on RN-171\",\n        \"name\": \"Unit 0\",\n        \"description\": \"Unit with MAC address 00C017-XXXXXX\",\n        \"tags\": \"\",\n        \"organizationId\": \"1RskdB2Wag4Jp2dnYpFZBn\",\n        \"emails\": \"john.doe@xxxxxx\",\n        \"longMessage\": true,\n        \"updateObject\": null,\n        \"doUpdate\": false,\n        \"__v\": 2,\n        \"lastBattery\": 2.98,\n        \"lowBattery\": false,\n        \"notify\": [\n            {\n                \"email\": \"john.doe@xxxxxx\",\n                \"type\": \"email\"\n            }\n        ],\n        \"updateStartTime\": \"2018-05-30T19:36:03.941Z\",\n        \"labels\": [],\n        \"meta\": {\n            \"...\n        }\n    },\n    {\n        \"_id\": \"5a0b77ecbe644e1200b6a7eb\",\n        \"lastConfig\": null,\n        \"serialNumber\": \"XXXXXXX\",\n        \"lastPoe\": 53.6,\n        \"lastBattery\": 0,\n        \"labels\": [],\n        \"created_at\": \"2017-11-14T23:10:36.954Z\",\n        \"name\": \"UNIT 1\",\n        \"updateVersion\": \"2.2.205\",\n        \"lastSeen\": \"2017-11-14T23:10:36.814Z\",\n        \"lastCygnusUpdate\": \"2018-01-17T15:14:20.396Z\",\n        \"updateObject\": \"5ae2189301fc611400407b7c\",\n        \"ipAddress\": \"10.200.130.119\",\n        \"organizationId\": \"1RskdB2Wag4Jp2dnYpFZBn\",\n        \"description\": \"Unit with MAC address 00C017-XXXXXX\",\n        \"hardwareVersion\": \"iPerf Remote\",\n        \"lastLinkSpeed\": 1000,\n        \"firmwareVersion\": \"2.2.191\",\n        \"model\": \"iPerf Remote\",\n        \"unitType\": \"iPerf\",\n        \"mac\": \"00C017-XXXXXX\",\n        \"longMessage\": true,\n        \"cable\": false,\n        \"tags\": \"\",\n        \"emails\": \"john.doe@xxxxxx\",\n        \"publicIpAddress\": \"***.***.***.***\",\n        \"notify\": [\n            {\n                \"email\": \"john.doe@xxxxxx\",\n                \"type\": \"email\"\n            }\n        ],\n        \"__v\": 3,\n        \"updated_at\": \"2018-11-15T15:55:18.894Z\",\n        \"meta\": {\n\t\t\t...\n        },\n        \"doUpdate\": true\n    },\n\t...\n]"}],"_postman_id":"b47f462c-687e-461f-bc71-5b9cf66fbd9c"},{"name":"List Results","event":[{"listen":"test","script":{"id":"ddcd1eb6-9b38-4136-980a-3faf2e3483ae","exec":["try {","tests[\"Status code is 200\"] = responseCode.code === 200;","","var version = postman.getResponseHeader(\"Link-Live-Version\");","tests[\"Response header includes version\"] = version;","tests[\"Version (\"+version+\") has major, minor, patch\"] = (version.split('.').length >= 3);","","var results = JSON.parse(responseBody);","tests[\"Response has a list of at least 2 results\"] = (results instanceof Array) && (results.length >= 2);","","var resultsByUpdated = results;","resultsByUpdated.sort(function(a,b) { return new Date(a.updated_at) - new Date(b.updated_at); });","tests[\"DEBUG: Result updated_ats: \" + _.map(resultsByUpdated, 'updated_at').join(', ')] = true;","var result = resultsByUpdated[1];","postman.setEnvironmentVariable(\"RESULT_ID\", result._id);","postman.setEnvironmentVariable(\"RESULT_NAME\", result.name);","postman.setEnvironmentVariable(\"RESULT_CREATED\", result.created_at);","postman.setEnvironmentVariable(\"RESULT_UPDATED\", new Date(new Date(result.updated_at) - 1).toISOString());","","var knownUnitTypes = ['onetouchat', 'linksprinter', 'linkrunnerat', 'aircheckg2', 'iperf', 'linkrunnerg2'];","knownUnitTypes = knownUnitTypes.concat(knownUnitTypes.map(function(x) { return x + 's'; }));","","var iconNames = _.map(_.map(resultsByUpdated, 'meta'),'iconName');","var unknownIcons = _.difference(iconNames, knownUnitTypes);","tests[\"DEBUG: Result known types: \" + knownUnitTypes.join(', ')] = true;","tests[\"DEBUG: Result unknown iconName: \" + unknownIcons.join(', ')] = true;","tests[\"Results have 'meta' info about which icon to use\"] = _.isEmpty(unknownIcons);","","tests[\"V1 Linksprinter result is there\"] = !!_.find(results, {unit_mac: postman.getEnvironmentVariable('MAC_V1_LS')});","","tests[\"At least one result has 'meta' info about badgeColor\"] = _.reduce(results, function(found, result) { return found || _.has(result.meta, 'badgeColor'); }, false)","tests[\"At least one result has 'meta' info about which being a session\"] = _.reduce(results, function(found, result) { return found || result.meta.isSession; }, false)","","} catch(e) { tests[e.message] = false; }",""],"type":"text/javascript"}}],"id":"f388aab7-1a06-47ce-b80b-c07716d2b4cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/results","description":"<p>This request gets a list of results.  Below is the schema of all possible values.  WARNING: Many of these items are a type \"mixed\", what this means is it can often be a number, null or a string ('--', '&lt;1s').  If using a strongly typed language, wrap our api data in a massager.</p>\n<p>resultSchema = {</p>\n<p>  organizationId: {type: String, required: true},</p>\n<p>  unit_id: {type: Schema.Types.ObjectId, required: true},</p>\n<p>  unit_name: {type: String, required: true},</p>\n<p>  unit_mac: {type: String, required: true, validate: [validators.validateMac, \"MAC Address invalid\"]},</p>\n<p>  unit_ipAddress: {type: String},</p>\n<p>  unit_publicIpAddress: {type: String},</p>\n<p>  unit_firmwareVersion: {type: String},</p>\n<p>  unit_type: {type: String},     // able to get unit from unitid</p>\n<p>  overallColor: {type: String},  // worst color among all the children (e.g. Poe, Link, etc...)</p>\n<p>  profileName: {type: String},</p>\n<p>  ipv6_enabled: {type: Boolean},</p>\n<p>  resultType: {type: String, enum: _.values(c.RESULT_TYPE), default: 'ethernet'},</p>\n<p>  labels: {type: [String], trim: true},</p>\n<p>  attachments: {type: [attachmentItem], default: []},</p>\n<p>  cached: {type: Boolean, required: true, default: false},</p>\n<p>  timeDelta: {type: Number},</p>\n<p>  // POE</p>\n<p>  poePresent: {type: Boolean},</p>\n<p>  poeVolts: {type: Schema.Types.Mixed},</p>\n<p>  poeColor: {type: String},</p>\n<p>  poeReqClass: {type: Schema.Types.Mixed},</p>\n<p>  poeRcvdClass: {type: Schema.Types.Mixed},</p>\n<p>  poeReqPower: {type: Schema.Types.Mixed},</p>\n<p>  poeRcvdPower: {type: Schema.Types.Mixed},//negotiated power</p>\n<p>  poeUnloadedVolts: {type: Schema.Types.Mixed},</p>\n<p>  poeLoadedVolts: {type: Schema.Types.Mixed},</p>\n<p>  poeTruePowerPower: {type: Schema.Types.Mixed},//actual loaded power</p>\n<p>  poePair: {type: Schema.Types.Mixed},</p>\n<p>  poeNegotiation: {type: String, enum: [null, ...c.POE_NEGOTIATION_TYPES]},</p>\n<p>  poeLldp: {type: Boolean},</p>\n<p>  poePseType: {type: String},//UPOE+</p>\n<p>  poeSparePair: {type: Boolean},</p>\n<p>  poeReqUpoe: {type: Boolean},</p>\n<p>  // Link</p>\n<p>  linkColor: {type: String},</p>\n<p>  // wired link</p>\n<p>  linkRxPair: {type: String},</p>\n<p>  linkAdvSpeed: {type: String},</p>\n<p>  linkAdvDuplex: {type: String},</p>\n<p>  linkActSpeed: {type: Schema.Types.Mixed},</p>\n<p>  linkActDuplex: {type: String},</p>\n<p>  linkPolarity: {type: String},</p>\n<p>  linkOptical: {type: Boolean},</p>\n<p>  linkOpticalRxPower: {type: Schema.Types.Mixed},</p>\n<p>  linkPower: {type: Schema.Types.Mixed},</p>\n<p>  // wireless link</p>\n<p>  link80211MediaType: {type: String},</p>\n<p>  linkPhyDataRate: {type: Schema.Types.Mixed},</p>\n<p>  linkMaxPhyDataRate: {type: Schema.Types.Mixed},</p>\n<p>  linkRetryRateMean: {type: Schema.Types.Mixed},</p>\n<p>  linkSignalLevelMean: {type: Schema.Types.Mixed},</p>\n<p>  linkNoiseLevelMean: {type: Schema.Types.Mixed},</p>\n<p>  linkSNRMean: {type: Schema.Types.Mixed},</p>\n<p>  linkMaxSupportedPhyDataRate: {type: Schema.Types.Mixed},</p>\n<p>  linkFailureReasons: {type: [String]},</p>\n<p>  // Switch</p>\n<p>  switchType: {type: String, enum: ['CDP', 'EDP', 'LLDP']},</p>\n<p>  switchName: {type: String},</p>\n<p>  switchPort: {type: String},</p>\n<p>  switchVlan: {type: Number},</p>\n<p>  switchVVlan: {type: Number},</p>\n<p>  switchModel: {type: String},</p>\n<p>  switchIpOrMac: {type: String},</p>\n<p>  switchDiscardsTx: {type: Number},</p>\n<p>  switchDiscardsRx: {type: Number},</p>\n<p>  switchErrorsTx: {type: Number},</p>\n<p>  switchErrorsRx: {type: Number},</p>\n<p>  switchColor: {type: String},</p>\n<p>  switchFailureReasons: {type: [String]},</p>\n<p>  switchPortDescription: {type: String},</p>\n<p>  switchLocation: {type: String},</p>\n<p>  switchContact: {type: String},</p>\n<p>  switchAdditionalXdps: {type: Schema.Types.Mixed},</p>\n<p>  // Access Point</p>\n<p>  apColor: {type: String},</p>\n<p>  apSSID: {type: String},</p>\n<p>  apBSSID: {type: String},</p>\n<p>  apName: {type: String},</p>\n<p>  apChannel: {type: Number},</p>\n<p>  apAdv80211MediaTypes: {type: Array},</p>\n<p>  apChannelUtil: {type: Schema.Types.Mixed},</p>\n<p>  apNon80211ChannelUtil: {type: Schema.Types.Mixed},</p>\n<p>  apCombineUtilization: {type: Boolean},</p>\n<p>  // DCHP</p>\n<p>  ipConfigType: {type: String, enum: ['DHCP', 'STATIC']},</p>\n<p>  ipConfigServer: {type: String},</p>\n<p>  ipConfigSub: {type: String},</p>\n<p>  ipConfigColor: {type: String},</p>\n<p>  ipConfigIp: {type: String},</p>\n<p>  ipConfigDuplicated: {type: Boolean},</p>\n<p>  dhcpColor: {type: String},</p>\n<p>  dhcpIp: {type: String},</p>\n<p>  dhcpConnect: [{type: Schema.Types.Mixed}],</p>\n<p>  dhcpOption43: {type: Schema.Types.Mixed},</p>\n<p>  dhcpOption150: [{type: Schema.Types.Mixed}],</p>\n<p>  dhcpOption43Color: {type: String},</p>\n<p>  dhcpOption150Color: {type: String},</p>\n<p>  dns: {type: [dnsItem]},</p>\n<p>  dnsColor: {type: String},</p>\n<p>  dnsLookup: {type: Schema.Types.Mixed},</p>\n<p>  linkLocalColor: {type: String},</p>\n<p>  linkLocalIp: {type: String},</p>\n<p>  linkGlobalColor: {type: String},</p>\n<p>  linkGlobalIp: {type: String},</p>\n<p>  dhcpRelay: {type: String},</p>\n<p>  dhcpLease: {type: String},</p>\n<p>  dhcpExpire: {type: String},</p>\n<p>  dhcpTotalTime: {type: Schema.Types.Mixed},</p>\n<p>  //vlan</p>\n<p>  vlanId: Schema.Types.Mixed,</p>\n<p>  vlanPriority: Schema.Types.Mixed,</p>\n<p>  vlanSeen: Number,</p>\n<p>  vlanTags: [Schema.Types.Mixed],</p>\n<p>  // Gateway</p>\n<p>  routerIp: {type: String},</p>\n<p>  routerConnect: [{type: Schema.Types.Mixed}],</p>\n<p>  routerColor: {type: String},</p>\n<p>  routerName: {type: String},</p>\n<p>  routerDiscardsTx: {type: Number},</p>\n<p>  routerDiscardsRx: {type: Number},</p>\n<p>  routerErrorsTx: {type: Number},</p>\n<p>  routerErrorsRx: {type: Number},</p>\n<p>  //security</p>\n<p>  securityColor: {type: String},</p>\n<p>  securityEapType: {type: String},</p>\n<p>  securityUserId: {type: String},</p>\n<p>  eapColor: {type: String},</p>\n<p>  eapFailureReasons: {type: [String]},</p>\n<p>  eapTotalTime: {type: Number},</p>\n<p>  // WWW</p>\n<p>  wwwColor: {type: String},  // aggregate color value: red if any www test is red, else yellow if any is yellow, else green</p>\n<p>  www: {type: [wwwItem]},</p>\n<p>  guid: {type: String}, // guid created by unit for result</p>\n<p>  networkQuality: Schema.Types.Mixed,</p>\n<p>  //ACK AIR QUALITY Fields</p>\n<p>  channelUtilArray: {type: [Schema.Types.Mixed]},</p>\n<p>  channelUtilColor: String,</p>\n<p>  channelNon80211UtilArray: {type: [Schema.Types.Mixed]},</p>\n<p>  channelNon80211UtilColor: String,</p>\n<p>  combineUtil: Boolean,</p>\n<p>  coChannelInterference: {type: [Schema.Types.Mixed]},</p>\n<p>  coChannelInterferenceColor: String,</p>\n<p>  adjacentChannelInterference: {type: [Schema.Types.Mixed]},</p>\n<p>  adjacentChannelInterferenceColor: String,</p>\n<p>  rogueAps: {type: [Schema.Types.Mixed]},</p>\n<p>  rogueApsColor: String,</p>\n<p>  connectionCoverage: {type: Schema.Types.Mixed},</p>\n<p>  //airQuality</p>\n<p>  airQualityColor: String,</p>\n<p>  airQualityFailureReasons: {type: [String]},</p>\n<p>  airQualityMaxListSize: Number,</p>\n<p>  airQualityUtil8021124Ghz: {type: Schema.Types.Mixed},</p>\n<p>  airQualityUtil802115Ghz: {type: Schema.Types.Mixed},</p>\n<p>  airQualityUtilNon8021124Ghz: {type: Schema.Types.Mixed},</p>\n<p>  airQualityUtilNon802115Ghz: {type: Schema.Types.Mixed},</p>\n<p>  airQualityUtilTotal24Ghz: {type: Schema.Types.Mixed},</p>\n<p>  airQualityUtilTotal5Ghz: {type: Schema.Types.Mixed},</p>\n<p>  airQualityCoChannelInterference24Ghz: {type: Schema.Types.Mixed},</p>\n<p>  airQualityCoChannelInterference5Ghz: {type: Schema.Types.Mixed},</p>\n<p>  airQualityAdjacentChannelInterference24Ghz: {type: Schema.Types.Mixed},</p>\n<p>  airQualityAdjacentChannelInterference5Ghz: {type: Schema.Types.Mixed},</p>\n<p>  //performance</p>\n<p>  startTime: Date,</p>\n<p>  protocol: Number,</p>\n<p>  serviceResults: Schema.Types.Mixed,</p>\n<p>  overallGrade: String,</p>\n<p>  reason: Number,</p>\n<p>  testState: Number,</p>\n<p>  testStartTime: Date,</p>\n<p>  // iPerf</p>\n<p>  downstream: Schema.Types.Mixed,</p>\n<p>  upstream: Schema.Types.Mixed,</p>\n<p>  duration: Number,</p>\n<p>  ipAddress: String,</p>\n<p>  port: Number,</p>\n<p>  testInterface: Schema.Types.Mixed,</p>\n<p>  protocolType: String,</p>\n<p>  targetSpeed: Number,</p>\n<p>  //cableTest</p>\n<p>  cableTestData: Schema.Types.Mixed,</p>\n<p>  //lanbert</p>\n<p>  actDuplex: String,</p>\n<p>  actSpeed: String,</p>\n<p>  advDuplex: String,</p>\n<p>  advSpeed: String,</p>\n<p>  avgBps: String,</p>\n<p>  avgErrorRate: Schema.Types.Mixed,</p>\n<p>  avgFrameErrors: Schema.Types.Mixed,</p>\n<p>  bpsRateValue: Schema.Types.Mixed,</p>\n<p>  fpsRateValue: Schema.Types.Mixed,</p>\n<p>  totalErrorRateColor: String,</p>\n<p>  frameErrorsThreshold: Schema.Types.Mixed,</p>\n<p>  frameSize: Schema.Types.Mixed,</p>\n<p>  maxErrorRate: Schema.Types.Mixed,</p>\n<p>  maxFrameErrors: Schema.Types.Mixed,</p>\n<p>  minAvgBps: Schema.Types.Mixed,</p>\n<p>  optical: Boolean,</p>\n<p>  power: Schema.Types.Mixed,</p>\n<p>  powerDifference: Schema.Types.Mixed,</p>\n<p>  powerReference: Schema.Types.Mixed,</p>\n<p>  sfpTemperature: Schema.Types.Mixed,</p>\n<p>  sfpTxBiasCurrent: Schema.Types.Mixed,</p>\n<p>  sfpTxPower: Schema.Types.Mixed,</p>\n<p>  sfpRxPower: Schema.Types.Mixed,</p>\n<p>  sfpVoltage: Schema.Types.Mixed,</p>\n<p>  sfpWavelength: Schema.Types.Mixed,</p>\n<p>  totalErroredCountColor: Schema.Types.Mixed,</p>\n<p>  totalFramesErrored: Schema.Types.Mixed,</p>\n<p>  totalFramesReceived: Schema.Types.Mixed,</p>\n<p>  totalFramesSent: Schema.Types.Mixed,</p>\n<p>  totalLossRate: String,</p>\n<p>  totalErrorRate: String,</p>\n<p>  totalFramesLost: Schema.Types.Mixed,</p>\n<p>  totalSevereLossIntervals: Schema.Types.Mixed,</p>\n<p>  channelDetailsA: Schema.Types.Mixed,</p>\n<p>  channelDetailsB: Schema.Types.Mixed,</p>\n<p>  channelDetailsC: Schema.Types.Mixed,</p>\n<p>  channelDetailsD: Schema.Types.Mixed,</p>\n<p>  speedColor: String,</p>\n<p>  duplexColor: String,</p>\n<p>  totalLossRateColor: String,</p>\n<p>  totalLostCountColor: String,</p>\n<p>  failureReasons: [String],</p>\n<p>}</p>\n<p>attachmentItem = {</p>\n<p>  _id: {type: Schema.Types.ObjectId},</p>\n<p>  filename: String,</p>\n<p>  href: {type: String, authenticate: true},</p>\n<p>  thumb: {type: String, authenticate: true},</p>\n<p>  medium: {type: String, authenticate: true},</p>\n<p>  mimeType: String,</p>\n<p>  format: String,</p>\n<p>};</p>\n<p>wwwItem = {</p>\n<p>  wwwType: {type: String, enum: c.WWW_TEST_TYPES},</p>\n<p>  wwwTargetType: {type: String, enum: c.WWW_TEST_TARGET_TYPES},</p>\n<p>  wwwUrl: {type: String},</p>\n<p>  wwwIp: {type: String},</p>\n<p>  wwwPort: {type: Number},</p>\n<p>  wwwConnect: [{type: Schema.Types.Mixed}],</p>\n<p>  wwwColor: {type: String},</p>\n<p>  wwwDataTransfer: {type: String},</p>\n<p>  wwwTotalTime: {type: String},</p>\n<p>  wwwBps: {type: String},</p>\n<p>  wwwThroughputUp: {type: String},</p>\n<p>  wwwThroughputDown: {type: String},</p>\n<p>  wwwThroughputRT: {type: String},</p>\n<p>  wwwLossUp: {type: String},</p>\n<p>  wwwLossDown: {type: String},</p>\n<p>  wwwLossRT: {type: String},</p>\n<p>  wwwLatencyUp: {type: String},</p>\n<p>  wwwLatencyDown: {type: String},</p>\n<p>  wwwLatencyRT: {type: String},</p>\n<p>  wwwJitterUp: {type: String},</p>\n<p>  wwwJitterDown: {type: String},</p>\n<p>  wwwJitterRT: {type: String},</p>\n<p>  wwwFrameSize: {type: String},</p>\n<p>  wwwName: {type: String},</p>\n<p>  wwwFailureReasons: {type: [String]},</p>\n<p>  wwwCommand: {type: String},</p>\n<p>};</p>\n<p>const dnsItem = {</p>\n<p>  dnsColor: String, // Not to be confused with top-level \"dnsColor\"</p>\n<p>  dnsIp: {type: String},</p>\n<p>  dnsConnect: [{type: Schema.Types.Mixed}]</p>\n<p>});</p>\n","urlObject":{"protocol":"https","path":["v1","admin","results"],"host":["link-live","com"],"query":[],"variable":[]}},"response":[{"id":"a321aa09-5666-4663-925c-d732810d8f72","name":"List Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/results"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"4.0.0-dev.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"28975"},{"key":"ETag","value":"W/\"712f-kB2JG+gfabzgTuQ051q4Cg\""},{"key":"Date","value":"Thu, 17 Jan 2019 21:23:44 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"5c40f25a17aeba150f10abb2\",\n        \"unit_firmwareVersion\": \"1.23.18.0815\",\n        \"sessionDuration\": 86400000,\n        \"minimumTestInterval\": 600000,\n        \"estimatedTestInterval\": 440000,\n        \"resultType\": \"ethernet\",\n        \"labels\": [],\n        \"attachments\": [],\n        \"cached\": false,\n        \"indexInSession\": 0,\n        \"emailNotificationSent\": false,\n        \"apAdv80211MediaTypes\": [],\n        \"dhcpConnect\": [],\n        \"dns\": [\n            {\n                \"dnsIp\": \"10.200.72.19\"\n            },\n            {\n                \"dnsIp\": \"10.200.72.20\"\n            }\n        ],\n        \"routerConnect\": [\n            13,\n            32,\n            3\n        ],\n        \"www\": [\n            {\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"test.link-live.com\",\n                \"wwwIp\": \"143.204.29.115\",\n                \"wwwConnect\": [\n                    4,\n                    4,\n                    11\n                ],\n                \"wwwColor\": \"green\",\n                \"wwwPort\": 80\n            }\n        ],\n        \"unit_id\": \"5c40f25717aeba150f10abb0\",\n        \"organizationId\": \"099fb3d4-53c0-4933-af1f-379dda8fc3eb\",\n        \"unit_name\": \"Unit 0\",\n        \"unit_mac\": \"BEEB00-XXXXXX\",\n        \"unit_type\": \"LinkSprinter\",\n        \"unit_ipAddress\": \"129.196.197.24\",\n        \"unit_publicIpAddress\": \"::1\",\n        \"created_at\": \"2019-01-17T21:23:38.653Z\",\n        \"updated_at\": \"2019-01-17T21:23:38.653Z\",\n        \"poePresent\": false,\n        \"poeVolts\": 0,\n        \"poeColor\": \"black\",\n        \"linkRxPair\": \"All\",\n        \"linkAdvSpeed\": \"10/100/1000\",\n        \"linkAdvDuplex\": \"HDx/FDx\",\n        \"linkActSpeed\": 1000,\n        \"linkActDuplex\": \"FDx\",\n        \"linkPolarity\": \"Normal\",\n        \"linkColor\": \"green\",\n        \"ipConfigIp\": \"129.196.197.24\",\n        \"ipConfigServer\": \"10.200.72.12\",\n        \"ipConfigSub\": \"255.255.254.0\",\n        \"dnsColor\": \"black\",\n        \"ipConfigColor\": \"green\",\n        \"routerIp\": \"129.196.196.1\",\n        \"routerColor\": \"green\",\n        \"wwwColor\": \"green\",\n        \"overallColor\": \"green\",\n        \"__v\": 0,\n        \"meta\": {\n            \"date\": \"Jan 17, 2019\",\n            \"time\": \"9:23 PM\",\n            \"sessionSummary\": true,\n            \"isSession\": false,\n            \"isEthernet\": true,\n            \"isWireless\": false,\n            \"iconName\": \"linksprinter\",\n            \"iconTilt\": true,\n            \"iconSize\": \"32px\",\n            \"labels\": \"\",\n            \"hasReports\": false,\n            \"hasImages\": false\n        },\n        \"dns1Ip\": \"10.200.72.19\",\n        \"dns2Ip\": \"10.200.72.20\",\n        \"wwwPingOverall\": \"green\",\n        \"wwwPerfOverall\": \"green\",\n        \"wwwFileOverall\": \"green\"\n    },\n    {\n        \"_id\": \"5c3e42b2855d88145d505a3b\",\n        \"unit_firmwareVersion\": \"1.18.01.1203\",\n        \"sessionDuration\": 86400000,\n        \"minimumTestInterval\": 600000,\n        \"estimatedTestInterval\": 440000,\n        \"resultType\": \"ethernet\",\n        \"labels\": [\n            \"/Americas\"\n        ],\n        \"attachments\": [],\n        \"cached\": false,\n        \"indexInSession\": 0,\n        \"emailNotificationSent\": false,\n        \"apAdv80211MediaTypes\": [],\n        \"dhcpConnect\": [],\n        \"dns\": [\n            {\n                \"dnsColor\": \"green\",\n                \"dnsIp\": \"192.168.1.100\",\n                \"dnsConnect\": [\n                    2,\n                    1,\n                    2\n                ]\n            },\n            {\n                \"dnsColor\": \"green\",\n                \"dnsIp\": \"129.196.210.33\",\n                \"dnsConnect\": [\n                    20,\n                    15,\n                    15\n                ]\n            }\n        ],\n        \"routerConnect\": [\n            2,\n            1,\n            2\n        ],\n        \"www\": [\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.16.200.100\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    84,\n                    89,\n                    73\n                ]\n            },\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.16.200.101\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    84,\n                    89,\n                    73\n                ]\n            },\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.16.200.200\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    84,\n                    89,\n                    73\n                ]\n            },\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.16.200.100\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    84,\n                    89,\n                    73\n                ]\n            },\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.16.200.100\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    84,\n                    89,\n                    73\n                ]\n            }\n        ],\n        \"organizationId\": \"099fb3d4-53c0-4933-af1f-379dda8fc3eb\",\n        \"unit_id\": \"5c3e42b2855d88145d505a3a\",\n        \"unit_name\": \"Unit 1\",\n        \"unit_mac\": \"BEEB04-YYYYYY\",\n        \"unit_type\": \"LinkRunnerAT\",\n        \"unit_ipAddress\": \"192.168.1.2\",\n        \"unit_publicIpAddress\": \"::1\",\n        \"created_at\": \"2019-01-15T20:29:38.433Z\",\n        \"updated_at\": \"2019-01-15T20:29:38.434Z\",\n        \"profileName\": \"profile\",\n        \"ipv6_enabled\": true,\n        \"poeColor\": \"green\",\n        \"poePresent\": true,\n        \"poeReqClass\": 4,\n        \"poeReqPower\": 25.5,\n        \"poeLldp\": true,\n        \"poePseType\": \"Type1\",\n        \"poeRcvdClass\": 4,\n        \"poeRcvdPower\": 19,\n        \"poeNegotiation\": \"LLDP\",\n        \"poePair\": [\n            \"3,6\",\n            \"1,2\"\n        ],\n        \"poeUnloadedVolts\": 47,\n        \"poeLoadedVolts\": 56,\n        \"linkColor\": \"green\",\n        \"linkRxPair\": \"3,6\",\n        \"linkAdvSpeed\": \"10/100/1000\",\n        \"linkAdvDuplex\": \"HDx/FDx\",\n        \"linkActSpeed\": 100,\n        \"linkActDuplex\": \"FDx\",\n        \"linkPolarity\": \"normal\",\n        \"linkOptical\": true,\n        \"switchType\": \"LLDP\",\n        \"switchName\": \"Core-Switch02.dhr.com\",\n        \"switchPort\": \"GigabitEthernet1/0/47\",\n        \"switchModel\": \"ciscoWS-C2960S-48TS-L\",\n        \"switchIpOrMac\": \"172.31.163.10\",\n        \"switchVlan\": 21,\n        \"switchVVlan\": 5,\n        \"ipConfigColor\": \"green\",\n        \"ipConfigIp\": \"192.168.1.2\",\n        \"ipConfigServer\": \"193.211.132.127\",\n        \"ipConfigDuplicated\": false,\n        \"ipConfigSub\": \"255.255.254.0\",\n        \"linkLocalColor\": \"green\",\n        \"linkLocalIp\": \"fe80::2c0:17ff:feb6:abcd\",\n        \"linkGlobalColor\": \"green\",\n        \"linkGlobalIp\": \"2001::2c0:17ff:feb6:abcd\",\n        \"routerColor\": \"green\",\n        \"routerIp\": \"172.16.1.1\",\n        \"dhcpColor\": \"green\",\n        \"dhcpIp\": \"192.168.1.100\",\n        \"dnsColor\": \"green\",\n        \"wwwColor\": \"green\",\n        \"overallColor\": \"green\",\n        \"__v\": 0,\n        \"meta\": {\n            \"date\": \"Jan 15, 2019\",\n            \"time\": \"8:29 PM\",\n            \"sessionSummary\": true,\n            \"isSession\": false,\n            \"isEthernet\": true,\n            \"isWireless\": false,\n            \"iconName\": \"linkrunnerat\",\n            \"iconTilt\": true,\n            \"iconSize\": \"32px\",\n            \"resultIdentifier\": \"Core-Switch02.dhr.com\",\n            \"folder\": \"/Americas\",\n            \"labels\": \"\",\n            \"hasReports\": false,\n            \"hasImages\": false\n        },\n        \"dns1Color\": \"green\",\n        \"dns1Ip\": \"192.168.1.100\",\n        \"dns1Connect\": [\n            2,\n            1,\n            2\n        ],\n        \"dns2Color\": \"green\",\n        \"dns2Ip\": \"129.196.210.33\",\n        \"dns2Connect\": [\n            20,\n            15,\n            15\n        ],\n        \"wwwPingOverall\": \"green\",\n        \"wwwPerfOverall\": \"green\",\n        \"wwwFileOverall\": \"green\"\n    },\n    ...\n]"}],"_postman_id":"f388aab7-1a06-47ce-b80b-c07716d2b4cd"},{"name":"List Results With Modified Since","event":[{"listen":"test","script":{"id":"e17a32a0-2b1e-4d3b-a96b-d31801947ea3","exec":["try {","tests[\"Status code is 200\"] = responseCode.code === 200;","","var version = postman.getResponseHeader(\"Link-Live-Version\");","tests[\"Response header includes version\"] = version;","tests[\"Version (\"+version+\") has major, minor, patch\"] = (version.split('.').length >= 3);","","var results = JSON.parse(responseBody);","tests[\"Response has a list of at least 2 results\"] = (results instanceof Array) && (results.length >= 2);","","var resultsByUpdated = results;","resultsByUpdated.sort(function(a,b) { return new Date(a.updated_at) - new Date(b.updated_at); });","tests[\"DEBUG: Result updated_ats: \" + _.map(resultsByUpdated, 'updated_at').join(', ')] = true;","var result = resultsByUpdated[1];","postman.setEnvironmentVariable(\"RESULT_ID\", result._id);","postman.setEnvironmentVariable(\"RESULT_NAME\", result.name);","postman.setEnvironmentVariable(\"RESULT_CREATED\", result.created_at);","postman.setEnvironmentVariable(\"RESULT_UPDATED\", new Date(new Date(result.updated_at) - 1).toISOString());","","var knownUnitTypes = ['onetouchat', 'linksprinter', 'linkrunnerat', 'aircheckg2', 'iperf', 'linkrunnerg2'];","knownUnitTypes = knownUnitTypes.concat(knownUnitTypes.map(function(x) { return x + 's'; }));","","var iconNames = _.map(_.map(resultsByUpdated, 'meta'),'iconName');","var unknownIcons = _.difference(iconNames, knownUnitTypes);","tests[\"DEBUG: Result known types: \" + knownUnitTypes.join(', ')] = true;","tests[\"DEBUG: Result unknown iconName: \" + unknownIcons.join(', ')] = true;","tests[\"Results have 'meta' info about which icon to use\"] = _.isEmpty(unknownIcons);","","tests[\"V1 Linksprinter result is there\"] = !!_.find(results, {unit_mac: postman.getEnvironmentVariable('MAC_V1_LS')});","","tests[\"At least one result has 'meta' info about badgeColor\"] = _.reduce(results, function(found, result) { return found || _.has(result.meta, 'badgeColor'); }, false)","tests[\"At least one result has 'meta' info about which being a session\"] = _.reduce(results, function(found, result) { return found || result.meta.isSession; }, false)","","} catch(e) { tests[e.message] = false; }",""],"type":"text/javascript"}}],"id":"8212e4fa-c60b-4d01-80c6-6acbad09b9eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/results?modifiedSince=<ISODATE>","description":"<p>Gets a list of results that have been modified since ISODATE.</p>\n<p>Results are modified by:</p>\n<ol>\n<li>Being Created</li>\n<li>Changing Folders, Labels or Albums</li>\n<li>Changing Attachments</li>\n</ol>\n","urlObject":{"protocol":"https","path":["v1","admin","results"],"host":["link-live","com"],"query":[{"key":"modifiedSince","value":"<ISODATE>"}],"variable":[]}},"response":[{"id":"a69b1953-a896-47dd-92ac-3c3ed6fd49f1","name":"List Call With Modified Since","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":{"raw":"https://link-live.com/v1/admin/results?modifiedSince=2023-08-07T21:03:02.705Z","protocol":"https","host":["link-live","com"],"path":["v1","admin","results"],"query":[{"key":"modifiedSince","value":"2023-08-07T21:03:02.705Z"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"4.0.0-dev.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"28975"},{"key":"ETag","value":"W/\"712f-kB2JG+gfabzgTuQ051q4Cg\""},{"key":"Date","value":"Thu, 17 Jan 2019 21:23:44 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    //Result newer than 2023-08-07T21:03:02.705Z\n    ...\n]"}],"_postman_id":"8212e4fa-c60b-4d01-80c6-6acbad09b9eb"},{"name":"List Results With Label Filter","event":[{"listen":"test","script":{"id":"7c9f4169-b520-49cd-9400-925b28d0233c","exec":["try {","tests[\"Status code is 200\"] = responseCode.code === 200;","","var version = postman.getResponseHeader(\"Link-Live-Version\");","tests[\"Response header includes version\"] = version;","tests[\"Version (\"+version+\") has major, minor, patch\"] = (version.split('.').length >= 3);","","var results = JSON.parse(responseBody);","tests[\"Response has a list of at least 2 results\"] = (results instanceof Array) && (results.length >= 2);","","var resultsByUpdated = results;","resultsByUpdated.sort(function(a,b) { return new Date(a.updated_at) - new Date(b.updated_at); });","tests[\"DEBUG: Result updated_ats: \" + _.map(resultsByUpdated, 'updated_at').join(', ')] = true;","var result = resultsByUpdated[1];","postman.setEnvironmentVariable(\"RESULT_ID\", result._id);","postman.setEnvironmentVariable(\"RESULT_NAME\", result.name);","postman.setEnvironmentVariable(\"RESULT_CREATED\", result.created_at);","postman.setEnvironmentVariable(\"RESULT_UPDATED\", new Date(new Date(result.updated_at) - 1).toISOString());","","var knownUnitTypes = ['onetouchat', 'linksprinter', 'linkrunnerat', 'aircheckg2', 'iperf', 'linkrunnerg2'];","knownUnitTypes = knownUnitTypes.concat(knownUnitTypes.map(function(x) { return x + 's'; }));","","var iconNames = _.map(_.map(resultsByUpdated, 'meta'),'iconName');","var unknownIcons = _.difference(iconNames, knownUnitTypes);","tests[\"DEBUG: Result known types: \" + knownUnitTypes.join(', ')] = true;","tests[\"DEBUG: Result unknown iconName: \" + unknownIcons.join(', ')] = true;","tests[\"Results have 'meta' info about which icon to use\"] = _.isEmpty(unknownIcons);","","tests[\"V1 Linksprinter result is there\"] = !!_.find(results, {unit_mac: postman.getEnvironmentVariable('MAC_V1_LS')});","","tests[\"At least one result has 'meta' info about badgeColor\"] = _.reduce(results, function(found, result) { return found || _.has(result.meta, 'badgeColor'); }, false)","tests[\"At least one result has 'meta' info about which being a session\"] = _.reduce(results, function(found, result) { return found || result.meta.isSession; }, false)","","} catch(e) { tests[e.message] = false; }",""],"type":"text/javascript"}}],"id":"70500f9d-533b-4304-ab9f-6f72e29ebeeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/results?query={\"labels\": {\"$all\": [\"my label\"]}}","description":"<p>Gets a list of results filtered on a label.</p>\n<p>For folders just add a / before the folder name.</p>\n<p>You can use multiple labels in the array to find results that contain all listed labels.</p>\n<p>This pattern can be used on any collection with labels.</p>\n","urlObject":{"protocol":"https","path":["v1","admin","results"],"host":["link-live","com"],"query":[{"key":"query","value":"{\"labels\": {\"$all\": [\"my label\"]}}"}],"variable":[]}},"response":[{"id":"2721ff86-a97e-4765-9407-56f48a0709d5","name":"List Call with Label Filter","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":{"raw":"https://link-live.com/v1/admin/results?query={\"labels\": {\"$all\": [\"my label\"]}}","protocol":"https","host":["link-live","com"],"path":["v1","admin","results"],"query":[{"key":"query","value":"{\"labels\": {\"$all\": [\"my label\"]}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"4.0.0-dev.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"28975"},{"key":"ETag","value":"W/\"712f-kB2JG+gfabzgTuQ051q4Cg\""},{"key":"Date","value":"Thu, 17 Jan 2019 21:23:44 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"5c40f25a17aeba150f10abb2\",\n        \"unit_firmwareVersion\": \"1.23.18.0815\",\n        \"sessionDuration\": 86400000,\n        \"minimumTestInterval\": 600000,\n        \"estimatedTestInterval\": 440000,\n        \"resultType\": \"ethernet\",\n        \"labels\": [\"my label\"],\n        \"attachments\": [],\n        \"cached\": false,\n        \"indexInSession\": 0,\n        \"emailNotificationSent\": false,\n        \"apAdv80211MediaTypes\": [],\n        \"dhcpConnect\": [],\n        \"dns\": [\n            {\n                \"dnsIp\": \"10.200.72.19\"\n            },\n            {\n                \"dnsIp\": \"10.200.72.20\"\n            }\n        ],\n        \"routerConnect\": [\n            13,\n            32,\n            3\n        ],\n        \"www\": [\n            {\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"test.link-live.com\",\n                \"wwwIp\": \"143.204.29.115\",\n                \"wwwConnect\": [\n                    4,\n                    4,\n                    11\n                ],\n                \"wwwColor\": \"green\",\n                \"wwwPort\": 80\n            }\n        ],\n        \"unit_id\": \"5c40f25717aeba150f10abb0\",\n        \"organizationId\": \"099fb3d4-53c0-4933-af1f-379dda8fc3eb\",\n        \"unit_name\": \"Unit 0\",\n        \"unit_mac\": \"BEEB00-XXXXXX\",\n        \"unit_type\": \"LinkSprinter\",\n        \"unit_ipAddress\": \"129.196.197.24\",\n        \"unit_publicIpAddress\": \"::1\",\n        \"created_at\": \"2019-01-17T21:23:38.653Z\",\n        \"updated_at\": \"2019-01-17T21:23:38.653Z\",\n        \"poePresent\": false,\n        \"poeVolts\": 0,\n        \"poeColor\": \"black\",\n        \"linkRxPair\": \"All\",\n        \"linkAdvSpeed\": \"10/100/1000\",\n        \"linkAdvDuplex\": \"HDx/FDx\",\n        \"linkActSpeed\": 1000,\n        \"linkActDuplex\": \"FDx\",\n        \"linkPolarity\": \"Normal\",\n        \"linkColor\": \"green\",\n        \"ipConfigIp\": \"129.196.197.24\",\n        \"ipConfigServer\": \"10.200.72.12\",\n        \"ipConfigSub\": \"255.255.254.0\",\n        \"dnsColor\": \"black\",\n        \"ipConfigColor\": \"green\",\n        \"routerIp\": \"129.196.196.1\",\n        \"routerColor\": \"green\",\n        \"wwwColor\": \"green\",\n        \"overallColor\": \"green\",\n        \"__v\": 0,\n        \"meta\": {\n            \"date\": \"Jan 17, 2019\",\n            \"time\": \"9:23 PM\",\n            \"sessionSummary\": true,\n            \"isSession\": false,\n            \"isEthernet\": true,\n            \"isWireless\": false,\n            \"iconName\": \"linksprinter\",\n            \"iconTilt\": true,\n            \"iconSize\": \"32px\",\n            \"labels\": \"\",\n            \"hasReports\": false,\n            \"hasImages\": false\n        },\n        \"dns1Ip\": \"10.200.72.19\",\n        \"dns2Ip\": \"10.200.72.20\",\n        \"wwwPingOverall\": \"green\",\n        \"wwwPerfOverall\": \"green\",\n        \"wwwFileOverall\": \"green\"\n    },\n    {\n        \"_id\": \"5c3e42b2855d88145d505a3b\",\n        \"unit_firmwareVersion\": \"1.18.01.1203\",\n        \"sessionDuration\": 86400000,\n        \"minimumTestInterval\": 600000,\n        \"estimatedTestInterval\": 440000,\n        \"resultType\": \"ethernet\",\n        \"labels\": [\n            \"/Americas\",\n            \"my label\"\n        ],\n        \"attachments\": [],\n        \"cached\": false,\n        \"indexInSession\": 0,\n        \"emailNotificationSent\": false,\n        \"apAdv80211MediaTypes\": [],\n        \"dhcpConnect\": [],\n        \"dns\": [\n            {\n                \"dnsColor\": \"green\",\n                \"dnsIp\": \"192.168.1.100\",\n                \"dnsConnect\": [\n                    2,\n                    1,\n                    2\n                ]\n            },\n            {\n                \"dnsColor\": \"green\",\n                \"dnsIp\": \"129.196.210.33\",\n                \"dnsConnect\": [\n                    20,\n                    15,\n                    15\n                ]\n            }\n        ],\n        \"routerConnect\": [\n            2,\n            1,\n            2\n        ],\n        \"www\": [\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.16.200.100\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    84,\n                    89,\n                    73\n                ]\n            },\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.16.200.101\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    84,\n                    89,\n                    73\n                ]\n            },\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.16.200.200\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    84,\n                    89,\n                    73\n                ]\n            },\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.16.200.100\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    84,\n                    89,\n                    73\n                ]\n            },\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.16.200.100\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    84,\n                    89,\n                    73\n                ]\n            }\n        ],\n        \"organizationId\": \"099fb3d4-53c0-4933-af1f-379dda8fc3eb\",\n        \"unit_id\": \"5c3e42b2855d88145d505a3a\",\n        \"unit_name\": \"Unit 1\",\n        \"unit_mac\": \"BEEB04-YYYYYY\",\n        \"unit_type\": \"LinkRunnerAT\",\n        \"unit_ipAddress\": \"192.168.1.2\",\n        \"unit_publicIpAddress\": \"::1\",\n        \"created_at\": \"2019-01-15T20:29:38.433Z\",\n        \"updated_at\": \"2019-01-15T20:29:38.434Z\",\n        \"profileName\": \"profile\",\n        \"ipv6_enabled\": true,\n        \"poeColor\": \"green\",\n        \"poePresent\": true,\n        \"poeReqClass\": 4,\n        \"poeReqPower\": 25.5,\n        \"poeLldp\": true,\n        \"poePseType\": \"Type1\",\n        \"poeRcvdClass\": 4,\n        \"poeRcvdPower\": 19,\n        \"poeNegotiation\": \"LLDP\",\n        \"poePair\": [\n            \"3,6\",\n            \"1,2\"\n        ],\n        \"poeUnloadedVolts\": 47,\n        \"poeLoadedVolts\": 56,\n        \"linkColor\": \"green\",\n        \"linkRxPair\": \"3,6\",\n        \"linkAdvSpeed\": \"10/100/1000\",\n        \"linkAdvDuplex\": \"HDx/FDx\",\n        \"linkActSpeed\": 100,\n        \"linkActDuplex\": \"FDx\",\n        \"linkPolarity\": \"normal\",\n        \"linkOptical\": true,\n        \"switchType\": \"LLDP\",\n        \"switchName\": \"Core-Switch02.dhr.com\",\n        \"switchPort\": \"GigabitEthernet1/0/47\",\n        \"switchModel\": \"ciscoWS-C2960S-48TS-L\",\n        \"switchIpOrMac\": \"172.31.163.10\",\n        \"switchVlan\": 21,\n        \"switchVVlan\": 5,\n        \"ipConfigColor\": \"green\",\n        \"ipConfigIp\": \"192.168.1.2\",\n        \"ipConfigServer\": \"193.211.132.127\",\n        \"ipConfigDuplicated\": false,\n        \"ipConfigSub\": \"255.255.254.0\",\n        \"linkLocalColor\": \"green\",\n        \"linkLocalIp\": \"fe80::2c0:17ff:feb6:abcd\",\n        \"linkGlobalColor\": \"green\",\n        \"linkGlobalIp\": \"2001::2c0:17ff:feb6:abcd\",\n        \"routerColor\": \"green\",\n        \"routerIp\": \"172.16.1.1\",\n        \"dhcpColor\": \"green\",\n        \"dhcpIp\": \"192.168.1.100\",\n        \"dnsColor\": \"green\",\n        \"wwwColor\": \"green\",\n        \"overallColor\": \"green\",\n        \"__v\": 0,\n        \"meta\": {\n            \"date\": \"Jan 15, 2019\",\n            \"time\": \"8:29 PM\",\n            \"sessionSummary\": true,\n            \"isSession\": false,\n            \"isEthernet\": true,\n            \"isWireless\": false,\n            \"iconName\": \"linkrunnerat\",\n            \"iconTilt\": true,\n            \"iconSize\": \"32px\",\n            \"resultIdentifier\": \"Core-Switch02.dhr.com\",\n            \"folder\": \"/Americas\",\n            \"labels\": \"\",\n            \"hasReports\": false,\n            \"hasImages\": false\n        },\n        \"dns1Color\": \"green\",\n        \"dns1Ip\": \"192.168.1.100\",\n        \"dns1Connect\": [\n            2,\n            1,\n            2\n        ],\n        \"dns2Color\": \"green\",\n        \"dns2Ip\": \"129.196.210.33\",\n        \"dns2Connect\": [\n            20,\n            15,\n            15\n        ],\n        \"wwwPingOverall\": \"green\",\n        \"wwwPerfOverall\": \"green\",\n        \"wwwFileOverall\": \"green\"\n    },\n    ...\n]"}],"_postman_id":"70500f9d-533b-4304-ab9f-6f72e29ebeeb"},{"name":"List With Uploaded At Range","event":[{"listen":"test","script":{"id":"eb06c617-0c1e-4e45-88bd-728521a22ce3","exec":["try {","tests[\"Status code is 200\"] = responseCode.code === 200;","","var version = postman.getResponseHeader(\"Link-Live-Version\");","tests[\"Response header includes version\"] = version;","tests[\"Version (\"+version+\") has major, minor, patch\"] = (version.split('.').length >= 3);","","var results = JSON.parse(responseBody);","tests[\"Response has a list of at least 2 results\"] = (results instanceof Array) && (results.length >= 2);","","var resultsByUpdated = results;","resultsByUpdated.sort(function(a,b) { return new Date(a.updated_at) - new Date(b.updated_at); });","tests[\"DEBUG: Result updated_ats: \" + _.map(resultsByUpdated, 'updated_at').join(', ')] = true;","var result = resultsByUpdated[1];","postman.setEnvironmentVariable(\"RESULT_ID\", result._id);","postman.setEnvironmentVariable(\"RESULT_NAME\", result.name);","postman.setEnvironmentVariable(\"RESULT_CREATED\", result.created_at);","postman.setEnvironmentVariable(\"RESULT_UPDATED\", new Date(new Date(result.updated_at) - 1).toISOString());","","var knownUnitTypes = ['onetouchat', 'linksprinter', 'linkrunnerat', 'aircheckg2', 'iperf', 'linkrunnerg2'];","knownUnitTypes = knownUnitTypes.concat(knownUnitTypes.map(function(x) { return x + 's'; }));","","var iconNames = _.map(_.map(resultsByUpdated, 'meta'),'iconName');","var unknownIcons = _.difference(iconNames, knownUnitTypes);","tests[\"DEBUG: Result known types: \" + knownUnitTypes.join(', ')] = true;","tests[\"DEBUG: Result unknown iconName: \" + unknownIcons.join(', ')] = true;","tests[\"Results have 'meta' info about which icon to use\"] = _.isEmpty(unknownIcons);","","tests[\"V1 Linksprinter result is there\"] = !!_.find(results, {unit_mac: postman.getEnvironmentVariable('MAC_V1_LS')});","","tests[\"At least one result has 'meta' info about badgeColor\"] = _.reduce(results, function(found, result) { return found || _.has(result.meta, 'badgeColor'); }, false)","tests[\"At least one result has 'meta' info about which being a session\"] = _.reduce(results, function(found, result) { return found || result.meta.isSession; }, false)","","} catch(e) { tests[e.message] = false; }",""],"type":"text/javascript"}}],"id":"0a5f534b-ba58-4d01-acd7-0d362e576be8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/results?uploadedAt={\"start\": \"<START_ISO_DATE>\",\"end\":\"<END_ISO_DATE>\"}","description":"<p>&lt;Released 2024-05-18&gt;</p>\n<p>This request gets a list in a time range for uploadedAt.  Start or End is optional.</p>\n","urlObject":{"protocol":"https","path":["v1","admin","results"],"host":["link-live","com"],"query":[{"key":"uploadedAt","value":"{\"start\": \"<START_ISO_DATE>\",\"end\":\"<END_ISO_DATE>\"}"}],"variable":[]}},"response":[{"id":"0865686a-dd25-41f7-a47d-a81b6aede1d9","name":"List With Uploaded At Range","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":{"raw":"https://link-live.com/v1/admin/results?uploadAt={\"start\": \"2023-05-01T00:00:00-06:00\",\"end\":\"2023-06-02T06:00:00.000Z\"}","protocol":"https","host":["link-live","com"],"path":["v1","admin","results"],"query":[{"key":"uploadAt","value":"{\"start\": \"2023-05-01T00:00:00-06:00\",\"end\":\"2023-06-02T06:00:00.000Z\"}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Cowboy"},{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"3.5.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"ETag","value":"W/\"256f-K6f93Wv6qQk1gbHPfWesrQ\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Fri, 18 Jan 2019 15:43:28 GMT"},{"key":"Via","value":"1.1 vegur, 1.1 bfd7406fdd888e34dfca79886cb7c964.cloudfront.net (CloudFront)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"2dp5Z8Ey8g8AnP_cGoGVOVVO9UhVfKdC_T9joauMwPD3dODkLzd0RQ=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"5a303db0467da614009b9631\",\n        \"switchName\": \"sr-cos-us-1.netscout.com\",\n        \"routerIp\": \"129.196.196.1\",\n        \"apAdv80211MediaTypes\": [],\n        \"indexInSession\": 0,\n        \"linkActDuplex\": \"FDx\",\n        \"switchPort\": \"GigabitEthernet1/0/38\",\n        \"dns\": [\n            {\n                \"_id\": \"5a303db0467da614009b9634\",\n                \"dnsConnect\": [],\n                \"dnsColor\": \"green\",\n                \"dnsIp\": \"10.200.72.19\"\n            },\n            {\n                \"dnsConnect\": [],\n                \"dnsColor\": \"green\",\n                \"dnsIp\": \"10.200.72.20\",\n                \"_id\": \"5a303db0467da614009b9633\"\n            }\n        ],\n        \"__v\": 0,\n        \"www\": [\n            {\n                \"wwwType\": \"PING\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.217.1.196\",\n                \"_id\": \"5a303db0467da614009b9632\",\n                \"wwwConnect\": [\n                    4,\n                    5,\n                    3\n                ],\n                \"wwwColor\": \"green\"\n            }\n        ],\n        \"created_at\": \"2023-05-01T00:00:00-06:00\",\n        \"unit_id\": \"59d7c24b174b211200160e55\",\n        \"wwwColor\": \"green\",\n        \"dhcpConnect\": [],\n        \"tag\": \"\",\n        \"organizationId\": \"1RskdB2Wag4Jp2dnYpFZBn\",\n        \"switchVlan\": 73,\n        \"ipConfigServer\": \"10.200.72.12\",\n        \"cached\": false,\n        \"unit_publicIpAddress\": \"***.***.***.***\",\n        \"poeColor\": \"green\",\n        \"linkActSpeed\": 1000,\n        \"unit_type\": \"AirCheckG2\",\n        \"ipConfigColor\": \"green\",\n        \"dhcpIp\": \"10.200.72.12\",\n        \"updated_at\": \"2023-05-01T00:00:00-06:00\",\n        \"unit_firmwareVersion\": \"1.1.1.1419\",\n        \"poeVolts\": 55,\n        \"ipConfigIp\": \"129.196.196.102\",\n        \"unit_mac\": \"00C017-NNNNNN\",\n        \"linkColor\": \"green\",\n        \"linkOptical\": false,\n        \"switchModel\": \"cisco WS-C3850-48P\",\n        \"resultType\": \"ethernet\",\n        \"ipConfigSub\": \"255.255.254.0\",\n        \"dnsColor\": \"green\",\n        \"overallColor\": \"green\",\n        \"emailNotificationSent\": true,\n        \"unit_name\": \"Unit n\",\n        \"profileName\": \"\",\n        \"ipConfigDuplicated\": false,\n        \"unit_ipAddress\": \"129.196.196.102\",\n        \"dhcpColor\": \"green\",\n        \"linkAdvDuplex\": \"FDx\",\n        \"routerColor\": \"green\",\n        \"attachments\": [],\n        \"sessionDuration\": 86400000,\n        \"poePresent\": true,\n        \"linkAdvSpeed\": \"1000\",\n        \"estimatedTestInterval\": 440000,\n        \"switchIpOrMac\": \"129.196.196.1\",\n        \"routerConnect\": [\n            10,\n            2,\n            2\n        ],\n        \"minimumTestInterval\": 600000,\n        \"meta\": {\n            \"date\": \"Dec 12, 2017\",\n            \"time\": \"1:36 PM\",\n            \"sessionSummary\": true,\n            \"isSession\": false,\n            \"isEthernet\": true,\n            \"isWireless\": false,\n            \"iconName\": \"aircheckg2\",\n            \"iconTilt\": true,\n            \"iconSize\": \"32px\",\n            \"resultIdentifier\": \"sr-cos-us-1.netscout.com\",\n            \"labels\": \"\",\n            \"hasReports\": false,\n            \"hasImages\": false\n        },\n        \"dns1Connect\": [],\n        \"dns1Color\": \"green\",\n        \"dns1Ip\": \"10.200.72.19\",\n        \"dns2Connect\": [],\n        \"dns2Color\": \"green\",\n        \"dns2Ip\": \"10.200.72.20\",\n        \"wwwPingOverall\": \"green\",\n        \"wwwPerfOverall\": \"green\",\n        \"wwwFileOverall\": \"green\"\n    },\n\t...(4x)\n]"}],"_postman_id":"0a5f534b-ba58-4d01-acd7-0d362e576be8"},{"name":"Add Label to Result","event":[{"listen":"test","script":{"id":"ddcd1eb6-9b38-4136-980a-3faf2e3483ae","exec":["try {","tests[\"Status code is 200\"] = responseCode.code === 200;","","var version = postman.getResponseHeader(\"Link-Live-Version\");","tests[\"Response header includes version\"] = version;","tests[\"Version (\"+version+\") has major, minor, patch\"] = (version.split('.').length >= 3);","","var results = JSON.parse(responseBody);","tests[\"Response has a list of at least 2 results\"] = (results instanceof Array) && (results.length >= 2);","","var resultsByUpdated = results;","resultsByUpdated.sort(function(a,b) { return new Date(a.updated_at) - new Date(b.updated_at); });","tests[\"DEBUG: Result updated_ats: \" + _.map(resultsByUpdated, 'updated_at').join(', ')] = true;","var result = resultsByUpdated[1];","postman.setEnvironmentVariable(\"RESULT_ID\", result._id);","postman.setEnvironmentVariable(\"RESULT_NAME\", result.name);","postman.setEnvironmentVariable(\"RESULT_CREATED\", result.created_at);","postman.setEnvironmentVariable(\"RESULT_UPDATED\", new Date(new Date(result.updated_at) - 1).toISOString());","","var knownUnitTypes = ['onetouchat', 'linksprinter', 'linkrunnerat', 'aircheckg2', 'iperf', 'linkrunnerg2'];","knownUnitTypes = knownUnitTypes.concat(knownUnitTypes.map(function(x) { return x + 's'; }));","","var iconNames = _.map(_.map(resultsByUpdated, 'meta'),'iconName');","var unknownIcons = _.difference(iconNames, knownUnitTypes);","tests[\"DEBUG: Result known types: \" + knownUnitTypes.join(', ')] = true;","tests[\"DEBUG: Result unknown iconName: \" + unknownIcons.join(', ')] = true;","tests[\"Results have 'meta' info about which icon to use\"] = _.isEmpty(unknownIcons);","","tests[\"V1 Linksprinter result is there\"] = !!_.find(results, {unit_mac: postman.getEnvironmentVariable('MAC_V1_LS')});","","tests[\"At least one result has 'meta' info about badgeColor\"] = _.reduce(results, function(found, result) { return found || _.has(result.meta, 'badgeColor'); }, false)","tests[\"At least one result has 'meta' info about which being a session\"] = _.reduce(results, function(found, result) { return found || result.meta.isSession; }, false)","","} catch(e) { tests[e.message] = false; }",""],"type":"text/javascript"}}],"id":"fb06ec1c-2303-4ed0-8aad-3055ded7c833","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"body":{"mode":"raw","raw":"{\n\t\"labels\": \"New Label\"\n}"},"url":"https://link-live.com/v1/admin/results/autocomplete/label?query={\"_id\": \"<RESULT_ID>\"}","urlObject":{"protocol":"https","path":["v1","admin","results","autocomplete","label"],"host":["link-live","com"],"query":[{"key":"query","value":"{\"_id\": \"<RESULT_ID>\"}"}],"variable":[]}},"response":[{"id":"ac5979e7-ee0e-457a-bdca-0546e9a1c4f0","name":"Add Label","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"body":{"mode":"raw","raw":"{\n\t\"labels\": \"New Label\"\n}"},"url":{"raw":"https://link-live.com/v1/admin/results/autocomplete/label?query={\"_id\" : \"<result_id>\"}","protocol":"https","host":["link-live","com"],"path":["v1","admin","results","autocomplete","label"],"query":[{"key":"query","value":"{\"_id\" : \"<result_id>\"}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"4.0.0-dev.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"28975"},{"key":"ETag","value":"W/\"712f-kB2JG+gfabzgTuQ051q4Cg\""},{"key":"Date","value":"Thu, 17 Jan 2019 21:23:44 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\"n\":<somenumber>}"}],"_postman_id":"fb06ec1c-2303-4ed0-8aad-3055ded7c833"},{"name":"Remove Label from Result","event":[{"listen":"test","script":{"id":"ddcd1eb6-9b38-4136-980a-3faf2e3483ae","exec":["try {","tests[\"Status code is 200\"] = responseCode.code === 200;","","var version = postman.getResponseHeader(\"Link-Live-Version\");","tests[\"Response header includes version\"] = version;","tests[\"Version (\"+version+\") has major, minor, patch\"] = (version.split('.').length >= 3);","","var results = JSON.parse(responseBody);","tests[\"Response has a list of at least 2 results\"] = (results instanceof Array) && (results.length >= 2);","","var resultsByUpdated = results;","resultsByUpdated.sort(function(a,b) { return new Date(a.updated_at) - new Date(b.updated_at); });","tests[\"DEBUG: Result updated_ats: \" + _.map(resultsByUpdated, 'updated_at').join(', ')] = true;","var result = resultsByUpdated[1];","postman.setEnvironmentVariable(\"RESULT_ID\", result._id);","postman.setEnvironmentVariable(\"RESULT_NAME\", result.name);","postman.setEnvironmentVariable(\"RESULT_CREATED\", result.created_at);","postman.setEnvironmentVariable(\"RESULT_UPDATED\", new Date(new Date(result.updated_at) - 1).toISOString());","","var knownUnitTypes = ['onetouchat', 'linksprinter', 'linkrunnerat', 'aircheckg2', 'iperf', 'linkrunnerg2'];","knownUnitTypes = knownUnitTypes.concat(knownUnitTypes.map(function(x) { return x + 's'; }));","","var iconNames = _.map(_.map(resultsByUpdated, 'meta'),'iconName');","var unknownIcons = _.difference(iconNames, knownUnitTypes);","tests[\"DEBUG: Result known types: \" + knownUnitTypes.join(', ')] = true;","tests[\"DEBUG: Result unknown iconName: \" + unknownIcons.join(', ')] = true;","tests[\"Results have 'meta' info about which icon to use\"] = _.isEmpty(unknownIcons);","","tests[\"V1 Linksprinter result is there\"] = !!_.find(results, {unit_mac: postman.getEnvironmentVariable('MAC_V1_LS')});","","tests[\"At least one result has 'meta' info about badgeColor\"] = _.reduce(results, function(found, result) { return found || _.has(result.meta, 'badgeColor'); }, false)","tests[\"At least one result has 'meta' info about which being a session\"] = _.reduce(results, function(found, result) { return found || result.meta.isSession; }, false)","","} catch(e) { tests[e.message] = false; }",""],"type":"text/javascript"}}],"id":"c4bf12a6-9ab3-47a6-b92c-0a14c2151118","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"body":{"mode":"raw","raw":"{\n\t\"labels\": \"New Label\"\n}"},"url":"https://link-live.com/v1/admin/results?query={\"_id\": \"<result._id\">}","urlObject":{"protocol":"https","path":["v1","admin","results"],"host":["link-live","com"],"query":[{"key":"query","value":"{\"_id\": \"<result._id\">}"}],"variable":[]}},"response":[{"id":"94e4e0b4-f6a4-4139-a034-a8024465cb49","name":"Remove Call","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"body":{"mode":"raw","raw":"{\n\t\"labels\": \"New Label\"\n}"},"url":{"raw":"https://link-live.com/v1/admin/results?query={\"_id\": \"<result._id\">}","protocol":"https","host":["link-live","com"],"path":["v1","admin","results"],"query":[{"key":"query","value":"{\"_id\": \"<result._id\">}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"4.0.0-dev.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"28975"},{"key":"ETag","value":"W/\"712f-kB2JG+gfabzgTuQ051q4Cg\""},{"key":"Date","value":"Thu, 17 Jan 2019 21:23:44 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\"ok\":1,\"nModified\":1,\"n\":1}"}],"_postman_id":"c4bf12a6-9ab3-47a6-b92c-0a14c2151118"},{"name":"List With Limit and Offset","event":[{"listen":"test","script":{"id":"ddcd1eb6-9b38-4136-980a-3faf2e3483ae","exec":["try {","tests[\"Status code is 200\"] = responseCode.code === 200;","","var version = postman.getResponseHeader(\"Link-Live-Version\");","tests[\"Response header includes version\"] = version;","tests[\"Version (\"+version+\") has major, minor, patch\"] = (version.split('.').length >= 3);","","var results = JSON.parse(responseBody);","tests[\"Response has a list of at least 2 results\"] = (results instanceof Array) && (results.length >= 2);","","var resultsByUpdated = results;","resultsByUpdated.sort(function(a,b) { return new Date(a.updated_at) - new Date(b.updated_at); });","tests[\"DEBUG: Result updated_ats: \" + _.map(resultsByUpdated, 'updated_at').join(', ')] = true;","var result = resultsByUpdated[1];","postman.setEnvironmentVariable(\"RESULT_ID\", result._id);","postman.setEnvironmentVariable(\"RESULT_NAME\", result.name);","postman.setEnvironmentVariable(\"RESULT_CREATED\", result.created_at);","postman.setEnvironmentVariable(\"RESULT_UPDATED\", new Date(new Date(result.updated_at) - 1).toISOString());","","var knownUnitTypes = ['onetouchat', 'linksprinter', 'linkrunnerat', 'aircheckg2', 'iperf', 'linkrunnerg2'];","knownUnitTypes = knownUnitTypes.concat(knownUnitTypes.map(function(x) { return x + 's'; }));","","var iconNames = _.map(_.map(resultsByUpdated, 'meta'),'iconName');","var unknownIcons = _.difference(iconNames, knownUnitTypes);","tests[\"DEBUG: Result known types: \" + knownUnitTypes.join(', ')] = true;","tests[\"DEBUG: Result unknown iconName: \" + unknownIcons.join(', ')] = true;","tests[\"Results have 'meta' info about which icon to use\"] = _.isEmpty(unknownIcons);","","tests[\"V1 Linksprinter result is there\"] = !!_.find(results, {unit_mac: postman.getEnvironmentVariable('MAC_V1_LS')});","","tests[\"At least one result has 'meta' info about badgeColor\"] = _.reduce(results, function(found, result) { return found || _.has(result.meta, 'badgeColor'); }, false)","tests[\"At least one result has 'meta' info about which being a session\"] = _.reduce(results, function(found, result) { return found || result.meta.isSession; }, false)","","} catch(e) { tests[e.message] = false; }",""],"type":"text/javascript"}}],"id":"1679d763-f11d-4b9e-8e62-16601b710fcd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/results?offset=100&limit=5","description":"<p>This request gets a list of results with a offset and a limit.</p>\n","urlObject":{"protocol":"https","path":["v1","admin","results"],"host":["link-live","com"],"query":[{"key":"offset","value":"100"},{"key":"limit","value":"5"}],"variable":[]}},"response":[{"id":"d4a0a4de-c002-476e-8e61-dfb1cd804637","name":"List With Limit and Offset","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":{"raw":"https://link-live.com/v1/admin/results?offset=100&limit=5","protocol":"https","host":["link-live","com"],"path":["v1","admin","results"],"query":[{"key":"offset","value":"100"},{"key":"limit","value":"5"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Cowboy"},{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"3.5.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"ETag","value":"W/\"256f-K6f93Wv6qQk1gbHPfWesrQ\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Fri, 18 Jan 2019 15:43:28 GMT"},{"key":"Via","value":"1.1 vegur, 1.1 bfd7406fdd888e34dfca79886cb7c964.cloudfront.net (CloudFront)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"2dp5Z8Ey8g8AnP_cGoGVOVVO9UhVfKdC_T9joauMwPD3dODkLzd0RQ=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"5a303db0467da614009b9631\",\n        \"switchName\": \"sr-cos-us-1.netscout.com\",\n        \"routerIp\": \"129.196.196.1\",\n        \"apAdv80211MediaTypes\": [],\n        \"indexInSession\": 0,\n        \"linkActDuplex\": \"FDx\",\n        \"switchPort\": \"GigabitEthernet1/0/38\",\n        \"dns\": [\n            {\n                \"_id\": \"5a303db0467da614009b9634\",\n                \"dnsConnect\": [],\n                \"dnsColor\": \"green\",\n                \"dnsIp\": \"10.200.72.19\"\n            },\n            {\n                \"dnsConnect\": [],\n                \"dnsColor\": \"green\",\n                \"dnsIp\": \"10.200.72.20\",\n                \"_id\": \"5a303db0467da614009b9633\"\n            }\n        ],\n        \"__v\": 0,\n        \"www\": [\n            {\n                \"wwwType\": \"PING\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.217.1.196\",\n                \"_id\": \"5a303db0467da614009b9632\",\n                \"wwwConnect\": [\n                    4,\n                    5,\n                    3\n                ],\n                \"wwwColor\": \"green\"\n            }\n        ],\n        \"created_at\": \"2017-12-12T20:36:00.266Z\",\n        \"unit_id\": \"59d7c24b174b211200160e55\",\n        \"wwwColor\": \"green\",\n        \"dhcpConnect\": [],\n        \"tag\": \"\",\n        \"organizationId\": \"1RskdB2Wag4Jp2dnYpFZBn\",\n        \"switchVlan\": 73,\n        \"ipConfigServer\": \"10.200.72.12\",\n        \"cached\": false,\n        \"unit_publicIpAddress\": \"***.***.***.***\",\n        \"poeColor\": \"green\",\n        \"linkActSpeed\": 1000,\n        \"unit_type\": \"AirCheckG2\",\n        \"ipConfigColor\": \"green\",\n        \"dhcpIp\": \"10.200.72.12\",\n        \"updated_at\": \"2017-12-12T20:36:00.266Z\",\n        \"unit_firmwareVersion\": \"1.1.1.1419\",\n        \"poeVolts\": 55,\n        \"ipConfigIp\": \"129.196.196.102\",\n        \"unit_mac\": \"00C017-NNNNNN\",\n        \"linkColor\": \"green\",\n        \"linkOptical\": false,\n        \"switchModel\": \"cisco WS-C3850-48P\",\n        \"resultType\": \"ethernet\",\n        \"ipConfigSub\": \"255.255.254.0\",\n        \"dnsColor\": \"green\",\n        \"overallColor\": \"green\",\n        \"emailNotificationSent\": true,\n        \"unit_name\": \"Unit n\",\n        \"profileName\": \"\",\n        \"ipConfigDuplicated\": false,\n        \"unit_ipAddress\": \"129.196.196.102\",\n        \"dhcpColor\": \"green\",\n        \"linkAdvDuplex\": \"FDx\",\n        \"routerColor\": \"green\",\n        \"attachments\": [],\n        \"sessionDuration\": 86400000,\n        \"poePresent\": true,\n        \"linkAdvSpeed\": \"1000\",\n        \"estimatedTestInterval\": 440000,\n        \"switchIpOrMac\": \"129.196.196.1\",\n        \"routerConnect\": [\n            10,\n            2,\n            2\n        ],\n        \"minimumTestInterval\": 600000,\n        \"meta\": {\n            \"date\": \"Dec 12, 2017\",\n            \"time\": \"1:36 PM\",\n            \"sessionSummary\": true,\n            \"isSession\": false,\n            \"isEthernet\": true,\n            \"isWireless\": false,\n            \"iconName\": \"aircheckg2\",\n            \"iconTilt\": true,\n            \"iconSize\": \"32px\",\n            \"resultIdentifier\": \"sr-cos-us-1.netscout.com\",\n            \"labels\": \"\",\n            \"hasReports\": false,\n            \"hasImages\": false\n        },\n        \"dns1Connect\": [],\n        \"dns1Color\": \"green\",\n        \"dns1Ip\": \"10.200.72.19\",\n        \"dns2Connect\": [],\n        \"dns2Color\": \"green\",\n        \"dns2Ip\": \"10.200.72.20\",\n        \"wwwPingOverall\": \"green\",\n        \"wwwPerfOverall\": \"green\",\n        \"wwwFileOverall\": \"green\"\n    },\n\t...(4x)\n]"}],"_postman_id":"1679d763-f11d-4b9e-8e62-16601b710fcd"},{"name":"List With Time Range","event":[{"listen":"test","script":{"id":"16404ce7-efb6-4478-bc53-5777a69cc2bd","exec":["try {","tests[\"Status code is 200\"] = responseCode.code === 200;","","var version = postman.getResponseHeader(\"Link-Live-Version\");","tests[\"Response header includes version\"] = version;","tests[\"Version (\"+version+\") has major, minor, patch\"] = (version.split('.').length >= 3);","","var results = JSON.parse(responseBody);","tests[\"Response has a list of at least 2 results\"] = (results instanceof Array) && (results.length >= 2);","","var resultsByUpdated = results;","resultsByUpdated.sort(function(a,b) { return new Date(a.updated_at) - new Date(b.updated_at); });","tests[\"DEBUG: Result updated_ats: \" + _.map(resultsByUpdated, 'updated_at').join(', ')] = true;","var result = resultsByUpdated[1];","postman.setEnvironmentVariable(\"RESULT_ID\", result._id);","postman.setEnvironmentVariable(\"RESULT_NAME\", result.name);","postman.setEnvironmentVariable(\"RESULT_CREATED\", result.created_at);","postman.setEnvironmentVariable(\"RESULT_UPDATED\", new Date(new Date(result.updated_at) - 1).toISOString());","","var knownUnitTypes = ['onetouchat', 'linksprinter', 'linkrunnerat', 'aircheckg2', 'iperf', 'linkrunnerg2'];","knownUnitTypes = knownUnitTypes.concat(knownUnitTypes.map(function(x) { return x + 's'; }));","","var iconNames = _.map(_.map(resultsByUpdated, 'meta'),'iconName');","var unknownIcons = _.difference(iconNames, knownUnitTypes);","tests[\"DEBUG: Result known types: \" + knownUnitTypes.join(', ')] = true;","tests[\"DEBUG: Result unknown iconName: \" + unknownIcons.join(', ')] = true;","tests[\"Results have 'meta' info about which icon to use\"] = _.isEmpty(unknownIcons);","","tests[\"V1 Linksprinter result is there\"] = !!_.find(results, {unit_mac: postman.getEnvironmentVariable('MAC_V1_LS')});","","tests[\"At least one result has 'meta' info about badgeColor\"] = _.reduce(results, function(found, result) { return found || _.has(result.meta, 'badgeColor'); }, false)","tests[\"At least one result has 'meta' info about which being a session\"] = _.reduce(results, function(found, result) { return found || result.meta.isSession; }, false)","","} catch(e) { tests[e.message] = false; }",""],"type":"text/javascript"}}],"id":"04c2f45a-5ab1-4cc5-ac5a-3f91465e0a64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/results?timespan={\"start\": \"<START_ISO_DATE>\",\"end\":\"<END_ISO_DATE>\"}","description":"<p>This request gets a list of results created at within a timespan.  Start or End is optional.</p>\n","urlObject":{"protocol":"https","path":["v1","admin","results"],"host":["link-live","com"],"query":[{"key":"timespan","value":"{\"start\": \"<START_ISO_DATE>\",\"end\":\"<END_ISO_DATE>\"}"}],"variable":[]}},"response":[{"id":"de9f53da-9674-42ec-b293-44122b13d421","name":"List With Time Range","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":{"raw":"https://link-live.com/v1/admin/results?timespan={\"start\": \"2023-05-01T00:00:00-06:00\",\"end\":\"2023-06-02T06:00:00.000Z\"}","protocol":"https","host":["link-live","com"],"path":["v1","admin","results"],"query":[{"key":"timespan","value":"{\"start\": \"2023-05-01T00:00:00-06:00\",\"end\":\"2023-06-02T06:00:00.000Z\"}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Cowboy"},{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"3.5.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"ETag","value":"W/\"256f-K6f93Wv6qQk1gbHPfWesrQ\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Fri, 18 Jan 2019 15:43:28 GMT"},{"key":"Via","value":"1.1 vegur, 1.1 bfd7406fdd888e34dfca79886cb7c964.cloudfront.net (CloudFront)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"2dp5Z8Ey8g8AnP_cGoGVOVVO9UhVfKdC_T9joauMwPD3dODkLzd0RQ=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"5a303db0467da614009b9631\",\n        \"switchName\": \"sr-cos-us-1.netscout.com\",\n        \"routerIp\": \"129.196.196.1\",\n        \"apAdv80211MediaTypes\": [],\n        \"indexInSession\": 0,\n        \"linkActDuplex\": \"FDx\",\n        \"switchPort\": \"GigabitEthernet1/0/38\",\n        \"dns\": [\n            {\n                \"_id\": \"5a303db0467da614009b9634\",\n                \"dnsConnect\": [],\n                \"dnsColor\": \"green\",\n                \"dnsIp\": \"10.200.72.19\"\n            },\n            {\n                \"dnsConnect\": [],\n                \"dnsColor\": \"green\",\n                \"dnsIp\": \"10.200.72.20\",\n                \"_id\": \"5a303db0467da614009b9633\"\n            }\n        ],\n        \"__v\": 0,\n        \"www\": [\n            {\n                \"wwwType\": \"PING\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.217.1.196\",\n                \"_id\": \"5a303db0467da614009b9632\",\n                \"wwwConnect\": [\n                    4,\n                    5,\n                    3\n                ],\n                \"wwwColor\": \"green\"\n            }\n        ],\n        \"created_at\": \"2023-05-01T00:00:00-06:00\",\n        \"unit_id\": \"59d7c24b174b211200160e55\",\n        \"wwwColor\": \"green\",\n        \"dhcpConnect\": [],\n        \"tag\": \"\",\n        \"organizationId\": \"1RskdB2Wag4Jp2dnYpFZBn\",\n        \"switchVlan\": 73,\n        \"ipConfigServer\": \"10.200.72.12\",\n        \"cached\": false,\n        \"unit_publicIpAddress\": \"***.***.***.***\",\n        \"poeColor\": \"green\",\n        \"linkActSpeed\": 1000,\n        \"unit_type\": \"AirCheckG2\",\n        \"ipConfigColor\": \"green\",\n        \"dhcpIp\": \"10.200.72.12\",\n        \"updated_at\": \"2023-05-01T00:00:00-06:00\",\n        \"unit_firmwareVersion\": \"1.1.1.1419\",\n        \"poeVolts\": 55,\n        \"ipConfigIp\": \"129.196.196.102\",\n        \"unit_mac\": \"00C017-NNNNNN\",\n        \"linkColor\": \"green\",\n        \"linkOptical\": false,\n        \"switchModel\": \"cisco WS-C3850-48P\",\n        \"resultType\": \"ethernet\",\n        \"ipConfigSub\": \"255.255.254.0\",\n        \"dnsColor\": \"green\",\n        \"overallColor\": \"green\",\n        \"emailNotificationSent\": true,\n        \"unit_name\": \"Unit n\",\n        \"profileName\": \"\",\n        \"ipConfigDuplicated\": false,\n        \"unit_ipAddress\": \"129.196.196.102\",\n        \"dhcpColor\": \"green\",\n        \"linkAdvDuplex\": \"FDx\",\n        \"routerColor\": \"green\",\n        \"attachments\": [],\n        \"sessionDuration\": 86400000,\n        \"poePresent\": true,\n        \"linkAdvSpeed\": \"1000\",\n        \"estimatedTestInterval\": 440000,\n        \"switchIpOrMac\": \"129.196.196.1\",\n        \"routerConnect\": [\n            10,\n            2,\n            2\n        ],\n        \"minimumTestInterval\": 600000,\n        \"meta\": {\n            \"date\": \"Dec 12, 2017\",\n            \"time\": \"1:36 PM\",\n            \"sessionSummary\": true,\n            \"isSession\": false,\n            \"isEthernet\": true,\n            \"isWireless\": false,\n            \"iconName\": \"aircheckg2\",\n            \"iconTilt\": true,\n            \"iconSize\": \"32px\",\n            \"resultIdentifier\": \"sr-cos-us-1.netscout.com\",\n            \"labels\": \"\",\n            \"hasReports\": false,\n            \"hasImages\": false\n        },\n        \"dns1Connect\": [],\n        \"dns1Color\": \"green\",\n        \"dns1Ip\": \"10.200.72.19\",\n        \"dns2Connect\": [],\n        \"dns2Color\": \"green\",\n        \"dns2Ip\": \"10.200.72.20\",\n        \"wwwPingOverall\": \"green\",\n        \"wwwPerfOverall\": \"green\",\n        \"wwwFileOverall\": \"green\"\n    },\n\t...(4x)\n]"}],"_postman_id":"04c2f45a-5ab1-4cc5-ac5a-3f91465e0a64"},{"name":"List Filter on Unit","event":[{"listen":"test","script":{"id":"ddcd1eb6-9b38-4136-980a-3faf2e3483ae","exec":["try {","tests[\"Status code is 200\"] = responseCode.code === 200;","","var version = postman.getResponseHeader(\"Link-Live-Version\");","tests[\"Response header includes version\"] = version;","tests[\"Version (\"+version+\") has major, minor, patch\"] = (version.split('.').length >= 3);","","var results = JSON.parse(responseBody);","tests[\"Response has a list of at least 2 results\"] = (results instanceof Array) && (results.length >= 2);","","var resultsByUpdated = results;","resultsByUpdated.sort(function(a,b) { return new Date(a.updated_at) - new Date(b.updated_at); });","tests[\"DEBUG: Result updated_ats: \" + _.map(resultsByUpdated, 'updated_at').join(', ')] = true;","var result = resultsByUpdated[1];","postman.setEnvironmentVariable(\"RESULT_ID\", result._id);","postman.setEnvironmentVariable(\"RESULT_NAME\", result.name);","postman.setEnvironmentVariable(\"RESULT_CREATED\", result.created_at);","postman.setEnvironmentVariable(\"RESULT_UPDATED\", new Date(new Date(result.updated_at) - 1).toISOString());","","var knownUnitTypes = ['onetouchat', 'linksprinter', 'linkrunnerat', 'aircheckg2', 'iperf', 'linkrunnerg2'];","knownUnitTypes = knownUnitTypes.concat(knownUnitTypes.map(function(x) { return x + 's'; }));","","var iconNames = _.map(_.map(resultsByUpdated, 'meta'),'iconName');","var unknownIcons = _.difference(iconNames, knownUnitTypes);","tests[\"DEBUG: Result known types: \" + knownUnitTypes.join(', ')] = true;","tests[\"DEBUG: Result unknown iconName: \" + unknownIcons.join(', ')] = true;","tests[\"Results have 'meta' info about which icon to use\"] = _.isEmpty(unknownIcons);","","tests[\"V1 Linksprinter result is there\"] = !!_.find(results, {unit_mac: postman.getEnvironmentVariable('MAC_V1_LS')});","","tests[\"At least one result has 'meta' info about badgeColor\"] = _.reduce(results, function(found, result) { return found || _.has(result.meta, 'badgeColor'); }, false)","tests[\"At least one result has 'meta' info about which being a session\"] = _.reduce(results, function(found, result) { return found || result.meta.isSession; }, false)","","} catch(e) { tests[e.message] = false; }",""],"type":"text/javascript"}}],"id":"400afbb1-2b45-44c0-9e12-82d3facb723e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/results?query={\"unit_mac\": \"00C017-XXXXXX\"}","description":"<p>This request gets a list of results filtered down to a specific unit mac.</p>\n","urlObject":{"protocol":"https","path":["v1","admin","results"],"host":["link-live","com"],"query":[{"key":"query","value":"{\"unit_mac\": \"00C017-XXXXXX\"}"}],"variable":[]}},"response":[{"id":"13e02d90-21be-4e3e-86dd-0060ec0d3b92","name":"List Filter on Unit MAC","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":{"raw":"https://link-live.com/v1/admin/results?query={\"unit_mac\": \"00C017-XXXXXX\"}","protocol":"https","host":["link-live","com"],"path":["v1","admin","results"],"query":[{"key":"query","value":"{\"unit_mac\": \"00C017-XXXXXX\"}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Cowboy"},{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"3.5.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"ETag","value":"W/\"b18b-oMpBIml8658s0rmGeEkjUw\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Fri, 18 Jan 2019 15:51:26 GMT"},{"key":"Via","value":"1.1 vegur, 1.1 dd0eaa8a6bc87c77912af21b7f71df73.cloudfront.net (CloudFront)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"t7zYFB_d5N5sgLVREIFfbco42KI2fjAjbmwWfmmqCPDfe7UTnvkFIA=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"5beaeb814d90a40013e4adb0\",\n        \"unit_firmwareVersion\": \"2.03.02.0610\",\n        \"sessionDuration\": 86400000,\n        \"minimumTestInterval\": 600000,\n        \"estimatedTestInterval\": 440000,\n        \"resultType\": \"ethernet\",\n        \"labels\": [\n            \"test site one\",\n            \"/SouthPark\"\n        ],\n        \"attachments\": [],\n        \"cached\": false,\n        \"indexInSession\": 0,\n        \"emailNotificationSent\": false,\n        \"apAdv80211MediaTypes\": [],\n        \"dhcpConnect\": [],\n        \"dns\": [\n            {\n                \"dnsIp\": \"10.200.72.19\"\n            },\n            {\n                \"dnsIp\": \"10.200.72.20\"\n            }\n        ],\n        \"routerConnect\": [\n            172,\n            23,\n            142\n        ],\n        \"www\": [\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"dev-app.link-live.com\",\n                \"wwwIp\": \"143.204.29.37\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    39,\n                    5,\n                    50\n                ]\n            }\n        ],\n        \"organizationId\": \"1RskdB2Wag4Jp2dnYpFZBn\",\n        \"unit_id\": \"5963f632ee9f8a0400e4cbcd\",\n        \"unit_name\": \"Unit - 00C017-XXXXXX\",\n        \"unit_mac\": \"00C017-XXXXXX\",\n        \"unit_type\": \"LinkSprinter\",\n        \"unit_ipAddress\": \"129.196.196.240\",\n        \"unit_publicIpAddress\": \"***.***.***.***\",\n        \"created_at\": \"2018-11-13T15:19:28.991Z\",\n        \"updated_at\": \"2019-01-16T22:00:47.992Z\",\n        \"poeColor\": \"green\",\n        \"poePresent\": true,\n        \"poeVolts\": 47,\n        \"linkColor\": \"green\",\n        \"linkRxPair\": \"3,6\",\n        \"linkAdvSpeed\": \"10/100\",\n        \"linkAdvDuplex\": \"HDx/FDx\",\n        \"linkActSpeed\": 100,\n        \"linkActDuplex\": \"FDx\",\n        \"linkPolarity\": \"Normal\",\n        \"linkOptical\": false,\n        \"switchType\": \"LLDP\",\n        \"switchPort\": \"g4\",\n        \"switchModel\": \"no model\",\n        \"switchIpOrMac\": \"129.196.197.9\",\n        \"ipConfigColor\": \"green\",\n        \"ipConfigIp\": \"129.196.196.240\",\n        \"ipConfigServer\": \"10.200.72.12\",\n        \"ipConfigDuplicated\": false,\n        \"ipConfigSub\": \"255.255.254.0\",\n        \"routerColor\": \"green\",\n        \"routerIp\": \"129.196.196.1\",\n        \"dnsColor\": \"black\",\n        \"wwwColor\": \"green\",\n        \"overallColor\": \"green\",\n        \"__v\": 0,\n        \"meta\": {\n            \"date\": \"Nov 13, 2018\",\n            \"time\": \"8:19 AM\",\n            \"sessionSummary\": true,\n            \"isSession\": false,\n            \"isEthernet\": true,\n            \"isWireless\": false,\n            \"iconName\": \"linksprinter\",\n            \"iconTilt\": true,\n            \"iconSize\": \"32px\",\n            \"folder\": \"/SouthPark\",\n            \"labels\": \"test site one\",\n            \"hasReports\": false,\n            \"hasImages\": false\n        },\n        \"dns1Ip\": \"10.200.72.19\",\n        \"dns2Ip\": \"10.200.72.20\",\n        \"wwwPingOverall\": \"green\",\n        \"wwwPerfOverall\": \"green\",\n        \"wwwFileOverall\": \"green\"\n    },\n    {\n        \"_id\": \"5b0deab9c2e3130014a65ba8\",\n        \"unit_firmwareVersion\": \"2.03.02.0610\",\n        \"sessionDuration\": 86400000,\n        \"minimumTestInterval\": 600000,\n        \"estimatedTestInterval\": 440000,\n        \"resultType\": \"ethernet\",\n        \"labels\": [],\n        \"attachments\": [],\n        \"cached\": false,\n        \"indexInSession\": 0,\n        \"emailNotificationSent\": false,\n        \"apAdv80211MediaTypes\": [],\n        \"dhcpConnect\": [],\n        \"dns\": [\n            {\n                \"dnsIp\": \"10.200.72.19\"\n            },\n            {\n                \"dnsIp\": \"10.200.72.20\"\n            }\n        ],\n        \"routerConnect\": [\n            3,\n            4,\n            3\n        ],\n        \"www\": [\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"dev-app.link-live.com\",\n                \"wwwIp\": \"13.32.168.240\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    18,\n                    19,\n                    19\n                ]\n            }\n        ],\n        \"organizationId\": \"1RskdB2Wag4Jp2dnYpFZBn\",\n        \"unit_id\": \"5963f632ee9f8a0400e4cbcd\",\n        \"unit_name\": \"Unit - 00C017-XXXXXX\",\n        \"unit_mac\": \"00C017-XXXXXX\",\n        \"unit_type\": \"LinkSprinter\",\n        \"unit_ipAddress\": \"129.196.197.65\",\n        \"unit_publicIpAddress\": \"***.***.***.***\",\n        \"created_at\": \"2018-05-30T00:05:13.491Z\",\n        \"updated_at\": \"2018-05-30T00:05:13.491Z\",\n        \"poeColor\": \"green\",\n        \"poePresent\": true,\n        \"poeVolts\": 47,\n        \"linkColor\": \"green\",\n        \"linkRxPair\": \"3,6\",\n        \"linkAdvSpeed\": \"10/100\",\n        \"linkAdvDuplex\": \"HDx/FDx\",\n        \"linkActSpeed\": 100,\n        \"linkActDuplex\": \"FDx\",\n        \"linkPolarity\": \"Normal\",\n        \"linkOptical\": false,\n        \"switchType\": \"LLDP\",\n        \"switchPort\": \"g4\",\n        \"switchModel\": \"no model\",\n        \"switchIpOrMac\": \"129.196.197.9\",\n        \"ipConfigColor\": \"green\",\n        \"ipConfigIp\": \"129.196.197.65\",\n        \"ipConfigServer\": \"10.200.72.12\",\n        \"ipConfigDuplicated\": false,\n        \"ipConfigSub\": \"255.255.254.0\",\n        \"routerColor\": \"green\",\n        \"routerIp\": \"129.196.196.1\",\n        \"dnsColor\": \"black\",\n        \"wwwColor\": \"green\",\n        \"overallColor\": \"green\",\n        \"__v\": 0,\n        \"meta\": {\n            \"date\": \"May 29, 2018\",\n            \"time\": \"5:05 PM\",\n            \"sessionSummary\": true,\n            \"isSession\": false,\n            \"isEthernet\": true,\n            \"isWireless\": false,\n            \"iconName\": \"linksprinter\",\n            \"iconTilt\": true,\n            \"iconSize\": \"32px\",\n            \"labels\": \"\",\n            \"hasReports\": false,\n            \"hasImages\": false\n        },\n        \"dns1Ip\": \"10.200.72.19\",\n        \"dns2Ip\": \"10.200.72.20\",\n        \"wwwPingOverall\": \"green\",\n        \"wwwPerfOverall\": \"green\",\n        \"wwwFileOverall\": \"green\"\n    },\n\t...\n]"}],"_postman_id":"400afbb1-2b45-44c0-9e12-82d3facb723e"},{"name":"List Filter Text Search","event":[{"listen":"test","script":{"id":"ddcd1eb6-9b38-4136-980a-3faf2e3483ae","exec":["try {","tests[\"Status code is 200\"] = responseCode.code === 200;","","var version = postman.getResponseHeader(\"Link-Live-Version\");","tests[\"Response header includes version\"] = version;","tests[\"Version (\"+version+\") has major, minor, patch\"] = (version.split('.').length >= 3);","","var results = JSON.parse(responseBody);","tests[\"Response has a list of at least 2 results\"] = (results instanceof Array) && (results.length >= 2);","","var resultsByUpdated = results;","resultsByUpdated.sort(function(a,b) { return new Date(a.updated_at) - new Date(b.updated_at); });","tests[\"DEBUG: Result updated_ats: \" + _.map(resultsByUpdated, 'updated_at').join(', ')] = true;","var result = resultsByUpdated[1];","postman.setEnvironmentVariable(\"RESULT_ID\", result._id);","postman.setEnvironmentVariable(\"RESULT_NAME\", result.name);","postman.setEnvironmentVariable(\"RESULT_CREATED\", result.created_at);","postman.setEnvironmentVariable(\"RESULT_UPDATED\", new Date(new Date(result.updated_at) - 1).toISOString());","","var knownUnitTypes = ['onetouchat', 'linksprinter', 'linkrunnerat', 'aircheckg2', 'iperf', 'linkrunnerg2'];","knownUnitTypes = knownUnitTypes.concat(knownUnitTypes.map(function(x) { return x + 's'; }));","","var iconNames = _.map(_.map(resultsByUpdated, 'meta'),'iconName');","var unknownIcons = _.difference(iconNames, knownUnitTypes);","tests[\"DEBUG: Result known types: \" + knownUnitTypes.join(', ')] = true;","tests[\"DEBUG: Result unknown iconName: \" + unknownIcons.join(', ')] = true;","tests[\"Results have 'meta' info about which icon to use\"] = _.isEmpty(unknownIcons);","","tests[\"V1 Linksprinter result is there\"] = !!_.find(results, {unit_mac: postman.getEnvironmentVariable('MAC_V1_LS')});","","tests[\"At least one result has 'meta' info about badgeColor\"] = _.reduce(results, function(found, result) { return found || _.has(result.meta, 'badgeColor'); }, false)","tests[\"At least one result has 'meta' info about which being a session\"] = _.reduce(results, function(found, result) { return found || result.meta.isSession; }, false)","","} catch(e) { tests[e.message] = false; }",""],"type":"text/javascript"}}],"id":"4df9661e-dd29-43b9-a322-20d83197d1a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/results?search=string","description":"<p>This request gets a list of results filtered down based off a free text search.</p>\n","urlObject":{"protocol":"https","path":["v1","admin","results"],"host":["link-live","com"],"query":[{"key":"search","value":"string"}],"variable":[]}},"response":[{"id":"4b6d99a2-ea7b-48a4-a5a0-5890746526d1","name":"List Filter Text Search","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":{"raw":"https://link-live.com/v1/admin/results?search=string","protocol":"https","host":["link-live","com"],"path":["v1","admin","results"],"query":[{"key":"search","value":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Cowboy"},{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"3.5.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"ETag","value":"W/\"b18b-oMpBIml8658s0rmGeEkjUw\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Fri, 18 Jan 2019 15:51:26 GMT"},{"key":"Via","value":"1.1 vegur, 1.1 dd0eaa8a6bc87c77912af21b7f71df73.cloudfront.net (CloudFront)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"t7zYFB_d5N5sgLVREIFfbco42KI2fjAjbmwWfmmqCPDfe7UTnvkFIA=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"5c40f25a17aeba150f10abb2\",\n        \"unit_firmwareVersion\": \"1.23.18.0815\",\n        \"sessionDuration\": 86400000,\n        \"minimumTestInterval\": 600000,\n        \"estimatedTestInterval\": 440000,\n        \"resultType\": \"ethernet\",\n        \"labels\": [\"some string\"],\n        \"attachments\": [],\n        \"cached\": false,\n        \"indexInSession\": 0,\n        \"emailNotificationSent\": false,\n        \"apAdv80211MediaTypes\": [],\n        \"dhcpConnect\": [],\n        \"dns\": [\n            {\n                \"dnsIp\": \"10.200.72.19\"\n            },\n            {\n                \"dnsIp\": \"10.200.72.20\"\n            }\n        ],\n        \"routerConnect\": [\n            13,\n            32,\n            3\n        ],\n        \"www\": [\n            {\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"test.link-live.com\",\n                \"wwwIp\": \"143.204.29.115\",\n                \"wwwConnect\": [\n                    4,\n                    4,\n                    11\n                ],\n                \"wwwColor\": \"green\",\n                \"wwwPort\": 80\n            }\n        ],\n        \"unit_id\": \"5c40f25717aeba150f10abb0\",\n        \"organizationId\": \"099fb3d4-53c0-4933-af1f-379dda8fc3eb\",\n        \"unit_name\": \"Unit 0\",\n        \"unit_mac\": \"BEEB00-XXXXXX\",\n        \"unit_type\": \"LinkSprinter\",\n        \"unit_ipAddress\": \"129.196.197.24\",\n        \"unit_publicIpAddress\": \"::1\",\n        \"created_at\": \"2019-05-05T21:23:38.653Z\",\n        \"updated_at\": \"2019-05-05T21:23:38.653Z\",\n        \"poePresent\": false,\n        \"poeVolts\": 0,\n        \"poeColor\": \"black\",\n        \"linkRxPair\": \"All\",\n        \"linkAdvSpeed\": \"10/100/1000\",\n        \"linkAdvDuplex\": \"HDx/FDx\",\n        \"linkActSpeed\": 1000,\n        \"linkActDuplex\": \"FDx\",\n        \"linkPolarity\": \"Normal\",\n        \"linkColor\": \"green\",\n        \"ipConfigIp\": \"129.196.197.24\",\n        \"ipConfigServer\": \"10.200.72.12\",\n        \"ipConfigSub\": \"255.255.254.0\",\n        \"dnsColor\": \"black\",\n        \"ipConfigColor\": \"green\",\n        \"routerIp\": \"129.196.196.1\",\n        \"routerColor\": \"green\",\n        \"wwwColor\": \"green\",\n        \"overallColor\": \"green\",\n        \"__v\": 0,\n        \"meta\": {\n            \"date\": \"Jan 17, 2019\",\n            \"time\": \"9:23 PM\",\n            \"sessionSummary\": true,\n            \"isSession\": false,\n            \"isEthernet\": true,\n            \"isWireless\": false,\n            \"iconName\": \"linksprinter\",\n            \"iconTilt\": true,\n            \"iconSize\": \"32px\",\n            \"labels\": \"\",\n            \"hasReports\": false,\n            \"hasImages\": false\n        },\n        \"dns1Ip\": \"10.200.72.19\",\n        \"dns2Ip\": \"10.200.72.20\",\n        \"wwwPingOverall\": \"green\",\n        \"wwwPerfOverall\": \"green\",\n        \"wwwFileOverall\": \"green\"\n    },\n    {\n        \"_id\": \"5c3e42b2855d88145d505a3b\",\n        \"unit_firmwareVersion\": \"1.18.01.1203\",\n        \"sessionDuration\": 86400000,\n        \"minimumTestInterval\": 600000,\n        \"estimatedTestInterval\": 440000,\n        \"resultType\": \"ethernet\",\n        \"labels\": [\n            \"/Americas\",\n            \"some other string\"\n        ],\n        \"attachments\": [],\n        \"cached\": false,\n        \"indexInSession\": 0,\n        \"emailNotificationSent\": false,\n        \"apAdv80211MediaTypes\": [],\n        \"dhcpConnect\": [],\n        \"dns\": [\n            {\n                \"dnsColor\": \"green\",\n                \"dnsIp\": \"192.168.1.100\",\n                \"dnsConnect\": [\n                    2,\n                    1,\n                    2\n                ]\n            },\n            {\n                \"dnsColor\": \"green\",\n                \"dnsIp\": \"129.196.210.33\",\n                \"dnsConnect\": [\n                    20,\n                    15,\n                    15\n                ]\n            }\n        ],\n        \"routerConnect\": [\n            2,\n            1,\n            2\n        ],\n        \"www\": [\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.16.200.100\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    84,\n                    89,\n                    73\n                ]\n            },\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.16.200.101\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    84,\n                    89,\n                    73\n                ]\n            },\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.16.200.200\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    84,\n                    89,\n                    73\n                ]\n            },\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.16.200.100\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    84,\n                    89,\n                    73\n                ]\n            },\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"www.google.com\",\n                \"wwwIp\": \"172.16.200.100\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    84,\n                    89,\n                    73\n                ]\n            }\n        ],\n        \"organizationId\": \"099fb3d4-53c0-4933-af1f-379dda8fc3eb\",\n        \"unit_id\": \"5c3e42b2855d88145d505a3a\",\n        \"unit_name\": \"Unit 1\",\n        \"unit_mac\": \"BEEB04-YYYYYY\",\n        \"unit_type\": \"LinkRunnerAT\",\n        \"unit_ipAddress\": \"192.168.1.2\",\n        \"unit_publicIpAddress\": \"::1\",\n        \"created_at\": \"2019-05-05T20:29:38.433Z\",\n        \"updated_at\": \"2019-05-05T20:29:38.434Z\",\n        \"profileName\": \"profile\",\n        \"ipv6_enabled\": true,\n        \"poeColor\": \"green\",\n        \"poePresent\": true,\n        \"poeReqClass\": 4,\n        \"poeReqPower\": 25.5,\n        \"poeLldp\": true,\n        \"poePseType\": \"Type1\",\n        \"poeRcvdClass\": 4,\n        \"poeRcvdPower\": 19,\n        \"poeNegotiation\": \"LLDP\",\n        \"poePair\": [\n            \"3,6\",\n            \"1,2\"\n        ],\n        \"poeUnloadedVolts\": 47,\n        \"poeLoadedVolts\": 56,\n        \"linkColor\": \"green\",\n        \"linkRxPair\": \"3,6\",\n        \"linkAdvSpeed\": \"10/100/1000\",\n        \"linkAdvDuplex\": \"HDx/FDx\",\n        \"linkActSpeed\": 100,\n        \"linkActDuplex\": \"FDx\",\n        \"linkPolarity\": \"normal\",\n        \"linkOptical\": true,\n        \"switchType\": \"LLDP\",\n        \"switchName\": \"Core-Switch02.dhr.com\",\n        \"switchPort\": \"GigabitEthernet1/0/47\",\n        \"switchModel\": \"ciscoWS-C2960S-48TS-L\",\n        \"switchIpOrMac\": \"172.31.163.10\",\n        \"switchVlan\": 21,\n        \"switchVVlan\": 5,\n        \"ipConfigColor\": \"green\",\n        \"ipConfigIp\": \"192.168.1.2\",\n        \"ipConfigServer\": \"193.211.132.127\",\n        \"ipConfigDuplicated\": false,\n        \"ipConfigSub\": \"255.255.254.0\",\n        \"linkLocalColor\": \"green\",\n        \"linkLocalIp\": \"fe80::2c0:17ff:feb6:abcd\",\n        \"linkGlobalColor\": \"green\",\n        \"linkGlobalIp\": \"2001::2c0:17ff:feb6:abcd\",\n        \"routerColor\": \"green\",\n        \"routerIp\": \"172.16.1.1\",\n        \"dhcpColor\": \"green\",\n        \"dhcpIp\": \"192.168.1.100\",\n        \"dnsColor\": \"green\",\n        \"wwwColor\": \"green\",\n        \"overallColor\": \"green\",\n        \"__v\": 0,\n        \"meta\": {\n            \"date\": \"Jan 15, 2019\",\n            \"time\": \"8:29 PM\",\n            \"sessionSummary\": true,\n            \"isSession\": false,\n            \"isEthernet\": true,\n            \"isWireless\": false,\n            \"iconName\": \"linkrunnerat\",\n            \"iconTilt\": true,\n            \"iconSize\": \"32px\",\n            \"resultIdentifier\": \"Core-Switch02.dhr.com\",\n            \"folder\": \"/Americas\",\n            \"labels\": \"\",\n            \"hasReports\": false,\n            \"hasImages\": false\n        },\n        \"dns1Color\": \"green\",\n        \"dns1Ip\": \"192.168.1.100\",\n        \"dns1Connect\": [\n            2,\n            1,\n            2\n        ],\n        \"dns2Color\": \"green\",\n        \"dns2Ip\": \"129.196.210.33\",\n        \"dns2Connect\": [\n            20,\n            15,\n            15\n        ],\n        \"wwwPingOverall\": \"green\",\n        \"wwwPerfOverall\": \"green\",\n        \"wwwFileOverall\": \"green\"\n    },\n    ...\n]"}],"_postman_id":"4df9661e-dd29-43b9-a322-20d83197d1a6"},{"name":"List Filter on Unit","event":[{"listen":"test","script":{"id":"ddcd1eb6-9b38-4136-980a-3faf2e3483ae","exec":["try {","tests[\"Status code is 200\"] = responseCode.code === 200;","","var version = postman.getResponseHeader(\"Link-Live-Version\");","tests[\"Response header includes version\"] = version;","tests[\"Version (\"+version+\") has major, minor, patch\"] = (version.split('.').length >= 3);","","var results = JSON.parse(responseBody);","tests[\"Response has a list of at least 2 results\"] = (results instanceof Array) && (results.length >= 2);","","var resultsByUpdated = results;","resultsByUpdated.sort(function(a,b) { return new Date(a.updated_at) - new Date(b.updated_at); });","tests[\"DEBUG: Result updated_ats: \" + _.map(resultsByUpdated, 'updated_at').join(', ')] = true;","var result = resultsByUpdated[1];","postman.setEnvironmentVariable(\"RESULT_ID\", result._id);","postman.setEnvironmentVariable(\"RESULT_NAME\", result.name);","postman.setEnvironmentVariable(\"RESULT_CREATED\", result.created_at);","postman.setEnvironmentVariable(\"RESULT_UPDATED\", new Date(new Date(result.updated_at) - 1).toISOString());","","var knownUnitTypes = ['onetouchat', 'linksprinter', 'linkrunnerat', 'aircheckg2', 'iperf', 'linkrunnerg2'];","knownUnitTypes = knownUnitTypes.concat(knownUnitTypes.map(function(x) { return x + 's'; }));","","var iconNames = _.map(_.map(resultsByUpdated, 'meta'),'iconName');","var unknownIcons = _.difference(iconNames, knownUnitTypes);","tests[\"DEBUG: Result known types: \" + knownUnitTypes.join(', ')] = true;","tests[\"DEBUG: Result unknown iconName: \" + unknownIcons.join(', ')] = true;","tests[\"Results have 'meta' info about which icon to use\"] = _.isEmpty(unknownIcons);","","tests[\"V1 Linksprinter result is there\"] = !!_.find(results, {unit_mac: postman.getEnvironmentVariable('MAC_V1_LS')});","","tests[\"At least one result has 'meta' info about badgeColor\"] = _.reduce(results, function(found, result) { return found || _.has(result.meta, 'badgeColor'); }, false)","tests[\"At least one result has 'meta' info about which being a session\"] = _.reduce(results, function(found, result) { return found || result.meta.isSession; }, false)","","} catch(e) { tests[e.message] = false; }",""],"type":"text/javascript"}}],"id":"ed72d2bf-93df-4f1e-a494-1e6973de3a31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/results?query={\"unit_mac\": \"00C017-XXXXXX\"}","description":"<p>This request gets a list of results filtered down to a specific unit mac.</p>\n","urlObject":{"protocol":"https","path":["v1","admin","results"],"host":["link-live","com"],"query":[{"key":"query","value":"{\"unit_mac\": \"00C017-XXXXXX\"}"}],"variable":[]}},"response":[{"id":"90165d5c-8379-4937-94d9-c36ff5405228","name":"List Filter on Unit MAC","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":{"raw":"https://link-live.com/v1/admin/results?query={\"unit_mac\": \"00C017-XXXXXX\"}","protocol":"https","host":["link-live","com"],"path":["v1","admin","results"],"query":[{"key":"query","value":"{\"unit_mac\": \"00C017-XXXXXX\"}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Cowboy"},{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"3.5.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"ETag","value":"W/\"b18b-oMpBIml8658s0rmGeEkjUw\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Fri, 18 Jan 2019 15:51:26 GMT"},{"key":"Via","value":"1.1 vegur, 1.1 dd0eaa8a6bc87c77912af21b7f71df73.cloudfront.net (CloudFront)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"t7zYFB_d5N5sgLVREIFfbco42KI2fjAjbmwWfmmqCPDfe7UTnvkFIA=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"5beaeb814d90a40013e4adb0\",\n        \"unit_firmwareVersion\": \"2.03.02.0610\",\n        \"sessionDuration\": 86400000,\n        \"minimumTestInterval\": 600000,\n        \"estimatedTestInterval\": 440000,\n        \"resultType\": \"ethernet\",\n        \"labels\": [\n            \"test site one\",\n            \"/SouthPark\"\n        ],\n        \"attachments\": [],\n        \"cached\": false,\n        \"indexInSession\": 0,\n        \"emailNotificationSent\": false,\n        \"apAdv80211MediaTypes\": [],\n        \"dhcpConnect\": [],\n        \"dns\": [\n            {\n                \"dnsIp\": \"10.200.72.19\"\n            },\n            {\n                \"dnsIp\": \"10.200.72.20\"\n            }\n        ],\n        \"routerConnect\": [\n            172,\n            23,\n            142\n        ],\n        \"www\": [\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"dev-app.link-live.com\",\n                \"wwwIp\": \"143.204.29.37\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    39,\n                    5,\n                    50\n                ]\n            }\n        ],\n        \"organizationId\": \"1RskdB2Wag4Jp2dnYpFZBn\",\n        \"unit_id\": \"5963f632ee9f8a0400e4cbcd\",\n        \"unit_name\": \"Unit - 00C017-XXXXXX\",\n        \"unit_mac\": \"00C017-XXXXXX\",\n        \"unit_type\": \"LinkSprinter\",\n        \"unit_ipAddress\": \"129.196.196.240\",\n        \"unit_publicIpAddress\": \"***.***.***.***\",\n        \"created_at\": \"2018-11-13T15:19:28.991Z\",\n        \"updated_at\": \"2019-01-16T22:00:47.992Z\",\n        \"poeColor\": \"green\",\n        \"poePresent\": true,\n        \"poeVolts\": 47,\n        \"linkColor\": \"green\",\n        \"linkRxPair\": \"3,6\",\n        \"linkAdvSpeed\": \"10/100\",\n        \"linkAdvDuplex\": \"HDx/FDx\",\n        \"linkActSpeed\": 100,\n        \"linkActDuplex\": \"FDx\",\n        \"linkPolarity\": \"Normal\",\n        \"linkOptical\": false,\n        \"switchType\": \"LLDP\",\n        \"switchPort\": \"g4\",\n        \"switchModel\": \"no model\",\n        \"switchIpOrMac\": \"129.196.197.9\",\n        \"ipConfigColor\": \"green\",\n        \"ipConfigIp\": \"129.196.196.240\",\n        \"ipConfigServer\": \"10.200.72.12\",\n        \"ipConfigDuplicated\": false,\n        \"ipConfigSub\": \"255.255.254.0\",\n        \"routerColor\": \"green\",\n        \"routerIp\": \"129.196.196.1\",\n        \"dnsColor\": \"black\",\n        \"wwwColor\": \"green\",\n        \"overallColor\": \"green\",\n        \"__v\": 0,\n        \"meta\": {\n            \"date\": \"Nov 13, 2018\",\n            \"time\": \"8:19 AM\",\n            \"sessionSummary\": true,\n            \"isSession\": false,\n            \"isEthernet\": true,\n            \"isWireless\": false,\n            \"iconName\": \"linksprinter\",\n            \"iconTilt\": true,\n            \"iconSize\": \"32px\",\n            \"folder\": \"/SouthPark\",\n            \"labels\": \"test site one\",\n            \"hasReports\": false,\n            \"hasImages\": false\n        },\n        \"dns1Ip\": \"10.200.72.19\",\n        \"dns2Ip\": \"10.200.72.20\",\n        \"wwwPingOverall\": \"green\",\n        \"wwwPerfOverall\": \"green\",\n        \"wwwFileOverall\": \"green\"\n    },\n    {\n        \"_id\": \"5b0deab9c2e3130014a65ba8\",\n        \"unit_firmwareVersion\": \"2.03.02.0610\",\n        \"sessionDuration\": 86400000,\n        \"minimumTestInterval\": 600000,\n        \"estimatedTestInterval\": 440000,\n        \"resultType\": \"ethernet\",\n        \"labels\": [],\n        \"attachments\": [],\n        \"cached\": false,\n        \"indexInSession\": 0,\n        \"emailNotificationSent\": false,\n        \"apAdv80211MediaTypes\": [],\n        \"dhcpConnect\": [],\n        \"dns\": [\n            {\n                \"dnsIp\": \"10.200.72.19\"\n            },\n            {\n                \"dnsIp\": \"10.200.72.20\"\n            }\n        ],\n        \"routerConnect\": [\n            3,\n            4,\n            3\n        ],\n        \"www\": [\n            {\n                \"wwwColor\": \"green\",\n                \"wwwType\": \"TCP\",\n                \"wwwUrl\": \"dev-app.link-live.com\",\n                \"wwwIp\": \"13.32.168.240\",\n                \"wwwPort\": 80,\n                \"wwwConnect\": [\n                    18,\n                    19,\n                    19\n                ]\n            }\n        ],\n        \"organizationId\": \"1RskdB2Wag4Jp2dnYpFZBn\",\n        \"unit_id\": \"5963f632ee9f8a0400e4cbcd\",\n        \"unit_name\": \"Unit - 00C017-XXXXXX\",\n        \"unit_mac\": \"00C017-XXXXXX\",\n        \"unit_type\": \"LinkSprinter\",\n        \"unit_ipAddress\": \"129.196.197.65\",\n        \"unit_publicIpAddress\": \"***.***.***.***\",\n        \"created_at\": \"2018-05-30T00:05:13.491Z\",\n        \"updated_at\": \"2018-05-30T00:05:13.491Z\",\n        \"poeColor\": \"green\",\n        \"poePresent\": true,\n        \"poeVolts\": 47,\n        \"linkColor\": \"green\",\n        \"linkRxPair\": \"3,6\",\n        \"linkAdvSpeed\": \"10/100\",\n        \"linkAdvDuplex\": \"HDx/FDx\",\n        \"linkActSpeed\": 100,\n        \"linkActDuplex\": \"FDx\",\n        \"linkPolarity\": \"Normal\",\n        \"linkOptical\": false,\n        \"switchType\": \"LLDP\",\n        \"switchPort\": \"g4\",\n        \"switchModel\": \"no model\",\n        \"switchIpOrMac\": \"129.196.197.9\",\n        \"ipConfigColor\": \"green\",\n        \"ipConfigIp\": \"129.196.197.65\",\n        \"ipConfigServer\": \"10.200.72.12\",\n        \"ipConfigDuplicated\": false,\n        \"ipConfigSub\": \"255.255.254.0\",\n        \"routerColor\": \"green\",\n        \"routerIp\": \"129.196.196.1\",\n        \"dnsColor\": \"black\",\n        \"wwwColor\": \"green\",\n        \"overallColor\": \"green\",\n        \"__v\": 0,\n        \"meta\": {\n            \"date\": \"May 29, 2018\",\n            \"time\": \"5:05 PM\",\n            \"sessionSummary\": true,\n            \"isSession\": false,\n            \"isEthernet\": true,\n            \"isWireless\": false,\n            \"iconName\": \"linksprinter\",\n            \"iconTilt\": true,\n            \"iconSize\": \"32px\",\n            \"labels\": \"\",\n            \"hasReports\": false,\n            \"hasImages\": false\n        },\n        \"dns1Ip\": \"10.200.72.19\",\n        \"dns2Ip\": \"10.200.72.20\",\n        \"wwwPingOverall\": \"green\",\n        \"wwwPerfOverall\": \"green\",\n        \"wwwFileOverall\": \"green\"\n    },\n\t...\n]"}],"_postman_id":"ed72d2bf-93df-4f1e-a494-1e6973de3a31"},{"name":"List Newest Software","event":[{"listen":"test","script":{"id":"ddcd1eb6-9b38-4136-980a-3faf2e3483ae","exec":[""],"type":"text/javascript"}}],"id":"463327f7-cb63-4628-9fe0-1d697e90979f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/ota/newestList","description":"<p>This request gets a list of results filtered down to a specific unit mac.</p>\n","urlObject":{"protocol":"https","path":["v1","admin","ota","newestList"],"host":["link-live","com"],"query":[],"variable":[]}},"response":[{"id":"11c2e711-a3f1-4db7-a4f8-ad50fe95f167","name":"List Newest Software","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/ota/newestList"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Cowboy"},{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"3.5.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"ETag","value":"W/\"b18b-oMpBIml8658s0rmGeEkjUw\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Fri, 18 Jan 2019 15:51:26 GMT"},{"key":"Via","value":"1.1 vegur, 1.1 dd0eaa8a6bc87c77912af21b7f71df73.cloudfront.net (CloudFront)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"t7zYFB_d5N5sgLVREIFfbco42KI2fjAjbmwWfmmqCPDfe7UTnvkFIA=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"5f253ca68ecebe001ae548a7\",\n        \"unitType\": \"LinkRunner10G\",\n        \"gold\": null,\n        \"name\": \"apks\",\n        \"firmwareVersion\": \"1.4.0.1\",\n        \"hardwareVersion\": null\n    },\n    {\n        \"_id\": \"5f25237f8ecebe001ae548a5\",\n        \"unitType\": \"EtherScopeXG\",\n        \"gold\": null,\n        \"name\": \"apks\",\n        \"firmwareVersion\": \"1.4.0.1\",\n        \"hardwareVersion\": null\n    },\n    {\n        \"_id\": \"5f2501778ecebe001ae548a3\",\n        \"unitType\": \"LinkRunner10G\",\n        \"gold\": null,\n        \"name\": \"android\",\n        \"firmwareVersion\": \"1.4.0.0\",\n        \"hardwareVersion\": null\n    },\n    {\n        \"_id\": \"5f24a2eb8ecebe001ae548a1\",\n        \"unitType\": \"EtherScopeXG\",\n        \"gold\": null,\n        \"name\": \"android\",\n        \"firmwareVersion\": \"1.4.0.1\",\n        \"hardwareVersion\": null\n    },\n    {\n        \"_id\": \"5d85e66dbcbdba001ae3de9d\",\n        \"unitType\": \"EtherScopeXG\",\n        \"name\": \"apks\",\n        \"firmwareVersion\": \"1.1.0.17\",\n        \"hardwareVersion\": null,\n        \"changeLog\": null,\n        \"changeLogHref\": null,\n        \"gold\": true\n    },\n    {\n        \"_id\": \"5c90f5ba59064a001a5d0e2e\",\n        \"unitType\": \"AirCheckG2\",\n        \"name\": \"core\",\n        \"gold\": true,\n        \"changeLog\": null,\n        \"firmwareVersion\": \"3.0.2.1775\",\n        \"hardwareVersion\": null,\n        \"changeLogHref\": \"https://www.youtube.com/watch?v=oHg5SJYRHA0\"\n    },\n    {\n        \"_id\": \"5c619a85457c15001a34da4b\",\n        \"unitType\": \"LinkRunnerG2\",\n        \"name\": \"core\",\n        \"gold\": true,\n        \"changeLog\": \"Sorta random.\",\n        \"firmwareVersion\": \"1000\",\n        \"hardwareVersion\": null,\n        \"changeLogHref\": \"teast\"\n    },\n    {\n        \"_id\": \"5c585fc0edd4af1e752cf3d6\",\n        \"unitType\": \"LinkRunnerG2\",\n        \"name\": \"core\",\n        \"gold\": false,\n        \"firmwareVersion\": \"0.0.fake\",\n        \"hardwareVersion\": null\n    },\n    {\n        \"_id\": \"5c2d1a0df17bf709b3e14067\",\n        \"unitType\": \"iPerf\",\n        \"firmwareVersion\": \"2.2.205\",\n        \"hardwareVersion\": null,\n        \"name\": \"core\",\n        \"changeLog\": null,\n        \"changeLogHref\": \"teast\",\n        \"gold\": null\n    },\n    {\n        \"_id\": \"5c2d1a0df17bf709b3e1406e\",\n        \"unitType\": \"OneTouchAT\",\n        \"firmwareVersion\": \"3.0.0.1999\",\n        \"hardwareVersion\": \"OneTouch AT\",\n        \"name\": \"core\",\n        \"gold\": true,\n        \"changeLog\": null,\n        \"changeLogHref\": null\n    },\n    {\n        \"_id\": \"5c2d1a0df17bf709b3e1406d\",\n        \"unitType\": \"OneTouchAT\",\n        \"firmwareVersion\": \"6.5.3\",\n        \"hardwareVersion\": \"OneTouch AT 10G\",\n        \"name\": \"core\"\n    },\n    {\n        \"_id\": \"5c2d1a0df17bf709b3e1406a\",\n        \"unitType\": \"AirCheckG2\",\n        \"firmwareVersion\": \"3.0.1.1762\",\n        \"hardwareVersion\": null,\n        \"name\": \"core\",\n        \"changeLog\": null,\n        \"changeLogHref\": \"teast\",\n        \"gold\": null\n    },\n    {\n        \"_id\": \"5e554ba7b440b50017195487\",\n        \"gold\": true,\n        \"unitType\": \"superList\",\n        \"firmwareVersion\": \"superList\"\n    }\n]"}],"_postman_id":"463327f7-cb63-4628-9fe0-1d697e90979f"},{"name":"List Files","event":[{"listen":"test","script":{"id":"ddcd1eb6-9b38-4136-980a-3faf2e3483ae","exec":[""],"type":"text/javascript"}}],"id":"f8405660-0198-4583-8ae0-0394946ba66e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/uploadedFiles","description":"<p>This request gets a list of uploadedFiles.  These routes follow the exact same patterns as results for filtering, limits, adding/removing labels, etc...</p>\n","urlObject":{"protocol":"https","path":["v1","admin","uploadedFiles"],"host":["link-live","com"],"query":[],"variable":[]}},"response":[{"id":"fa87b69e-af99-4dee-a6c6-31745527c367","name":"List Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/uploadedFiles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"4.0.0-dev.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"28975"},{"key":"ETag","value":"W/\"712f-kB2JG+gfabzgTuQ051q4Cg\""},{"key":"Date","value":"Thu, 17 Jan 2019 21:23:44 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"_id\": \"5c40f25a17aeba150f10abb2\",\n\t\t\"fileFormat\": <\"pcap\", \"image\", \"pdf\", \"csv\", \"xml\", \"acsx\">,\n\t\t\"href\": \"<urlOfFile>\"\n\t\t...\n    },\n    ...\n]"}],"_postman_id":"f8405660-0198-4583-8ae0-0394946ba66e"},{"name":"List Files with a Specific Label","event":[{"listen":"test","script":{"id":"ddcd1eb6-9b38-4136-980a-3faf2e3483ae","exec":["try {","tests[\"Status code is 200\"] = responseCode.code === 200;","","var version = postman.getResponseHeader(\"Link-Live-Version\");","tests[\"Response header includes version\"] = version;","tests[\"Version (\"+version+\") has major, minor, patch\"] = (version.split('.').length >= 3);","","var results = JSON.parse(responseBody);","tests[\"Response has a list of at least 2 results\"] = (results instanceof Array) && (results.length >= 2);","","var resultsByUpdated = results;","resultsByUpdated.sort(function(a,b) { return new Date(a.updated_at) - new Date(b.updated_at); });","tests[\"DEBUG: Result updated_ats: \" + _.map(resultsByUpdated, 'updated_at').join(', ')] = true;","var result = resultsByUpdated[1];","postman.setEnvironmentVariable(\"RESULT_ID\", result._id);","postman.setEnvironmentVariable(\"RESULT_NAME\", result.name);","postman.setEnvironmentVariable(\"RESULT_CREATED\", result.created_at);","postman.setEnvironmentVariable(\"RESULT_UPDATED\", new Date(new Date(result.updated_at) - 1).toISOString());","","var knownUnitTypes = ['onetouchat', 'linksprinter', 'linkrunnerat', 'aircheckg2', 'iperf', 'linkrunnerg2'];","knownUnitTypes = knownUnitTypes.concat(knownUnitTypes.map(function(x) { return x + 's'; }));","","var iconNames = _.map(_.map(resultsByUpdated, 'meta'),'iconName');","var unknownIcons = _.difference(iconNames, knownUnitTypes);","tests[\"DEBUG: Result known types: \" + knownUnitTypes.join(', ')] = true;","tests[\"DEBUG: Result unknown iconName: \" + unknownIcons.join(', ')] = true;","tests[\"Results have 'meta' info about which icon to use\"] = _.isEmpty(unknownIcons);","","tests[\"V1 Linksprinter result is there\"] = !!_.find(results, {unit_mac: postman.getEnvironmentVariable('MAC_V1_LS')});","","tests[\"At least one result has 'meta' info about badgeColor\"] = _.reduce(results, function(found, result) { return found || _.has(result.meta, 'badgeColor'); }, false)","tests[\"At least one result has 'meta' info about which being a session\"] = _.reduce(results, function(found, result) { return found || result.meta.isSession; }, false)","","} catch(e) { tests[e.message] = false; }",""],"type":"text/javascript"}}],"id":"a221e145-2c45-4670-9061-a480c6ac158e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/uploadedFiles?query={\"labels\":{\"$all\":[\"Example Label\"]}}","description":"<p>This request gets a list of units.</p>\n","urlObject":{"protocol":"https","path":["v1","admin","uploadedFiles"],"host":["link-live","com"],"query":[{"key":"query","value":"{\"labels\":{\"$all\":[\"Example Label\"]}}"}],"variable":[]}},"response":[{"id":"101391ef-f51c-4098-aaa5-ff8376af0bfb","name":"List Uploaded Files","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":{"raw":"https://link-live.com/v1/admin/uploadedFiles?query={\"labels\":{\"$all\":[\"Example Label\"]}}","protocol":"https","host":["link-live","com"],"path":["v1","admin","uploadedFiles"],"query":[{"key":"query","value":"{\"labels\":{\"$all\":[\"Example Label\"]}}","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Cowboy"},{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"3.5.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"ETag","value":"W/\"3599-yt0YvSulRJ5HkCbEKuTOpw\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Fri, 18 Jan 2019 16:12:42 GMT"},{"key":"Via","value":"1.1 vegur, 1.1 55429f2d64d86ac51a104a1c84030e14.cloudfront.net (CloudFront)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"OEuPVRkzQ_dj-ZULX7M3vfu18vH-1HzIcL4VfDs8eYwcNAYyCCtwBQ=="}],"cookie":[],"responseTime":null,"body":"[\n   {\n      \"_id\":\"6112934c01233d0035ee69dc\",\n      \"fileName\":\"20210810-085418.tgz\",\n      \"guid\":\"a322ff5f-223b-46ff-8e89-3f861a100221\",\n      \"organizationId\":\"c2691057-9178-41fc-879a-48d830a9f289\",\n      \"unitId\":\"5e84c5d2897448001ae67c13\",\n      \"__v\":1,\n      \"createdAt\":\"2021-08-10T14:55:08.992Z\",\n      \"created_at\":\"2021-08-10T14:55:07.887Z\",\n      \"fileFormat\":null,\n      \"fileMimeType\":null,\n      \"fileSize\":null,\n      \"href\":\"<SIGNED_S3_URL\",\n      \"labels\":[\n         \"Wiredmgmt no internet\",\n         \"Demo setup\"\n      ],\n      \"status\":\"ready\",\n      \"unitMac\":\"00C017-5301E8\",\n      \"unitName\":\"EtherScope nXG - 04\",\n      \"unitSerial\":\"1930019\",\n      \"unitType\":\"EtherScopeXG\",\n      \"updated_at\":\"2021-08-10T14:55:14.996Z\",\n      \"fileType\":[\n         \n      ],\n      \"resultIds\":[\n         \n      ],\n      \"tables\":[\n      \t\"Example Label\",\n      \t\"Woe is our network\"\n      ],\n      \"templates\":[\n         \n      ],\n      \"meta\":{\n         \"date\":\"Aug 10, 2021\",\n         \"time\":\"8:55 AM\",\n         \"datetime\":\"Aug 10, 2021 8:55 AM\",\n         \"iconName\":\"\",\n         \"iconSize\":\"32px\"\n      }\n   },\n   {\n      \"_id\":\"610b3be09f068f0036f4beac\",\n      \"tables\":[\n         \n      ],\n      \"templates\":[\n         \n      ],\n      \"labels\":[\n      \t\"Example Label\",\n         \"Why is my network so terrible?\"\n      ],\n      \"fileType\":[\n         \n      ],\n      \"resultIds\":[\n         \n      ],\n      \"fileFormat\":\"pdf\",\n      \"status\":\"ready\",\n      \"title\":\"Link-Live™ Test Results\",\n      \"description\":\"\",\n      \"reportType\":\"Link-Live Dashboard\",\n      \"author\":\"HNT DEMO\",\n      \"subtitle\":\"Prepared: Thursday Aug 5th 2021 by HNT DEMO\",\n      \"resultCount\":3,\n      \"logoHref\":null,\n      \"logoEnabled\":true,\n      \"includeAttachments\":true,\n      \"organizationId\":\"c2691057-9178-41fc-879a-48d830a9f289\",\n      \"query\":\"{\\\"labels\\\":{\\\"$all\\\":[\\\"Performance Test\\\"]},\\\"organizationId\\\":\\\"c2691057-9178-41fc-879a-48d830a9f289\\\"}\",\n      \"createdAt\":\"2021-08-05T01:16:16.139Z\",\n      \"updated_at\":\"2021-08-05T01:17:03.741Z\",\n      \"__v\":0,\n      \"created_at\":\"2021-08-05T01:16:16.180Z\",\n      \"fileSize\":434544,\n      \"href\":\"OTHER_S3_URL\",\n      \"meta\":{\n         \"date\":\"Aug 4, 2021\",\n         \"time\":\"7:16 PM\",\n         \"datetime\":\"Aug 4, 2021 7:16 PM\",\n         \"iconName\":\"pdf\",\n         \"iconSize\":\"32px\"\n      }\n   }\n  ,\n  ...\n]"}],"_postman_id":"a221e145-2c45-4670-9061-a480c6ac158e"},{"name":"List Connection Logs Files","event":[{"listen":"test","script":{"id":"ddcd1eb6-9b38-4136-980a-3faf2e3483ae","exec":["try {","tests[\"Status code is 200\"] = responseCode.code === 200;","","var version = postman.getResponseHeader(\"Link-Live-Version\");","tests[\"Response header includes version\"] = version;","tests[\"Version (\"+version+\") has major, minor, patch\"] = (version.split('.').length >= 3);","","var results = JSON.parse(responseBody);","tests[\"Response has a list of at least 2 results\"] = (results instanceof Array) && (results.length >= 2);","","var resultsByUpdated = results;","resultsByUpdated.sort(function(a,b) { return new Date(a.updated_at) - new Date(b.updated_at); });","tests[\"DEBUG: Result updated_ats: \" + _.map(resultsByUpdated, 'updated_at').join(', ')] = true;","var result = resultsByUpdated[1];","postman.setEnvironmentVariable(\"RESULT_ID\", result._id);","postman.setEnvironmentVariable(\"RESULT_NAME\", result.name);","postman.setEnvironmentVariable(\"RESULT_CREATED\", result.created_at);","postman.setEnvironmentVariable(\"RESULT_UPDATED\", new Date(new Date(result.updated_at) - 1).toISOString());","","var knownUnitTypes = ['onetouchat', 'linksprinter', 'linkrunnerat', 'aircheckg2', 'iperf', 'linkrunnerg2'];","knownUnitTypes = knownUnitTypes.concat(knownUnitTypes.map(function(x) { return x + 's'; }));","","var iconNames = _.map(_.map(resultsByUpdated, 'meta'),'iconName');","var unknownIcons = _.difference(iconNames, knownUnitTypes);","tests[\"DEBUG: Result known types: \" + knownUnitTypes.join(', ')] = true;","tests[\"DEBUG: Result unknown iconName: \" + unknownIcons.join(', ')] = true;","tests[\"Results have 'meta' info about which icon to use\"] = _.isEmpty(unknownIcons);","","tests[\"V1 Linksprinter result is there\"] = !!_.find(results, {unit_mac: postman.getEnvironmentVariable('MAC_V1_LS')});","","tests[\"At least one result has 'meta' info about badgeColor\"] = _.reduce(results, function(found, result) { return found || _.has(result.meta, 'badgeColor'); }, false)","tests[\"At least one result has 'meta' info about which being a session\"] = _.reduce(results, function(found, result) { return found || result.meta.isSession; }, false)","","} catch(e) { tests[e.message] = false; }",""],"type":"text/javascript"}}],"id":"326b34d5-e718-4f54-8223-6a13e2bef95b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"https://link-live.com/v1/admin/uploadedFiles?query={\"fileFormat\":\"connectionLog\"}","description":"<p>This request gets a list of units.</p>\n","urlObject":{"protocol":"https","path":["v1","admin","uploadedFiles"],"host":["link-live","com"],"query":[{"key":"query","value":"{\"fileFormat\":\"connectionLog\"}"}],"variable":[]}},"response":[{"id":"f2ace180-ac65-4fb6-965e-b930ce50208f","name":"List Uploaded Files","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":{"raw":"https://link-live.com/v1/admin/uploadedFiles?query={\"fileFormat\":\"connectionLog\"}","protocol":"https","host":["link-live","com"],"path":["v1","admin","uploadedFiles"],"query":[{"key":"query","value":"{\"fileFormat\":\"connectionLog\"}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Cowboy"},{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"3.5.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"ETag","value":"W/\"3599-yt0YvSulRJ5HkCbEKuTOpw\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Fri, 18 Jan 2019 16:12:42 GMT"},{"key":"Via","value":"1.1 vegur, 1.1 55429f2d64d86ac51a104a1c84030e14.cloudfront.net (CloudFront)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"OEuPVRkzQ_dj-ZULX7M3vfu18vH-1HzIcL4VfDs8eYwcNAYyCCtwBQ=="}],"cookie":[],"responseTime":null,"body":"[\n   {\n      \"_id\":\"6112934c01233d0035ee69dc\",\n      \"fileName\":\"20210810-085418.tgz\",\n      \"guid\":\"a322ff5f-223b-46ff-8e89-3f861a100221\",\n      \"organizationId\":\"c2691057-9178-41fc-879a-48d830a9f289\",\n      \"unitId\":\"5e84c5d2897448001ae67c13\",\n      \"__v\":1,\n      \"createdAt\":\"2021-08-10T14:55:08.992Z\",\n      \"created_at\":\"2021-08-10T14:55:07.887Z\",\n      \"fileFormat\":null,\n      \"fileMimeType\":null,\n      \"fileSize\":null,\n      \"href\":\"<SIGNED_S3_URL\",\n      \"labels\":[\n         \"Wiredmgmt no internet\",\n         \"Demo setup\"\n      ],\n      \"status\":\"ready\",\n      \"unitMac\":\"00C017-5301E8\",\n      \"unitName\":\"EtherScope nXG - 04\",\n      \"unitSerial\":\"1930019\",\n      \"unitType\":\"EtherScopeXG\",\n      \"updated_at\":\"2021-08-10T14:55:14.996Z\",\n      \"fileType\":[\n         \n      ],\n      \"resultIds\":[\n         \n      ],\n      \"tables\":[\n      \t\"Example Label\",\n      \t\"Woe is our network\"\n      ],\n      \"templates\":[\n         \n      ],\n      \"meta\":{\n         \"date\":\"Aug 10, 2021\",\n         \"time\":\"8:55 AM\",\n         \"datetime\":\"Aug 10, 2021 8:55 AM\",\n         \"iconName\":\"\",\n         \"iconSize\":\"32px\"\n      }\n   },\n  ...\n]"}],"_postman_id":"326b34d5-e718-4f54-8223-6a13e2bef95b"},{"name":"Get File From S3","event":[{"listen":"test","script":{"id":"ddcd1eb6-9b38-4136-980a-3faf2e3483ae","exec":["try {","tests[\"Status code is 200\"] = responseCode.code === 200;","","var version = postman.getResponseHeader(\"Link-Live-Version\");","tests[\"Response header includes version\"] = version;","tests[\"Version (\"+version+\") has major, minor, patch\"] = (version.split('.').length >= 3);","","var results = JSON.parse(responseBody);","tests[\"Response has a list of at least 2 results\"] = (results instanceof Array) && (results.length >= 2);","","var resultsByUpdated = results;","resultsByUpdated.sort(function(a,b) { return new Date(a.updated_at) - new Date(b.updated_at); });","tests[\"DEBUG: Result updated_ats: \" + _.map(resultsByUpdated, 'updated_at').join(', ')] = true;","var result = resultsByUpdated[1];","postman.setEnvironmentVariable(\"RESULT_ID\", result._id);","postman.setEnvironmentVariable(\"RESULT_NAME\", result.name);","postman.setEnvironmentVariable(\"RESULT_CREATED\", result.created_at);","postman.setEnvironmentVariable(\"RESULT_UPDATED\", new Date(new Date(result.updated_at) - 1).toISOString());","","var knownUnitTypes = ['onetouchat', 'linksprinter', 'linkrunnerat', 'aircheckg2', 'iperf', 'linkrunnerg2'];","knownUnitTypes = knownUnitTypes.concat(knownUnitTypes.map(function(x) { return x + 's'; }));","","var iconNames = _.map(_.map(resultsByUpdated, 'meta'),'iconName');","var unknownIcons = _.difference(iconNames, knownUnitTypes);","tests[\"DEBUG: Result known types: \" + knownUnitTypes.join(', ')] = true;","tests[\"DEBUG: Result unknown iconName: \" + unknownIcons.join(', ')] = true;","tests[\"Results have 'meta' info about which icon to use\"] = _.isEmpty(unknownIcons);","","tests[\"V1 Linksprinter result is there\"] = !!_.find(results, {unit_mac: postman.getEnvironmentVariable('MAC_V1_LS')});","","tests[\"At least one result has 'meta' info about badgeColor\"] = _.reduce(results, function(found, result) { return found || _.has(result.meta, 'badgeColor'); }, false)","tests[\"At least one result has 'meta' info about which being a session\"] = _.reduce(results, function(found, result) { return found || result.meta.isSession; }, false)","","} catch(e) { tests[e.message] = false; }",""],"type":"text/javascript"}}],"id":"4119847c-e9e3-4a45-b030-a64c942fb93c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<SIGNED_S3_URL>","description":"<p>After getting a list of uploadedFiles, use the URL under the href key in the uploadedFiles list.</p>\n","urlObject":{"host":["<SIGNED_S3_URL>"],"query":[],"variable":[]}},"response":[{"id":"73286527-1ea3-4269-8b87-21961a3f99c7","name":"Get File From S3","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Access <API_TOKEN>"}],"url":"<GET_S3_URL>"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"Cowboy"},{"key":"X-Powered-By","value":"Express"},{"key":"Link-Live-Version","value":"3.5.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, ngp-authorization, authorization, Content-Length, X-Requested-With"},{"key":"Cache-Control","value":"no-cache, no-store, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"ETag","value":"W/\"3599-yt0YvSulRJ5HkCbEKuTOpw\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Fri, 18 Jan 2019 16:12:42 GMT"},{"key":"Via","value":"1.1 vegur, 1.1 55429f2d64d86ac51a104a1c84030e14.cloudfront.net (CloudFront)"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"OEuPVRkzQ_dj-ZULX7M3vfu18vH-1HzIcL4VfDs8eYwcNAYyCCtwBQ=="}],"cookie":[],"responseTime":null,"body":"Your File Data"}],"_postman_id":"4119847c-e9e3-4a45-b030-a64c942fb93c"}],"id":"f4951f07-07c6-4413-ad67-c71be87b79bd","_postman_id":"f4951f07-07c6-4413-ad67-c71be87b79bd","description":""}],"event":[{"listen":"prerequest","script":{"id":"15332b4b-4329-4997-86d5-c9ccdbd06fa8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e39c7114-938c-4d9d-b3be-4266afa282fe","type":"text/javascript","exec":[""]}}]}