{"info":{"_postman_id":"a83b506c-ec50-4a23-88f1-3dd9a2c48d4a","name":"QuickOLT","description":"<html><head></head><body><p>API of <a href=\"https://easyolt.com\">QuickOLT</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"35229455","collectionId":"a83b506c-ec50-4a23-88f1-3dd9a2c48d4a","publishedId":"2sA3Qs8rWk","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-06-19T11:35:55.000Z"},"item":[{"name":"Get OLTs list","id":"ae257dbd-d4bd-4040-a772-93fcd8d3d4f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Token","value":"3083e05c751f45eaa00851b7f4081b7c","description":"<p>(Required) The API token</p>\n"}],"url":"https://primalink.smartolt.com/api/system/get_olts","description":"<p>Gets a list of all OLTs names, IPs, telnet ports, SNMP ports and unique IDs.</p>\n","urlObject":{"path":["api","system","get_olts"],"host":["https://primalink.smartolt.com"],"query":[],"variable":[]}},"response":[{"id":"c96beb31-f93d-4360-bc2c-f80d92d231c3","name":"Get OLTs list","originalRequest":{"method":"GET","header":[{"key":"X-Token","value":"3083e05c751f45eaa00851b7f4081b7c","description":"(Required) The API token"}],"url":"https://primalink.smartolt.com/api/system/get_olts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 27 May 2024 08:07:36 GMT"},{"key":"Server","value":"Apache"},{"key":"Set-Cookie","value":"ci_session=1je4k8v2rh82n0h7e84cgft5c51hmo82; expires=Mon, 27-May-2024 10:07:36 GMT; Max-Age=7200; path=/; HttpOnly; SameSite=Lax"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Robots-Tag","value":"noindex,nofollow"},{"key":"Content-Length","value":"225"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"response\": [\n        {\n            \"id\": \"1\",\n            \"name\": \"Huawei\",\n            \"olt_hardware_version\": \"Huawei-MA5680T\",\n            \"ip\": \"1.2.3.4\",\n            \"telnet_port\": \"2333\",\n            \"snmp_port\": \"2161\"\n        }\n    ]\n}"}],"_postman_id":"ae257dbd-d4bd-4040-a772-93fcd8d3d4f9"},{"name":"cron","id":"35ad6cab-bc3e-4c24-9ed9-6e3250829147","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{quickolt_cron_secret}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{quickolt_url}}/api/cron/refresh-olt","urlObject":{"path":["api","cron","refresh-olt"],"host":["{{quickolt_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"35ad6cab-bc3e-4c24-9ed9-6e3250829147"}],"event":[{"listen":"prerequest","script":{"id":"b906f845-36d6-46bb-b8e9-34bf25437b3a","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"91d51239-639b-4fc7-8d0e-dbdef57a124a","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"host","value":"https://primalink.smartolt.com","type":"string"},{"key":"api_key","value":"3083e05c751f45eaa00851b7f4081b7c","type":"string"}]}