{"info":{"_postman_id":"056e2371-9791-41ab-9c6d-a9ede1ae8b1a","name":"Iris API","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>Welcome to the Iris API! You can use our API to access Iris API endpoints, which can get information on various resources in our database. The API is a RESTful JSON API, that can be called using standard HTTP requests with standard Authorization headers and standard HTTP response codes.</p>\n<p>We have language bindings in Shell and JavaScript! You can view code examples in the dark area to the right, and you can switch the programming language of the examples with the tabs in the top right.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<h2 id=\"authentication-header\">Authentication Header</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\"># With shell, you can just pass the correct header with each request\ncurl \"api_endpoint_here\"\n  -H \"Authorization: Basic &lt;token&gt;\"\n\n# OR\n\ncurl \"api_endpoint_here\"\n  -u iris-user:iris-pass\n</code></pre>\n<blockquote>\n<p>Make sure to replace <code>&lt;token&gt;</code> with base64 encoded your username:password.</p>\n</blockquote>\n<p>In order to use the API each request has to be authorized.  Iris uses Basic token or username/password to allow access to the API. Iris expects for the API key to be included in all API requests to the server in a header that looks like the following:</p>\n<p><code>Authorization: Basic &lt;token&gt;</code></p>\n<aside>\nYou must replace <code>&lt;token&gt;</code> with your personal API key.\n</aside>\n\n<h2 id=\"single-sign-on-sso-authorization\">Single Sign-On (SSO) Authorization</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl -u api_user:api_passwd -H \"Accept: application/json\" -H \"Content-type: application/json\" -X GET \\\n   http://your-dce-server/iris/api2/api/getSSOSession?code=abc001&amp;whitelabel=0\n</code></pre>\n<blockquote>\n<p>Iris will return something like:</p>\n</blockquote>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"sessiontoken\": \"1e3e625236f1a78c220be494ed49a98b\",\n  \"loginurl\":  \"/iris/browser\"\n}\n</code></pre>\n<p>SSO users can be authorised using the API as well. The client portal will need to authenticate using the above method (using the API user) and call the getSSOSession method. This method will return a valid session that can be passed onto the users browser and let the user use Iris as if he were logged in already.</p>\n<p>For SSO users, there is no actual users in Iris. Instead you can log in with a specific customer code which becomes your SSO username. This means the user is restricted to that specific customer code. This can also be done with customer group filters, by logging in with the customer group name.</p>\n<p>So, let's look at an example where user joe logs into his customer portal and tries to use Iris. The user joe is linked internally to some CRM ID abc001. This code is used to link Iris to the CRM system using the customer code field. Joe clicks on the IRIS button in the portal. The portal now does a background call to the Iris system to get a new auth session for Joe.</p>\n<h1 id=\"request\">Request</h1>\n<h2 id=\"params\">Params</h2>\n<p>You can pass the following optional parameters adtionally to each search request.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl \"http://dce-host/iris/api2/api/users\" \\\n  -X GET \\\n  -H \"Authorization: Basic &lt;token&gt;\" \\\n  --data-urlencode 'count=10' \\\n  --data-urlencode 'page=2'\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>count</code></td>\n<td>int</td>\n<td>The amount of results to return per page.</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>int</td>\n<td>Which results page to show (default is 1).</td>\n</tr>\n<tr>\n<td><code>offset</code></td>\n<td>int</td>\n<td>How many results to skip.</td>\n</tr>\n<tr>\n<td><code>ordered_by</code></td>\n<td>text</td>\n<td>Which order results are returned in.</td>\n</tr>\n<tr>\n<td><code>prefetch</code></td>\n<td>text</td>\n<td>Relation relationship to include into the results.</td>\n</tr>\n<tr>\n<td><code>select/as</code></td>\n<td>text</td>\n<td>Limit the returned fields by selecting only particular ones</td>\n</tr>\n<tr>\n<td><code>grouped_by</code></td>\n<td>text</td>\n<td>Group the results by particular field</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"pagination\">Pagination</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"last_page\": 1,\n    \"success\": true,\n    \"entries_per_page\": 100,\n    \"totalcount\": 2,\n    \"current_page\": 1,\n    \"data\": [...],\n    \"entries_on_this_page\": 2\n}\n</code></pre>\n<p>Search requests return a maximum of 1000 results per page. You can paginate through results and receive the next set by incrementing the <code>page</code> param. When you call a resource API, the response message will include a pagination information like the one shown here.</p>\n<h2 id=\"sorting\">Sorting</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl \"http://dce-host/iris/api2/api/users\" \\\n  -X GET \\\n  -H \"Authorization: Basic &lt;token&gt;\" \\\n  --data-urlencode 'ordered_by=username'\n\n# Or you can specify the sorting direction\n\ncurl \"http://dce-host/iris/api2/api/users\" \\\n  -X GET \\\n  -H \"Authorization: Basic &lt;token&gt;\" \\\n  --data-urlencode 'ordered_by={\"-desc\":\"username\"}'\n\n</code></pre>\n<p>By default search results are sorted by the best match available. You can change this to a specific sort using the <code>ordered_by</code> parameter and one of the values below.</p>\n<h2 id=\"select-related-resources\">Select related resources</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl \"http://dce-host/iris/api2/api/users\" \\\n  -X GET \\\n  -H \"Authorization: Basic &lt;token&gt;\" \\\n  --data-urlencode 'select=username' \\\n  --data-urlencode 'prefetch=users_roles'\n</code></pre>\n<p>Sometimes you would like to retrieve additional related information without doing a second request. For example, you would like to retrieve each user and the roles, that this user might have.</p>\n<h2 id=\"queries\">Queries</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\"># Find all users that have username starting with iris-\ncurl \"http://dce-host/iris/api2/api/users\" \\\n  -X GET \\\n  -H \"Authorization: Basic &lt;token&gt;\" \\\n  --data-urlencode 'search={\"username\":{\"-ilike\":\"iris-%\"}}'\n\n# Find all not deleted users having view name containig Africa\ncurl \"http://dce-host/iris/api2/api/users\" \\\n  -X GET \\\n  -H \"Authorization: Basic &lt;token&gt;\" \\\n  --data-urlencode 'search={\"deleted\":0,\"view\":{\"name\":{\"-ilike\":\"%Africa%\"}}}'\n</code></pre>\n<p>Queries to the Iris API can be as complex or as simple as you need them to be. Queries are passed along as strings in the query parameter <code>search</code> using the field:value format. In addition to that, there are different operators that might be used. Take for example the queries on the right.</p>\n<p>The available operators are:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Operator</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>=</code></td>\n<td>Equal</td>\n</tr>\n<tr>\n<td><code>&gt;</code></td>\n<td>Greater than</td>\n</tr>\n<tr>\n<td><code>&gt;=</code></td>\n<td>Greater or equal than</td>\n</tr>\n<tr>\n<td><code>&lt;</code></td>\n<td>Less than</td>\n</tr>\n<tr>\n<td><code>&lt;=</code></td>\n<td>Less than or equal</td>\n</tr>\n<tr>\n<td><code>-like</code></td>\n<td>Case-sensitive search, containg another value. For example: <code>{\"hostname\":{\"-like\":{\"dce%\"}}}</code></td>\n</tr>\n<tr>\n<td><code>-ilike</code></td>\n<td>Case-insensitive search, containg another value. For example: <code>{\"hostname\":{\"-ilike\":{\"dce%\"}}}</code></td>\n</tr>\n<tr>\n<td><code>-not_like</code></td>\n<td>Case-sensitive negative search. For example: <code>{\"hostname\":{\"-not_like\":{\"dce-old%\"}}}</code></td>\n</tr>\n<tr>\n<td><code>-not_ilike</code></td>\n<td>Case-insensitive negative search. For example: <code>{\"hostname\":{\"-not_ilike\":{\"dce-old%\"}}}</code></td>\n</tr>\n<tr>\n<td><code>!=</code></td>\n<td>Different than</td>\n</tr>\n<tr>\n<td><code>-in</code></td>\n<td>Containing a list of values. For example: <code>{\"username\":{\"-in\":[\"user1\",\"user2\"]}}</code></td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"errors\">Errors</h1>\n<p>The Iris API uses the following error codes:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Meaning</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td>Bad Request</td>\n<td>Your request is invalid.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthorized</td>\n<td>Your API key is wrong.</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Forbidden</td>\n<td>You don't have access to this resource</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not Found</td>\n<td>The specified resource could not be found.</td>\n</tr>\n<tr>\n<td>405</td>\n<td>Method Not Allowed</td>\n<td>You tried to access a resource with an invalid method.</td>\n</tr>\n<tr>\n<td>406</td>\n<td>Not Acceptable</td>\n<td>You requested a format that isn't json.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error</td>\n<td>We had a problem with our server. Try again later.</td>\n</tr>\n<tr>\n<td>503</td>\n<td>Service Unavailable</td>\n<td>We're temporarily offline for maintenance. Please try again later.</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Authentication","slug":"authentication"},{"content":"Request","slug":"request"},{"content":"Errors","slug":"errors"}],"owner":"14735633","collectionId":"056e2371-9791-41ab-9c6d-a9ede1ae8b1a","publishedId":"TWDfCD3u","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-02-09T05:17:15.000Z"},"item":[{"name":"Events","item":[{"name":"Get alarms","id":"0f93f3cb-9c20-43df-b83a-e2c71d1e3483","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"}],"url":"{{Host}}/api/alarms","urlObject":{"path":["api","alarms"],"host":["{{Host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f93f3cb-9c20-43df-b83a-e2c71d1e3483"},{"name":"Get Eventlogs Stats","id":"17f7cc13-e850-49d0-96b4-6796bdaade89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"}],"url":"{{Host}}/iris/api2/api/events/stats_es?keywords=&date_start_disp=1631716300&date_end_disp=1631802600&source=ANY&interval=day","urlObject":{"path":["iris","api2","api","events","stats_es"],"host":["{{Host}}"],"query":[{"key":"keywords","value":""},{"description":{"content":"<p>Start as epoch or time string</p>\n","type":"text/plain"},"key":"date_start_disp","value":"1631716300"},{"description":{"content":"<p>End as epoch or time string</p>\n","type":"text/plain"},"key":"date_end_disp","value":"1631802600"},{"description":{"content":"<p>Source</p>\n","type":"text/plain"},"key":"source","value":"ANY"},{"disabled":true,"description":{"content":"<p>Filter events based on view</p>\n","type":"text/plain"},"key":"view_filter_id","value":""},{"description":{"content":"<p>Specify the grouped by interval: 1m, 5m, 30m, 1h, day, week, month, etc</p>\n","type":"text/plain"},"key":"interval","value":"day"},{"disabled":true,"key":"device","value":null},{"disabled":true,"key":"basetag","value":null},{"disabled":true,"key":"mnemonic","value":null},{"disabled":true,"key":"alias","value":null},{"disabled":true,"key":"tier1","value":null},{"disabled":true,"key":"tier2","value":null},{"disabled":true,"key":"tier3","value":null},{"disabled":true,"key":"gdef","value":null},{"disabled":true,"key":"descr","value":null},{"disabled":true,"key":"elem","value":null},{"disabled":true,"key":"msg","value":null},{"disabled":true,"key":"status","value":null},{"disabled":true,"key":"condition","value":null}],"variable":[]}},"response":[],"_postman_id":"17f7cc13-e850-49d0-96b4-6796bdaade89"},{"name":"Get alarms status","id":"01c7a64a-76d3-4c8a-8369-214a1d8c2fc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"}],"url":"{{Host}}/iris/api2/api/alarms/status?basetag=stage-dce4.irisns.com","description":"<p>Used it maps, that endpoint gives you alarms status for given input.</p>\n","urlObject":{"path":["iris","api2","api","alarms","status"],"host":["{{Host}}"],"query":[{"disabled":true,"key":"eventsource","value":""},{"disabled":true,"key":"datasource","value":""},{"key":"basetag","value":"stage-dce4.irisns.com"},{"disabled":true,"key":"views_id","value":null}],"variable":[]}},"response":[],"_postman_id":"01c7a64a-76d3-4c8a-8369-214a1d8c2fc5"},{"name":"Update external reference","id":"1853b6b7-2274-4768-90b3-c83548714cf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"POST","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"}],"url":"{{Host}}/api/alarms/update_external_ref/{{ident}}/{{ref}}","urlObject":{"path":["api","alarms","update_external_ref","{{ident}}","{{ref}}"],"host":["{{Host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1853b6b7-2274-4768-90b3-c83548714cf0"}],"id":"8547322c-5184-4721-b241-f336cdf4e4ab","_postman_id":"8547322c-5184-4721-b241-f336cdf4e4ab","description":""},{"name":"Graphs","item":[{"name":"Search Graphs","id":"d03b2bb4-3c2b-4e3e-a6f9-bc236fe00e4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{Host}}/api/graphs/search?count=10&page=2&keywords=traffic&starttime=1614065339&endtime=1614072539&views_id=1000&gdef=ceragonIp20PrfuStatusTemperature","description":"<p><a href=\"http://156.38.228.172/iris/api2/api/devices\">http://156.38.228.172/iris/api2/api/devices</a></p>\n","urlObject":{"path":["api","graphs","search"],"host":["{{Host}}"],"query":[{"description":{"content":"<p>Max number of graphs shown</p>\n","type":"text/plain"},"key":"count","value":"10"},{"key":"page","value":"2"},{"key":"keywords","value":"traffic"},{"description":{"content":"<p>Start time as unix epoch</p>\n","type":"text/plain"},"key":"starttime","value":"1614065339"},{"description":{"content":"<p>End time as unix epoch</p>\n","type":"text/plain"},"key":"endtime","value":"1614072539"},{"description":{"content":"<p>Searches graphs for having views with id and children ids</p>\n","type":"text/plain"},"key":"views_id","value":"1000"},{"key":"gdef","value":"ceragonIp20PrfuStatusTemperature"}],"variable":[]}},"response":[{"id":"c4bffeca-6f5e-4287-82b6-aab0a21b3f5a","name":"Search Graphs","originalRequest":{"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"},{"key":"Accept","type":"text","value":"application/json"}],"url":{"raw":"{{Host}}/api/graphs/search?count=10&page=2&keywords=traffic&starttime=1614065339&endtime=1614072539&views_id=1000&gdef=ceragonIp20PrfuStatusTemperature","host":["{{Host}}"],"path":["api","graphs","search"],"query":[{"key":"count","value":"10","description":"Max number of graphs shown"},{"key":"page","value":"2"},{"key":"keywords","value":"traffic"},{"key":"starttime","value":"1614065339","description":"Start time as unix epoch"},{"key":"endtime","value":"1614072539","description":"End time as unix epoch"},{"key":"views_id","value":"1000","description":"Searches graphs for having views with id and children ids"},{"key":"gdef","value":"ceragonIp20PrfuStatusTemperature"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"d03b2bb4-3c2b-4e3e-a6f9-bc236fe00e4b"},{"name":"Get graph series data","id":"c2246aa5-9ee8-4740-8896-33fcf33cc713","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{Host}}/api/graphs/series?hash=&id=4228005116&tag=dev-xxx.irisns.com.unixServerMemory.rrd&gdef=unixServerSwapUsage&instance=unixServer&device=dev-xxx.irisns.com&tier1=&tier2=&tier3=&tier4=&tier5=&mnemonic=&alias=&basetag=dev-xxx.irisns.com&endtime=&starttime=&width=1298&nolegend=0&view=","description":"<p><a href=\"http://156.38.228.172/iris/api2/api/devices\">http://156.38.228.172/iris/api2/api/devices</a></p>\n","urlObject":{"path":["api","graphs","series"],"host":["{{Host}}"],"query":[{"key":"hash","value":""},{"key":"id","value":"4228005116"},{"key":"tag","value":"dev-xxx.irisns.com.unixServerMemory.rrd"},{"key":"gdef","value":"unixServerSwapUsage"},{"key":"instance","value":"unixServer"},{"key":"device","value":"dev-xxx.irisns.com"},{"key":"tier1","value":""},{"key":"tier2","value":""},{"key":"tier3","value":""},{"key":"tier4","value":""},{"key":"tier5","value":""},{"key":"mnemonic","value":""},{"key":"alias","value":""},{"key":"basetag","value":"dev-xxx.irisns.com"},{"key":"endtime","value":""},{"key":"starttime","value":""},{"key":"width","value":"1298"},{"key":"nolegend","value":"0"},{"key":"view","value":""}],"variable":[]}},"response":[],"_postman_id":"c2246aa5-9ee8-4740-8896-33fcf33cc713"},{"name":"Get graph metrics data","id":"be3ed7d2-d4b4-48f9-9563-7b0b7bfee291","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{Host}}/api/graphs/data?tag=dev-xxx.irisns.com.unixServerMemory.rrd&gdef=unixServerSwapUsage&instance=unixServer&device=dev-xxx.irisns.com&tier1=&tier2=&tier3=&tier4=&tier5=&mnemonic=&alias=&basetag=dev-xxx.irisns.com&endtime=&starttime=&view=","description":"<p><a href=\"http://156.38.228.172/iris/api2/api/devices\">http://156.38.228.172/iris/api2/api/devices</a></p>\n","urlObject":{"path":["api","graphs","data"],"host":["{{Host}}"],"query":[{"key":"tag","value":"dev-xxx.irisns.com.unixServerMemory.rrd"},{"key":"gdef","value":"unixServerSwapUsage"},{"key":"instance","value":"unixServer"},{"key":"device","value":"dev-xxx.irisns.com"},{"key":"tier1","value":""},{"key":"tier2","value":""},{"key":"tier3","value":""},{"key":"tier4","value":""},{"key":"tier5","value":""},{"key":"mnemonic","value":""},{"key":"alias","value":""},{"key":"basetag","value":"dev-xxx.irisns.com"},{"key":"endtime","value":""},{"key":"starttime","value":""},{"key":"view","value":""}],"variable":[]}},"response":[],"_postman_id":"be3ed7d2-d4b4-48f9-9563-7b0b7bfee291"}],"id":"26a4dd8f-390b-4a14-9fa7-ccecd01840b3","_postman_id":"26a4dd8f-390b-4a14-9fa7-ccecd01840b3","description":""},{"name":"Users","item":[{"name":"Get users","id":"dfece839-4af6-4ede-abe5-6b9d3f3a0995","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","value":"{{Session Cookie}}","type":"text"}],"url":"{{Host}}/api/users","description":"<p>Get list of iris users</p>\n","urlObject":{"path":["api","users"],"host":["{{Host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dfece839-4af6-4ede-abe5-6b9d3f3a0995"},{"name":"Create user","id":"d2bfbd6f-6db2-4601-9974-0a1f89f537d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{Host}}/api/users","urlObject":{"path":["api","users"],"host":["{{Host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2bfbd6f-6db2-4601-9974-0a1f89f537d1"},{"name":"Delete user","id":"c2a1336f-418f-4a7d-9e38-ffff0419b3b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{Host}}/api/users/{id}","urlObject":{"path":["api","users","{id}"],"host":["{{Host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c2a1336f-418f-4a7d-9e38-ffff0419b3b2"}],"id":"bf5ab4a9-ddf4-41fa-8474-ae87d5958455","_postman_id":"bf5ab4a9-ddf4-41fa-8474-ae87d5958455","description":""},{"name":"Dashboards","item":[],"id":"eb7ab992-8a33-473a-b8bb-6714025097ca","_postman_id":"eb7ab992-8a33-473a-b8bb-6714025097ca","description":""},{"name":"Widgets","item":[{"name":"Get widgets","id":"9c2d82ac-91fb-4e7c-a9df-e3b6fdba9908","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{Host}}/api/widgets?search.dashboards_id=1050","description":"<p><a href=\"http://156.38.228.172/iris/api2/api/devices\">http://156.38.228.172/iris/api2/api/devices</a></p>\n","urlObject":{"path":["api","widgets"],"host":["{{Host}}"],"query":[{"disabled":true,"key":"bRegex_0","value":"false"},{"disabled":true,"key":"bRegex_1","value":"false"},{"disabled":true,"key":"bRegex_2","value":"false"},{"disabled":true,"key":"bRegex_3","value":"false"},{"disabled":true,"key":"bRegex_4","value":"false"},{"disabled":true,"key":"bSearchable_0","value":"false"},{"disabled":true,"key":"bSearchable_1","value":"true"},{"disabled":true,"key":"bSearchable_2","value":"true"},{"disabled":true,"key":"bSearchable_3","value":"true"},{"disabled":true,"key":"bSearchable_4","value":"true"},{"disabled":true,"key":"bSortable_0","value":"false"},{"disabled":true,"key":"bSortable_1","value":"true"},{"disabled":true,"key":"bSortable_2","value":"true"},{"disabled":true,"key":"bSortable_3","value":"true"},{"disabled":true,"key":"bSortable_4","value":"true"},{"disabled":true,"key":"iColumns","value":"5"},{"disabled":true,"key":"iDisplayLength","value":"20"},{"disabled":true,"key":"iDisplayStart","value":"0"},{"disabled":true,"key":"iSortCol_0","value":"1"},{"disabled":true,"key":"iSortingCols","value":"1"},{"disabled":true,"key":"mDataProp_0","value":"dashboards_id"},{"disabled":true,"key":"mDataProp_1","value":"username"},{"disabled":true,"key":"mDataProp_2","value":"name"},{"disabled":true,"key":"mDataProp_3","value":"email"},{"disabled":true,"key":"mDataProp_4","value":"roles"},{"disabled":true,"key":"sSortDir_0","value":"asc"},{"key":"search.dashboards_id","value":"1050"},{"disabled":true,"key":"prefetch","value":"users_roles"}],"variable":[]}},"response":[],"_postman_id":"9c2d82ac-91fb-4e7c-a9df-e3b6fdba9908"},{"name":"Get Health Widget alarms","id":"d8c9b8cc-653b-42cf-9ffe-d07d0fc22697","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{Host}}/iris/api2/api/widgets/health/alarms?which=view&id=2&filter=Down","description":"<p><a href=\"http://156.38.228.172/iris/api2/api/devices\">http://156.38.228.172/iris/api2/api/devices</a></p>\n","urlObject":{"path":["iris","api2","api","widgets","health","alarms"],"host":["{{Host}}"],"query":[{"key":"which","value":"view"},{"key":"id","value":"2"},{"key":"filter","value":"Down"}],"variable":[]}},"response":[],"_postman_id":"d8c9b8cc-653b-42cf-9ffe-d07d0fc22697"},{"name":"Get Rev Counter data","id":"2a193fdb-6eb1-4dd0-806d-056e496fa218","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"password":"<password>","username":"<username>"},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"url":"{{Host}}/iris/api2/api/widgets/revcounter?mnemonics_id=15294&mnemonic=stage-xxx.irisns.com&source=cpu_int&graphtype=unixServerCpu&content=1","urlObject":{"path":["iris","api2","api","widgets","revcounter"],"host":["{{Host}}"],"query":[{"key":"mnemonics_id","value":"15294"},{"key":"mnemonic","value":"stage-xxx.irisns.com"},{"key":"source","value":"cpu_int"},{"key":"graphtype","value":"unixServerCpu"},{"key":"content","value":"1"}],"variable":[]}},"response":[{"id":"a852f73e-7faa-41b8-b8d8-1a1698e32f47","name":"Get Rev Counter data","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"text"}}},"url":{"raw":"{{Host}}/iris/api2/api/widgets/revcounter?mnemonics_id=192&mnemonic=dev-maven__vmx0&source=avail&graphtype=ifavailability&content=1","host":["{{Host}}"],"path":["iris","api2","api","widgets","revcounter"],"query":[{"key":"mnemonics_id","value":"192"},{"key":"mnemonic","value":"dev-maven__vmx0"},{"key":"source","value":"avail"},{"key":"graphtype","value":"ifavailability"},{"key":"content","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 13 Mar 2021 09:39:33 GMT"},{"key":"Server","value":"Apache"},{"key":"Vary","value":"Content-Type,Accept-Encoding,User-Agent"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Set-Cookie","value":"sessiontoken=8334be8063411f8091f788e7826d64e5be8fa316; path=/; expires=Sat, 13-Mar-2021 10:39:33 GMT; HttpOnly"},{"key":"X-Runtime","value":"0.176944"},{"key":"Content-Encoding","value":"gzip"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"value\": \"100.00\",\n        \"title\": \"vmx0\"\n    }\n}"}],"_postman_id":"2a193fdb-6eb1-4dd0-806d-056e496fa218"},{"name":"Get TopN data","id":"c9735c65-13a2-45e7-845d-4c24329b5d4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/api/widgets/topn?graphtype=routerMem&colThreshold=used&medThreshold=5&highThreshold=50&metrics=[\"cpu\",\"free_mem\"]","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"820da59d-47bb-4805-b9a3-934a69f123be","id":"820da59d-47bb-4805-b9a3-934a69f123be","name":"Widgets","type":"folder"}},"urlObject":{"path":["iris","api2","api","widgets","topn"],"host":["{{Host}}"],"query":[{"key":"graphtype","value":"routerMem"},{"key":"colThreshold","value":"used"},{"key":"medThreshold","value":"5"},{"key":"highThreshold","value":"50"},{"description":{"content":"<p>Metrics as JSON encoded stiring</p>\n","type":"text/plain"},"key":"metrics","value":"[\"cpu\",\"free_mem\"]"},{"disabled":true,"description":{"content":"<p>Filter for view matching views_id and children</p>\n","type":"text/plain"},"key":"views_id","value":"123"},{"disabled":true,"description":{"content":"<p>Starttime as unix epoch</p>\n","type":"text/plain"},"key":"starttime","value":null},{"disabled":true,"description":{"content":"<p>Endtime as unix epoch</p>\n","type":"text/plain"},"key":"endtime","value":null}],"variable":[]}},"response":[{"id":"c8d2432c-5f0b-4497-be58-702fddecb505","name":"Get TopN data","originalRequest":{"method":"GET","header":[{"key":"Cookie","value":"{{Session Cookie}}","type":"text"}],"url":{"raw":"{{Host}}/iris/api2/api/widgets/topn?graphtype=routerMem&colThreshold=used&medThreshold=5&highThreshold=50&metrics=[\"cpu\",\"free_mem\"]&interfaces=[\"list\"]","host":["{{Host}}"],"path":["iris","api2","api","widgets","topn"],"query":[{"key":"graphtype","value":"routerMem"},{"key":"colThreshold","value":"used"},{"key":"medThreshold","value":"5"},{"key":"highThreshold","value":"50"},{"key":"metrics","value":"[\"cpu\",\"free_mem\"]","description":"Metrics as JSON encoded object"},{"key":"views_id","value":"123","description":"Filter for view matching views_id and children","type":"text","disabled":true},{"key":"interfaces","value":"[\"list\"]","description":"Interfaces as JSON encoded object","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 18 Mar 2021 07:04:07 GMT"},{"key":"Server","value":"Apache"},{"key":"Vary","value":"Content-Type,Accept-Encoding,User-Agent"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Set-Cookie","value":"sessiontoken=38bba8dfc6fcb9d92fbb608565ffc1d82bbd23ac; path=/; expires=Thu, 18-Mar-2021 08:04:07 GMT; HttpOnly"},{"key":"X-Runtime","value":"0.166809"},{"key":"Content-Encoding","value":"gzip"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": []\n}"}],"_postman_id":"c9735c65-13a2-45e7-845d-4c24329b5d4c"},{"name":"Get Top Alarms data","id":"07cfb508-2485-4969-a549-b88fde3d2de6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/api/widgets/topalarms/view/2?page_size=100","description":"<p>Get top alarms information given which and input arguments.</p>\n<p>Acceptable values for which are: element, device, view, mnemonic, network</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"820da59d-47bb-4805-b9a3-934a69f123be","id":"820da59d-47bb-4805-b9a3-934a69f123be","name":"Widgets","type":"folder"}},"urlObject":{"path":["iris","api2","api","widgets","topalarms","view","2"],"host":["{{Host}}"],"query":[{"disabled":true,"description":{"content":"<p>Returns alarms matching given basetag</p>\n","type":"text/plain"},"key":"match_basetag","value":""},{"disabled":true,"description":{"content":"<p>Returns alarms matching given mnemonic</p>\n","type":"text/plain"},"key":"match_mnemonic","value":""},{"disabled":true,"description":{"content":"<p>Returns alarms matching given descr</p>\n","type":"text/plain"},"key":"match_descr","value":""},{"disabled":true,"description":{"content":"<p>Returns alarms matching given msg</p>\n","type":"text/plain"},"key":"match_msg","value":""},{"disabled":true,"description":{"content":"<p>Hides clear alarms</p>\n","type":"text/plain"},"key":"hide_clear","value":""},{"key":"page_size","value":"100"}],"variable":[]}},"response":[{"id":"387f0dc4-87e9-4c1e-a26a-6e2f29cb30fd","name":"Get Top Alarms data","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{Host}/iris/api2/api/widgets/topalarms/{{which}}/{{id}}","host":["{{Host}"],"path":["iris","api2","api","widgets","topalarms","{{which}}","{{id}}"],"query":[{"key":"match_basetag","value":null,"description":"Returns alarms matching given basetag","type":"text","disabled":true},{"key":"match_mnemonic","value":null,"description":"Returns alarms matching given mnemonic","type":"text","disabled":true},{"key":"match_descr","value":null,"description":"Returns alarms matching given descr","type":"text","disabled":true},{"key":"match_msg","value":null,"description":"Returns alarms matching given msg","type":"text","disabled":true},{"key":"hide_clear","value":null,"description":"Hides clear alarms","type":"text","disabled":true}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"07cfb508-2485-4969-a549-b88fde3d2de6"}],"id":"820da59d-47bb-4805-b9a3-934a69f123be","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"8b4dbde4-e44d-436b-8e1b-6ac56b2f280f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dbf88272-bd44-4b02-b966-73242a1097ab","type":"text/javascript","exec":[""]}}],"_postman_id":"820da59d-47bb-4805-b9a3-934a69f123be","description":""},{"name":"Troubleshooter","item":[{"name":"Get all devices revissions","id":"5ba2503e-3c91-47c4-aa93-06b8486c9816","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/api/troubleshooter/revisions","urlObject":{"path":["iris","api2","api","troubleshooter","revisions"],"host":["{{Host}}"],"query":[{"disabled":true,"description":{"content":"<p>Maxium number of revisions (default: 15)</p>\n","type":"text/plain"},"key":"max_rev","value":"15"}],"variable":[]}},"response":[],"_postman_id":"5ba2503e-3c91-47c4-aa93-06b8486c9816"},{"name":"Get device revisions","id":"a2d8be71-f895-4171-b967-85d4a7cd07d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/api/troubleshooter/revisions/stage-dceX.irisns.com","urlObject":{"path":["iris","api2","api","troubleshooter","revisions","stage-dceX.irisns.com"],"host":["{{Host}}"],"query":[{"disabled":true,"description":{"content":"<p>Request a specific revision to get (by default: latest)</p>\n","type":"text/plain"},"key":"rev","value":"r174"}],"variable":[]}},"response":[],"_postman_id":"a2d8be71-f895-4171-b967-85d4a7cd07d9"},{"name":"Get device config log","id":"a36639a8-b6f8-4a15-a1d8-9c17930728b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/api/troubleshooter/configlog/stage-dceX.irisns.com","urlObject":{"path":["iris","api2","api","troubleshooter","configlog","stage-dceX.irisns.com"],"host":["{{Host}}"],"query":[{"disabled":true,"description":{"content":"<p>Specify specific revision to get (by default: latest)</p>\n","type":"text/plain"},"key":"rev","value":"r174"}],"variable":[]}},"response":[],"_postman_id":"a36639a8-b6f8-4a15-a1d8-9c17930728b8"},{"name":"Get pertinent config","id":"4ee2e0dc-ee09-4147-a264-2e14a5972c5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/troubleshooter/configaudit?showconf_type=pertinet&graphid=4037004959&endtime=1614810375","urlObject":{"path":["","iris","api2","troubleshooter","configaudit"],"host":["{{Host}}"],"query":[{"key":"showconf_type","value":"pertinet"},{"key":"graphid","value":"4037004959"},{"key":"endtime","value":"1614810375"}],"variable":[]}},"response":[],"_postman_id":"4ee2e0dc-ee09-4147-a264-2e14a5972c5d"},{"name":"Get device config","id":"937ffaa7-fbae-4e18-9dff-4e10e1c0c043","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/troubleshooter/configaudit?showconf_type=deviceconfig&graphid=4037004959&endtime=1614810375","urlObject":{"path":["","iris","api2","troubleshooter","configaudit"],"host":["{{Host}}"],"query":[{"key":"showconf_type","value":"deviceconfig"},{"key":"graphid","value":"4037004959"},{"key":"endtime","value":"1614810375"}],"variable":[]}},"response":[],"_postman_id":"937ffaa7-fbae-4e18-9dff-4e10e1c0c043"},{"name":"Get device inventory","id":"67d7cb0c-0301-444d-a35c-b368019ee5a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/troubleshooter/configaudit?showconf_type=inventory&graphid=4037004959&endtime=1614810375","urlObject":{"path":["","iris","api2","troubleshooter","configaudit"],"host":["{{Host}}"],"query":[{"key":"showconf_type","value":"inventory"},{"key":"graphid","value":"4037004959"},{"key":"endtime","value":"1614810375"}],"variable":[]}},"response":[],"_postman_id":"67d7cb0c-0301-444d-a35c-b368019ee5a7"},{"name":"Get raw backup data","id":"d00e8f48-d6b0-4a4e-97c0-97e962bc445f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/troubleshooter/configaudit?showconf_type=raw&graphid=4037004959&endtime=1614810375","urlObject":{"path":["","iris","api2","troubleshooter","configaudit"],"host":["{{Host}}"],"query":[{"key":"showconf_type","value":"raw"},{"key":"graphid","value":"4037004959"},{"key":"endtime","value":"1614810375"}],"variable":[]}},"response":[],"_postman_id":"d00e8f48-d6b0-4a4e-97c0-97e962bc445f"},{"name":"Get related graphs for an element","id":"e00fef24-d16e-4d2a-8607-85b22d1c734b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/troubleshooter/relatedgraphs?starttime=1614628860&endtime=1614644280&graphid=4228005116&which=element","urlObject":{"path":["","iris","api2","troubleshooter","relatedgraphs"],"host":["{{Host}}"],"query":[{"key":"starttime","value":"1614628860"},{"key":"endtime","value":"1614644280"},{"key":"graphid","value":"4228005116"},{"key":"which","value":"element"}],"variable":[]}},"response":[],"_postman_id":"e00fef24-d16e-4d2a-8607-85b22d1c734b"},{"name":"Get related graphs for a subelement","id":"c0188bbd-8168-45e2-9919-4a09e782739a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/troubleshooter/relatedgraphs?starttime=1614628860&endtime=1614644280&graphid=4228005116&which=subelement","urlObject":{"path":["","iris","api2","troubleshooter","relatedgraphs"],"host":["{{Host}}"],"query":[{"key":"starttime","value":"1614628860"},{"key":"endtime","value":"1614644280"},{"key":"graphid","value":"4228005116"},{"key":"which","value":"subelement"}],"variable":[]}},"response":[],"_postman_id":"c0188bbd-8168-45e2-9919-4a09e782739a"},{"name":"Get related graphs for a device","id":"ff165bfc-e2d4-4302-9a68-6489c8aa691b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/troubleshooter/relatedgraphs?starttime=1614628860&endtime=1614644280&graphid=4228005116&which=device","urlObject":{"path":["","iris","api2","troubleshooter","relatedgraphs"],"host":["{{Host}}"],"query":[{"key":"starttime","value":"1614628860"},{"key":"endtime","value":"1614644280"},{"key":"graphid","value":"4228005116"},{"key":"which","value":"device"}],"variable":[]}},"response":[],"_postman_id":"ff165bfc-e2d4-4302-9a68-6489c8aa691b"},{"name":"Get related graphs for a view","id":"6d67abab-55ae-4509-86db-8fbca667bc69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/troubleshooter/relatedgraphs?starttime=1614628860&endtime=1614644280&graphid=4228005116&which=view","urlObject":{"path":["","iris","api2","troubleshooter","relatedgraphs"],"host":["{{Host}}"],"query":[{"key":"starttime","value":"1614628860"},{"key":"endtime","value":"1614644280"},{"key":"graphid","value":"4228005116"},{"key":"which","value":"view"}],"variable":[]}},"response":[],"_postman_id":"6d67abab-55ae-4509-86db-8fbca667bc69"},{"name":"Get related graphs for this segment","id":"a488e5ee-c9bf-4013-ac00-820aedb0fa7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/troubleshooter/relatedgraphs?starttime=1614628860&endtime=1614644280&graphid=4228005116&which=segment","urlObject":{"path":["","iris","api2","troubleshooter","relatedgraphs"],"host":["{{Host}}"],"query":[{"key":"starttime","value":"1614628860"},{"key":"endtime","value":"1614644280"},{"key":"graphid","value":"4228005116"},{"key":"which","value":"segment"}],"variable":[]}},"response":[],"_postman_id":"a488e5ee-c9bf-4013-ac00-820aedb0fa7f"},{"name":"Get related graphs for this service tag","id":"9d8894f9-a67a-438d-abbb-ba73ddb01b22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/troubleshooter/relatedgraphs?starttime=1614628860&endtime=1614644280&graphid=4228005116&which=service","urlObject":{"path":["","iris","api2","troubleshooter","relatedgraphs"],"host":["{{Host}}"],"query":[{"key":"starttime","value":"1614628860"},{"key":"endtime","value":"1614644280"},{"key":"graphid","value":"4228005116"},{"key":"which","value":"service"}],"variable":[]}},"response":[],"_postman_id":"9d8894f9-a67a-438d-abbb-ba73ddb01b22"}],"id":"11b66c68-42fa-4f3e-aff6-71e32bfadc0b","description":"<p>API calls used into the Troubleshooter to get various data.</p>\n<p>Returns JSON with success: true/false and data key, containing the data.</p>\n","_postman_id":"11b66c68-42fa-4f3e-aff6-71e32bfadc0b"},{"name":"Netflowreports","item":[{"name":"Download as PDF","id":"dc681991-6982-4aaa-82f2-279f907a6eef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/api/netflowreports/results/download/pdf?netflowreports_id=5&uuid=2D9F93DA80BB11EB8693AD15B5221EC8","urlObject":{"path":["iris","api2","api","netflowreports","results","download","pdf"],"host":["{{Host}}"],"query":[{"key":"netflowreports_id","value":"5"},{"key":"uuid","value":"2D9F93DA80BB11EB8693AD15B5221EC8"},{"disabled":true,"key":"period","value":"CUSTOM"},{"disabled":true,"description":{"content":"<p>Override report timeframes</p>\n","type":"text/plain"},"key":"override_timeperiod","value":"1"},{"disabled":true,"description":{"content":"<p>Custom starttime as epoch</p>\n","type":"text/plain"},"key":"starttime","value":"1615200798"},{"disabled":true,"description":{"content":"<p>Custom endpoint as epoch</p>\n","type":"text/plain"},"key":"endtime","value":"1615286900"}],"variable":[]}},"response":[],"_postman_id":"dc681991-6982-4aaa-82f2-279f907a6eef"},{"name":"Download as CSV","id":"21c407e7-4339-42e3-869c-1ca3d7c6321d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/api/netflowreports/results/download/pdf?netflowreports_id=5&uuid=2D9F93DA80BB11EB8693AD15B5221EC8","urlObject":{"path":["iris","api2","api","netflowreports","results","download","pdf"],"host":["{{Host}}"],"query":[{"key":"netflowreports_id","value":"5"},{"key":"uuid","value":"2D9F93DA80BB11EB8693AD15B5221EC8"},{"disabled":true,"key":"period","value":"CUSTOM"},{"disabled":true,"description":{"content":"<p>Override report timeframes</p>\n","type":"text/plain"},"key":"override_timeperiod","value":"1"},{"disabled":true,"description":{"content":"<p>Custom starttime as epoch</p>\n","type":"text/plain"},"key":"starttime","value":"1615200798"},{"disabled":true,"description":{"content":"<p>Custom endpoint as epoch</p>\n","type":"text/plain"},"key":"endtime","value":"1615286900"}],"variable":[]}},"response":[],"_postman_id":"21c407e7-4339-42e3-869c-1ca3d7c6321d"}],"id":"25030705-e69b-483f-ae94-90a5e4d58432","_postman_id":"25030705-e69b-483f-ae94-90a5e4d58432","description":""},{"name":"Reports","item":[{"name":"Get Topn results","id":"d892831d-b8bd-4113-8b3b-0f95ed95b530","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/api/reports/topn?graphtype=snipsAvailability&views_id=10&f_wholewords=1&starttime=1614962497&endtime=1614969400","description":"<p>Retrieve TopN search data.</p>\n<p><em>NOTE</em> Keywords might contain data string, that is processed on the backend: For example: 4 hours cpu</p>\n<p>The 4 hours will be parsed and will take precedence over starttime &amp; endtime. The response contains starttime/endtime that indicates the dates.</p>\n","urlObject":{"path":["iris","api2","api","reports","topn"],"host":["{{Host}}"],"query":[{"key":"graphtype","value":"snipsAvailability"},{"key":"views_id","value":"10"},{"description":{"content":"<p>Search whole words</p>\n","type":"text/plain"},"key":"f_wholewords","value":"1"},{"description":{"content":"<p>Start as unix epoch timestamp</p>\n","type":"text/plain"},"key":"starttime","value":"1614962497"},{"description":{"content":"<p>End as unix epoch timestamp</p>\n","type":"text/plain"},"key":"endtime","value":"1614969400"},{"disabled":true,"description":{"content":"<p>Keywords (might contain period, will take precedence over starttime &amp; endtime)</p>\n","type":"text/plain"},"key":"keywords","value":null}],"variable":[]}},"response":[],"_postman_id":"d892831d-b8bd-4113-8b3b-0f95ed95b530"},{"name":"User Report results","id":"42983a1f-0b2f-45a8-a495-f380b46444d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{Host}}/iris/api2/api/userreports/generate/48?start=1628974800&end=1629381848","description":"<p>Retrieve TopN search data.</p>\n<p><em>NOTE</em> Keywords might contain data string, that is processed on the backend: For example: 4 hours cpu</p>\n<p>The 4 hours will be parsed and will take precedence over starttime &amp; endtime. The response contains starttime/endtime that indicates the dates.</p>\n","urlObject":{"path":["iris","api2","api","userreports","generate","48"],"host":["{{Host}}"],"query":[{"description":{"content":"<p>Start date as unix epoch</p>\n","type":"text/plain"},"key":"start","value":"1628974800"},{"description":{"content":"<p>End date as unix epoch</p>\n","type":"text/plain"},"key":"end","value":"1629381848"},{"disabled":true,"description":{"content":"<p>Keywords (might contain period, will take precedence over starttime &amp; endtime)</p>\n","type":"text/plain"},"key":"keywords","value":""}],"variable":[]}},"response":[],"_postman_id":"42983a1f-0b2f-45a8-a495-f380b46444d7"}],"id":"b7bc7b95-7c88-4ad8-8c81-44ecdef50b81","_postman_id":"b7bc7b95-7c88-4ad8-8c81-44ecdef50b81","description":""},{"name":"Graphsbrowser","item":[],"id":"63b9c249-b1cc-4989-b4bf-74c111c96665","_postman_id":"63b9c249-b1cc-4989-b4bf-74c111c96665","description":""},{"name":"Get maps","id":"48a3544e-287b-41eb-b38d-9fa4d228f3a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{Host}}/iris/maps/api/maps","description":"<p><a href=\"http://156.38.228.172/iris/api2/api/devices\">http://156.38.228.172/iris/api2/api/devices</a></p>\n","urlObject":{"path":["iris","maps","api","maps"],"host":["{{Host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"48a3544e-287b-41eb-b38d-9fa4d228f3a0"},{"name":"Authenticate","id":"a0b21d85-7794-49a2-aba8-fb4321183db8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"admin","type":"text"},{"key":"password","value":"admin","type":"text"}]},"url":"{{Host}}/api/jwt/auth","description":"<p><a href=\"http://156.38.228.172/iris/api2/api/devices\">http://156.38.228.172/iris/api2/api/devices</a></p>\n","urlObject":{"path":["api","jwt","auth"],"host":["{{Host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0b21d85-7794-49a2-aba8-fb4321183db8"},{"name":"Get config revisions","id":"32bbb703-ebaa-438f-8f6d-5a9481701c84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{Host}}/iris/api2/configs/devices/revisions/{hostname}","description":"<p><a href=\"http://156.38.228.172/iris/api2/api/devices\">http://156.38.228.172/iris/api2/api/devices</a></p>\n","urlObject":{"path":["iris","api2","configs","devices","revisions","{hostname}"],"host":["{{Host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"32bbb703-ebaa-438f-8f6d-5a9481701c84"},{"name":"Get config revisions diff","id":"9dfb34be-122b-4751-93e9-006b5f0e4ee0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{Host}}/iris/api2/configs/devices/diff/{hostname}?rev={revisionFrom}:{revisionTo}","description":"<p><a href=\"http://156.38.228.172/iris/api2/api/devices\">http://156.38.228.172/iris/api2/api/devices</a></p>\n","urlObject":{"path":["iris","api2","configs","devices","diff","{hostname}"],"host":["{{Host}}"],"query":[{"description":{"content":"<p>Provide a revision from to revision to</p>\n","type":"text/plain"},"key":"rev","value":"{revisionFrom}:{revisionTo}"}],"variable":[]}},"response":[],"_postman_id":"9dfb34be-122b-4751-93e9-006b5f0e4ee0"},{"name":"Get config revisions logs","id":"4c014bb8-f6fb-42f4-acd4-2670c9a54370","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{Host}} /iris/api2/configs/devices/configlog/{hostname}","description":"<p><a href=\"http://156.38.228.172/iris/api2/api/devices\">http://156.38.228.172/iris/api2/api/devices</a></p>\n","urlObject":{"path":["iris","api2","configs","devices","configlog","{hostname}"],"host":["{{Host}} "],"query":[],"variable":[]}},"response":[],"_postman_id":"4c014bb8-f6fb-42f4-acd4-2670c9a54370"},{"name":"Get widget","id":"18a67993-07f4-45a6-98f6-836c34e465ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"},{"key":"Accept","type":"text","value":"application/json"}],"url":"{{Host}}/api/widgets/40","description":"<p><a href=\"http://156.38.228.172/iris/api2/api/devices\">http://156.38.228.172/iris/api2/api/devices</a></p>\n","urlObject":{"path":["api","widgets","40"],"host":["{{Host}}"],"query":[{"disabled":true,"key":"bRegex_0","value":"false"},{"disabled":true,"key":"bRegex_1","value":"false"},{"disabled":true,"key":"bRegex_2","value":"false"},{"disabled":true,"key":"bRegex_3","value":"false"},{"disabled":true,"key":"bRegex_4","value":"false"},{"disabled":true,"key":"bSearchable_0","value":"false"},{"disabled":true,"key":"bSearchable_1","value":"true"},{"disabled":true,"key":"bSearchable_2","value":"true"},{"disabled":true,"key":"bSearchable_3","value":"true"},{"disabled":true,"key":"bSearchable_4","value":"true"},{"disabled":true,"key":"bSortable_0","value":"false"},{"disabled":true,"key":"bSortable_1","value":"true"},{"disabled":true,"key":"bSortable_2","value":"true"},{"disabled":true,"key":"bSortable_3","value":"true"},{"disabled":true,"key":"bSortable_4","value":"true"},{"disabled":true,"key":"iColumns","value":"5"},{"disabled":true,"key":"iDisplayLength","value":"20"},{"disabled":true,"key":"iDisplayStart","value":"0"},{"disabled":true,"key":"iSortCol_0","value":"1"},{"disabled":true,"key":"iSortingCols","value":"1"},{"disabled":true,"key":"mDataProp_0","value":"dashboards_id"},{"disabled":true,"key":"mDataProp_1","value":"username"},{"disabled":true,"key":"mDataProp_2","value":"name"},{"disabled":true,"key":"mDataProp_3","value":"email"},{"disabled":true,"key":"mDataProp_4","value":"roles"},{"disabled":true,"key":"sSortDir_0","value":"asc"},{"disabled":true,"key":"prefetch","value":"users_roles"}],"variable":[]}},"response":[],"_postman_id":"18a67993-07f4-45a6-98f6-836c34e465ad"},{"name":"Start Netflow Report","id":"d564bb14-fbe7-42b3-9405-c1dea5c6be4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"report_id","value":"36","type":"text"},{"key":"report_name","value":"NetflowReport","type":"text"},{"key":"start","value":"1612981800","type":"text"},{"key":"end","value":"1613027480","type":"text"}]},"url":"{{Host}}/api/netflow_report/task/start","description":"<p><a href=\"http://156.38.228.172/iris/api2/api/devices\">http://156.38.228.172/iris/api2/api/devices</a></p>\n","urlObject":{"path":["api","netflow_report","task","start"],"host":["{{Host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d564bb14-fbe7-42b3-9405-c1dea5c6be4e"},{"name":"Upload File","id":"32458929-facf-4b16-affe-b3c7cf33be8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Cookie","value":"{{Session Cookie}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"upload","type":"file","src":"/home/chirag/Pictures/test.jpg"},{"key":"password","value":"admin","type":"text","disabled":true}]},"url":"{{Host}}/api/upload","description":"<p><a href=\"http://156.38.228.172/iris/api2/api/devices\">http://156.38.228.172/iris/api2/api/devices</a></p>\n","urlObject":{"path":["api","upload"],"host":["{{Host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"32458929-facf-4b16-affe-b3c7cf33be8a"},{"name":"Ping device","id":"3a1813bc-c933-47c2-bfb0-8272f9bf0bfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","value":"{{Session Cookie}}","type":"text"}],"url":"{{Host}}/api/utils/alarms?check=ping&id=602&ipaddr=10.0.2.150&basetag=dev-maven","urlObject":{"path":["api","utils","alarms"],"host":["{{Host}}"],"query":[{"disabled":true,"key":"poller_b","value":"1"},{"key":"check","value":"ping"},{"key":"id","value":"602"},{"key":"ipaddr","value":"10.0.2.150"},{"key":"basetag","value":"dev-maven"}],"variable":[]}},"response":[],"_postman_id":"3a1813bc-c933-47c2-bfb0-8272f9bf0bfc"},{"name":"Download PDF","id":"243f059b-d599-4f73-81f0-676e6e54be79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","value":"{{Session Cookie}}","type":"text"}],"url":"{{Host}}/api/utils/alarms?check=ping&id=602&ipaddr=10.0.2.150&basetag=dev-maven","urlObject":{"path":["api","utils","alarms"],"host":["{{Host}}"],"query":[{"disabled":true,"key":"poller_b","value":"1"},{"key":"check","value":"ping"},{"key":"id","value":"602"},{"key":"ipaddr","value":"10.0.2.150"},{"key":"basetag","value":"dev-maven"}],"variable":[]}},"response":[],"_postman_id":"243f059b-d599-4f73-81f0-676e6e54be79"},{"name":"Get devices info","id":"a4fcfe79-901f-4b88-a1a7-9f082656eeec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","value":"{{Session Cookie}}","type":"text"}],"url":"{{Host}}/api/views/deviceinfo_all?_=1606122941486&viewnam","urlObject":{"path":["api","views","deviceinfo_all"],"host":["{{Host}}"],"query":[{"key":"_","value":"1606122941486"},{"key":"viewnam","value":null}],"variable":[]}},"response":[],"_postman_id":"a4fcfe79-901f-4b88-a1a7-9f082656eeec"},{"name":"Get topologies","id":"74da5458-ea58-4dfe-b6a0-cfb95bc1453d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","value":"{{Session Cookie}}","type":"text"}],"url":"{{Host}}/api/views/deviceinfo_all?viewnam","urlObject":{"path":["api","views","deviceinfo_all"],"host":["{{Host}}"],"query":[{"key":"viewnam","value":null}],"variable":[]}},"response":[],"_postman_id":"74da5458-ea58-4dfe-b6a0-cfb95bc1453d"},{"name":"Get dashboard health devices","id":"705a8146-dd09-493a-9350-f127a5da1e5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"}],"url":"{{Host}}/dashboards/health/device/-1/whichhealth/view","urlObject":{"path":["dashboards","health","device","-1","whichhealth","view"],"host":["{{Host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"705a8146-dd09-493a-9350-f127a5da1e5c"},{"name":"Get health devices ","id":"f9248215-1de7-401f-b2ee-3378ba06342a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"}],"url":"{{Host}}/api/devices?search.deleted=0&prefetch=[%22devicetype%22,{%22devices_views%22:%22view%22}]","urlObject":{"path":["api","devices"],"host":["{{Host}}"],"query":[{"key":"search.deleted","value":"0"},{"key":"prefetch","value":"[%22devicetype%22,{%22devices_views%22:%22view%22}]"}],"variable":[]}},"response":[],"_postman_id":"f9248215-1de7-401f-b2ee-3378ba06342a"},{"name":"Get device health details","id":"75e1361a-d220-4e8f-8634-91cbdbc80606","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"}],"url":"{{Host}}/reports/devicehealth_ajax?hostname=stage-dce4.irisns.com&starttime=1606031100&endtime=1606120200","urlObject":{"path":["reports","devicehealth_ajax"],"host":["{{Host}}"],"query":[{"key":"hostname","value":"stage-dce4.irisns.com"},{"key":"starttime","value":"1606031100"},{"key":"endtime","value":"1606120200"}],"variable":[]}},"response":[],"_postman_id":"75e1361a-d220-4e8f-8634-91cbdbc80606"},{"name":"Get User Dashboards","id":"dfcab280-ecd1-46f5-a036-9c380cd76ead","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"}],"url":"{{Host}}/api/dashboards?prefetch=view","urlObject":{"path":["api","dashboards"],"host":["{{Host}}"],"query":[{"key":"prefetch","value":"view"}],"variable":[]}},"response":[],"_postman_id":"dfcab280-ecd1-46f5-a036-9c380cd76ead"},{"name":"Get Basetags","id":"e314a53b-81ab-4888-ab51-f5b97698eb9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"}],"url":"{{Host}}/api/dashboards?prefetch=view","urlObject":{"path":["api","dashboards"],"host":["{{Host}}"],"query":[{"key":"prefetch","value":"view"}],"variable":[]}},"response":[],"_postman_id":"e314a53b-81ab-4888-ab51-f5b97698eb9c"},{"name":"Get Alarms","id":"d54514ad-a1a4-445f-95e7-666db86c40be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","type":"text","value":"{{Session Cookie}}"}],"url":"{{Host}}/api/alarms?custom_view=unsuppressed_alarms&iDisplayStart=50&iDisplayLength=50&search={\"ticket_status\":{\"not_in\":\"DEFER\"},\"status\":[\"ALARM\"]}","urlObject":{"path":["api","alarms"],"host":["{{Host}}"],"query":[{"key":"custom_view","value":"unsuppressed_alarms"},{"key":"iDisplayStart","value":"50"},{"key":"iDisplayLength","value":"50"},{"key":"search","value":"{\"ticket_status\":{\"not_in\":\"DEFER\"},\"status\":[\"ALARM\"]}"}],"variable":[]}},"response":[],"_postman_id":"d54514ad-a1a4-445f-95e7-666db86c40be"},{"name":"Get configuration devices","id":"58f3da7a-0aa8-432f-b23d-1836570e9860","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"58f3da7a-0aa8-432f-b23d-1836570e9860"},{"name":"Check Unique Host Name","id":"f0e1a586-b70e-484e-bd55-58eb24edfc7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{Token}}"},"isInherited":false},"method":"GET","header":[{"key":"Cookie","value":"{{Session Cookie}}","type":"text"}],"url":"{{Host}}/validate/device_hostname_uniq?fieldId=hostname&fieldValue=google.com&devices_id=&_=1612528187019","urlObject":{"path":["validate","device_hostname_uniq"],"host":["{{Host}}"],"query":[{"key":"fieldId","value":"hostname"},{"key":"fieldValue","value":"google.com"},{"key":"devices_id","value":""},{"key":"_","value":"1612528187019"}],"variable":[]}},"response":[],"_postman_id":"f0e1a586-b70e-484e-bd55-58eb24edfc7f"},{"name":"Add Track Flow","id":"3658febe-ac1c-431c-ab32-98f8f4f9f229","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{Host}}/iris/api2/api/build_flow_sql body: {\n    \"PROTOCOL\": \"tcp\",\n    \"SRC_COUNTRY\": \"DE\"\n}","urlObject":{"path":["iris","api2","api","build_flow_sql body: {\n    \"PROTOCOL\": \"tcp\",\n    \"SRC_COUNTRY\": \"DE\"\n}"],"host":["{{Host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3658febe-ac1c-431c-ab32-98f8f4f9f229"}]}