{"info":{"_postman_id":"9400d38b-5829-4453-a9a7-6286f22710f6","name":"Warren.io  - Admin API doc","description":"<html><head></head><body><p>Do not hesitate to contact Warren team if you don't find the endpoint you are looking for!</p>\n<p>This API doc is intended for Warren.io platform admins. In order to be able to use these queries you need to have admin priviliges set to your user account. Contact the dev team for that.</p>\n<p>After your user account has been given admin priviliges any of your API keys can be used in these requests, all keys act as admin keys</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"2599901","collectionId":"9400d38b-5829-4453-a9a7-6286f22710f6","publishedId":"RznLEagg","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-01-12T13:15:18.000Z"},"item":[{"name":"Users","item":[{"name":"Get all Users","id":"3c13e032-edbc-4d1a-8d49-237428cc3087","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/user-resource/user/all","description":"<p>Returns a list of all users created at platform.</p>\n","urlObject":{"path":["v1","user-resource","user","all"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"469c3d91-3ad5-4296-a754-46e2f578b72f","name":"Get all users","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/user-resource/user/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"15260"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Wed, 16 Jan 2019 13:52:17 GMT"},{"key":"x-warren-correlation-id","value":"urs-wgqf1ei8"},{"key":"X-Kong-Upstream-Latency","value":"1026"},{"key":"X-Kong-Proxy-Latency","value":"42"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"admin\": true,\n        \"cookie_id\": \"3388946312d44599aad1c4c165c62321\",\n        \"encrypted_auth_state\": null,\n        \"id\": 2,\n        \"last_activity\": \"2018-09-19 11:41:26\",\n        \"name\": \"qm\",\n        \"profile\": null,\n        \"profile_data\": null,\n        \"state\": {}\n    },\n    {\n        \"admin\": false,\n        \"cookie_id\": \"112f7172c3da4098af4013cffd214a14\",\n        \"id\": 29,\n        \"last_activity\": \"2019-01-16 13:26:58\",\n        \"name\": \"kadri+shared-test@oyenetwork.com\",\n        \"profile_data\": {\n            \"updated_at\": \"2018-11-01 13:04:30.721404\",\n            \"avatar\": \"https://s.gravatar.com/avatar/fd4321788d33bd44cc1a206dcf0f00d5?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fka.png\",\n            \"last_name\": null,\n            \"user_id\": 29,\n            \"created_at\": \"2018-11-01 13:04:30.706940\",\n            \"email\": \"kadri+shared-test@oyenetwork.com\",\n            \"first_name\": null,\n            \"id\": 23\n        },\n        \"state\": {}\n    }\n]"}],"_postman_id":"3c13e032-edbc-4d1a-8d49-237428cc3087"},{"name":"Get all Admin Users/Consumers","id":"64c2b245-2e69-4e11-8730-ed11625ca2eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/user-resource/admin/admin_consumers","description":"<p>Returns a list of all Kong consumers (users) that belong to the <code>admin</code> group.</p>\n","urlObject":{"path":["v1","user-resource","admin","admin_consumers"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"96c6478c-9d03-43a3-b77b-dd87f2179ecc","name":"Get all Admin Users/Consumers","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/user-resource/admin/admin_consumers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"2899"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 03 Oct 2023 11:54:28 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.1"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"2282"},{"key":"X-Warren-Correlation-Id","value":"usr-xdivlx77"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"custom_id\": \"136\",\n        \"created_at\": 1570005812000,\n        \"username\": \"alice@oyenetwork.com\",\n        \"id\": \"f837d1ff-d614-4076-86ad-fa2ef2685337\"\n    },\n    {\n        \"custom_id\": \"129\",\n        \"created_at\": 1569317504000,\n        \"username\": \"bob@warren.io\",\n        \"id\": \"32c4071d-bda2-4153-a291-5fc51f004afe\"\n    },\n    {\n        \"custom_id\": \"15\",\n        \"created_at\": 1537777370000,\n        \"username\": \"carol@gmail.com\",\n        \"id\": \"2dd18290-88a3-451c-81c6-18860a3c6c50\"\n    }\n]"}],"_postman_id":"64c2b245-2e69-4e11-8730-ed11625ca2eb"},{"name":"Get User signups' statistics","id":"ef2705b0-8f7b-4831-97d8-92fbce32ef9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/user-resource/admin/user_signups?limit_months=12","description":"<p>Returns statistics of user accounts created on platform.</p>\n<p><code>total_signups</code> : total user account count created on platform</p>\n<p><code>last_x_days_signups</code> : accounts created during last x days where x is days count in the element <code>{\"days\" : 30, \"users\": 123}</code></p>\n<p><code>monthly_signups</code>: user accounts created monthly, each month presented in element <code>{\"month\" : \"2022-06-01 00:00:00\", \"users\": 2345}</code></p>\n<p>Optional parameters:</p>\n<ul>\n<li><code>limit_months</code> - Stats calculations will be limited to this many months in the past. Note that `total_signups` value is not dependent on this parameter</li>\n</ul>\n","urlObject":{"path":["v1","user-resource","admin","user_signups"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Stats calculations will be limited to this many months in the past. Note that <code>total_signups</code> value is not dependent on this parameter</p>\n","type":"text/plain"},"key":"limit_months","value":"12"}],"variable":[]}},"response":[{"id":"8efd7683-813a-479c-80a4-4d74a01d704a","name":"Get User signups' statistics","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":{"raw":"{{url}}/v1/user-resource/admin/user_signups?limit_months=12","host":["{{url}}"],"path":["v1","user-resource","admin","user_signups"],"query":[{"key":"limit_months","value":"12"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"15260"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Wed, 16 Jan 2019 13:52:17 GMT"},{"key":"x-warren-correlation-id","value":"urs-wgqf1ei8"},{"key":"X-Kong-Upstream-Latency","value":"1026"},{"key":"X-Kong-Proxy-Latency","value":"42"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"total_signups\": 40591,\n    \"last_x_days_signups\": [\n        {\n            \"days\": 30,\n            \"users\": 2837\n        },\n        {\n            \"days\": 60,\n            \"users\": 5791\n        }\n    ],\n    \"monthly_signups\": [\n        {\n            \"month\": \"2022-06-01 00:00:00\",\n            \"users\": 1956\n        },\n        {\n            \"month\": \"2022-05-01 00:00:00\",\n            \"users\": 2710\n        },\n        {\n            \"month\": \"2022-04-01 00:00:00\",\n            \"users\": 4039\n        },\n        {\n            \"month\": \"2022-03-01 00:00:00\",\n            \"users\": 3973\n        },\n        {\n            \"month\": \"2022-02-01 00:00:00\",\n            \"users\": 1808\n        },\n        {\n            \"month\": \"2022-01-01 00:00:00\",\n            \"users\": 3945\n        },\n        {\n            \"month\": \"2021-12-01 00:00:00\",\n            \"users\": 2800\n        },\n        {\n            \"month\": \"2021-11-01 00:00:00\",\n            \"users\": 2531\n        },\n        {\n            \"month\": \"2021-10-01 00:00:00\",\n            \"users\": 2473\n        },\n        {\n            \"month\": \"2021-09-01 00:00:00\",\n            \"users\": 2496\n        },\n        {\n            \"month\": \"2021-08-01 00:00:00\",\n            \"users\": 1996\n        },\n        {\n            \"month\": \"2021-07-01 00:00:00\",\n            \"users\": 1787\n        },\n        {\n            \"month\": \"2021-06-01 00:00:00\",\n            \"users\": 1820\n        }\n    ]\n}"}],"_postman_id":"ef2705b0-8f7b-4831-97d8-92fbce32ef9f"},{"name":"Get user's MFA status","id":"e25386e5-20ba-4176-8766-240719e3d554","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/user-resource/admin/mfa/is_active?user_id=1234","description":"<p>Returns MFA status of a user.</p>\n<p>Parameters:</p>\n<ul>\n<li><code>user_id</code> - The ID of the specific user whose information is requested</li>\n</ul>\n","urlObject":{"path":["v1","user-resource","admin","mfa","is_active"],"host":["{{url}}"],"query":[{"key":"user_id","value":"1234"}],"variable":[]}},"response":[{"id":"a2b70faa-8202-4caa-bbed-d534c6d8eba7","name":"Successful request","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":{"raw":"{{url}}/v1/user-resource/admin/mfa/is_active?user_id=1234","host":["{{url}}"],"path":["v1","user-resource","admin","mfa","is_active"],"query":[{"key":"user_id","value":"1234"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"success\": true\r\n}"}],"_postman_id":"e25386e5-20ba-4176-8766-240719e3d554"},{"name":"Reset user's MFA","id":"b241033d-9c46-4a18-a6c3-878364f9c080","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"user_id","value":"1234","type":"text","uuid":"2dd1b1f9-4f73-4adc-9cd9-fb300a656316"}]},"url":"{{url}}/v1/user-resource/admin/mfa/reset","description":"<p>Reset the user's MFA. This action deactivates MFA for the user, allowing them to start the enrollment process again from the UI.</p>\n<p>Parameters:</p>\n<ul>\n<li><code>user_id</code> - The ID of the specific user whose MFA needs to be reset</li>\n</ul>\n","urlObject":{"path":["v1","user-resource","admin","mfa","reset"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"4817bbad-81da-435c-8885-cd097ec44883","name":"Successful request","originalRequest":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"user_id","value":"1234","type":"text","uuid":"10e7a4da-ce8c-436d-9f55-defa4cfe8cd9"}]},"url":"{{url}}/v1/user-resource/admin/mfa/reset"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"success\": true\r\n}"}],"_postman_id":"b241033d-9c46-4a18-a6c3-878364f9c080"}],"id":"22517cab-1b06-4cdf-b070-f077b742c28a","_postman_id":"22517cab-1b06-4cdf-b070-f077b742c28a","description":""},{"name":"Virtual Machines","item":[{"name":"Get all VMs","id":"5a8b0ab5-df36-4779-a11d-f6d8d984c3cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/user-resource/vm/all","description":"<p>Returns a list of all VMs created at platform.</p>\n<p>Not advised to use unless you know what you are doing, will return *a lot* of VMs. See GraphQL API for paging support.</p>\n<p>Parameters:</p>\n<ul>\n<li>status: running/stopped/creating/deleted<ul>\n<li>example: <em>status=running&amp;status=stopped returns only running and stopped vm's</em></li>\n</ul>\n</li>\n<li>deleted_cutoff_date: 2019-10-01<ul>\n<li>example: <em>status=running&amp;status=stopped&amp;status=deleted&amp;deleted_cutoff_date=2019-10-01 returns all VMs except vms deleted before 2019-10-01</em></li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["v1","user-resource","vm","all"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a8b0ab5-df36-4779-a11d-f6d8d984c3cb"},{"name":"Get VM stats","id":"872e1f15-f24e-498d-a1cb-375d8bf9acb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/base-operator/admin/vm/statistics/chart","description":"<p>Returns statistics about VMs running and stopped on the platform.</p>\n<p>Response contains three sections: <code>by_cpu</code>, <code>by_mem</code> and <code>by_os</code>. Each sections shows the number of running and stopped VMs that have a particular configuration related to the section.</p>\n<p>An example of <code>by_mem</code> section: there is 1 stopped VM with 512 MB of RAM, 6 running VMs with 1 GB of RAM, and 2 running and 2 stopped VMs with 2 GB of RAM.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">    \"by_mem\": {\n        \"0.5\": {\n            \"running\": 0,\n            \"stopped\": 1\n        },\n        \"1.0\": {\n            \"running\": 6,\n            \"stopped\": 0\n        },\n        \"2.0\": {\n            \"running\": 2,\n            \"stopped\": 2\n        }\n    }\n</code></pre>\n","urlObject":{"path":["v1","base-operator","admin","vm","statistics","chart"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"9e140f57-8417-41a3-810d-b8ab75a4b1e2","name":"Get VM stats","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/base-operator/admin/vm/statistics/chart"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"715"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 13 Feb 2025 10:30:57 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.1"},{"key":"X-Kong-Proxy-Latency","value":"75"},{"key":"X-Kong-Upstream-Latency","value":"24"},{"key":"X-Warren-Correlation-Id","value":"bop-56u81lqew"}],"cookie":[],"responseTime":null,"body":"{\n    \"by_cpu\": {\n        \"1\": {\n            \"running\": 10,\n            \"stopped\": 17\n        },\n        \"2\": {\n            \"running\": 23,\n            \"stopped\": 21\n        },\n        \"24\": {\n            \"running\": 0,\n            \"stopped\": 1\n        }\n    },\n    \"by_mem\": {\n        \"2.0\": {\n            \"running\": 2,\n            \"stopped\": 5\n        },\n        \"12.0\": {\n            \"running\": 0,\n            \"stopped\": 1\n        },\n        \"1.0\": {\n            \"running\": 30,\n            \"stopped\": 23\n        },\n        \"0.5\": {\n            \"running\": 1,\n            \"stopped\": 0\n        },\n        \"1.95312\": {\n            \"running\": 0,\n            \"stopped\": 6\n        },\n        \"4.0\": {\n            \"running\": 0,\n            \"stopped\": 2\n        },\n        \"0.999023\": {\n            \"running\": 0,\n            \"stopped\": 2\n        }\n    },\n    \"by_os\": {\n        \"debian\": {\n            \"running\": 3,\n            \"stopped\": 4\n        },\n        \"service\": {\n            \"running\": 16,\n            \"stopped\": 19\n        },\n        \"pfsense\": {\n            \"running\": 2,\n            \"stopped\": 2\n        },\n        \"fedora\": {\n            \"running\": 1,\n            \"stopped\": 0\n        },\n        \"ubuntu\": {\n            \"running\": 11,\n            \"stopped\": 11\n        },\n        \"windows_unlicensed\": {\n            \"running\": 0,\n            \"stopped\": 1\n        },\n        \"windows\": {\n            \"running\": 0,\n            \"stopped\": 2\n        }\n    }\n}"}],"_postman_id":"872e1f15-f24e-498d-a1cb-375d8bf9acb5"},{"name":"Get one VM","id":"379c3242-c29c-4cc3-be62-a31ddf4fb468","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/user-resource/admin/vm?uuid=d1e7fcc3-e7b1-415d-9e51-ccf6a4ab11f3","description":"<p>Returns one VM</p>\n","urlObject":{"path":["v1","user-resource","admin","vm"],"host":["{{url}}"],"query":[{"key":"uuid","value":"d1e7fcc3-e7b1-415d-9e51-ccf6a4ab11f3"}],"variable":[]}},"response":[{"id":"39bc50de-2edd-438b-87be-4320f633f94c","name":"Get one VM","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":{"raw":"{{url}}/v1/user-resource/admin/vm?uuid=d1e7fcc3-e7b1-415d-9e51-ccf6a4ab11f3","host":["{{url}}"],"path":["v1","user-resource","admin","vm"],"query":[{"key":"uuid","value":"d1e7fcc3-e7b1-415d-9e51-ccf6a4ab11f3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"1016"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 19 Jun 2023 10:14:41 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"51"},{"key":"X-Kong-Upstream-Latency","value":"79"},{"key":"X-Warren-Correlation-Id","value":"bop-1srkpv0u"}],"cookie":[],"responseTime":null,"body":"{\n    \"backup\": false,\n    \"billing_account\": 130079,\n    \"created_at\": \"2023-06-19 09:27:22\",\n    \"deleted_at\": \"2023-06-19 09:50:29\",\n    \"description\": \"\",\n    \"hostname\": \"shoot--local--lgsw31ltnahfhst0-worker-9uvla-tll01-5bfcb-klgrc\",\n    \"license_type\": \"WINDOWS\",\n    \"is_current_pool_visible\": false,\n    \"is_designated_pool_visible\": false,\n    \"latest_host_pool_uuid\": \"d2fc6881-9316-46d7-b515-b6cddaeee927\",\n    \"mac\": \"52:54:00:97:2b:1b\",\n    \"memory\": 4096,\n    \"name\": \"shoot--local--lgsw31ltnahfhst0-worker-9uvla-tll01-5bfcb-klgrc\",\n    \"os_name\": \"windows\",\n    \"os_version\": \"2022\",\n    \"private_ipv4\": \"10.6.167.238\",\n    \"public_ipv6\": \"2a05:1cc0:10:3::cb:fffc\",\n    \"service_uuid\": \"45e1dbdb-42c6-480c-a799-c103f6351aff\",\n    \"status\": \"deleted\",\n    \"storage\": [\n        {\n            \"created_at\": \"2023-06-19 09:27:25\",\n            \"name\": \"vda\",\n            \"pool\": \"n/a\",\n            \"primary\": true,\n            \"replica\": [],\n            \"shared\": false,\n            \"size\": 40,\n            \"type\": \"n/a\",\n            \"user_id\": 268,\n            \"uuid\": \"668ce84d-0be2-46ef-bc25-6ddc7f63117d\"\n        }\n    ],\n    \"updated_at\": \"2023-06-19 09:50:29\",\n    \"user_id\": 268,\n    \"username\": \"administrator\",\n    \"uuid\": \"d1e7fcc3-e7b1-415d-9e51-ccf6a4ab11f3\",\n    \"vcpu\": 4\n}"}],"_postman_id":"379c3242-c29c-4cc3-be62-a31ddf4fb468"},{"name":"Migrate a VM","event":[{"listen":"test","script":{"id":"f3d2c681-b837-4729-8a62-a85a10e8196b","exec":[""],"type":"text/javascript"}}],"id":"755147b8-be77-4002-a784-60dd1c53bed0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"uuid","type":"text","value":"e8685589-74cb-46ba-b9b6-468bc15d38bb"},{"key":"hv_uuid","type":"text","value":"f575f90f-491f-4ad4-b50e-d27219051f67"},{"key":"pool_uuid","value":"d2fc6881-9316-46d7-b515-b6cddaeee927","type":"text"}]},"url":"{{url}}/v1/base-operator/migrate","description":"<p>Migrate a VM to another hypervisor/host.</p>\n<p>Either <code>pool_uuid</code> or <code>hv_uuid</code> can be specified to select a target for migration:</p>\n<ul>\n<li>when <code>hv_uuid</code> is specified, the corresponding Host is the migration target (<code>pool_uuid</code> parameter is ignored).</li>\n<li>when <code>pool_uuid</code> is specified (but not <code>hv_uuid</code>) an arbitrary Host is chosen from corresponding Pool</li>\n<li>when neither of these parameters is provided, the target will be chosen from the Host Pool that VM is currently allocated to.</li>\n</ul>\n","urlObject":{"path":["v1","base-operator","migrate"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ceec37e1-9b2e-4e40-b6b4-e4fb526c010d","name":"Migrate VM","originalRequest":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"uuid","value":"e8685589-74cb-46ba-b9b6-468bc15d38bb","type":"text"},{"key":"hv_uuid","value":"f575f90f-491f-4ad4-b50e-d27219051f67","type":"text"}]},"url":"{{url}}/v1/base-operator/migrate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"17"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Date","value":"Tue, 03 Nov 2020 05:46:22 GMT"},{"key":"x-warren-correlation-id","value":"bop-ut5x7skt75"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"8336"},{"key":"X-Kong-Proxy-Latency","value":"16"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"755147b8-be77-4002-a784-60dd1c53bed0"},{"name":"Migrate VM license","event":[{"listen":"test","script":{"id":"f3d2c681-b837-4729-8a62-a85a10e8196b","exec":[""],"type":"text/javascript","packages":{}}}],"id":"65fe3ed5-9490-421c-ad73-7cea3efad294","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"os_name\": \"windows\",\n    \"license_type\": \"WINDOWS\"\n}"},"url":"{{url}}/v1/{{slug}}/user-resource/admin/vm/license_type","description":"<p>Allows to change designated Host Pool for given VM.</p>\n<p>See also <a href=\"#373ea6e3-299a-4897-bc3e-9d9a8e442aa4\">Host Pools</a></p>\n","urlObject":{"path":["v1","{{slug}}","user-resource","admin","vm","license_type"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"63bf1dad-eec1-4ee2-8220-5ce484735449","name":"Migrate VM license","originalRequest":{"method":"PATCH","header":[{"key":"apikey","value":"{{apikey}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"os_name\": \"windows\",\n    \"license_type\": \"WINDOWS\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/{{slug}}/user-resource/admin/vm/license_type"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\"message\": \"WINDOWS licence_type added to VM's\", \n\"ids\": [\n    \"92e5ed84-0d03-4101-baaa-875dc80840ea\", \n    \"dbb7f802-02cc-46bd-8a4d-2d2c1af629c0\", \n    \"70d39c3b-75f3-4b57-aa8a-2c3bf3fa7080\", \n    \"90f89daa-6af2-4ffb-ac14-66378789e3ff\", \n    \"62a88cfb-4de8-47e4-8e22-34cd7b9dcfe1\", \n    \"5c787d2e-0b21-4271-9d6f-974c51931881\", \n    \"7244e191-520f-4896-a8f8-b0d01d8bad93\"]}"}],"_postman_id":"65fe3ed5-9490-421c-ad73-7cea3efad294"},{"name":"Set designated Pool for VM","event":[{"listen":"test","script":{"id":"f3d2c681-b837-4729-8a62-a85a10e8196b","exec":[""],"type":"text/javascript"}}],"id":"f1d12a11-a66b-49c3-85ed-10d113f165d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"uuid","type":"text","value":"e8685589-74cb-46ba-b9b6-468bc15d38bb"},{"key":"designated_pool_uuid","type":"text","value":"2b230480-6483-4336-8e70-f66939e80e84"}]},"url":"{{url}}/v1/base-operator/admin/vm/designated_pool","description":"<p>Allows to change designated Host Pool for given VM.</p>\n<p>See also <a href=\"#373ea6e3-299a-4897-bc3e-9d9a8e442aa4\">Host Pools</a></p>\n","urlObject":{"path":["v1","base-operator","admin","vm","designated_pool"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"a18f66c0-ee83-406c-b8aa-93459904e2a7","name":"Set designated Pool for VM","originalRequest":{"method":"PATCH","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"uuid","type":"text","value":"e8685589-74cb-46ba-b9b6-468bc15d38bb"},{"key":"designated_pool_uuid","type":"text","value":"2b230480-6483-4336-8e70-f66939e80e84"}]},"url":"{{url}}/v1/base-operator/admin/vm/designated_pool"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"backup\": true,\n    \"billing_account\": 129725,\n    \"created_at\": \"2022-12-13 08:16:44\",\n    \"description\": \"Good VM\",\n    \"designated_pool_name\": \"General purpose\",\n    \"designated_pool_uuid\": \"d2fc6881-9316-46d7-b515-b6cddaeee927\",\n    \"hostname\": \"DevServer\",\n    \"hypervisor_uuid\": \"37313436-3934-5a43-3335-323231364841\",\n    \"mac\": \"52:54:00:b0:7c:02\",\n    \"memory\": 4096,\n    \"name\": \"Dev Server\",\n    \"os_name\": \"linux\",\n    \"os_version\": \"custom\",\n    \"private_ipv4\": \"10.7.58.210\",\n    \"public_ipv6\": \"2a05:1cc0:10:3::8:fffe\",\n    \"status\": \"stopped\",\n    \"storage\": [\n        {\n            \"created_at\": \"2022-12-13 08:16:46\",\n            \"name\": \"vda\",\n            \"pool\": \"n/a\",\n            \"primary\": true,\n            \"replica\": [],\n            \"shared\": false,\n            \"size\": 60,\n            \"type\": \"n/a\",\n            \"user_id\": 8,\n            \"uuid\": \"da344d7d-0e31-4308-a1ac-bb0220bf09d6\"\n        }\n    ],\n    \"updated_at\": \"2022-12-13 08:16:48\",\n    \"user_id\": 8,\n    \"username\": \"user\",\n    \"uuid\": \"b9178639-a850-45ba-9dfd-4e0a42cedc02\",\n    \"vcpu\": 2\n}"}],"_postman_id":"f1d12a11-a66b-49c3-85ed-10d113f165d5"},{"name":"Get VM Action Log","event":[{"listen":"test","script":{"id":"45d75838-6860-4db7-a010-d614b6e6d1ee","exec":[""],"type":"text/javascript"}}],"id":"f971df7a-b4db-478e-8545-a2b07658448f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/base-operator/admin/action_log?since=2020-11-16 00:00:00&hypervisor_uuid=32393735-3733-5a43-4a30-3436305a3838&guest_uuid=b00f40f3-fb61-4c08-85d8-18f50a333b3f","description":"<p>Retrieve the log of Virtual Machine actions like start, stop, migrate etc. The parameters <code>hypervisor_uuid</code> and <code>guest_uuid</code> are optional.</p>\n","urlObject":{"path":["v1","base-operator","admin","action_log"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Only show actions after this date and time, format is 'YYYY-MM-DD HH:MI:SS'</p>\n","type":"text/plain"},"key":"since","value":"2020-11-16 00:00:00"},{"description":{"content":"<p>UUID of hypervisor, optional</p>\n","type":"text/plain"},"key":"hypervisor_uuid","value":"32393735-3733-5a43-4a30-3436305a3838"},{"description":{"content":"<p>UUID of Virtual Machine, optional</p>\n","type":"text/plain"},"key":"guest_uuid","value":"b00f40f3-fb61-4c08-85d8-18f50a333b3f"}],"variable":[]}},"response":[{"id":"843bbd10-1bd7-42d0-a031-d21408160d8d","name":"Get VM Action Log","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":{"raw":"{{url}}/v1/base-operator/admin/action_log?hypervisor_uuid=32393735-3733-5a43-4a30-3436305a3838&since=2020-11-16 00:00:00&guest_uuid=b00f40f3-fb61-4c08-85d8-18f50a333b3f","host":["{{url}}"],"path":["v1","base-operator","admin","action_log"],"query":[{"key":"hypervisor_uuid","value":"32393735-3733-5a43-4a30-3436305a3838","description":"UUID of hypervisor, optional"},{"key":"since","value":"2020-11-16 00:00:00","description":"Only show actions after this date and time, format is 'YYYY-MM-DD HH:MI:SS'"},{"key":"guest_uuid","value":"b00f40f3-fb61-4c08-85d8-18f50a333b3f","description":"UUID of Virtual Machine, optional"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"749"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Date","value":"Tue, 17 Nov 2020 07:52:01 GMT"},{"key":"x-warren-correlation-id","value":"bop-h5rqga6bnp"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"390"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"action\": \"delete\",\n        \"created_at\": \"2020-11-16 05:22:21\",\n        \"guest_uuid\": \"b00f40f3-fb61-4c08-85d8-18f50a333b3f\",\n        \"acting_user_id\": 35,\n        \"host_uuid\": \"99824a1a-02cf-4dca-90f1-3899884999fd\",\n        \"hypervisor_uuid\": \"99824a1a-02cf-4dca-90f1-3899884999fd\"\n    },\n    {\n        \"action\": \"migrate_to\",\n        \"created_at\": \"2020-11-16 03:47:24\",\n        \"guest_uuid\": \"b00f40f3-fb61-4c08-85d8-18f50a333b3f\",\n        \"acting_user_id\": 1397,\n        \"host_uuid\": \"99824a1a-02cf-4dca-90f1-3899884999fd\",\n        \"hypervisor_uuid\": \"99824a1a-02cf-4dca-90f1-3899884999fd\"\n    },\n    {\n        \"action\": \"migrate_from\",\n        \"created_at\": \"2020-11-16 03:47:24\",\n        \"guest_uuid\": \"b00f40f3-fb61-4c08-85d8-18f50a333b3f\",\n        \"acting_user_id\": 1397,\n        \"host_uuid\": \"32393735-3733-5a43-4a30-3436305a3838\",\n        \"hypervisor_uuid\": \"99824a1a-02cf-4dca-90f1-3899884999fd\"\n    },\n    {\n        \"action\": \"start\",\n        \"created_at\": \"2020-11-16 03:33:04\",\n        \"guest_uuid\": \"b00f40f3-fb61-4c08-85d8-18f50a333b3f\",\n        \"acting_user_id\": 35,\n        \"host_uuid\": \"32393735-3733-5a43-4a30-3436305a3838\",\n        \"hypervisor_uuid\": \"99824a1a-02cf-4dca-90f1-3899884999fd\"\n    },\n    {\n        \"action\": \"stop\",\n        \"created_at\": \"2020-11-16 03:26:33\",\n        \"guest_uuid\": \"b00f40f3-fb61-4c08-85d8-18f50a333b3f\",\n        \"acting_user_id\": 35,\n        \"host_uuid\": \"32393735-3733-5a43-4a30-3436305a3838\",\n        \"hypervisor_uuid\": \"99824a1a-02cf-4dca-90f1-3899884999fd\"\n    },\n    {\n        \"action\": \"create\",\n        \"created_at\": \"2020-11-16 03:26:17\",\n        \"guest_uuid\": \"b00f40f3-fb61-4c08-85d8-18f50a333b3f\",\n        \"acting_user_id\": 35,\n        \"host_uuid\": \"32393735-3733-5a43-4a30-3436305a3838\",\n        \"hypervisor_uuid\": \"99824a1a-02cf-4dca-90f1-3899884999fd\"\n    }\n]"}],"_postman_id":"f971df7a-b4db-478e-8545-a2b07658448f"},{"name":"Create Virtual Machine","id":"6a0ee154-5b97-4b87-af4c-3f9b56dffc4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"user_id","value":"{{user_id}}","type":"text"},{"key":"billing_account_id","value":"{{billing_account_id}}","type":"text"},{"key":"name","value":"Dev Server","type":"text","description":"<p>Descriptive name of VM</p>\n"},{"key":"description","value":"Good VM","type":"text","description":"<p>Same as in user API</p>\n"},{"key":"vcpu","value":"2","type":"text"},{"key":"ram","value":"4096","type":"text"},{"key":"username","value":"user","type":"text","description":"<p>Will be provided to VM in cloud init user data</p>\n"},{"key":"password","value":"57db1253b68b6802","type":"text","description":"<p>Will be provided to VM in cloud init user data</p>\n"},{"key":"disk_uuid","value":"da344d7d-0e31-4308-a1ac-bb0220bf09d6","type":"text","description":"<p>VM will be created with this as boot disk</p>\n"},{"key":"os_name","value":"fedora","type":"text","description":"<p>Has mostly descriptive function</p>\n"},{"key":"os_version","value":"37","type":"text","description":"<p>Has mostly descriptive function</p>\n"},{"key":"public_key","value":"ssh-rsa AAAAB3...","type":"text","description":"<p>Will be provided to VM in cloud init user data</p>\n"},{"key":"backup","value":"true","type":"text"},{"key":"network_uuid","value":"768bc192-913d-468c-ad11-d5d10256df52","type":"text"},{"key":"cloud_init","value":"{\"runcmd\": [\"/firstboot\"], \"write_files\": [{\"path\": \"/firstboot\", \"content\": \"IyEvYmluL2Jhc2gKZWNobyBOb3cgQm9vdGluZwoK\", \"permissions\": \"0755\", \"encoding\": \"b64\"}]}","type":"text"},{"key":"host_pool_uuid","value":"d2fc6881-9316-46d7-b515-b6cddaeee927","description":"<p>Resource pool to allocate this VM into.</p>\n","type":"text"}]},"url":"{{url}}/v1/user-resource/admin/vm","description":"<p>Create a Virtual Machine on behalf of the user. See user API documentation for more information.</p>\n<p>Restrictions compared to user API:</p>\n<ul>\n<li>VM can only be created with an existing disk, i.e. <code>disk_uuid</code> is mandatory. As a result, <code>os_name</code> and <code>os_version</code> have mostly descriptive function.</li>\n<li>Floating IP can not be created and assigned with this request, it has to be done separately. Effectively same as calling Create VM in user API with <code>reserve_public_ip=false</code>.</li>\n<li>Virtual Machine will not be started after creation, Start VM must be called separately.</li>\n<li><code>username</code>, <code>password</code> and <code>public_key</code> are only provided to VM as cloud init user data. If cloud-init has already initialised the OS on disk then these values might not have effect. It is up to cloud-init inside the OS to decide how to react. It might be safer to specify a username that does not already exist inside the OS on the disk.</li>\n</ul>\n","urlObject":{"path":["v1","user-resource","admin","vm"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"da67d671-c506-4cbe-9d0d-9c78d9f679fe","name":"Create Virtual Machine","originalRequest":{"method":"POST","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"user_id","value":"{{user_id}}","type":"text"},{"key":"billing_account_id","value":"{{billing_account_id}}","type":"text"},{"key":"name","value":"Dev Server","type":"text","description":"Descriptive name of VM"},{"key":"description","value":"Good VM","type":"text","description":"Same as in user API"},{"key":"vcpu","value":"2","type":"text"},{"key":"ram","value":"4096","type":"text"},{"key":"username","value":"user","type":"text","description":"Will be provided to VM in cloud init user data"},{"key":"password","value":"57db1253b68b6802","type":"text","description":"Will be provided to VM in cloud init user data"},{"key":"disk_uuid","value":"da344d7d-0e31-4308-a1ac-bb0220bf09d6","type":"text","description":"VM will be created with this as boot disk"},{"key":"os_name","value":"fedora","type":"text","description":"Has mostly descriptive function"},{"key":"os_version","value":"37","type":"text","description":"Has mostly descriptive function"},{"key":"public_key","value":"ssh-rsa AAAAB3...","type":"text","description":"Will be provided to VM in cloud init user data"},{"key":"backup","value":"true","type":"text"},{"key":"network_uuid","value":"768bc192-913d-468c-ad11-d5d10256df52","type":"text"},{"key":"cloud_init","value":"{\"runcmd\": [\"/firstboot\"], \"write_files\": [{\"path\": \"/firstboot\", \"content\": \"IyEvYmluL2Jhc2gKZWNobyBOb3cgQm9vdGluZwoK\", \"permissions\": \"0755\", \"encoding\": \"b64\"}]}","type":"text"},{"key":"host_pool_uuid","value":"d2fc6881-9316-46d7-b515-b6cddaeee927","type":"text"}]},"url":"{{url}}/v1/user-resource/admin/vm"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"743"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Dec 2022 08:16:48 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"3428"},{"key":"X-Warren-Correlation-Id","value":"bop-1pjzojixkl"}],"cookie":[],"responseTime":null,"body":"{\n    \"backup\": true,\n    \"billing_account\": 129725,\n    \"created_at\": \"2022-12-13 08:16:44\",\n    \"description\": \"Good VM\",\n    \"designated_pool_name\": \"General purpose\",\n    \"designated_pool_uuid\": \"d2fc6881-9316-46d7-b515-b6cddaeee927\", \n    \"hostname\": \"DevServer\",\n    \"hypervisor_uuid\": \"37313436-3934-5a43-3335-323231364841\",\n    \"mac\": \"52:54:00:b0:7c:02\",\n    \"memory\": 4096,\n    \"name\": \"Dev Server\",\n    \"os_name\": \"linux\",\n    \"os_version\": \"custom\",\n    \"private_ipv4\": \"10.7.58.210\",\n    \"public_ipv6\": \"2a05:1cc0:10:3::8:fffe\",\n    \"status\": \"stopped\",\n    \"storage\": [\n        {\n            \"created_at\": \"2022-12-13 08:16:46\",\n            \"name\": \"vda\",\n            \"pool\": \"n/a\",\n            \"primary\": true,\n            \"replica\": [],\n            \"shared\": false,\n            \"size\": 60,\n            \"type\": \"n/a\",\n            \"user_id\": 8,\n            \"uuid\": \"da344d7d-0e31-4308-a1ac-bb0220bf09d6\"\n        }\n    ],\n    \"updated_at\": \"2022-12-13 08:16:48\",\n    \"user_id\": 8,\n    \"username\": \"user\",\n    \"uuid\": \"b9178639-a850-45ba-9dfd-4e0a42cedc02\",\n    \"vcpu\": 2\n}"}],"_postman_id":"6a0ee154-5b97-4b87-af4c-3f9b56dffc4f"},{"name":"Start VM","event":[{"listen":"test","script":{"id":"056c37a3-9e30-4009-a31f-76314d23b3e0","exec":[""],"type":"text/javascript"}}],"id":"05186739-6ddc-4ba7-acba-0355d1683f73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>UUID of Virtual Machine</p>\n","key":"uuid","type":"text","value":"b00f40f3-fb61-4c08-85d8-18f50a333b3f"}]},"url":"{{url}}/v1/user-resource/admin/vm/start","description":"<p>Start any VM.</p>\n","urlObject":{"path":["v1","user-resource","admin","vm","start"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"05186739-6ddc-4ba7-acba-0355d1683f73"},{"name":"Migrate VM license","event":[{"listen":"test","script":{"id":"056c37a3-9e30-4009-a31f-76314d23b3e0","exec":[""],"type":"text/javascript"}}],"id":"6fca38e7-3842-475c-bdaa-90cfc6db1fdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>UUID of Virtual Machine</p>\n","key":"uuid","type":"text","value":"b00f40f3-fb61-4c08-85d8-18f50a333b3f"}]},"url":"{{url}}/v1/user-resource/admin/vm/start","description":"<p>Start any VM.</p>\n","urlObject":{"path":["v1","user-resource","admin","vm","start"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6fca38e7-3842-475c-bdaa-90cfc6db1fdf"},{"name":"Stop VM","event":[{"listen":"test","script":{"id":"4bdba9e6-629d-43d1-80b0-d22c8d44d5a4","exec":[""],"type":"text/javascript"}}],"id":"329a6bbd-050b-4b1f-88b4-9abbb7774058","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>UUID of Virtual Machine</p>\n","key":"uuid","type":"text","value":"b00f40f3-fb61-4c08-85d8-18f50a333b3f"},{"description":"<p>Use <code>true</code> here for a non-graceful immediate poweroff, optional</p>\n","key":"force","type":"text","value":"false"}]},"url":"{{url}}/v1/user-resource/admin/vm/stop","description":"<p>Stop any VM. See end user API doc for more information about the <code>force</code> flag.</p>\n","urlObject":{"path":["v1","user-resource","admin","vm","stop"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"329a6bbd-050b-4b1f-88b4-9abbb7774058"},{"name":"Attach Disk to VM","event":[{"listen":"test","script":{"id":"056c37a3-9e30-4009-a31f-76314d23b3e0","exec":[""],"type":"text/javascript"}}],"id":"60e48563-c63b-4799-803a-3ad8ae36cd11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>UUID of Virtual Machine</p>\n","key":"uuid","type":"text","value":"591b5ea1-f6bc-4e2f-bf93-b04e7584de06"},{"key":"storage_uuid","value":"da344d7d-0e31-4308-a1ac-bb0220bf09d6","description":"<p>UUID of Disk to attach</p>\n","type":"text"}]},"url":"{{url}}/v1/user-resource/admin/vm/storage/attach","description":"<p>Attach a Disk to a Virtual Machine. The Disk and VM must belong to the same user.</p>\n","urlObject":{"path":["v1","user-resource","admin","vm","storage","attach"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"73f3eafb-172a-46d5-afd6-cb0df6f3a3b2","name":"Attach Disk to VM","originalRequest":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"UUID of Virtual Machine","key":"uuid","type":"text","value":"591b5ea1-f6bc-4e2f-bf93-b04e7584de06"},{"key":"storage_uuid","value":"da344d7d-0e31-4308-a1ac-bb0220bf09d6","description":"UUID of Disk to attach","type":"text"}]},"url":"{{url}}/v1/user-resource/admin/vm/storage/attach"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"206"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Dec 2022 07:44:43 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"33"},{"key":"X-Kong-Upstream-Latency","value":"140"},{"key":"X-Warren-Correlation-Id","value":"bop-qa7cgujbf"}],"cookie":[],"responseTime":null,"body":"{\n    \"created_at\": \"2022-12-12 15:52:44\",\n    \"name\": \"vdb\",\n    \"pool\": \"n/a\",\n    \"primary\": false,\n    \"replica\": [],\n    \"shared\": false,\n    \"size\": 60,\n    \"type\": \"n/a\",\n    \"user_id\": 8,\n    \"uuid\": \"da344d7d-0e31-4308-a1ac-bb0220bf09d6\"\n}"}],"_postman_id":"60e48563-c63b-4799-803a-3ad8ae36cd11"},{"name":"Detach Disk from VM","event":[{"listen":"test","script":{"id":"056c37a3-9e30-4009-a31f-76314d23b3e0","exec":[""],"type":"text/javascript"}}],"id":"7da63e66-e50c-4e0c-8e55-733a78194dd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>UUID of Virtual Machine</p>\n","key":"uuid","type":"text","value":"591b5ea1-f6bc-4e2f-bf93-b04e7584de06"},{"key":"storage_uuid","value":"da344d7d-0e31-4308-a1ac-bb0220bf09d6","description":"<p>UUID of Disk to detach</p>\n","type":"text"}]},"url":"{{url}}/v1/user-resource/admin/vm/storage/detach","description":"<p>Detach a Disk from a Virtual Machine.</p>\n","urlObject":{"path":["v1","user-resource","admin","vm","storage","detach"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"26ac31c7-8fc9-4700-852c-b99d178f4677","name":"Detach Disk from VM","originalRequest":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"UUID of Virtual Machine","key":"uuid","type":"text","value":"591b5ea1-f6bc-4e2f-bf93-b04e7584de06"},{"key":"storage_uuid","value":"da344d7d-0e31-4308-a1ac-bb0220bf09d6","description":"UUID of Disk to detach","type":"text"}]},"url":"{{url}}/v1/user-resource/admin/vm/storage/detach"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"17"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Dec 2022 07:48:27 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"51"},{"key":"X-Warren-Correlation-Id","value":"bop-1ttgb1w6vi"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"7da63e66-e50c-4e0c-8e55-733a78194dd0"},{"name":"Delete VM","event":[{"listen":"test","script":{"id":"4bdba9e6-629d-43d1-80b0-d22c8d44d5a4","exec":[""],"type":"text/javascript"}}],"id":"3a7fafe2-c06d-4a88-835f-bd1a5fc2b36f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>UUID of Virtual Machine</p>\n","key":"uuid","type":"text","value":"591b5ea1-f6bc-4e2f-bf93-b04e7584de06"}]},"url":"{{url}}/v1/user-resource/admin/vm","description":"<p>Delete any VM.</p>\n","urlObject":{"path":["v1","user-resource","admin","vm"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"305b96e9-f079-435d-acde-20149bc2d60e","name":"Delete VM","originalRequest":{"method":"DELETE","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"UUID of Virtual Machine","key":"uuid","type":"text","value":"591b5ea1-f6bc-4e2f-bf93-b04e7584de06"}]},"url":"{{url}}/v1/user-resource/admin/vm"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"17"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 23 Feb 2023 08:13:27 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"363"},{"key":"X-Warren-Correlation-Id","value":"bop-1uo8cw7df"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"3a7fafe2-c06d-4a88-835f-bd1a5fc2b36f"},{"name":"Modify VM","id":"4fe54dad-d668-44ef-a85a-e0731f911526","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{url}}/v1/{{location}}/base-operator/admin/vm?uuid=49c039db-7bcd-4f20-9358-88c4618c547a&vcpu=2&ram=2048","description":"<p><strong>#location-specific</strong></p>\n<p>Rescale the VM resource</p>\n<p>Do note that <code>vcpu</code> and <code>ram</code> can only be changed when the machine is in stopped state.</p>\n<p><strong>Form Parameters:</strong></p>\n<ul>\n<li><code>uuid</code> (string): VM instance ID</li>\n<li><code>ram</code> (whole number): Size of RAM in MBs</li>\n<li><code>vcpu</code> (whole number): Number of vCPUs</li>\n</ul>\n","urlObject":{"path":["v1","{{location}}","base-operator","admin","vm"],"host":["{{url}}"],"query":[{"key":"uuid","value":"49c039db-7bcd-4f20-9358-88c4618c547a"},{"key":"vcpu","value":"2"},{"key":"ram","value":"2048"}],"variable":[]}},"response":[{"id":"f72abefb-0039-4d91-8509-7c6da916038c","name":"Modify VM","originalRequest":{"method":"PATCH","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{url}}/v1/{{location}}/base-operator/admin/vm?uuid=49c039db-7bcd-4f20-9358-88c4618c547a&vcpu=2&ram=2048","host":["{{url}}"],"path":["v1","{{location}}","base-operator","admin","vm"],"query":[{"key":"uuid","value":"49c039db-7bcd-4f20-9358-88c4618c547a"},{"key":"vcpu","value":"2"},{"key":"ram","value":"2048"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"1587"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 26 May 2022 12:53:41 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"31"},{"key":"X-Kong-Upstream-Latency","value":"88"},{"key":"X-Warren-Correlation-Id","value":"bop-e08cgjdsq"}],"cookie":[],"responseTime":null,"body":"{\n    \"backup\": true,\n    \"billing_account\": 129188,\n    \"created_at\": \"2021-03-01 13:42:03\",\n    \"description\": \"ubuntu-from-snap\",\n    \"hostname\": \"ubuntu-from-snap\",\n    \"mac\": \"52:54:00:ee:81:fb\",\n    \"memory\": 2048,\n    \"name\": \"ubuntu-from-snap\",\n    \"os_name\": \"ubuntu\",\n    \"os_version\": \"20.04\",\n    \"private_ipv4\": \"10.1.29.54\",\n    \"public_ipv6\": \"2a05:1cc0:10:30::80:fffe\",\n    \"status\": \"stopped\",\n    \"storage\": [\n        {\n            \"created_at\": \"2021-03-01 13:42:05\",\n            \"name\": \"vda\",\n            \"pool\": \"n/a\",\n            \"primary\": true,\n            \"replica\": [\n                {\n                    \"created_at\": \"2022-05-26 11:14:23\",\n                    \"master_uuid\": \"aa546efe-8c33-480f-91a6-9e7e58b9d80a\",\n                    \"pool\": \"\",\n                    \"size\": 40,\n                    \"type\": \"snapshot\",\n                    \"uuid\": \"1c2de616-b2ed-4e60-9de0-8971e35a8b6e\"\n                },\n                {\n                    \"created_at\": \"2022-05-25 02:00:01\",\n                    \"master_uuid\": \"aa546efe-8c33-480f-91a6-9e7e58b9d80a\",\n                    \"pool\": \"\",\n                    \"size\": 40,\n                    \"type\": \"backup\",\n                    \"uuid\": \"44a66936-7eb0-4fc5-ade9-b86cff3e358d\"\n                },\n                {\n                    \"created_at\": \"2022-05-18 02:00:02\",\n                    \"master_uuid\": \"aa546efe-8c33-480f-91a6-9e7e58b9d80a\",\n                    \"pool\": \"\",\n                    \"size\": 40,\n                    \"type\": \"backup\",\n                    \"uuid\": \"31b001c6-d6e1-4ffa-a755-8f79bf10d2aa\"\n                },\n                {\n                    \"created_at\": \"2022-05-11 02:00:02\",\n                    \"master_uuid\": \"aa546efe-8c33-480f-91a6-9e7e58b9d80a\",\n                    \"pool\": \"\",\n                    \"size\": 40,\n                    \"type\": \"backup\",\n                    \"uuid\": \"45174cec-79be-4ebd-ab64-99dc5c33b64a\"\n                },\n                {\n                    \"created_at\": \"2022-05-04 02:00:02\",\n                    \"master_uuid\": \"aa546efe-8c33-480f-91a6-9e7e58b9d80a\",\n                    \"pool\": \"\",\n                    \"size\": 40,\n                    \"type\": \"backup\",\n                    \"uuid\": \"8a2a2ad9-98a7-44b0-81b7-39e98eb28bd5\"\n                }\n            ],\n            \"shared\": false,\n            \"size\": 40,\n            \"type\": \"n/a\",\n            \"user_id\": 29,\n            \"uuid\": \"aa546efe-8c33-480f-91a6-9e7e58b9d80a\"\n        }\n    ],\n    \"updated_at\": \"2022-05-26 12:53:41\",\n    \"user_id\": 29,\n    \"username\": \"kadri\",\n    \"uuid\": \"49c039db-7bcd-4f20-9358-88c4618c547a\",\n    \"vcpu\": 2\n}"}],"_postman_id":"4fe54dad-d668-44ef-a85a-e0731f911526"},{"name":"Modify Disk","id":"029cf3ac-bd61-425d-ba32-c4384908f123","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{url}}/v1/{{location}}/base-operator/admin/vm/storage?uuid=49c039db-7bcd-4f20-9358-88c4618c547a&disk_uuid=aa546efe-8c33-480f-91a6-9e7e58b9d80a&size_gb=60","description":"<p><strong>#location-specific</strong></p>\n<p>Modify virtual machine disk with the specified capacity. New disk size cannot be smaller than current size.</p>\n<p><strong>Form Parameters:</strong></p>\n<ul>\n<li><code>uuid</code> (string): VM instance ID.</li>\n<li><code>disk_uuid</code> (string): Disk ID to resize.</li>\n<li><code>size_gb</code> (whole number): New disk size.</li>\n</ul>\n","urlObject":{"path":["v1","{{location}}","base-operator","admin","vm","storage"],"host":["{{url}}"],"query":[{"key":"uuid","value":"49c039db-7bcd-4f20-9358-88c4618c547a"},{"key":"disk_uuid","value":"aa546efe-8c33-480f-91a6-9e7e58b9d80a"},{"key":"size_gb","value":"60"}],"variable":[]}},"response":[{"id":"914fbc95-ab90-4742-ab82-5e78181ba3ac","name":"Modify Disk","originalRequest":{"method":"PATCH","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{url}}/v1/{{location}}/base-operator/admin/vm/storage?uuid=49c039db-7bcd-4f20-9358-88c4618c547a&disk_uuid=aa546efe-8c33-480f-91a6-9e7e58b9d80a&size_gb=60","host":["{{url}}"],"path":["v1","{{location}}","base-operator","admin","vm","storage"],"query":[{"key":"uuid","value":"49c039db-7bcd-4f20-9358-88c4618c547a"},{"key":"disk_uuid","value":"aa546efe-8c33-480f-91a6-9e7e58b9d80a"},{"key":"size_gb","value":"60"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"1163"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 26 May 2022 13:07:07 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"1471"},{"key":"X-Warren-Correlation-Id","value":"bop-ft4h2dlnl"}],"cookie":[],"responseTime":null,"body":"{\n    \"created_at\": \"2021-03-01 13:42:05\",\n    \"name\": \"vda\",\n    \"pool\": \"n/a\",\n    \"primary\": true,\n    \"replica\": [\n        {\n            \"created_at\": \"2022-05-26 11:14:23\",\n            \"master_uuid\": \"aa546efe-8c33-480f-91a6-9e7e58b9d80a\",\n            \"pool\": \"\",\n            \"size\": 40,\n            \"type\": \"snapshot\",\n            \"uuid\": \"1c2de616-b2ed-4e60-9de0-8971e35a8b6e\"\n        },\n        {\n            \"created_at\": \"2022-05-25 02:00:01\",\n            \"master_uuid\": \"aa546efe-8c33-480f-91a6-9e7e58b9d80a\",\n            \"pool\": \"\",\n            \"size\": 40,\n            \"type\": \"backup\",\n            \"uuid\": \"44a66936-7eb0-4fc5-ade9-b86cff3e358d\"\n        },\n        {\n            \"created_at\": \"2022-05-18 02:00:02\",\n            \"master_uuid\": \"aa546efe-8c33-480f-91a6-9e7e58b9d80a\",\n            \"pool\": \"\",\n            \"size\": 40,\n            \"type\": \"backup\",\n            \"uuid\": \"31b001c6-d6e1-4ffa-a755-8f79bf10d2aa\"\n        },\n        {\n            \"created_at\": \"2022-05-11 02:00:02\",\n            \"master_uuid\": \"aa546efe-8c33-480f-91a6-9e7e58b9d80a\",\n            \"pool\": \"\",\n            \"size\": 40,\n            \"type\": \"backup\",\n            \"uuid\": \"45174cec-79be-4ebd-ab64-99dc5c33b64a\"\n        },\n        {\n            \"created_at\": \"2022-05-04 02:00:02\",\n            \"master_uuid\": \"aa546efe-8c33-480f-91a6-9e7e58b9d80a\",\n            \"pool\": \"\",\n            \"size\": 40,\n            \"type\": \"backup\",\n            \"uuid\": \"8a2a2ad9-98a7-44b0-81b7-39e98eb28bd5\"\n        }\n    ],\n    \"shared\": false,\n    \"size\": 60,\n    \"type\": \"n/a\",\n    \"updated_at\": \"2022-05-26 13:07:07\",\n    \"user_id\": 29,\n    \"uuid\": \"aa546efe-8c33-480f-91a6-9e7e58b9d80a\"\n}"}],"_postman_id":"029cf3ac-bd61-425d-ba32-c4384908f123"},{"name":"Boot VM from Rescue ISO","event":[{"listen":"test","script":{"id":"056c37a3-9e30-4009-a31f-76314d23b3e0","exec":[""],"type":"text/javascript"}}],"id":"72a54421-7617-427f-9d94-4223b2551f49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>UUID of Virtual Machine</p>\n","key":"uuid","type":"text","value":"b00f40f3-fb61-4c08-85d8-18f50a333b3f"},{"key":"rescue_image_name","value":"ubuntu-22.04.2-desktop-amd64.rescue.iso","description":"<p>Name of ISO to boot, optional</p>\n","type":"text"}]},"url":"{{url}}/v1/user-resource/admin/vm/rescue_start","description":"<p>Boots a stopped VM from a rescue ISO. By default System Rescue ISO is used.</p>\n<p>Optional parameter <code>rescue_image_name</code> can be used to boot any other ISO. The ISO image must exist in the same Ceph pool that contains VM disk images. It is required that the ISO name on Ceph has <code>.rescue.iso</code> as suffix, otherwise the ISO image will not be found.</p>\n<p>E.g. a good full path for Ubuntu 22.04 ISO would be <code>vm-disk-images/ubuntu-22.04.2-desktop-amd64.rescue.iso</code></p>\n","urlObject":{"path":["v1","user-resource","admin","vm","rescue_start"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"72a54421-7617-427f-9d94-4223b2551f49"},{"name":"Set VM bandwidth limits","event":[{"listen":"test","script":{"id":"056c37a3-9e30-4009-a31f-76314d23b3e0","exec":[""],"type":"text/javascript","packages":{}}}],"id":"edb3ed4f-2faa-4e6b-94e3-bc2d332958bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>UUID of Virtual Machine</p>\n","key":"uuid","type":"text","value":"de22e8e1-b443-4320-ba95-0f848a8f4aaa"},{"key":"average_kbps","value":"51200","type":"text"},{"key":"peak_kbps","value":"256000","type":"text"},{"key":"burst_kb","value":"102400","type":"text"}]},"url":"{{url}}/v1/base-operator/admin/vm/iftune","description":"<p>Sets network bandwidth limits for a VM. Limits are stored and applied immediately to a running VM.</p>\n<p>In the returning VM object, <code>nic_iftune</code> will show the stored VM specific bandwidth limits.</p>\n<p>To clear VM specific limits, send the request with UUID as the only parameter.</p>\n<p>To override global limits and have unlimited bandwidth for this VM only, set <code>average_kbps</code> to <code>0</code>, other limit parameters will default to <code>0</code> if unset.</p>\n<p>See <a href=\"https://libvirt.org/formatnetwork.html#quality-of-service\">https://libvirt.org/formatnetwork.html#quality-of-service</a> for more information.</p>\n","urlObject":{"path":["v1","base-operator","admin","vm","iftune"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"5c52820d-e85f-4504-bc73-d147a8fe1637","name":"Set VM bandwidth limits","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"UUID of Virtual Machine","key":"uuid","type":"text","value":"de22e8e1-b443-4320-ba95-0f848a8f4aaa"},{"key":"average_kbps","value":"51200","type":"text"},{"key":"peak_kbps","value":"256000","type":"text"},{"key":"burst_kb","value":"102400","type":"text"}]},"url":"{{url}}/v1/base-operator/admin/vm/iftune"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"1697"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 16 Aug 2024 09:37:03 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.1"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"2240"},{"key":"X-Warren-Correlation-Id","value":"bop-w9m9884"}],"cookie":[],"responseTime":null,"body":"{\n    \"backup\": false,\n    \"created_at\": \"2024-07-12 12:01:55\",\n    \"current_pool_name\": \"Automatically added Pool\",\n    \"current_pool_uuid\": \"3590345e-0507-49d7-8e69-7fb16311a3a5\",\n    \"description\": \"load bearer\",\n    \"designated_pool_id\": 1600000096,\n    \"designated_pool_name\": \"Automatically added Pool\",\n    \"designated_pool_uuid\": \"3590345e-0507-49d7-8e69-7fb16311a3a5\",\n    \"hostname\": \"loadbearer\",\n    \"hypervisor_uuid\": \"37313436-3934-5a43-3335-323231364841\",\n    \"is_current_pool_visible\": true,\n    \"is_deleted\": false,\n    \"is_designated_pool_visible\": true,\n    \"is_locked\": false,\n    \"latest_host_pool_uuid\": \"3590345e-0507-49d7-8e69-7fb16311a3a5\",\n    \"mac\": \"52:54:00:9b:88:a0\",\n    \"needs_recovery\": false,\n    \"nic_iftune\": {\n        \"average_kbps\": 51200,\n        \"burst_kb\": 102400,\n        \"peak_kbps\": 256000\n    },\n    \"os_name\": \"ubuntu\",\n    \"os_version\": \"22.04_orig\",\n    \"private_ipv4\": \"10.7.58.242\",\n    \"public_ipv6\": \"2a05:1cc0:10:3::8:fffe\",\n    \"status\": \"running\",\n    \"updated_at\": \"2024-08-16 09:36:40\",\n    \"user_data\": {\n        \"instance-id\": \"de22e8e1-b443-4320-ba95-0f848a8f4aaa\",\n        \"hostname\": \"loadbearer\",\n        \"local-hostname\": \"loadbearer\",\n        \"fqdn\": \"\",\n        \"groups\": [\n            \"sverik\"\n        ],\n        \"users\": [\n            {\n                \"name\": \"sverik\",\n                \"primary-group\": \"sverik\",\n                \"groups\": [\n                    \"users\",\n                    \"wheel\"\n                ],\n                \"shell\": \"/bin/bash\",\n                \"sudo\": \"ALL=(ALL) NOPASSWD:ALL\",\n                \"lock-passwd\": false,\n                \"ssh_pwauth\": true,\n                \"ssh-authorized-keys\": [\n                    \"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEjuoavg9y4bwCWLOuYMjbjnJSEXY/wR64KHImzkRCrE sverik@manul\"\n                ]\n            }\n        ],\n        \"chpasswd\": {\n            \"list\": \"sverik:$6$rounds=4096$hBxrlutn2BnMVoEQ$P0A8cZhzqdOytho/I2P5iRBMK/N9OftK8Ex8runVbgnYIYHvU/YMFgpLVL7eq4DBg5.xjEgpgwiKAEdMCr11Z0\\n\"\n        },\n        \"ssh_pwauth\": true,\n        \"package_upgrade\": false\n    },\n    \"user_id\": 8,\n    \"username\": \"sverik\",\n    \"uuid\": \"de22e8e1-b443-4320-ba95-0f848a8f4aaa\",\n    \"vcpu\": 2,\n    \"vlan_id\": 1588\n}"}],"_postman_id":"edb3ed4f-2faa-4e6b-94e3-bc2d332958bd"},{"name":"Get VM domain XML","event":[{"listen":"test","script":{"id":"45d75838-6860-4db7-a010-d614b6e6d1ee","exec":[""],"type":"text/javascript","packages":{}}}],"id":"6956adc6-0da6-46b0-af83-9a126434bc34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/base-operator/admin/vm/virsh_dumpxml?uuid=de22e8e1-b443-4320-ba95-0f848a8f4aaa","description":"<p>For a VM that is defined on a hypervisor, return its libvirt domain XML definition.</p>\n<p>If a VM is stopped and undefined, <code>400 Bad Request</code> will be returned.</p>\n","urlObject":{"path":["v1","base-operator","admin","vm","virsh_dumpxml"],"host":["{{url}}"],"query":[{"description":{"content":"<p>UUID of Virtual Machine</p>\n","type":"text/plain"},"key":"uuid","value":"de22e8e1-b443-4320-ba95-0f848a8f4aaa"}],"variable":[]}},"response":[{"id":"191cc447-fe03-443e-babe-8dbd092902d5","name":"Get VM domain XML","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":{"raw":"{{url}}/v1/base-operator/admin/vm/virsh_dumpxml?uuid=de22e8e1-b443-4320-ba95-0f848a8f4aaa","host":["{{url}}"],"path":["v1","base-operator","admin","vm","virsh_dumpxml"],"query":[{"key":"uuid","value":"de22e8e1-b443-4320-ba95-0f848a8f4aaa","description":"UUID of Virtual Machine"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"6201"},{"key":"Content-Type","value":"application/xml"},{"key":"Date","value":"Fri, 16 Aug 2024 09:24:08 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.1"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"1045"},{"key":"X-Warren-Correlation-Id","value":"bop-4ejl05a1"}],"cookie":[],"responseTime":null,"body":"<domain type='kvm' id='131'>\n    <name>de22e8e1-b443-4320-ba95-0f848a8f4aaa</name>\n    <uuid>de22e8e1-b443-4320-ba95-0f848a8f4aaa</uuid>\n    <memory unit='KiB'>1048576</memory>\n    <currentMemory unit='KiB'>1048576</currentMemory>\n    <vcpu placement='static'>2</vcpu>\n    <resource>\n        <partition>/machine</partition>\n    </resource>\n    <os>\n        <type arch='x86_64' machine='pc-i440fx-5.2'>hvm</type>\n        <boot dev='hd'/>\n    </os>\n    <features>\n        <acpi/>\n        <apic/>\n    </features>\n    <cpu mode='custom' match='exact' check='full'>\n        <model fallback='forbid'>Westmere-IBRS</model>\n        <cache level='3' mode='emulate'/>\n        <feature policy='disable' name='spec-ctrl'/>\n        <feature policy='require' name='vme'/>\n        <feature policy='require' name='pclmuldq'/>\n        <feature policy='require' name='x2apic'/>\n        <feature policy='require' name='hypervisor'/>\n        <feature policy='require' name='arat'/>\n    </cpu>\n    <clock offset='utc'>\n        <timer name='rtc' tickpolicy='catchup'/>\n        <timer name='pit' tickpolicy='delay'/>\n        <timer name='hpet' present='no'/>\n    </clock>\n    <on_poweroff>destroy</on_poweroff>\n    <on_reboot>restart</on_reboot>\n    <on_crash>destroy</on_crash>\n    <pm>\n        <suspend-to-mem enabled='no'/>\n        <suspend-to-disk enabled='no'/>\n    </pm>\n    <devices>\n        <emulator>/run/libvirt/nix-emulators/qemu-system-x86_64</emulator>\n        <disk type='network' device='disk'>\n            <driver name='qemu' type='raw' cache='none' io='native'/>\n            <auth type='ceph' username='admin'>\n                <secret type='ceph' uuid='88d83bd5-7873-4d2a-80a3-aa1c022e3fd1'/>\n            </auth>\n            <source protocol='rbd' name='vm-disk-images/a4d148a9-767a-4d96-8699-9d80a46158e2.img' index='1'>\n                <host name='10.10.40.28' port='6789'/>\n            </source>\n            <target dev='vda' bus='virtio'/>\n            <iotune>\n                <total_bytes_sec>209715200</total_bytes_sec>\n                <total_iops_sec>15000</total_iops_sec>\n                <total_bytes_sec_max>524288000</total_bytes_sec_max>\n                <total_iops_sec_max>50200</total_iops_sec_max>\n                <total_bytes_sec_max_length>5</total_bytes_sec_max_length>\n                <total_iops_sec_max_length>4</total_iops_sec_max_length>\n            </iotune>\n            <serial>a4d148a9-767a-4d96-8</serial>\n            <alias name='virtio-disk0'/>\n            <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>\n        </disk>\n        <controller type='usb' index='0' model='ich9-ehci1'>\n            <alias name='usb'/>\n            <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x7'/>\n        </controller>\n        <controller type='usb' index='0' model='ich9-uhci1'>\n            <alias name='usb'/>\n            <master startport='0'/>\n            <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0' multifunction='on'/>\n        </controller>\n        <controller type='usb' index='0' model='ich9-uhci2'>\n            <alias name='usb'/>\n            <master startport='2'/>\n            <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x1'/>\n        </controller>\n        <controller type='usb' index='0' model='ich9-uhci3'>\n            <alias name='usb'/>\n            <master startport='4'/>\n            <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x2'/>\n        </controller>\n        <controller type='pci' index='0' model='pci-root'>\n            <alias name='pci.0'/>\n        </controller>\n        <controller type='virtio-serial' index='0'>\n            <alias name='virtio-serial0'/>\n            <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>\n        </controller>\n        <interface type='ethernet'>\n            <mac address='52:54:00:9b:88:a0'/>\n            <bandwidth>\n                <inbound average='12' peak='14' burst='13'/>\n                <outbound average='12' peak='14' burst='13'/>\n            </bandwidth>\n            <target dev='tap54009b88-a0'/>\n            <model type='virtio'/>\n            <alias name='net0'/>\n            <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>\n        </interface>\n        <serial type='pty'>\n            <source path='/dev/pts/1'/>\n            <target type='isa-serial' port='0'>\n                <model name='isa-serial'/>\n            </target>\n            <alias name='serial0'/>\n        </serial>\n        <console type='pty' tty='/dev/pts/1'>\n            <source path='/dev/pts/1'/>\n            <target type='serial' port='0'/>\n            <alias name='serial0'/>\n        </console>\n        <channel type='unix'>\n            <source mode='bind' path='/var/lib/libvirt/qemu/de22e8e1-b443-4320-ba95-0f848a8f4aaa.agent'/>\n            <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>\n            <alias name='channel0'/>\n            <address type='virtio-serial' controller='0' bus='0' port='1'/>\n        </channel>\n        <channel type='unix'>\n            <source mode='bind' path='/var/lib/libvirt/qemu/de22e8e1-b443-4320-ba95-0f848a8f4aaa.libguestfs.agent'/>\n            <target type='virtio' name='org.libguestfs.channel.0' state='disconnected'/>\n            <alias name='channel1'/>\n            <address type='virtio-serial' controller='0' bus='0' port='2'/>\n        </channel>\n        <input type='tablet' bus='usb'>\n            <alias name='input0'/>\n            <address type='usb' bus='0' port='1'/>\n        </input>\n        <input type='mouse' bus='ps2'>\n            <alias name='input1'/>\n        </input>\n        <input type='keyboard' bus='ps2'>\n            <alias name='input2'/>\n        </input>\n        <graphics type='vnc' port='5902' autoport='yes' listen='0.0.0.0'>\n            <listen type='address' address='0.0.0.0'/>\n        </graphics>\n        <video>\n            <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>\n            <alias name='video0'/>\n            <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>\n        </video>\n        <memballoon model='virtio'>\n            <stats period='5'/>\n            <alias name='balloon0'/>\n            <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>\n        </memballoon>\n        <rng model='virtio'>\n            <backend model='random'>/dev/urandom</backend>\n            <alias name='rng0'/>\n            <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>\n        </rng>\n    </devices>\n    <seclabel type='dynamic' model='dac' relabel='yes'>\n        <label>+0:+0</label>\n        <imagelabel>+0:+0</imagelabel>\n    </seclabel>\n</domain>"}],"_postman_id":"6956adc6-0da6-46b0-af83-9a126434bc34"}],"id":"4926eefb-2f49-492f-92c8-5f48ca3f9f76","_postman_id":"4926eefb-2f49-492f-92c8-5f48ca3f9f76","description":""},{"name":"Block Storage","item":[{"name":"Get Block Storage Pool status","id":"6ae3d20d-3dce-4565-a30f-53ff241d466b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/storage/admin/pool","description":"<p>Returns default pool info for block storage.</p>\n","urlObject":{"path":["v1","storage","admin","pool"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"acc3a945-b7bc-4c0e-b905-c77be362044f","name":"Get Storage Pool Info","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/storage/admin/pool"},"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":"X-Warren-Correlation-Id","value":"stm-egh922ueps"},{"key":"Date","value":"Mon, 26 Aug 2019 10:56:16 GMT"},{"key":"X-Kong-Upstream-Latency","value":"1687"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"pool_name\": \"vm-disk-images\",\n    \"stored_gb\": 202,\n    \"total_gb\": 4329,\n    \"percent_used\": 4.6661\n}"}],"_postman_id":"6ae3d20d-3dce-4565-a30f-53ff241d466b"},{"name":"List Block Storage Pools","id":"6cbf7088-c69c-4388-bf92-7f918e0945ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/storage/admin/pools","urlObject":{"path":["v1","storage","admin","pools"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"feffcfb4-f6b1-45b1-a33e-399bcb4527bc","name":"List Block Storage Pools","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/storage/admin/pools"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Tue, 29 Aug 2023 09:26:05 GMT"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"29"},{"key":"X-Kong-Upstream-Latency","value":"70"},{"key":"X-Warren-Correlation-Id","value":"stm-1mr54qtj4"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uuid\": \"58936ca0-a1b5-4e5d-9816-609feceaacbc\",\n        \"created_at\": 1692967896250,\n        \"is_default\": true,\n        \"conf\": \"{\\\"osImagesPath\\\": \\\"vm-os-images\\\"}\",\n        \"percent_used\": 46.06202,\n        \"ceph_fsid\": \"ca454fb6-2d84-4bd4-a21a-b1f15128b8aa\",\n        \"display_name\": \"standard\",\n        \"total_gb\": 3469,\n        \"pool_name\": \"vm-disk-images\",\n        \"stored_gb\": 1598\n    },\n    {\n        \"uuid\": \"f990fcb2-d6d8-432c-b676-94166ec789ef\",\n        \"created_at\": 1693231805918,\n        \"is_default\": false,\n        \"conf\": \"{\\\"osImagesPath\\\": \\\"vm-os-images\\\"}\",\n        \"percent_used\": 0,\n        \"ceph_fsid\": \"ca454fb6-2d84-4bd4-a21a-b1f15128b8aa\",\n        \"display_name\": \"standard\",\n        \"total_gb\": 1871,\n        \"pool_name\": \"vm-disk-images-perf\",\n        \"stored_gb\": 0\n    }\n]"}],"_postman_id":"6cbf7088-c69c-4388-bf92-7f918e0945ad"},{"name":"Get Block Storage Pool","id":"0fa09a35-e730-4828-9edf-4b1e4908b3c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/storage/admin/pools/58936ca0-a1b5-4e5d-9816-609feceaacbc","urlObject":{"path":["v1","storage","admin","pools","58936ca0-a1b5-4e5d-9816-609feceaacbc"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"62974c78-128d-4617-b05c-639dc493e950","name":"Get Block Storage Pool","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/storage/admin/pools/58936ca0-a1b5-4e5d-9816-609feceaacbc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Tue, 29 Aug 2023 09:51:40 GMT"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"18"},{"key":"X-Warren-Correlation-Id","value":"stm-4x4zw1c74"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"uuid\": \"58936ca0-a1b5-4e5d-9816-609feceaacbc\",\n    \"created_at\": 1692967896250,\n    \"is_default\": true,\n    \"conf\": \"{\\\"osImagesPath\\\": \\\"vm-os-images\\\"}\",\n    \"percent_used\": 46.06305,\n    \"ceph_fsid\": \"ca454fb6-2d84-4bd4-a21a-b1f15128b8aa\",\n    \"display_name\": \"standard\",\n    \"total_gb\": 3469,\n    \"pool_name\": \"vm-disk-images\",\n    \"stored_gb\": 1598\n}"}],"_postman_id":"0fa09a35-e730-4828-9edf-4b1e4908b3c6"},{"name":"Update Block Storage Pool","id":"0ad6ff31-6400-4fcf-a51c-afb808847ec5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"display_name","value":"high performance","type":"text"}]},"url":"{{url}}/v1/storage/admin/pools/58936ca0-a1b5-4e5d-9816-609feceaacbc","urlObject":{"path":["v1","storage","admin","pools","58936ca0-a1b5-4e5d-9816-609feceaacbc"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ce741534-e55a-452e-b29c-034ee77e8444","name":"Update Block Storage Pool","originalRequest":{"method":"PATCH","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"display_name","value":"high performance","type":"text"}]},"url":"{{url}}/v1/storage/admin/pools/58936ca0-a1b5-4e5d-9816-609feceaacbc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Tue, 29 Aug 2023 09:52:46 GMT"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"25"},{"key":"X-Warren-Correlation-Id","value":"stm-539zcnhfk"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"uuid\": \"58936ca0-a1b5-4e5d-9816-609feceaacbc\",\n    \"created_at\": 1692967896250,\n    \"is_default\": true,\n    \"conf\": \"{\\\"osImagesPath\\\": \\\"vm-os-images\\\"}\",\n    \"percent_used\": 46.06305,\n    \"ceph_fsid\": \"ca454fb6-2d84-4bd4-a21a-b1f15128b8aa\",\n    \"display_name\": \"high performance\",\n    \"total_gb\": 3469,\n    \"pool_name\": \"vm-disk-images\",\n    \"stored_gb\": 1598\n}"}],"_postman_id":"0ad6ff31-6400-4fcf-a51c-afb808847ec5"},{"name":"Set Block Storage Pool as Default","id":"d9ca5354-04cc-4f33-854f-e33e96283491","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/storage/admin/pools/58936ca0-a1b5-4e5d-9816-609feceaacbc/default","urlObject":{"path":["v1","storage","admin","pools","58936ca0-a1b5-4e5d-9816-609feceaacbc","default"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ee277d1e-573c-41c4-8717-b6d96b05da39","name":"Set Block Storage Pool as Default","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/storage/admin/pools/58936ca0-a1b5-4e5d-9816-609feceaacbc/default"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Tue, 29 Aug 2023 09:53:52 GMT"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"30"},{"key":"X-Warren-Correlation-Id","value":"stm-58jebgr28"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"uuid\": \"58936ca0-a1b5-4e5d-9816-609feceaacbc\",\n    \"created_at\": 1692967896250,\n    \"is_default\": true,\n    \"conf\": \"{\\\"osImagesPath\\\": \\\"vm-os-images\\\"}\",\n    \"percent_used\": 46.06305,\n    \"ceph_fsid\": \"ca454fb6-2d84-4bd4-a21a-b1f15128b8aa\",\n    \"display_name\": \"high performance\",\n    \"total_gb\": 3469,\n    \"pool_name\": \"vm-disk-images\",\n    \"stored_gb\": 1598\n}"}],"_postman_id":"d9ca5354-04cc-4f33-854f-e33e96283491"},{"name":"Delete Block Storage Pool","id":"d9e4a2f6-f6ee-4d75-9da3-659cef2759f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/storage/admin/pools/f990fcb2-d6d8-432c-b676-94166ec789ef","description":"<p>Should only be used in debugging and testing scenarios.</p>\n","urlObject":{"path":["v1","storage","admin","pools","f990fcb2-d6d8-432c-b676-94166ec789ef"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"d733bd9b-9c09-467b-9053-a1b25d02df44","name":"Set Block Storage Pool as Default Copy","originalRequest":{"method":"DELETE","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/storage/admin/pools/f990fcb2-d6d8-432c-b676-94166ec789ef"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Type","value":"text/plain; charset=UTF-8"},{"key":"Date","value":"Tue, 29 Aug 2023 09:56:37 GMT"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"29"},{"key":"X-Warren-Correlation-Id","value":"stm-5ktd8p1j4"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"d9e4a2f6-f6ee-4d75-9da3-659cef2759f9"},{"name":"Get Block Storage \"iotune\" Configuration","id":"9522cff4-d0ba-42dd-a79e-db4ccd54e8db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}","type":"text"}],"url":"{{url}}/v1/config/storage/iotune","description":"<p>Shows <code>iotune</code> parameters for disk storage configuration.</p>\n","urlObject":{"path":["v1","config","storage","iotune"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"c2bbb9e1-5ec2-4fdc-b6a1-5536053a1388","name":"Get Storage \"iotune\" Configuration","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}","type":"text"}],"url":"{{url}}/v1/config/storage/iotune"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"183"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Wed, 23 Dec 2020 12:02:06 GMT"},{"key":"x-warren-correlation-id","value":"cfg-0"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"7"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"total_bytes_sec\": 209715200,\n    \"total_bytes_sec_max\": 524288000,\n    \"total_bytes_sec_max_length\": 5,\n    \"total_iops_sec\": 15000,\n    \"total_iops_sec_max\": 50200,\n    \"total_iops_sec_max_length\": 4\n}"}],"_postman_id":"9522cff4-d0ba-42dd-a79e-db4ccd54e8db"},{"name":"Set Block Storage \"iotune\" Configuration","id":"35ea2dee-3dee-4e34-9128-ae0eed4b1984","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"total_bytes_sec\": 209715200,\n  \"total_bytes_sec_max\": 524288000,\n  \"total_bytes_sec_max_length\": 5,\n  \"total_iops_sec\": 15000,\n  \"total_iops_sec_max\": 50200,\n  \"total_iops_sec_max_length\": 4\n}\n","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/config/storage/iotune","description":"<p>Modifies <code>iotune</code> parameters for disk storage configuration.\n<br />\nHas an effect on any disk that is attached or VM that is started <em>after</em> this configuration is changed.\n<br />\n<br />\nWhen a non-empty JSON object is given, it is used to set values of <code>iotune</code>\nsection of Libvirt <code>disk</code> configuration elements.\nSee <a href=\"https://libvirt.org/formatdomain.html#hard-drives-floppy-disks-cdroms\">Libvirt documentation</a>\nfor list of parameters and their constraints.\n​\nWhen an empty JSON <code>{}</code> is given, the  <code>iotune</code> section will not be defined and thus\ndefault values of Libvirt will be used.\n​\nWhen an empty request body is provided, following pre-defined values will\nbe effective:</p>\n<ul>\n<li>\"total_bytes_sec\": 209715200</li>\n<li>\"total_iops_sec\": 15000</li>\n<li>(for all the rest, Libvirt defaults will be used)</li>\n</ul>\n","urlObject":{"path":["v1","config","storage","iotune"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ac6a5441-2670-4789-82d2-4d84b300a874","name":"Set Storage \"iotune\" Configuration","originalRequest":{"method":"PUT","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"total_bytes_sec\": 209715200,\n  \"total_bytes_sec_max\": 524288000,\n  \"total_bytes_sec_max_length\": 5,\n  \"total_iops_sec\": 15000,\n  \"total_iops_sec_max\": 50200,\n  \"total_iops_sec_max_length\": 4\n}\n","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/config/storage/iotune"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"183"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Wed, 23 Dec 2020 12:01:23 GMT"},{"key":"x-warren-correlation-id","value":"cfg-0"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"88"},{"key":"X-Kong-Proxy-Latency","value":"13"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"total_bytes_sec\": 209715200,\n    \"total_bytes_sec_max\": 524288000,\n    \"total_bytes_sec_max_length\": 5,\n    \"total_iops_sec\": 15000,\n    \"total_iops_sec_max\": 50200,\n    \"total_iops_sec_max_length\": 4\n}"}],"_postman_id":"35ea2dee-3dee-4e34-9128-ae0eed4b1984"},{"name":"Create Disk","id":"1e8277b5-d588-411f-9c1c-8b5f3859d776","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"user_id","value":"{{user_id}}","type":"text"},{"key":"billing_account_id","value":"{{billing_account_id}}","type":"text"},{"key":"size_gb","value":"60","description":"<p>Size of new disk in GB.</p>\n","type":"text"},{"key":"source_image_type","value":"OS_BASE","description":"<p>Initial disk contents type, possible values for admin are currently: EMPTY, OS_BASE.</p>\n","type":"text"},{"key":"source_image","value":"fedora_37","description":"<p>Disk will be initialised with this content, not needed if <code>source_image_type</code> is EMPTY.</p>\n","type":"text"}]},"url":"{{url}}/v1/storage/admin/disks","description":"<p>Create a block storage disk on behalf of the user. See user API documentation for more information.</p>\n","urlObject":{"path":["v1","storage","admin","disks"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"1c6156c7-3c32-4776-a737-892b7450c94b","name":"Create Disk","originalRequest":{"method":"POST","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"user_id","value":"{{user_id}}","type":"text"},{"key":"billing_account_id","value":"{{billing_account_id}}","type":"text"},{"key":"size_gb","value":"60","description":"Size of new disk in GB","type":"text"},{"key":"source_image_type","value":"OS_BASE","description":"Initial disk contents type","type":"text"},{"key":"source_image","value":"fedora_37","description":"Disk will be initialised with this content","type":"text"}]},"url":"{{url}}/v1/storage/admin/disks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Mon, 12 Dec 2022 13:42:06 GMT"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"35"},{"key":"X-Kong-Upstream-Latency","value":"25434"},{"key":"X-Warren-Correlation-Id","value":"stm-kydheb85c0"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"uuid\": \"f1536cae-6345-42c8-8b95-694322a77827\",\n    \"status\": \"Active\",\n    \"user_id\": 8,\n    \"billing_account_id\": 129725,\n    \"size_gb\": 60,\n    \"source_image_type\": \"OS_BASE\",\n    \"source_image\": \"fedora_37\",\n    \"image_path\": \"vm-disk-images/f1536cae-6345-42c8-8b95-694322a77827.img\",\n    \"created_at\": \"2022-12-12T13:41:40.638+0000\",\n    \"updated_at\": \"2022-12-12T13:42:06.041+0000\",\n    \"acting_user_id\": 29,\n    \"storage_pool_name\": \"vm-disk-images\"\n}"}],"_postman_id":"1e8277b5-d588-411f-9c1c-8b5f3859d776"},{"name":"Restore Disk from trash","id":"abf9b9d8-822b-4db6-802d-86113c5b0c66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":"{{url}}/v1/storage/admin/disks/{{disk_uuid}}/restore","description":"<p>Restores a deleted disk from Ceph trash, if possible.</p>\n<p>Will return an error if disk is not deleted or if disk has been purged from trash.</p>\n","urlObject":{"path":["v1","storage","admin","disks","{{disk_uuid}}","restore"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"86424ed6-2507-45ab-98c2-b99d84a26e82","name":"Restore Disk from trash","originalRequest":{"method":"PUT","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":"{{url}}/v1/storage/admin/disks/a14d954b-c031-4fbb-8e86-052e7024445a/restore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Date","value":"Thu, 13 Jul 2023 08:04:41 GMT"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"4144"},{"key":"X-Warren-Correlation-Id","value":"stm-c6gn92ygw"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"uuid\": \"a14d954b-c031-4fbb-8e86-052e7024445a\",\n    \"status\": \"Active\",\n    \"snapshots\": [],\n    \"user_id\": 35,\n    \"billing_account_id\": 129124,\n    \"size_gb\": 20,\n    \"source_image_type\": \"DISK\",\n    \"source_image\": \"09e66ce4-5e29-480a-ad21-65f2b406e187\",\n    \"image_path\": \"vm-disk-images/a14d954b-c031-4fbb-8e86-052e7024445a.img\",\n    \"created_at\": \"2023-07-13T02:13:08.927+0000\",\n    \"updated_at\": \"2023-07-13T08:04:41.991+0000\",\n    \"acting_user_id\": 35,\n    \"storage_pool_name\": \"vm-disk-images\"\n}"}],"_postman_id":"abf9b9d8-822b-4db6-802d-86113c5b0c66"}],"id":"631e7c27-e570-4ae5-a080-9b0cd9936b47","_postman_id":"631e7c27-e570-4ae5-a080-9b0cd9936b47","description":""},{"name":"Object Storage (S3)","item":[{"name":"Get all Object Storage (S3) Buckets","id":"1580779f-d3a3-467f-b737-b5a6f7ba36d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/storage/admin/buckets","description":"<p>Returns a list of all users created at platform.</p>\n","urlObject":{"path":["v1","storage","admin","buckets"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"8b50e4c3-326f-4c9e-95a3-1c538910fe63","name":"Get all S3 Buckets","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/storage/admin/buckets"},"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":"X-Warren-Correlation-Id","value":"stm-egh922ueps"},{"key":"Date","value":"Mon, 26 Aug 2019 10:56:16 GMT"},{"key":"X-Kong-Upstream-Latency","value":"1687"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"ainult-129093\",\n        \"user_id\": 8,\n        \"size_bytes\": 0,\n        \"billing_account_id\": 129093,\n        \"num_objects\": 0,\n        \"created_at\": \"2021-01-22T09:52:54.255+0000\",\n        \"modified_at\": \"2020-05-04T15:44:35.619+0000\",\n        \"is_suspended\": false\n    },\n    {\n        \"name\": \"pang1\",\n        \"user_id\": 8,\n        \"size_bytes\": 3189211059,\n        \"billing_account_id\": 129072,\n        \"num_objects\": 5,\n        \"created_at\": \"2021-01-22T09:52:54.256+0000\",\n        \"modified_at\": \"2018-05-24T11:26:50.102+0000\",\n        \"is_suspended\": false\n    },\n    {\n        \"name\": \"pang2\",\n        \"user_id\": 8,\n        \"size_bytes\": 1587609600,\n        \"billing_account_id\": 129072,\n        \"num_objects\": 1,\n        \"created_at\": \"2021-01-22T09:52:54.256+0000\",\n        \"modified_at\": \"2018-06-01T14:49:05.489+0000\",\n        \"is_suspended\": false\n    },\n    {\n        \"name\": \"pang3\",\n        \"user_id\": 8,\n        \"size_bytes\": 0,\n        \"billing_account_id\": 129072,\n        \"num_objects\": 0,\n        \"created_at\": \"2021-01-22T09:52:54.256+0000\",\n        \"modified_at\": \"2018-06-05T09:47:50.877+0000\",\n        \"is_suspended\": false\n    },\n    {\n        \"name\": \"pang4\",\n        \"user_id\": 8,\n        \"size_bytes\": 4758,\n        \"billing_account_id\": 129093,\n        \"num_objects\": 1,\n        \"created_at\": \"2021-01-22T09:52:54.256+0000\",\n        \"modified_at\": \"2019-04-12T11:37:58.534+0000\",\n        \"is_suspended\": false\n    },\n    {\n        \"name\": \"porgandid\",\n        \"user_id\": 8,\n        \"size_bytes\": 8283750400,\n        \"billing_account_id\": 129072,\n        \"num_objects\": 1,\n        \"created_at\": \"2021-01-22T09:52:54.256+0000\",\n        \"modified_at\": \"2018-06-05T09:37:27.867+0000\",\n        \"is_suspended\": false\n    }\n]"}],"_postman_id":"1580779f-d3a3-467f-b737-b5a6f7ba36d4"}],"id":"c0071b17-a53c-4846-8cd0-24bba164651b","event":[{"listen":"prerequest","script":{"id":"647a764a-6553-45e8-837e-8a11a1bf470e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4f54c769-280b-4134-8e18-361a834170f4","type":"text/javascript","exec":[""]}}],"_postman_id":"c0071b17-a53c-4846-8cd0-24bba164651b","description":""},{"name":"Network","item":[{"name":"Get all IP addresses","event":[{"listen":"test","script":{"id":"79bf5481-504d-4fd2-b08d-405aa1a19505","exec":[""],"type":"text/javascript"}}],"id":"02b8247f-5519-46a6-93bc-11f1abe2852c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":"{{url}}/v1/network/admin/ip_addresses","description":"<p>Optional parameters</p>\n<ul>\n<li><em>type</em> - IP type. Possible allowed values <code>private</code> and <code>public</code>. If not specified only <code>public</code> IP's are returned.</li>\n<li><em>vm_uuid</em> : If specified only the IP address of this VM is returned</li>\n<li><em>billing_account_id</em> : filter out IP's for the given billing account</li>\n<li><em>include_deleted</em> : if <code>true</code> also deleted ip's are returned. If not specified only non-deleted IP's are returned</li>\n<li><em>deleted_cutoff_date</em> : if include_deleted flag is set <code>true</code> this parameter can be used to return IP's deleted after the given date.</li>\n</ul>\n","urlObject":{"path":["v1","network","admin","ip_addresses"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"c3507dd4-ccc8-4cd3-9d1a-6abea9b4e2c1","name":"Get all IP addresses","originalRequest":{"method":"GET","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":{"raw":"{{url}}/v1/network/admin/ip_addresses?include_deleted=true&deleted_cutoff_date=2021-01-01","host":["{{url}}"],"path":["v1","network","admin","ip_addresses"],"query":[{"key":"include_deleted","value":"true"},{"key":"deleted_cutoff_date","value":"2021-01-01"}]}},"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":"X-Warren-Correlation-Id","value":"ros-1nmpmjp4w"},{"key":"vary","value":"accept-encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Thu, 06 May 2021 13:42:07 GMT"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"112"},{"key":"X-Kong-Proxy-Latency","value":"36"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 10171,\n        \"is_ipv6\": false,\n        \"address\": \"x.x.148.177\",\n        \"user_id\": 8,\n        \"billing_account_id\": 129725,\n        \"type\": \"public\",\n        \"network_id\": null,\n        \"name\": \"\",\n        \"enabled\": true,\n        \"created_at\": \"2020-12-16 11:26:02\",\n        \"updated_at\": \"2020-12-16 11:26:03\",\n        \"unassigned_at\": null,\n        \"uuid\": \"996edbb7-3d0c-44bb-93bf-52378e80cfbb\",\n        \"is_deleted\": false,\n        \"deleted_at\": null,\n        \"assigned_to\": \"7b3ced12-d701-43ab-bcdf-4ca1c32623a1\"\n    },\n    {\n\t\t\"id\": 2343,\n\t\t\"is_ipv6\": true,\n\t\t\"address\": \"2a05:1cc0:10:30::7e:fffc\",\n\t\t\"user_id\": 136,\n\t\t\"type\": \"public\",\n\t\t\"network_id\": 126,\n\t\t\"enabled\": true,\n\t\t\"created_at\": \"2022-11-10 13:07:29\",\n\t\t\"updated_at\": \"2022-11-10 13:07:29\",\n\t\t\"uuid\": \"4b980066-71df-4df9-a7b5-845c3e2da06f\",\n\t\t\"is_deleted\": false,\n\t\t\"is_virtual\": false,\n\t\t\"assigned_to\": \"4db1bbd6-f670-4294-9585-03bf8f7cf108\",\n\t\t\"assigned_to_resource_type\": \"virtual_machine\"\n\t},\n    {\n        \"id\": 12725,\n        \"is_ipv6\": false,\n        \"address\": \"x.x.148.210\",\n        \"user_id\": 227,\n        \"billing_account_id\": 129974,\n        \"type\": \"public\",\n        \"network_id\": null,\n        \"name\": null,\n        \"enabled\": true,\n        \"created_at\": \"2021-05-04 10:40:22\",\n        \"updated_at\": \"2021-05-04 10:40:23\",\n        \"unassigned_at\": null,\n        \"uuid\": \"f6e2ff2a-4ea2-4f82-a95b-a8ad2b18ecaa\",\n        \"is_deleted\": false,\n        \"deleted_at\": null,\n        \"assigned_to\": \"7cdf9cb5-ac47-4ced-9e45-f9eeaaaf564f\"\n    },\n    {\n        \"id\": 12731,\n        \"is_ipv6\": false,\n        \"address\": \"x.x.150.114\",\n        \"user_id\": 35,\n        \"billing_account_id\": 129124,\n        \"type\": \"public\",\n        \"network_id\": null,\n        \"name\": null,\n        \"enabled\": true,\n        \"created_at\": \"2021-05-05 02:05:22\",\n        \"updated_at\": \"2021-05-05 02:05:22\",\n        \"unassigned_at\": null,\n        \"uuid\": \"4b00f5bb-7b10-499e-a69c-081d2b4b29b2\",\n        \"is_deleted\": true,\n        \"deleted_at\": \"2021-05-05 02:07:14\",\n        \"assigned_to\": null\n    },\n    {\n        \"id\": 12755,\n        \"is_ipv6\": false,\n        \"address\": \"x.x.149.250\",\n        \"user_id\": 35,\n        \"billing_account_id\": 129124,\n        \"type\": \"public\",\n        \"network_id\": null,\n        \"name\": null,\n        \"enabled\": true,\n        \"created_at\": \"2021-05-06 02:09:49\",\n        \"updated_at\": \"2021-05-06 02:09:49\",\n        \"unassigned_at\": null,\n        \"uuid\": \"3609fadd-ab7e-41f3-8e73-00430d1df301\",\n        \"is_deleted\": true,\n        \"deleted_at\": \"2021-05-06 02:10:26\",\n        \"assigned_to\": null\n    },\n    {\n        \"id\": 9362,\n        \"is_ipv6\": false,\n        \"address\": \"x.x.148.209\",\n        \"user_id\": 28,\n        \"billing_account_id\": 129673,\n        \"type\": \"public\",\n        \"network_id\": null,\n        \"name\": \"kala\",\n        \"enabled\": true,\n        \"created_at\": \"2020-11-10 11:56:15\",\n        \"updated_at\": \"2020-11-10 11:56:15\",\n        \"unassigned_at\": null,\n        \"uuid\": \"fc16e3e0-0bf9-4530-a977-9eda0ce51a5c\",\n        \"is_deleted\": false,\n        \"deleted_at\": null,\n        \"assigned_to\": null\n    }\n]"}],"_postman_id":"02b8247f-5519-46a6-93bc-11f1abe2852c"},{"name":"Get IP address action log","event":[{"listen":"test","script":{"id":"0b10052c-751f-4e3d-a926-0c6d3ac3257e","exec":[""],"type":"text/javascript"}}],"id":"753a147f-a9b3-4e94-b00d-9e1be27e4812","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":"{{url}}/v1/network/admin/ip_addresses/{{address}}/log?assigned_to_uuid={{assigned_to_uuid}}","description":"<p>Returns action log for one or many IP addresses, depending on the query.</p>\n<p>There are three main ways to query for the log, depending on the value of <code>address</code> path parameter:</p>\n<ol>\n<li>Using IP address UUID will return one life cycle of an address, starting from Create and possibly ending in Delete.</li>\n<li>Using an actual address like <code>192.168.1.1</code> will return all life cycles of that address, showing Creates and Deletes from different users.</li>\n<li>Using the value <code>query_by_assigned_to</code> as <code>address</code> will allow to specify <code>assigned_to_uuid</code> query parameter, in this case action log items related to one specific Virtual Machine or Load Balancer are shown, this includes Assign and Unassign actions for all the addresses that have been assigned to that VM or LB.</li>\n</ol>\n","urlObject":{"path":["v1","network","admin","ip_addresses","{{address}}","log"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Optional, only has effect if <code>address</code> is <code>query_by_assigned_to</code></p>\n","type":"text/plain"},"key":"assigned_to_uuid","value":"{{assigned_to_uuid}}"}],"variable":[]}},"response":[{"id":"2ce48d00-de5b-42ac-a84f-9aaae47804ac","name":"Get IP address action log by IP UUID","originalRequest":{"method":"GET","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":"{{url}}/v1/network/admin/ip_addresses/2a44804a-47c9-476c-aae4-f0d78af8fa02/log"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 12 Jul 2023 09:04:22 GMT"},{"key":"Vary","value":"accept-encoding"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"56"},{"key":"X-Warren-Correlation-Id","value":"ros-1oia4ckqo"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uuid\": \"2a44804a-47c9-476c-aae4-f0d78af8fa02\",\n        \"action\": \"create\",\n        \"address\": \"x.x.157.230\",\n        \"user_id\": 9,\n        \"acting_user_id\": 9,\n        \"created_at\": \"2021-07-20 16:36:11\"\n    },\n    {\n        \"uuid\": \"2a44804a-47c9-476c-aae4-f0d78af8fa02\",\n        \"action\": \"assign\",\n        \"address\": \"x.x.157.230\",\n        \"vm_uuid\": \"2b871ea4-05e2-408c-994d-00ef03d705c6\",\n        \"user_id\": 9,\n        \"acting_user_id\": 9,\n        \"created_at\": \"2021-07-20 16:36:11\"\n    },\n    {\n        \"uuid\": \"2a44804a-47c9-476c-aae4-f0d78af8fa02\",\n        \"action\": \"unassign\",\n        \"address\": \"x.x.157.230\",\n        \"vm_uuid\": \"2b871ea4-05e2-408c-994d-00ef03d705c6\",\n        \"user_id\": 9,\n        \"acting_user_id\": 9,\n        \"created_at\": \"2021-07-20 16:42:04\"\n    },\n    {\n        \"uuid\": \"2a44804a-47c9-476c-aae4-f0d78af8fa02\",\n        \"action\": \"delete\",\n        \"address\": \"x.x.157.230\",\n        \"user_id\": 9,\n        \"created_at\": \"2021-11-26 04:30:01\"\n    }\n]"},{"id":"e67b48db-6605-4ed2-bf7d-b80ebef9b52b","name":"Get IP address action log by IP address","originalRequest":{"method":"GET","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":"{{url}}/v1/network/admin/ip_addresses/x.x.157.230/log"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 12 Jul 2023 09:05:28 GMT"},{"key":"Vary","value":"accept-encoding"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"73"},{"key":"X-Warren-Correlation-Id","value":"ros-1un9kypz4"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uuid\": \"2a44804a-47c9-476c-aae4-f0d78af8fa02\",\n        \"action\": \"create\",\n        \"address\": \"x.x.157.230\",\n        \"user_id\": 9,\n        \"acting_user_id\": 9,\n        \"created_at\": \"2021-07-20 16:36:11\"\n    },\n    {\n        \"uuid\": \"2a44804a-47c9-476c-aae4-f0d78af8fa02\",\n        \"action\": \"assign\",\n        \"address\": \"x.x.157.230\",\n        \"vm_uuid\": \"2b871ea4-05e2-408c-994d-00ef03d705c6\",\n        \"user_id\": 9,\n        \"acting_user_id\": 9,\n        \"created_at\": \"2021-07-20 16:36:11\"\n    },\n    {\n        \"uuid\": \"2a44804a-47c9-476c-aae4-f0d78af8fa02\",\n        \"action\": \"unassign\",\n        \"address\": \"x.x.157.230\",\n        \"vm_uuid\": \"2b871ea4-05e2-408c-994d-00ef03d705c6\",\n        \"user_id\": 9,\n        \"acting_user_id\": 9,\n        \"created_at\": \"2021-07-20 16:42:04\"\n    },\n    {\n        \"uuid\": \"2a44804a-47c9-476c-aae4-f0d78af8fa02\",\n        \"action\": \"delete\",\n        \"address\": \"x.x.157.230\",\n        \"user_id\": 9,\n        \"created_at\": \"2021-11-26 04:30:01\"\n    },\n    {\n        \"uuid\": \"047cba5f-31e7-4d5d-8a85-8c0016c469d4\",\n        \"action\": \"create\",\n        \"address\": \"x.x.157.230\",\n        \"user_id\": 22,\n        \"acting_user_id\": 22,\n        \"created_at\": \"2022-07-18 12:22:19\"\n    },\n    {\n        \"uuid\": \"047cba5f-31e7-4d5d-8a85-8c0016c469d4\",\n        \"action\": \"assign\",\n        \"address\": \"x.x.157.230\",\n        \"vm_uuid\": \"7aec3ea8-71c9-4e49-9fd4-d03c6af7d06b\",\n        \"user_id\": 22,\n        \"acting_user_id\": 22,\n        \"created_at\": \"2022-07-18 12:22:19\"\n    },\n    {\n        \"uuid\": \"047cba5f-31e7-4d5d-8a85-8c0016c469d4\",\n        \"action\": \"unassign\",\n        \"address\": \"x.x.157.230\",\n        \"vm_uuid\": \"7aec3ea8-71c9-4e49-9fd4-d03c6af7d06b\",\n        \"user_id\": 22,\n        \"acting_user_id\": 22,\n        \"created_at\": \"2022-07-19 08:27:13\"\n    },\n    {\n        \"uuid\": \"047cba5f-31e7-4d5d-8a85-8c0016c469d4\",\n        \"action\": \"delete\",\n        \"address\": \"x.x.157.230\",\n        \"user_id\": 22,\n        \"acting_user_id\": 22,\n        \"created_at\": \"2022-07-19 08:27:37\"\n    }\n]"},{"id":"931b8cfb-a02f-4bcb-afdb-83a94d80eea8","name":"Get IP address action log by VM UUID","originalRequest":{"method":"GET","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":{"raw":"{{url}}/v1/network/admin/ip_addresses/query_by_assigned_to/log?assigned_to_uuid=2b871ea4-05e2-408c-994d-00ef03d705c6","host":["{{url}}"],"path":["v1","network","admin","ip_addresses","query_by_assigned_to","log"],"query":[{"key":"assigned_to_uuid","value":"2b871ea4-05e2-408c-994d-00ef03d705c6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 12 Jul 2023 09:07:20 GMT"},{"key":"Vary","value":"accept-encoding"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"50"},{"key":"X-Warren-Correlation-Id","value":"ros-22je16mf4"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uuid\": \"2a44804a-47c9-476c-aae4-f0d78af8fa02\",\n        \"action\": \"assign\",\n        \"address\": \"x.x.157.230\",\n        \"vm_uuid\": \"2b871ea4-05e2-408c-994d-00ef03d705c6\",\n        \"user_id\": 9,\n        \"acting_user_id\": 9,\n        \"created_at\": \"2021-07-20 16:36:11\"\n    },\n    {\n        \"uuid\": \"2a44804a-47c9-476c-aae4-f0d78af8fa02\",\n        \"action\": \"unassign\",\n        \"address\": \"x.x.157.230\",\n        \"vm_uuid\": \"2b871ea4-05e2-408c-994d-00ef03d705c6\",\n        \"user_id\": 9,\n        \"acting_user_id\": 9,\n        \"created_at\": \"2021-07-20 16:42:04\"\n    }\n]"},{"id":"44fe2f18-9242-419d-a3b7-4677c738648c","name":"Get IP address action log by LB UUID","originalRequest":{"method":"GET","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":{"raw":"{{url}}/v1/network/admin/ip_addresses/query_by_assigned_to/log?assigned_to_uuid=0edf9df7-5181-433c-a984-e0bc0ea3de14","host":["{{url}}"],"path":["v1","network","admin","ip_addresses","query_by_assigned_to","log"],"query":[{"key":"assigned_to_uuid","value":"0edf9df7-5181-433c-a984-e0bc0ea3de14"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 12 Jul 2023 09:07:20 GMT"},{"key":"Vary","value":"accept-encoding"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"50"},{"key":"X-Warren-Correlation-Id","value":"ros-22je16mf4"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uuid\": \"eac84a1b-c752-4e94-ae90-55c8128a6010\",\n        \"action\": \"assign\",\n        \"address\": \"x.x.157.240\",\n        \"user_id\": 28,\n        \"acting_user_id\": 28,\n        \"lb_instance_uuid\": \"0edf9df7-5181-433c-a984-e0bc0ea3de14\",\n        \"created_at\": \"2022-08-23 04:35:14\"\n    },\n    {\n        \"uuid\": \"eac84a1b-c752-4e94-ae90-55c8128a6010\",\n        \"action\": \"unassign\",\n        \"address\": \"x.x.157.240\",\n        \"user_id\": 28,\n        \"acting_user_id\": 28,\n        \"lb_instance_uuid\": \"0edf9df7-5181-433c-a984-e0bc0ea3de14\",\n        \"created_at\": \"2022-08-23 04:37:33\"\n    },\n    {\n        \"uuid\": \"eac84a1b-c752-4e94-ae90-55c8128a6010\",\n        \"action\": \"assign\",\n        \"address\": \"x.x.157.240\",\n        \"user_id\": 28,\n        \"acting_user_id\": 28,\n        \"lb_instance_uuid\": \"0edf9df7-5181-433c-a984-e0bc0ea3de14\",\n        \"created_at\": \"2022-08-23 04:37:43\"\n    },\n    {\n        \"uuid\": \"eac84a1b-c752-4e94-ae90-55c8128a6010\",\n        \"action\": \"unassign\",\n        \"address\": \"x.x.157.240\",\n        \"user_id\": 28,\n        \"acting_user_id\": 28,\n        \"lb_instance_uuid\": \"0edf9df7-5181-433c-a984-e0bc0ea3de14\",\n        \"created_at\": \"2022-10-04 10:02:16\"\n    },\n    {\n        \"uuid\": \"5c470aa1-345c-4bf8-980a-41316ff6e1fa\",\n        \"action\": \"assign\",\n        \"address\": \"x.x.157.211\",\n        \"user_id\": 28,\n        \"acting_user_id\": 28,\n        \"lb_instance_uuid\": \"0edf9df7-5181-433c-a984-e0bc0ea3de14\",\n        \"created_at\": \"2022-11-24 11:35:38\"\n    }\n]"}],"_postman_id":"753a147f-a9b3-4e94-b00d-9e1be27e4812"},{"name":"Get Floating IP pools statistics","event":[{"listen":"test","script":{"id":"79bf5481-504d-4fd2-b08d-405aa1a19505","exec":[""],"type":"text/javascript"}}],"id":"4111266b-f8d0-4756-931f-8f59dc1243b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":"{{url}}/v1/network/admin/ip_pool_status?cache_invalidate=false","description":"<p>Returns status of current floating IP pools (how many IP addresses are used and how many available).</p>\n","urlObject":{"path":["v1","network","admin","ip_pool_status"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Optional, default is false. If true then cached data about IP pools is purged and fresh data from Tungsten is requested. Useful right after adding a new public IP pool/subnet.</p>\n","type":"text/plain"},"key":"cache_invalidate","value":"false"}],"variable":[]}},"response":[{"id":"da2bd277-30d9-4dec-8c0a-a10c40e6fbcd","name":"Get Floating IP pools statistics","originalRequest":{"method":"GET","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":"{{url}}/v1/network/admin/ip_pool_status"},"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":"X-Warren-Correlation-Id","value":"ros-1nmpmjp4w"},{"key":"vary","value":"accept-encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Thu, 06 May 2021 13:42:07 GMT"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"112"},{"key":"X-Kong-Proxy-Latency","value":"36"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"used_ips\": 26,\n    \"total_ips\": 1016,\n    \"percent_used\": 2.56\n}"}],"_postman_id":"4111266b-f8d0-4756-931f-8f59dc1243b5"},{"name":"Get all Networks","event":[{"listen":"test","script":{"id":"79bf5481-504d-4fd2-b08d-405aa1a19505","exec":[""],"type":"text/javascript"}}],"id":"fe7525b4-4f09-4fda-8c30-41b8405e18af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":"{{url}}/v1/network/admin/networks","urlObject":{"path":["v1","network","admin","networks"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe7525b4-4f09-4fda-8c30-41b8405e18af"},{"name":"Create IP address","event":[{"listen":"test","script":{"id":"79bf5481-504d-4fd2-b08d-405aa1a19505","exec":[""],"type":"text/javascript"}}],"id":"c2a494fa-7a72-42f4-958d-1636f02f561f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"user_id\": \"{{user_id}}\",\n    \"billing_account_id\": \"{{billing_account_id}}\",\n    \"address\": \"{{ip_address}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/network/admin/ip_addresses/","description":"<p>Will create a Floating IP address to the specified user and billing account. <code>address</code> is optional, it will be allocated automatically if not specified.</p>\n","urlObject":{"path":["v1","network","admin","ip_addresses",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"4f49f33d-9ccc-4f31-87e5-8e9fe75f1bac","name":"Create IP address","originalRequest":{"method":"POST","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"user_id\": \"8\",\n    \"billing_account_id\": \"129725\",\n    \"address\": \"176.112.157.237\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/network/admin/ip_addresses/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 12 Dec 2022 12:02:00 GMT"},{"key":"Vary","value":"accept-encoding"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"163"},{"key":"X-Warren-Correlation-Id","value":"ros-h2eo8vzncw"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3377,\n    \"address\": \"176.112.157.237\",\n    \"user_id\": 8,\n    \"billing_account_id\": 129725,\n    \"type\": \"public\",\n    \"enabled\": true,\n    \"created_at\": \"2022-12-12 12:02:00\",\n    \"updated_at\": \"2022-12-12 12:02:00\",\n    \"uuid\": \"a03c04eb-0c65-4c98-833d-6a4736c70c56\",\n    \"is_deleted\": false,\n    \"is_ipv6\": false\n}"}],"_postman_id":"c2a494fa-7a72-42f4-958d-1636f02f561f"},{"name":"Assign IP address","event":[{"listen":"test","script":{"id":"79bf5481-504d-4fd2-b08d-405aa1a19505","exec":[""],"type":"text/javascript"}}],"id":"294505d0-5b54-452c-9cbc-5e2cc816ab65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"vm_uuid\": \"{{vm_uuid}}\",\n    \"private_ip\": \"{{private_ip_address}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/network/admin/ip_addresses/{{floating_ip_address}}/assign","description":"<p>Will assign a Floating IP address to a private IP address of a VM, Load Balancer or Service. As a shortcut to assigning to a VM, <code>vm_uuid</code> can be specified instead of the address.</p>\n<p>Semi-optional parameters, exactly one has to be provided:</p>\n<ul>\n<li><em>vm_uuid</em>: find assignment target by VM UUID</li>\n<li><em>private_ip</em>: find assignment target by private IP address</li>\n</ul>\n<p>Returns the Floating IP address object.</p>\n","urlObject":{"path":["v1","network","admin","ip_addresses","{{floating_ip_address}}","assign"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"86677828-5ff5-442d-9c41-b320d68fae4e","name":"Assign IP address","originalRequest":{"method":"POST","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"vm_uuid\": \"591b5ea1-f6bc-4e2f-bf93-b04e7584de06\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/network/admin/ip_addresses/176.112.157.235/assign"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 12 Dec 2022 11:50:44 GMT"},{"key":"Vary","value":"accept-encoding"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"117"},{"key":"X-Warren-Correlation-Id","value":"ros-h1472oh4ao"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3017,\n    \"address\": \"176.112.157.235\",\n    \"user_id\": 8,\n    \"billing_account_id\": 129725,\n    \"type\": \"public\",\n    \"enabled\": true,\n    \"created_at\": \"2022-11-28 18:58:12\",\n    \"updated_at\": \"2022-12-12 11:50:44\",\n    \"uuid\": \"9f267b54-38c2-463e-b68a-704f4307d435\",\n    \"is_deleted\": false,\n    \"is_ipv6\": false,\n    \"assigned_to\": \"591b5ea1-f6bc-4e2f-bf93-b04e7584de06\",\n    \"assigned_to_resource_type\": \"virtual_machine\",\n    \"assigned_to_private_ip\": \"10.7.58.186\",\n    \"name\": \"admin tegi\"\n}"}],"_postman_id":"294505d0-5b54-452c-9cbc-5e2cc816ab65"},{"name":"Unassign IP address","event":[{"listen":"test","script":{"id":"79bf5481-504d-4fd2-b08d-405aa1a19505","exec":[""],"type":"text/javascript"}}],"id":"9ca4e23b-ddd1-438e-aab2-4da6a398aca6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":"{{url}}/v1/network/admin/ip_addresses/{{floating_ip_address}}/unassign","description":"<p>Will unassign any Floating IP address of any user from any resource it might be assigned to.</p>\n<p>Returns the Floating IP address object.</p>\n","urlObject":{"path":["v1","network","admin","ip_addresses","{{floating_ip_address}}","unassign"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"bafd56ff-3ce3-4d70-8766-a4fe925143bf","name":"Unassign IP address","originalRequest":{"method":"POST","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":"{{url}}/v1/network/admin/ip_addresses/176.112.157.235/unassign"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 12 Dec 2022 11:52:38 GMT"},{"key":"Vary","value":"accept-encoding"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"110"},{"key":"X-Warren-Correlation-Id","value":"ros-h1c374p0qo"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3017,\n    \"address\": \"176.112.157.235\",\n    \"user_id\": 8,\n    \"billing_account_id\": 129725,\n    \"type\": \"public\",\n    \"enabled\": true,\n    \"created_at\": \"2022-11-28 18:58:12\",\n    \"updated_at\": \"2022-12-12 11:52:38\",\n    \"unassigned_at\": \"2022-12-12 11:52:38\",\n    \"uuid\": \"9f267b54-38c2-463e-b68a-704f4307d435\",\n    \"is_deleted\": false,\n    \"is_ipv6\": false,\n    \"name\": \"admin tegi\"\n}"}],"_postman_id":"9ca4e23b-ddd1-438e-aab2-4da6a398aca6"},{"name":"Delete IP address","event":[{"listen":"test","script":{"id":"79bf5481-504d-4fd2-b08d-405aa1a19505","exec":[""],"type":"text/javascript"}}],"id":"11642e60-7a7c-4848-919b-440284f77f35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":"{{url}}/v1/network/admin/ip_addresses/{{floating_ip_address}}","description":"<p>Will delete any Floating IP address of any user from any resource it might be assigned to.</p>\n<p>Returns true and status code 200 if successful</p>\n","urlObject":{"path":["v1","network","admin","ip_addresses","{{floating_ip_address}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"eeae086d-1eb1-4b36-a0a1-63e77af3b551","name":"Delete IP address","originalRequest":{"method":"POST","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":"{{url}}/v1/network/admin/ip_addresses/176.112.157.235/unassign"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 12 Dec 2022 11:52:38 GMT"},{"key":"Vary","value":"accept-encoding"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"110"},{"key":"X-Warren-Correlation-Id","value":"ros-h1c374p0qo"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n}"}],"_postman_id":"11642e60-7a7c-4848-919b-440284f77f35"},{"name":"Get network \"iftune\" Configuration","id":"ee73149c-2112-417b-8ab4-0ae666cd5b1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}","type":"text"}],"url":"{{url}}/v1/config/network/iftune","description":"<p>Shows current global <code>iftune</code> parameters for VM network interfaces.</p>\n<p>Returns an empty object if nothing is configured, this is equivalent to having all numbers as 0, i.e. bandwidth is unlimited.</p>\n<p>See <a href=\"https://libvirt.org/formatnetwork.html#quality-of-service\">https://libvirt.org/formatnetwork.html#quality-of-service</a> for more information.</p>\n","urlObject":{"path":["v1","config","network","iftune"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"f7b39e8c-558d-430b-a924-b90505fdb80c","name":"Get network \"iftune\" Configuration","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}","type":"text"}],"url":"{{url}}/v1/config/network/iftune"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"53"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 16 Aug 2024 11:29:33 GMT"},{"key":"Server","value":"gunicorn"},{"key":"Via","value":"kong/0.13.1"},{"key":"X-Kong-Proxy-Latency","value":"174"},{"key":"X-Kong-Upstream-Latency","value":"14"},{"key":"X-Warren-Correlation-Id","value":"policy-0"}],"cookie":[],"responseTime":null,"body":"{\n    \"average_kbps\": 51200,\n    \"burst_kb\": 102400,\n    \"peak_kbps\": 256000\n}"}],"_postman_id":"ee73149c-2112-417b-8ab4-0ae666cd5b1c"},{"name":"Set network \"iftune\" Configuration","id":"59a54271-805e-4009-a546-4d68232cc350","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"average_kbps","value":"51200","type":"text"},{"key":"burst_kb","value":"102400","type":"text"},{"key":"peak_kbps","value":"256000","type":"text"}]},"url":"{{url}}/v1/config/network/iftune","description":"<p>Modifies global <code>iftune</code> parameters for VM network interfaces.</p>\n<p>Has an effect on all VMs that do not have VM specific configuration and that are started <em>after</em> this configuration is changed.</p>\n<p>Send request with no values specified or set values to 0 to have no bandwidth limits.</p>\n<p>It is advised to set the limits to some specific running VM first to verify that the numbers are allowed by libvirt. Use the numbers as global configuration only if setting the limits for a running VM was successful.</p>\n<p>See <a href=\"https://libvirt.org/formatnetwork.html#quality-of-service\">https://libvirt.org/formatnetwork.html#quality-of-service</a> for more information.</p>\n","urlObject":{"path":["v1","config","network","iftune"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ce5e38c8-991f-41ae-a777-dda4d4e51452","name":"Set network \"iftune\" Configuration","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"average_kbps","value":"51200","type":"text"},{"key":"burst_kb","value":"102400","type":"text"},{"key":"peak_kbps","value":"256000","type":"text"}]},"url":"{{url}}/v1/config/network/iftune"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"64"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 16 Aug 2024 11:49:25 GMT"},{"key":"Server","value":"gunicorn"},{"key":"Via","value":"kong/0.13.1"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"17"},{"key":"X-Warren-Correlation-Id","value":"policy-0"}],"cookie":[],"responseTime":null,"body":"{\n    \"average_kbps\": 51200,\n    \"peak_kbps\": 256000,\n    \"burst_kb\": 102400\n}"}],"_postman_id":"59a54271-805e-4009-a546-4d68232cc350"}],"id":"167ca8de-0478-45ef-8394-c6b17f2b3e21","_postman_id":"167ca8de-0478-45ef-8394-c6b17f2b3e21","description":""},{"name":"Billing","item":[{"name":"Campaigns","item":[{"name":"List Campaigns","event":[{"listen":"test","script":{"id":"c90f7c38-a62a-4129-8246-2856bd541437","exec":[""],"type":"text/javascript"}}],"id":"78a9d236-d2e6-48a2-9d38-b539c7d10934","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/payment/admin/campaign/list?include_deleted=false","description":"<p>Admins can get a list of the existing campaigns, both active and inactive.</p>\n","urlObject":{"path":["v1","payment","admin","campaign","list"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Optional, default is <code>false</code>. If true then also deleted campaigns are returned.</p>\n","type":"text/plain"},"key":"include_deleted","value":"false"}],"variable":[]}},"response":[{"id":"c9f2ba67-0df7-42c8-a3b2-4ffd590ffa7d","name":"List Campaigns","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":{"raw":"{{url}}/v1/payment/admin/campaign/list?include_deleted=false","host":["{{url}}"],"path":["v1","payment","admin","campaign","list"],"query":[{"key":"include_deleted","value":"false","description":"Optional, default is `false`. If true then also deleted campaigns are returned."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"1091"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 21 Sep 2022 10:40:13 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"72"},{"key":"X-Warren-Correlation-Id","value":"pay-24ifvruvnr"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"campaign_code\": \"sygis2021\",\n        \"campaign_description\": \"tali tuli\",\n        \"created_at\": 1663743146,\n        \"credit_amount\": 49,\n        \"id\": 15,\n        \"is_active\": false,\n        \"is_deleted\": false,\n        \"used_count\": 0\n    },\n    {\n        \"campaign_code\": \"11eur\",\n        \"campaign_description\": \"11 eur kampaania\",\n        \"created_at\": 1663678936,\n        \"credit_amount\": 11,\n        \"id\": 12,\n        \"is_active\": true,\n        \"is_deleted\": false,\n        \"used_count\": 1\n    }\n]"}],"_postman_id":"78a9d236-d2e6-48a2-9d38-b539c7d10934"},{"name":"Add Campaign","event":[{"listen":"test","script":{"id":"c90f7c38-a62a-4129-8246-2856bd541437","exec":[""],"type":"text/javascript"}}],"id":"5ed10f05-1b6c-4d94-b360-286b591ea49d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"campaign_code","value":"WINTER2020","type":"text","description":"<p>Free format code for campaign that new users can enter on signup page</p>\n"},{"key":"campaign_description","value":"Winter campaign 2020","type":"text","description":"<p>Free text description for the campaign (internal use, hidden from the user)</p>\n"},{"key":"credit_amount","value":"15","type":"text","description":"<p>The amount that the new user receives to their billing account</p>\n"},{"key":"is_active","value":"false","description":"<p>Optional, default is <code>false</code>. Indicates if the campaign is running and using the on signup is possible</p>\n","type":"text"}]},"url":"{{url}}/v1/payment/admin/campaign","description":"<p>Admins can add new campaigns (special promo code that gives the user free credit on first topup (pre-payment) or first Billing Account creation (post-payment).</p>\n","urlObject":{"path":["v1","payment","admin","campaign"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"20994cf5-ccb5-4c8b-85df-69e21ed71725","name":"Add Campaign","originalRequest":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"campaign_code","value":"WINTER2020","type":"text","description":"Free format code for campaign that new users can enter on signup page"},{"key":"campaign_description","value":"Winter campaign 2020","type":"text","description":"Free text description for the campaign (internal use, hidden from the user)"},{"key":"credit_amount","value":"15","type":"text","description":"The amount that the new user receives to their billing account"},{"key":"is_active","value":"true","description":"Optional, default is `true`. Indicates if the campaign is running \n and using the on signup is possible","type":"text"}]},"url":"{{url}}/v1/payment/admin/campaign"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"186"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 21 Sep 2022 06:52:48 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"2"},{"key":"X-Kong-Upstream-Latency","value":"54"},{"key":"X-Warren-Correlation-Id","value":"pay-1lhk9c8rzm"}],"cookie":[],"responseTime":null,"body":"{\n    \"campaign_code\": \"winter2020\",\n    \"campaign_description\": \"Winter campaign 2020\",\n    \"created_at\": 1663743168,\n    \"credit_amount\": 15,\n    \"id\": 16,\n    \"is_active\": true,\n    \"is_deleted\": false,\n    \"used_count\": 0\n}"}],"_postman_id":"5ed10f05-1b6c-4d94-b360-286b591ea49d"},{"name":"Edit Campaign","event":[{"listen":"test","script":{"id":"c90f7c38-a62a-4129-8246-2856bd541437","exec":[""],"type":"text/javascript"}}],"id":"5956d3cb-9d8b-45e2-89c8-f0989e215e01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"campaign_description","value":"Winter super campaign","type":"text","description":"<p>Optional. Free text description for the campaign (internal use, hidden from the user)</p>\n"},{"key":"is_active","value":"true","description":"<p>Optional. Indicates if the campaign is running \n and using the on signup is possible</p>\n","type":"text"}]},"url":"{{url}}/v1/payment/admin/campaign/{campaign_id}","description":"<p>Admins can edit the campaign name or status (is_active flag). Credit or code cannot be changed.</p>\n","urlObject":{"path":["v1","payment","admin","campaign","{campaign_id}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"34b70920-d8e0-4a1a-be00-573045f940c9","name":"Edit Campaign","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"campaign_description","value":"Winter super campaign","type":"text","description":"Optional. Free text description for the campaign (internal use, hidden from the user)"},{"key":"is_active","value":"true","description":"Optional. Indicates if the campaign is running \n and using the on signup is possible","type":"text"}]},"url":"{{url}}/v1/payment/admin/campaign/16"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"187"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 21 Sep 2022 06:57:28 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"66"},{"key":"X-Warren-Correlation-Id","value":"pay-1ypqduzhha"}],"cookie":[],"responseTime":null,"body":"{\n    \"campaign_code\": \"winter2020\",\n    \"campaign_description\": \"Winter super campaign\",\n    \"created_at\": 1663743168,\n    \"credit_amount\": 15,\n    \"id\": 16,\n    \"is_active\": true,\n    \"is_deleted\": false,\n    \"used_count\": 0\n}"}],"_postman_id":"5956d3cb-9d8b-45e2-89c8-f0989e215e01"},{"name":"Delete Campaign","event":[{"listen":"test","script":{"id":"c90f7c38-a62a-4129-8246-2856bd541437","exec":[""],"type":"text/javascript"}}],"id":"be924fdb-09f5-4eb3-9c2a-17e2669220ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{url}}/v1/payment/admin/campaign/15","description":"<p>Admins can delete the campaign completely. Billing accounts that were created with that campaign code are not affected in any way. This code can still be seen in billing accounts' admin interface.</p>\n","urlObject":{"path":["v1","payment","admin","campaign","15"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"4b44eb6f-489e-4509-9f7a-15bee966ac37","name":"Delete Campaign","originalRequest":{"method":"DELETE","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{url}}/v1/payment/admin/campaign/15"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"200"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 21 Sep 2022 10:41:20 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"61"},{"key":"X-Warren-Correlation-Id","value":"pay-21opueuhbk"}],"cookie":[],"responseTime":null,"body":"{\n    \"campaign_code\": \"sygis2021\",\n    \"campaign_description\": \"tali tuli\",\n    \"created_at\": 1663743146,\n    \"credit_amount\": 49,\n    \"deleted_at\": 1663756880,\n    \"id\": 15,\n    \"is_active\": false,\n    \"is_deleted\": true,\n    \"used_count\": 0\n}"}],"_postman_id":"be924fdb-09f5-4eb3-9c2a-17e2669220ab"}],"id":"3cc3c68f-f1dd-4bba-98f7-ff1ab8c62f6d","_postman_id":"3cc3c68f-f1dd-4bba-98f7-ff1ab8c62f6d","description":""},{"name":"Get all Billing Accounts","id":"5dc9ca38-e108-448c-9493-530e1a7769c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/payment/billing_account/all","description":"<p>Returns a list of all billing accounts created at platform.</p>\n<p>Response:</p>\n<ul>\n<li><em><strong>allow_debt</strong></em> (boolean)<ul>\n<li>If true, then post-payment plan,</li>\n<li>If false, then pre-payment plan.</li>\n</ul>\n</li>\n</ul>\n<p><strong>Manipulating results:</strong></p>\n<ul>\n<li><strong>Paging</strong> - Billing account list supports paging.<ul>\n<li>Set limit: To split reuslts into chunks, pass \"limit\" parameter to api request.<ul>\n<li>For example: https://[API_HOST]/v1/payment/billing_account/all?limit=10<br />When this parameter is received, api will return some metadata along with actual results. It does so using HTTP reponse headers. Look for \"X-Paging-Total\" header to get the total number of items (billing accounts). This number can be used along with limit to calculate result pages for example.</li>\n</ul>\n</li>\n<li>Select specific page: To select another chuck (page) of results, pass \"page\" parameter to request. Page numbers are 1-indexed. If no \"page\" parameter is passed, \"page\" parameter value \"1\" is assumed.<br />To get second page, make request like this: https://[API_HOST]/v1/payment/billing_account/all?limit=10&amp;page=2</li>\n</ul>\n</li>\n<li><strong>Ordering</strong><ul>\n<li>To order billing account list, pass \"order_field\" parameter to api request. Value of \"order_field\" parameter is field name you wish to order by. You can also control ordering direction by passing \"order_dir\" parameter. Value of this parameter can be either \"asc\" or \"desc\". If no \"order_dir\" parameter is passed, ascending (\"asc\") order direction is assumed.</li>\n</ul>\n</li>\n<li><strong>Filtering results by field(s)</strong><ul>\n<li>To filter results by one or more fields, pass \"filters\" parameter to api call. Value of \"filters\" parameter is urlencoded JSON string in the following format:<br />[<br />{\"field\": \"\", \"value\": \"\"},<br />{\"field\": \"\", \"value\": \"\"}<br />]<br />All filter criterias are combined together using AND operation.<br />For example, using value: '[{\"field\": \"id\", \"value\": \"1\"},{\"field\": \"title\", \"value\": \"Primary Account\"}]', will return results that have \"id\" value \"1\" AND \"title\" value \"Primary Account\". All text filters are applied case insensitive manner and don't have to be exact match. \"Primary Account\" matches \"PRIMARY ACCOUNT\", \"primary account\", \"Primary Account copy2\", \"My Primary Account\" etc.</li>\n</ul>\n</li>\n<li><strong>Search</strong><ul>\n<li>Searching results over multiple fields is possible using \"search\" parameter. Value must be urlencoded.</li>\n<li>Pass search keyword like this: https://[API_HOST]/v1/payment/billing_account/all?search=test</li>\n<li>Search keyword is searched from all fields with text type. Search criterias are combined together using OR operator and don't have to be exact match.<br />The example request above will return billing accounts whose \"title\", \"email\" or any other text field contains value \"test\".</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["v1","payment","billing_account","all"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"debdccb2-781a-40b3-98e0-7ed7ce7d3c59","name":"Get all billing accounts","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/payment/billing_account/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"17369"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Date","value":"Wed, 16 Jan 2019 13:50:29 GMT"},{"key":"x-warren-correlation-id","value":"pay-1twz68y9wi"},{"key":"X-Kong-Upstream-Latency","value":"450"},{"key":"X-Kong-Proxy-Latency","value":"56"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"address_line1\": \"test\",\n        \"address_line2\": null,\n        \"can_pay\": true,\n        \"city\": \"test\",\n        \"company_name\": \"test\",\n        \"company_reg_code\": \"test\",\n        \"company_vat_number\": \"test\",\n        \"country\": \"EE\",\n        \"county\": \"test\",\n        \"created\": 1537428598,\n        \"credit_amount\": 0,\n        \"email\": \"rauno@oyenetwork.com\",\n        \"id\": \"129074\",\n        \"is_default\": true,\n        \"is_deleted\": false,\n        \"paying_by_invoice\": false,\n        \"post_index\": \"test\",\n        \"restriction_level\": \"CLEAR\",\n        \"title\": \"test\",\n        \"user_id\": 9,\n        \"vat_percentage\": 20\n    },\n    {\n        \"address_line1\": \"test\",\n        \"address_line2\": null,\n        \"can_pay\": true,\n        \"city\": \"test\",\n        \"company_name\": \"test\",\n        \"company_reg_code\": \"test\",\n        \"company_vat_number\": \"test\",\n        \"country\": \"EE\",\n        \"county\": \"test\",\n        \"created\": 1537366313,\n        \"credit_amount\": 2,\n        \"email\": \"kadri@oyenetwork.com\",\n        \"id\": 129073,\n        \"is_default\": true,\n        \"is_deleted\": false,\n        \"paying_by_invoice\": false,\n        \"post_index\": \"test\",\n        \"restriction_level\": \"LIMITED\",\n        \"title\": \"Billing_account_1_VAT0\",\n        \"user_id\": 7,\n        \"vat_percentage\": 0\n    }\n]"}],"_postman_id":"5dc9ca38-e108-448c-9493-530e1a7769c2"},{"name":"Get all Invoices","id":"5ded9095-e7b6-47a3-a4b3-ace4d6049154","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/payment/admin/invoices?created_after=2024-02-28&created_before=2024-03-01","description":"<p>Returns a list of all generated Invoices.</p>\n<p><strong>Optional parameters:</strong></p>\n<ul>\n<li><p><em><strong>created_after</strong></em> - Example: 2019-05-01 - Returns all invoices for May and after, it is <strong>highly recommended</strong> to set this date to include as few invoices as possible to reduce API request time and response size</p>\n</li>\n<li><p><em><strong>created_before</strong></em> - Example: 2021-10-31 - Returns all invoices created before and on the 31st of Oct (includes 31st of Oct 2021)</p>\n</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p><em><strong>document_type</strong></em> (string):</p>\n<ul>\n<li><p>Indicates if and how the document is relevant for accounting, value is one of:</p>\n<ul>\n<li><p><strong>\"invoice\"</strong>: actual invoices, relevant for accounting</p>\n</li>\n<li><p><strong>\"credit_note\"</strong>: (partially) reverts existing invoice(s), created when a billing account is deleted, this document type is relevant for accounting</p>\n</li>\n<li><p><strong>\"report\"</strong>: for pre-payment billing accounts, a list of resources that were used during a month, similar to the end-of-month invoice for post-payment accounts, but it's not an invoice, this document is <strong>not relevant</strong> for accounting</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><em><strong>type</strong></em> (string):</p>\n<ul>\n<li><p>Shows what kind of content does the invoice or report have, value is one of:</p>\n<ul>\n<li><p><strong>\"cloud_services\"</strong>: Represents services used during a billing period. Can include unpaid amounts from the previous period, if billing account did not have enough credit available to cover the expenses. For post-payment accounts, this has <code>document_type</code> of <code>invoice</code>, for pre-payment accounts, it is <code>report</code> in most cases.</p>\n</li>\n<li><p><strong>\"credit_topup\"</strong>: invoice for the topup payment of buying credit (Only relevant in pre-payment cases)</p>\n</li>\n<li><p><strong>\"credit_note\"</strong>: see <code>document_type: credit_note</code></p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><em><strong>document_number</strong></em> (string):</p>\n<ul>\n<li><p>Document number with configurable prefix string. Numbering sequence is different for different document types (invoice, report or credit note).</p>\n<ul>\n<li><p>Default prefixes:</p>\n<ul>\n<li><p>Invoice: \"#\"</p>\n</li>\n<li><p>Credit Note: \"CN-\"</p>\n</li>\n<li><p>Report: \"RP-\"</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><del><em><strong>padded_id</strong></em></del> (string):</p>\n<ul>\n<li><strong>Deprecated</strong>, use <code>document_number</code> instead</li>\n</ul>\n</li>\n<li><p><em><strong>status</strong></em> (number):</p>\n<ul>\n<li><p><strong>0</strong>: invoice/report is being created, in most cases invoices with this status must be ignored</p>\n</li>\n<li><p><strong>5</strong>: invoice is closed for modifications, and is unpaid.</p>\n</li>\n<li><p><strong>10</strong>: invoice is closed for modifications, and is paid.</p>\n<ul>\n<li>In case of pre-payment, status is always paid.</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><em><strong>discount_percentage</strong></em> (number in range [0..100]):</p>\n<ul>\n<li>discount percentage used for calculating totals of this invoice.</li>\n</ul>\n</li>\n<li><p><em><strong>vat_percentage</strong></em> (number in range [0..100]):</p>\n<ul>\n<li>VAT percentage that is added to all reports.</li>\n</ul>\n</li>\n<li><p><em><strong>totals.subtotal_resource_usage</strong></em> (decimal number):</p>\n<ul>\n<li>sum of all records that reflect actual resource usage (i.e. unpaid overdue records and credit top ups are excluded) during the billing period, without any discount, credit or VAT adjustments.</li>\n</ul>\n</li>\n<li><p><em><strong>totals.subtotal</strong></em> (decimal number):</p>\n<ul>\n<li>sum of all records during the billing period, without any discount, credit or VAT adjustments.</li>\n</ul>\n</li>\n<li><p><em><strong>totals.discount_amount</strong></em> (decimal number):</p>\n<ul>\n<li>Actual amount of discount deducted from the subtotal</li>\n</ul>\n</li>\n<li><p><em><strong>totals.credit</strong></em> (decimal number):</p>\n<ul>\n<li><p>In case of post-payment: Amount of credit withdrawn from the remaining credit during the billing period.</p>\n</li>\n<li><p>In case of pre-payment: Shows actual expense for the period. (Subtotal-Discount)</p>\n</li>\n</ul>\n</li>\n<li><p><em><strong>totals.total_before_tax</strong></em></p>\n<ul>\n<li><p>In case of post-payment: Amount to be paid before adding VAT</p>\n</li>\n<li><p>In case of pre-payment: Always 0, does not have any actual meaning</p>\n</li>\n</ul>\n</li>\n<li><p><em><strong>totals.total</strong></em> (decimal number)</p>\n<ul>\n<li><p>In case of post-payment: Total shows amount to be paid with invoice</p>\n<ul>\n<li>Total = Subtotal - Discount - Credit + VAT</li>\n</ul>\n</li>\n<li><p>In case of pre-payment: Always 0, does not have any actual meaning</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["v1","payment","admin","invoices"],"host":["{{url}}"],"query":[{"key":"created_after","value":"2024-02-28"},{"key":"created_before","value":"2024-03-01"}],"variable":[]}},"response":[{"id":"72f86445-afef-42e2-b9e3-9858184e8696","name":"Get all Invoices","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":{"raw":"{{url}}/v1/payment/admin/invoices?created_after=2021-11-01","host":["{{url}}"],"path":["v1","payment","admin","invoices"],"query":[{"key":"created_after","value":"2021-11-01"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"billing_account_id\": 130452,\n        \"created\": 1638316799,\n        \"discount_percentage\": 0,\n        \"due_date\": 1639447665,\n        \"id\": 3789515,\n        \"padded_id\": \"003789515\",\n        \"document_number\": \"#003789515\",\n        \"document_type\": \"invoice\",\n        \"period_end\": 1638316799,\n        \"period_start\": 1635724800,\n        \"records_list\": [\n            {\n                \"amount\": 0.006855,\n                \"created\": 1638324465,\n                \"descr\": \"TODO\",\n                \"id\": 71790,\n                \"invoice_id\": 3789515,\n                \"is_technical\": false,\n                \"item_price\": 0.006855,\n                \"location_slug\": \"tll\",\n                \"name\": \"testdocker, 1 CPU, 512 MB RAM\",\n                \"qty\": 1,\n                \"qty_unit\": \"h\"\n            },\n            {\n                \"amount\": 0.002,\n                \"created\": 1638324466,\n                \"descr\": \"TODO\",\n                \"id\": 71791,\n                \"invoice_id\": 3789515,\n                \"is_technical\": false,\n                \"item_price\": 0.002,\n                \"location_slug\": \"tll\",\n                \"name\": \"testdocker, 20 GB main storage\",\n                \"qty\": 1,\n                \"qty_unit\": \"h\"\n            }\n        ],\n        \"status\": 10,\n        \"totals\": {\n            \"subtotal_resource_usage\": 0.01,\n            \"subtotal\": 0.01,\n            \"discount_amount\": 0,\n            \"credit\": -0.01,\n            \"total_before_tax\": 0,\n            \"vat_tax\": 0,\n            \"total\": 0\n        },\n        \"transaction_list\": [\n            {\n                \"amount\": 0,\n                \"created\": 1638324783,\n                \"id\": 40563,\n                \"is_success\": true\n            }\n        ],\n        \"type\": \"cloud_services\",\n        \"vat_percentage\": 20\n    },\n    {\n        \"billing_account_id\": 129072,\n        \"created\": 1638316799,\n        \"discount_percentage\": 100,\n        \"due_date\": 1639445524,\n        \"id\": 3789207,\n        \"padded_id\": \"003789207\",\n        \"document_number\": \"#003789207\",\n        \"document_type\": \"invoice\",\n        \"period_end\": 1638316799,\n        \"period_start\": 1635724800,\n        \"records_list\": [\n            {\n                \"amount\": 67.53312,\n                \"created\": 1638322324,\n                \"descr\": \"TODO\",\n                \"id\": 67738,\n                \"invoice_id\": 3789207,\n                \"is_technical\": false,\n                \"item_price\": 0.09432,\n                \"location_slug\": \"tll\",\n                \"name\": \"dev, 8 CPUs, 16 GB RAM\",\n                \"qty\": 716,\n                \"qty_unit\": \"h\"\n            },\n            {\n                \"amount\": 17.28,\n                \"created\": 1638322325,\n                \"descr\": \"TODO\",\n                \"id\": 67739,\n                \"invoice_id\": 3789207,\n                \"is_technical\": false,\n                \"item_price\": 0.024,\n                \"location_slug\": \"tll\",\n                \"name\": \"dev, 240 GB main storage\",\n                \"qty\": 720,\n                \"qty_unit\": \"h\"\n            },\n            {\n                \"amount\": 17.28,\n                \"created\": 1638322325,\n                \"descr\": \"TODO\",\n                \"id\": 67740,\n                \"invoice_id\": 3789207,\n                \"is_technical\": false,\n                \"item_price\": 0.024,\n                \"location_slug\": \"tll\",\n                \"name\": \"dev, 240 GB additional storage\",\n                \"qty\": 720,\n                \"qty_unit\": \"h\"\n            },\n            {\n                \"amount\": 17.28,\n                \"created\": 1638322325,\n                \"descr\": \"TODO\",\n                \"id\": 67741,\n                \"invoice_id\": 3789207,\n                \"is_technical\": false,\n                \"item_price\": 0.0001,\n                \"location_slug\": \"tll\",\n                \"name\": \"dev, snapshots\",\n                \"qty\": 172800,\n                \"qty_unit\": \"GBh\"\n            },\n            {\n                \"amount\": 4.29,\n                \"created\": 1654242454,\n                \"descr\": \"TODO\",\n                \"id\": 61566,\n                \"invoice_id\": 3789207,\n                \"is_technical\": true,\n                \"item_price\": 4.29,\n                \"name\": \"Unpaid resource usage from report #003785001\",\n                \"qty\": 1,\n                \"qty_unit\": \"pc\"\n            }\n        ],\n        \"status\": 10,\n        \"totals\": {\n            \"subtotal_resource_usage\": 119.38,\n            \"subtotal\": 123.67,\n            \"discount_amount\": -123.67,\n            \"credit\": 0,\n            \"total_before_tax\": 0,\n            \"vat_tax\": 0,\n            \"total\": 0\n        },\n        \"transaction_list\": [\n            {\n                \"amount\": 0,\n                \"created\": 1638324529,\n                \"id\": 39888,\n                \"is_success\": true\n            }\n        ],\n        \"type\": \"cloud_services\",\n        \"vat_percentage\": 20\n    },\n    {\n        \"billing_account_id\": 111111,\n        \"created\": 1638211000,\n        \"discount_percentage\": 0,\n        \"due_date\": 1639334200,\n        \"id\": 3789206,\n        \"padded_id\": \"003789206\",\n        \"document_number\": \"#003789206\",\n        \"document_type\": \"invoice\",\n        \"period_end\": 1638211000,\n        \"period_start\": 1638211000,\n        \"records_list\": [\n            {\n                \"amount\": 10,\n                \"created\": 1638211000,\n                \"descr\": \"Top up for account 130451\",\n                \"id\": 67737,\n                \"invoice_id\": 3789206,\n                \"is_technical\": false,\n                \"item_price\": 10,\n                \"name\": \"Credit top up\",\n                \"qty\": 1,\n                \"qty_unit\": \"pc\"\n            }\n        ],\n        \"status\": 10,\n        \"totals\": {\n            \"subtotal_resource_usage\": 0,\n            \"subtotal\": 10,\n            \"discount_amount\": 0,\n            \"credit\": 0,\n            \"total_before_tax\": 10,\n            \"vat_tax\": 2,\n            \"total\": 12\n        },\n        \"transaction_list\": [\n            {\n                \"additional_data\": \"{meowmeowmeow}\",\n                \"amount\": 12,\n                \"created\": 1638211003,\n                \"id\": 39809,\n                \"identifier\": \"pi_3K1EiQE0TT1OxJzq0Rku7bqj\",\n                \"is_success\": true,\n                \"payment_object_id\": 1782\n            }\n        ],\n        \"type\": \"credit_topup\",\n        \"vat_percentage\": 20\n    },\n    {\n        \"billing_account_id\": 131310,\n        \"created\": 1709120509,\n        \"discount_percentage\": 0,\n        \"due_date\": 1709120509,\n        \"id\": 3786706,\n        \"padded_id\": \"003786706\",\n        \"document_number\": \"#003786706\",\n        \"document_type\": \"invoice\",\n        \"period_end\": 1709120509,\n        \"period_start\": 1709120509,\n        \"precalc_credit\": 0,\n        \"precalc_discount_amount\": 0,\n        \"precalc_subtotal\": 109.82,\n        \"precalc_total\": 131.78,\n        \"precalc_total_before_tax\": 109.82,\n        \"precalc_vat_tax\": 21.96,\n        \"records_list\": [\n            {\n                \"amount\": 109.82,\n                \"created\": 1709120509,\n                \"descr\": \"Settlement for invoice #003786705\",\n                \"id\": 80412,\n                \"invoice_id\": 3786706,\n                \"is_technical\": false,\n                \"item_price\": 109.82,\n                \"name\": \"Invoice #003786705\",\n                \"qty\": 1,\n                \"qty_unit\": \"pc\",\n                \"vat_amount\": 21.96\n            }\n        ],\n        \"status\": 5,\n        \"totals\": {\n            \"subtotal_resource_usage\": 0,\n            \"subtotal\": 109.82,\n            \"discount_amount\": 0,\n            \"credit\": 0,\n            \"total_before_tax\": 109.82,\n            \"vat_tax\": 21.96,\n            \"total\": 131.78\n        },\n        \"transaction_list\": [],\n        \"type\": \"credit_note\",\n        \"vat_percentage\": 0\n    }\n]"}],"_postman_id":"5ded9095-e7b6-47a3-a4b3-ace4d6049154"},{"name":"Get Invoice Details","id":"9ff57d9d-8c8c-4b58-bc9a-d34b82ca6cb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/payment/admin/invoices/{{invoice_id}}","description":"<p>Returns details (invoiced items and total sums) for specified invoice.</p>\n<p><strong>Response:</strong>\nSee <strong>Get All Ivoices</strong> for details</p>\n","urlObject":{"path":["v1","payment","admin","invoices","{{invoice_id}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"e7ce4b8d-f8d9-42ab-b9f8-f529b541f0d3","name":"Get Invoice Details","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/payment/admin/invoices/{{invoice_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"6050"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 14 Oct 2022 11:43:36 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"30"},{"key":"X-Warren-Correlation-Id","value":"pay-7xrwvd6b"}],"cookie":[],"responseTime":null,"body":"{\n    \"billing_account_id\": 130099,\n    \"created\": 1665747495,\n    \"discount_percentage\": 0,\n    \"due_date\": 1666870695,\n    \"id\": 3785569,\n    \"padded_id\": \"003785569\",\n    \"document_number\": \"#003785569\",\n    \"document_type\": \"invoice\",\n    \"period_end\": 1667260799,\n    \"period_start\": 1664582400,\n    \"precalc_credit\": 0,\n    \"precalc_discount_amount\": 0,\n    \"precalc_subtotal\": 13.86,\n    \"precalc_total\": 16.63,\n    \"precalc_total_before_tax\": 13.86,\n    \"precalc_vat_tax\": 2.77,\n    \"records_list\": [\n        {\n            \"amount\": 2.62922,\n            \"created\": 1665747495,\n            \"descr\": \"TODO\",\n            \"id\": 64501,\n            \"invoice_id\": 3785569,\n            \"is_technical\": false,\n            \"item_price\": 0.00814,\n            \"name\": \"test-bucket-with-data, object storage bucket\",\n            \"qty\": 323,\n            \"qty_unit\": \"GBh\"\n        },\n        {\n            \"amount\": 1.72482,\n            \"created\": 1665747495,\n            \"descr\": \"TODO\",\n            \"id\": 64502,\n            \"invoice_id\": 3785569,\n            \"is_technical\": false,\n            \"item_price\": 0.00534,\n            \"location_slug\": \"tll\",\n            \"name\": \"Unassigned floating IP xxx.xxx.xxx.xxx\",\n            \"qty\": 323,\n            \"qty_unit\": \"h\"\n        },\n        {\n            \"amount\": 1.615,\n            \"created\": 1665747495,\n            \"descr\": \"TODO\",\n            \"id\": 64503,\n            \"invoice_id\": 3785569,\n            \"is_technical\": false,\n            \"item_price\": 0.005,\n            \"location_slug\": \"tll\",\n            \"name\": \"Load balancer My Load Balancer\",\n            \"qty\": 323,\n            \"qty_unit\": \"h\"\n        },\n        {\n            \"amount\": 1.615,\n            \"created\": 1665747495,\n            \"descr\": \"TODO\",\n            \"id\": 64504,\n            \"invoice_id\": 3785569,\n            \"is_technical\": false,\n            \"item_price\": 0.005,\n            \"location_slug\": \"tll\",\n            \"name\": \"Load balancer dfgsdfg\",\n            \"qty\": 323,\n            \"qty_unit\": \"h\"\n        },\n        {\n            \"amount\": 1.615,\n            \"created\": 1665747495,\n            \"descr\": \"TODO\",\n            \"id\": 64505,\n            \"invoice_id\": 3785569,\n            \"is_technical\": false,\n            \"item_price\": 0.005,\n            \"location_slug\": \"tll\",\n            \"name\": \"Load balancer dfhgsdfg\",\n            \"qty\": 323,\n            \"qty_unit\": \"h\"\n        },\n        {\n            \"amount\": 4.6512,\n            \"created\": 1665747496,\n            \"descr\": \"TODO\",\n            \"id\": 64506,\n            \"invoice_id\": 3785569,\n            \"is_technical\": false,\n            \"item_price\": 0.0144,\n            \"location_slug\": \"tll\",\n            \"name\": \"Limited 1 storage, 30 GB\",\n            \"qty\": 323,\n            \"qty_unit\": \"h\"\n        }\n    ],\n    \"status\": 10,\n    \"totals\": {\n        \"subtotal_resource_usage\": 13.86,\n        \"subtotal\": 13.86,\n        \"discount_amount\": 0,\n        \"credit\": 0,\n        \"total_before_tax\": 13.86,\n        \"vat_tax\": 2.77,\n        \"total\": 16.63\n    },\n    \"transaction_list\": [\n        {\n            \"additional_data\": \"{\\\"id\\\": \\\"pi_3LsmDWE0TT...\\\", \\\"object\\\": \\\"payment_intent\\\", \\\"amount\\\": 1663, ...}\",\n            \"amount\": 16.63,\n            \"created\": 1665747500,\n            \"id\": 13566,\n            \"identifier\": \"pi_3LsmDWE0TT...\",\n            \"is_success\": true,\n            \"payment_object_id\": 1173\n        }\n    ],\n    \"type\": \"cloud_services\",\n    \"vat_percentage\": 20\n}"}],"_postman_id":"9ff57d9d-8c8c-4b58-bc9a-d34b82ca6cb8"},{"name":"Get All Billing Accounts Monthly Totals","id":"4dd71507-a765-4521-98a8-681b4d1e109a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/charging/admin/all_totals","description":"<p>Returns all billing accounts billing information</p>\n<ul>\n<li>General logic:<ul>\n<li>Total = Subtotal - Discount - Credit + VAT</li>\n</ul>\n</li>\n</ul>\n<p>Response:</p>\n<ul>\n<li><em>discount_percentage</em> <ul>\n<li>Type: percentage; positive    </li>\n<li>Discount % set to billing account, shows how much discount will be given</li>\n</ul>\n</li>\n<li><em>current_month_discount_amount</em> <ul>\n<li>Type: number, negative amount   </li>\n<li>Actual calculated amount of discount given in current month, based on actual usage</li>\n</ul>\n</li>\n<li><em>vat_percentage</em><ul>\n<li>Type: percentage; positive    </li>\n<li>VAT % set to billing account, shows how much VAT will be added.</li>\n</ul>\n</li>\n<li><em>current_month_vat_tax</em><ul>\n<li>Type: number; positive        </li>\n<li>Actual caluclated amount of VAT to be paid in current month</li>\n</ul>\n</li>\n<li><em>current_month_subtotal</em><ul>\n<li>Type: number; positive </li>\n<li>Actual calculated usage charges before credit, discount and tax</li>\n</ul>\n</li>\n<li><em>current_month_credit</em><ul>\n<li>Type: number; negative     </li>\n<li>Actual calculated amount of credit to be used in current month</li>\n</ul>\n</li>\n<li><em>current_month_total</em><ul>\n<li>Type: number; positive </li>\n<li>Actual amount to be paid for current month until this moment.</li>\n<li>Includes discount, credit and VAT</li>\n</ul>\n</li>\n<li><em>ongoing</em><ul>\n<li>Type: number; positive or negative     </li>\n<li>If value is negative, shows current months amount to be paid (before VAT)</li>\n<li>If value is positive, shows how much credit is left to be used when current month usage has been taken into account (before VAT)</li>\n<li>Ongoing amount does not include VAT</li>\n<li>ongoing = credit - current_month_subtotal * (1 - discount_percentage / 100)</li>\n</ul>\n</li>\n<li><em>unpaid_invoices_total</em><ul>\n<li>Type: number; positive      </li>\n<li>The sum of all unpaid invoices amount to be paid, excluding current month usage.</li>\n</ul>\n</li>\n<li><em>available_credit</em><ul>\n<li>Type: number; positive     </li>\n<li>Actual credit left on billing account, does not take current month usage into account. Changes once a month when new invoice is generated or when credit is added or removed by admin.</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["v1","charging","admin","all_totals"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"c3eb5db1-47d8-4f57-afaf-e0079e6e3e55","name":"Get All Totals","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/charging/admin/all_totals"},"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":"X-Warren-Correlation-Id","value":"chr-2bb2z7egw"},{"key":"Date","value":"Thu, 23 Jan 2020 10:07:39 GMT"},{"key":"X-Kong-Upstream-Latency","value":"1497"},{"key":"X-Kong-Proxy-Latency","value":"32"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"billing_account_id\": 129072,\n        \"discount_percentage\": 15,\n        \"current_month_discount_amount\": -2.92078104,\n        \"vat_percentage\": 20,\n        \"current_month_vat_tax\": 3.31021852,\n        \"current_month_subtotal\": 19.4718736,\n        \"current_month_credit\": 0,\n        \"current_month_total\": 19.86131108,\n        \"ongoing\": -16.55109256,\n        \"unpaid_invoices_total\": 27.57,\n        \"available_credit\": 0\n    },\n    {\n        \"billing_account_id\": 129218,\n        \"discount_percentage\": 0,\n        \"current_month_discount_amount\": 0,\n        \"vat_percentage\": 20,\n        \"current_month_vat_tax\": 0,\n        \"current_month_subtotal\": 0,\n        \"current_month_credit\": 0,\n        \"current_month_total\": 0,\n        \"ongoing\": 8.43,\n        \"unpaid_invoices_total\": 0,\n        \"available_credit\": 8.43\n    }\n]"}],"_postman_id":"4dd71507-a765-4521-98a8-681b4d1e109a"},{"name":"Get Monthly Subtotals","id":"0d04f597-163e-4c48-b76b-84f214d68062","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/charging/admin/monthly_subtotals?limit_months=3","description":"<p>Returns monthly summary of all usage</p>\n<p>There are two types of entries:</p>\n<ul>\n<li><code>cloud_services</code> - cloud resource usage like VM compute, object storage etc.<ul>\n<li><code>subtotal</code> - the total cost of a particular resource in that month, without any discounts, credits or VAT applied</li>\n</ul>\n</li>\n<li><code>credited_without_vat</code> - usage that was credited aka cancelled by deleting billing accounts<ul>\n<li><code>subtotal</code> - total amount of credit notes that were created in that particular month, without VAT</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["v1","charging","admin","monthly_subtotals"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Optional, default is unlimited. If set then subtotals calculations will be limited to this many months in the past</p>\n","type":"text/plain"},"key":"limit_months","value":"3"}],"variable":[]}},"response":[{"id":"63e8aeda-cc85-4238-a5c8-cb917bd3444e","name":"Get Monthly Subtotals","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":{"raw":"{{url}}/v1/charging/admin/monthly_subtotals?limit_months=3","host":["{{url}}"],"path":["v1","charging","admin","monthly_subtotals"],"query":[{"key":"limit_months","value":"3","description":"Optional, default is unlimited. If set then subtotals calculations will be limited to this many months in the past"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 15 Jun 2023 07:11:38 GMT"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"1727"},{"key":"X-Warren-Correlation-Id","value":"chr-ewoemxa8"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"period_start_month\": \"2023-04-01T00:00:00Z\",\n        \"subtotal\": 94.176,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"BLOCK_STORAGE\",\n        \"location_slug\": \"jhv\"\n    },\n    {\n        \"period_start_month\": \"2023-04-01T00:00:00Z\",\n        \"subtotal\": 15.1632,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"UNASSIGNED_FLOATING_IP\",\n        \"location_slug\": \"jhv\"\n    },\n    {\n        \"period_start_month\": \"2023-04-01T00:00:00Z\",\n        \"subtotal\": 135.53008,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"BLOCK_STORAGE\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-04-01T00:00:00Z\",\n        \"subtotal\": 56.3808,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"REPLICA_BACKUP\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-04-01T00:00:00Z\",\n        \"subtotal\": 2793.27954,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"MANAGED_SERVICE\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-04-01T00:00:00Z\",\n        \"subtotal\": 3746.48848,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"VM_COMPUTE\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-04-01T00:00:00Z\",\n        \"subtotal\": 54.61218,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"UNASSIGNED_FLOATING_IP\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-04-01T00:00:00Z\",\n        \"subtotal\": 7.2,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"REPLICA_SNAPSHOT\",\n        \"location_slug\": \"jhv\"\n    },\n    {\n        \"period_start_month\": \"2023-04-01T00:00:00Z\",\n        \"subtotal\": 11.52,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"REPLICA_BACKUP\",\n        \"location_slug\": \"jhv\"\n    },\n    {\n        \"period_start_month\": \"2023-04-01T00:00:00Z\",\n        \"subtotal\": 15.6384,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"LICENSE\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-04-01T00:00:00Z\",\n        \"subtotal\": 18.2912,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"REPLICA_SNAPSHOT\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-04-01T00:00:00Z\",\n        \"subtotal\": 35.15666,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"OBJECT_STORAGE\",\n        \"location_slug\": \"\"\n    },\n    {\n        \"period_start_month\": \"2023-04-01T00:00:00Z\",\n        \"subtotal\": 28.8,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"LOAD_BALANCER\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-04-01T00:00:00Z\",\n        \"subtotal\": 34.8057,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"MANAGED_SERVICE\",\n        \"location_slug\": \"jhv\"\n    },\n    {\n        \"period_start_month\": \"2023-04-01T00:00:00Z\",\n        \"subtotal\": 8.0649,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"VM_COMPUTE\",\n        \"location_slug\": \"jhv\"\n    },\n    {\n        \"period_start_month\": \"2023-04-01T00:00:00Z\",\n        \"subtotal\": 0,\n        \"type\": \"credited_without_vat\"\n    },\n    {\n        \"period_start_month\": \"2023-05-01T00:00:00Z\",\n        \"subtotal\": 106.2432,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"BLOCK_STORAGE\",\n        \"location_slug\": \"jhv\"\n    },\n    {\n        \"period_start_month\": \"2023-05-01T00:00:00Z\",\n        \"subtotal\": 15.66864,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"UNASSIGNED_FLOATING_IP\",\n        \"location_slug\": \"jhv\"\n    },\n    {\n        \"period_start_month\": \"2023-05-01T00:00:00Z\",\n        \"subtotal\": 107.95872,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"BLOCK_STORAGE\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-05-01T00:00:00Z\",\n        \"subtotal\": 45.672,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"REPLICA_BACKUP\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-05-01T00:00:00Z\",\n        \"subtotal\": 829.32252,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"MANAGED_SERVICE\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-05-01T00:00:00Z\",\n        \"subtotal\": 3189.94641762,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"VM_COMPUTE\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-05-01T00:00:00Z\",\n        \"subtotal\": 62.00274,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"UNASSIGNED_FLOATING_IP\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-05-01T00:00:00Z\",\n        \"subtotal\": 7.44,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"REPLICA_SNAPSHOT\",\n        \"location_slug\": \"jhv\"\n    },\n    {\n        \"period_start_month\": \"2023-05-01T00:00:00Z\",\n        \"subtotal\": 11.904,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"REPLICA_BACKUP\",\n        \"location_slug\": \"jhv\"\n    },\n    {\n        \"period_start_month\": \"2023-05-01T00:00:00Z\",\n        \"subtotal\": 16.22484,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"LICENSE\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-05-01T00:00:00Z\",\n        \"subtotal\": 19.63184,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"REPLICA_SNAPSHOT\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-05-01T00:00:00Z\",\n        \"subtotal\": 27.5946,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"OBJECT_STORAGE\",\n        \"location_slug\": \"\"\n    },\n    {\n        \"period_start_month\": \"2023-05-01T00:00:00Z\",\n        \"subtotal\": 36.89,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"LOAD_BALANCER\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-05-01T00:00:00Z\",\n        \"subtotal\": 13.392,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"MANAGED_SERVICE\",\n        \"location_slug\": \"jhv\"\n    },\n    {\n        \"period_start_month\": \"2023-05-01T00:00:00Z\",\n        \"subtotal\": 11.08,\n        \"type\": \"credited_without_vat\"\n    },\n    {\n        \"period_start_month\": \"2023-06-01T00:00:00Z\",\n        \"subtotal\": 42.9044,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"BLOCK_STORAGE\",\n        \"location_slug\": \"jhv\"\n    },\n    {\n        \"period_start_month\": \"2023-06-01T00:00:00Z\",\n        \"subtotal\": 7.12764,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"UNASSIGNED_FLOATING_IP\",\n        \"location_slug\": \"jhv\"\n    },\n    {\n        \"period_start_month\": \"2023-06-01T00:00:00Z\",\n        \"subtotal\": 42.5912,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"BLOCK_STORAGE\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-06-01T00:00:00Z\",\n        \"subtotal\": 15.224,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"REPLICA_BACKUP\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-06-01T00:00:00Z\",\n        \"subtotal\": 251.76606,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"MANAGED_SERVICE\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-06-01T00:00:00Z\",\n        \"subtotal\": 855.27918,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"VM_COMPUTE\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-06-01T00:00:00Z\",\n        \"subtotal\": 2.578,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"REPLICA_SNAPSHOT\",\n        \"location_slug\": \"jhv\"\n    },\n    {\n        \"period_start_month\": \"2023-06-01T00:00:00Z\",\n        \"subtotal\": 4.352,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"REPLICA_BACKUP\",\n        \"location_slug\": \"jhv\"\n    },\n    {\n        \"period_start_month\": \"2023-06-01T00:00:00Z\",\n        \"subtotal\": 29.86662,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"UNASSIGNED_FLOATING_IP\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-06-01T00:00:00Z\",\n        \"subtotal\": 3.72498,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"LICENSE\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-06-01T00:00:00Z\",\n        \"subtotal\": 5.13008,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"REPLICA_SNAPSHOT\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-06-01T00:00:00Z\",\n        \"subtotal\": 11.16808,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"OBJECT_STORAGE\",\n        \"location_slug\": \"\"\n    },\n    {\n        \"period_start_month\": \"2023-06-01T00:00:00Z\",\n        \"subtotal\": 17.125,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"LOAD_BALANCER\",\n        \"location_slug\": \"tll\"\n    },\n    {\n        \"period_start_month\": \"2023-06-01T00:00:00Z\",\n        \"subtotal\": 6.174,\n        \"type\": \"cloud_services\",\n        \"product_type\": \"MANAGED_SERVICE\",\n        \"location_slug\": \"jhv\"\n    },\n    {\n        \"period_start_month\": \"2023-06-01T00:00:00Z\",\n        \"subtotal\": 4370.41,\n        \"type\": \"credited_without_vat\"\n    }\n]"}],"_postman_id":"0d04f597-163e-4c48-b76b-84f214d68062"},{"name":"Get Monthly Paying BA's count / average revenue per billing account (ARPA)","id":"d9dfe2e3-0fa7-4a50-a7dc-859a1833cee5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/payment/admin/monthly_arpa","description":"<p>Returns monthly counts of paying billing accounts and ARPA per month.</p>\n<p>Required parameters:</p>\n<ul>\n<li><em>created_after</em>: Example: 2020-03-01 - Returns statistics for March 2020 and after</li>\n<li><em>allow_debt</em>: Example: true - allow_debt conf flag for the site, filters out invoices by type cloud_services/credit_topup.</li>\n</ul>\n","urlObject":{"path":["v1","payment","admin","monthly_arpa"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"63b8a20b-b7d8-474c-bdd2-621ae3443c9f","name":"Get Monthly Paying BA's count / average revenue per billing account (ARPA)","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":{"raw":"{{url}}/v1/payment/admin/monthly_arpa?created_after=2020-03-01&allow_debt=true","host":["{{url}}"],"path":["v1","payment","admin","monthly_arpa"],"query":[{"key":"created_after","value":"2020-03-01"},{"key":"allow_debt","value":"true"}]}},"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":"X-Warren-Correlation-Id","value":"chr-2bb2z7egw"},{"key":"Date","value":"Thu, 23 Jan 2020 10:07:39 GMT"},{"key":"X-Kong-Upstream-Latency","value":"1497"},{"key":"X-Kong-Proxy-Latency","value":"32"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"[\n   {\n        \"period_start_month\": 1606773600,\n        \"paying_ba_count\": 26,\n        \"arpa\": 917.18\n    },\n    {\n        \"period_start_month\": 1609452000,\n        \"paying_ba_count\": 26,\n        \"arpa\": 958.96\n    },\n    {\n        \"period_start_month\": 1612130400,\n        \"paying_ba_count\": 29,\n        \"arpa\": 349.05\n    },\n    {\n        \"period_start_month\": 1614549600,\n        \"paying_ba_count\": 16,\n        \"arpa\": 38981.37\n    }\n]"}],"_postman_id":"d9dfe2e3-0fa7-4a50-a7dc-859a1833cee5"},{"name":"Get Billing Account Statistics","id":"f12654c5-ff59-4341-8609-14edc79f32f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/payment/admin/billing_account_stats?limit_months=12","description":"<p>Returns statistics of users who have created their first billing account and are financially committed. The response contains the elements explained below.</p>\n<p><code>total_first_billing_accounts</code> - how many users have created at least one billing account</p>\n<p><code>last_x_days_first_billing_accounts</code> - how many users have created their first billing account during last days</p>\n<p><code>first_billing_accounts_monthly</code> - how many users have created their first billing account in this month \"<em>financially committed</em>\" definition for the block below:</p>\n<ul>\n<li>pre-payment billing account: user has made their first top-up</li>\n<li>post-payment billing account: user has added their first verified credit card or has invoice payment enabled</li>\n</ul>\n<p><code>total_financial_commitment</code> - how many users are financially committed</p>\n<p><code>last_x_days_financial_commitment</code> - how many users have financially committed during last x days</p>\n<p><code>financial_commitment_monthly</code> - how many users have financially committed in this month</p>\n<p>Optional parameters:</p>\n<ul>\n<li><code>limit_months</code> - Stats calculations will be limited to this many months in the past. Note that <code>total_first_billing_accounts</code> and <code>total_financial_commitment</code> element values are not dependent on this parameter</li>\n</ul>\n","urlObject":{"path":["v1","payment","admin","billing_account_stats"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Stats calculations will be limited to this many months in the past. Note that <code>total_first_billing_accounts</code> and <code>total_financial_commitment</code> element values are not dependent on this parameter</p>\n","type":"text/plain"},"key":"limit_months","value":"12"}],"variable":[]}},"response":[{"id":"62bc6e8b-89e6-421e-ac96-0ff8a6f7b8ca","name":"Get Billing Account Statistics","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":{"raw":"{{url}}/v1/payment/admin/billing_account_stats?limit_months=12","host":["{{url}}"],"path":["v1","payment","admin","billing_account_stats"],"query":[{"key":"limit_months","value":"12"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"17369"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Date","value":"Wed, 16 Jan 2019 13:50:29 GMT"},{"key":"x-warren-correlation-id","value":"pay-1twz68y9wi"},{"key":"X-Kong-Upstream-Latency","value":"450"},{"key":"X-Kong-Proxy-Latency","value":"56"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"total_first_billing_accounts\": 225,\n    \"last_x_days_first_billing_accounts\": [\n        {\n            \"days\": 30,\n            \"users\": 1\n        },\n        {\n            \"days\": 60,\n            \"users\": 3\n        }\n    ],\n    \"first_billing_accounts_monthly\": [\n        {\n            \"month\": 1654041600,\n            \"users\": 1\n        },\n        {\n            \"month\": 1651363200,\n            \"users\": 2\n        },\n        {\n            \"month\": 1648771200,\n            \"users\": 0\n        },\n        {\n            \"month\": 1646092800,\n            \"users\": 3\n        },\n        {\n            \"month\": 1643673600,\n            \"users\": 1\n        },\n        {\n            \"month\": 1640995200,\n            \"users\": 3\n        },\n        {\n            \"month\": 1638316800,\n            \"users\": 5\n        },\n        {\n            \"month\": 1635724800,\n            \"users\": 6\n        },\n        {\n            \"month\": 1633046400,\n            \"users\": 4\n        },\n        {\n            \"month\": 1630454400,\n            \"users\": 4\n        },\n        {\n            \"month\": 1627776000,\n            \"users\": 10\n        },\n        {\n            \"month\": 1625097600,\n            \"users\": 10\n        },\n        {\n            \"month\": 1622505600,\n            \"users\": 6\n        }\n    ],\n    \"total_financial_commitment\": 160,\n    \"last_x_days_financial_commitment\": [\n        {\n            \"days\": 30,\n            \"users\": 1\n        },\n        {\n            \"days\": 60,\n            \"users\": 2\n        }\n    ],\n    \"financial_commitment_monthly\": [\n        {\n            \"month\": 1654041600,\n            \"users\": 1\n        },\n        {\n            \"month\": 1651363200,\n            \"users\": 1\n        },\n        {\n            \"month\": 1648771200,\n            \"users\": 0\n        },\n        {\n            \"month\": 1646092800,\n            \"users\": 3\n        },\n        {\n            \"month\": 1643673600,\n            \"users\": 2\n        },\n        {\n            \"month\": 1640995200,\n            \"users\": 2\n        },\n        {\n            \"month\": 1638316800,\n            \"users\": 5\n        },\n        {\n            \"month\": 1635724800,\n            \"users\": 5\n        },\n        {\n            \"month\": 1633046400,\n            \"users\": 4\n        },\n        {\n            \"month\": 1630454400,\n            \"users\": 2\n        },\n        {\n            \"month\": 1627776000,\n            \"users\": 7\n        },\n        {\n            \"month\": 1625097600,\n            \"users\": 7\n        },\n        {\n            \"month\": 1622505600,\n            \"users\": 4\n        }\n    ]\n}"}],"_postman_id":"f12654c5-ff59-4341-8609-14edc79f32f9"},{"name":"Get Billing Account Credit History","id":"3e09a880-9147-49a1-bb63-ab0431d450a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/payment/admin/credit?billing_account_id={{billing_account_id}}","description":"<p>Admins can retrieve any billing account's detailed credit information. How much credit has been added and how much credit hase been used.\nRegular users can get credit infromation only for their own billing accounts.</p>\n<p>Required parameters:</p>\n<ul>\n<li>billing_account_id</li>\n</ul>\n","urlObject":{"path":["v1","payment","admin","credit"],"host":["{{url}}"],"query":[{"key":"billing_account_id","value":"{{billing_account_id}}"}],"variable":[]}},"response":[{"id":"c5db3e9b-6c66-4ad2-be23-e0b450df2c25","name":"Get credit history","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}","description":"user"}],"url":{"raw":"{{url}}/v1/payment/admin/credit?billing_account_id=129073","host":["{{url}}"],"path":["v1","payment","admin","credit"],"query":[{"key":"billing_account_id","value":"129073"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"702"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Date","value":"Wed, 16 Jan 2019 12:21:24 GMT"},{"key":"x-warren-correlation-id","value":"pay-1pczporjab"},{"key":"X-Kong-Upstream-Latency","value":"41"},{"key":"X-Kong-Proxy-Latency","value":"38"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"acting_user_id\": null,\n        \"amount\": -1.33,\n        \"billing_account_id\": 129073,\n        \"created\": 1539162091,\n        \"description\": \"Invoice payment\",\n        \"id\": 22\n    },\n    {\n        \"acting_user_id\": null,\n        \"amount\": -7.35,\n        \"billing_account_id\": 129073,\n        \"created\": 1538357522,\n        \"description\": \"Invoice payment\",\n        \"id\": 13\n    },\n    {\n        \"acting_user_id\": null,\n        \"amount\": -0.74,\n        \"billing_account_id\": 129073,\n        \"created\": 1537515054,\n        \"description\": \"Invoice payment\",\n        \"id\": 6\n    },\n    {\n        \"acting_user_id\": null,\n        \"amount\": -0.58,\n        \"billing_account_id\": 129073,\n        \"created\": 1537433084,\n        \"description\": \"Invoice payment\",\n        \"id\": 4\n    },\n    {\n        \"acting_user_id\": null,\n        \"amount\": 10,\n        \"billing_account_id\": 129073,\n        \"created\": 1537366313,\n        \"description\": \"First billing account\",\n        \"id\": 2\n    }\n]"}],"_postman_id":"3e09a880-9147-49a1-bb63-ab0431d450a6"},{"name":"Add Credit to Billing Account","event":[{"listen":"test","script":{"id":"c90f7c38-a62a-4129-8246-2856bd541437","exec":[""],"type":"text/javascript"}}],"id":"ee123612-f90a-495d-a121-7dae5b749f61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/payment/credit?description=Credit from admin API&billing_account_id={{billing_account_id}}&amount=2","description":"<p>Admins can add credit to any billing account.</p>\n<p>Required parameters:</p>\n<ul>\n<li>billing_account_id</li>\n<li>amount - <em>amount can be set as negative (e.g. -20) for credit removal</em></li>\n<li>description - <em>just a comment, not shown in UI currently</em></li>\n</ul>\n","urlObject":{"path":["v1","payment","credit"],"host":["{{url}}"],"query":[{"key":"description","value":"Credit from admin API"},{"key":"billing_account_id","value":"{{billing_account_id}}"},{"key":"amount","value":"2"}],"variable":[]}},"response":[{"id":"6c45e4d7-2aaa-45f2-93b2-bfd9ecf544a5","name":"Add Credit","originalRequest":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"url":{"raw":"{{url}}/v1/payment/credit?description=Credit from admin API&billing_account_id={{billing_account_id}}&amount=2","host":["{{url}}"],"path":["v1","payment","credit"],"query":[{"key":"description","value":"Credit from admin API"},{"key":"billing_account_id","value":"{{billing_account_id}}"},{"key":"amount","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"843"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Date","value":"Wed, 16 Jan 2019 12:24:07 GMT"},{"key":"x-warren-correlation-id","value":"pay-1pequogsq7"},{"key":"X-Kong-Upstream-Latency","value":"46"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"acting_user_id\": 7,\n        \"amount\": 2,\n        \"billing_account_id\": 129073,\n        \"created\": 1547641447,\n        \"description\": \"Credit from admin API\",\n        \"id\": 48\n    },\n    {\n        \"acting_user_id\": null,\n        \"amount\": -1.33,\n        \"billing_account_id\": 129073,\n        \"created\": 1539162091,\n        \"description\": \"Invoice payment\",\n        \"id\": 22\n    },\n    {\n        \"acting_user_id\": null,\n        \"amount\": -7.35,\n        \"billing_account_id\": 129073,\n        \"created\": 1538357522,\n        \"description\": \"Invoice payment\",\n        \"id\": 13\n    },\n    {\n        \"acting_user_id\": null,\n        \"amount\": -0.74,\n        \"billing_account_id\": 129073,\n        \"created\": 1537515054,\n        \"description\": \"Invoice payment\",\n        \"id\": 6\n    },\n    {\n        \"acting_user_id\": null,\n        \"amount\": -0.58,\n        \"billing_account_id\": 129073,\n        \"created\": 1537433084,\n        \"description\": \"Invoice payment\",\n        \"id\": 4\n    },\n    {\n        \"acting_user_id\": null,\n        \"amount\": 10,\n        \"billing_account_id\": 129073,\n        \"created\": 1537366313,\n        \"description\": \"First billing account\",\n        \"id\": 2\n    }\n]"}],"_postman_id":"ee123612-f90a-495d-a121-7dae5b749f61"},{"name":"Set Billing Account VAT percentage","event":[{"listen":"test","script":{"id":"c90f7c38-a62a-4129-8246-2856bd541437","exec":[""],"type":"text/javascript","packages":{}}}],"id":"15aa81e6-9cf9-4d04-bd63-22fb6d64664f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"billing_account_id","value":"129073","type":"text"},{"key":"vat_percentage","value":"24","type":"text"}]},"url":"{{url}}/v1/payment/admin/billing_account/vat","description":"<p>Change the VAT percentage of this billing account. Affects all future invoices of this billing account.</p>\n","urlObject":{"path":["v1","payment","admin","billing_account","vat"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"cef2129c-293c-4d1f-95f4-88bd7ad7c7f3","name":"Set Billing Account VAT percentage","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"billing_account_id","value":"129073","type":"text"},{"key":"vat_percentage","value":"24","type":"text"}]},"url":"{{url}}/v1/payment/admin/billing_account/vat"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"2030"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 04 Aug 2025 13:15:46 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.1"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"67"},{"key":"X-Warren-Correlation-Id","value":"pay-ajqgjigh"}],"cookie":[],"responseTime":null,"body":"{\n    \"address_line1\": \"test\",\n    \"allow_debt\": true,\n    \"can_pay\": true,\n    \"city\": \"test\",\n    \"company_name\": \"test\",\n    \"company_reg_code\": \"test\",\n    \"company_vat_number\": \"test\",\n    \"country\": \"EE\",\n    \"county\": \"test\",\n    \"created\": 1537366313,\n    \"credit_amount\": 0,\n    \"customer_name\": \"\",\n    \"discount_percentage\": 0,\n    \"eligible_promotions\": [],\n    \"email\": \"test@example.com\",\n    \"id\": 129073,\n    \"is_active\": true,\n    \"is_default\": true,\n    \"is_deleted\": false,\n    \"is_recurring_payment_enabled\": false,\n    \"lang\": \"fi\",\n    \"low_balance_notice_settings\": {\n        \"is_enabled\": true,\n        \"threshold\": 2\n    },\n    \"open_level_override\": \"LIMITED\",\n    \"post_index\": \"test\",\n    \"referral_share_code\": \"bpfzr5\",\n    \"restriction_level\": \"LIMITED\",\n    \"running_totals\": {\n        \"credit_amount\": 0,\n        \"credit_available\": 0,\n        \"discount_amount\": 0,\n        \"ongoing\": -5.27892,\n        \"ongoing_negative_since\": 1704222107,\n        \"subtotal\": 5.27892,\n        \"subtotal_resource_usage\": 5.27892,\n        \"total\": 6.5458608,\n        \"total_before_tax\": 5.27892,\n        \"vat_tax\": 1.2669408\n    },\n    \"send_invoice_email\": true,\n    \"site\": \"warren\",\n    \"status\": \"ACTIVE\",\n    \"title\": \"Test account\",\n    \"user_id\": 7,\n    \"vat_percentage\": 24\n}"}],"_postman_id":"15aa81e6-9cf9-4d04-bd63-22fb6d64664f"},{"name":"Update referral share code for billing account","id":"eb9f3075-32a8-405c-a9bb-6fa0d0c161bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"billing_account_id","value":"130060","type":"text"},{"key":"code","value":"CLOUD21","type":"text"}]},"url":"{{url}}/v1/payment/admin/billing_account/referral_share_code","description":"<p>Changes the shareable referral code of given billing account.</p>\n<p>Required parameters:</p>\n<ul>\n<li>billing_account_id</li>\n<li>code</li>\n</ul>\n<p>Note that letters case in the code is always ignored, e.g. \"Cloud21\" and \"CLOUD21\" refer to the same referral code.</p>\n","urlObject":{"path":["v1","payment","admin","billing_account","referral_share_code"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"5c74eb51-0a46-4be1-8a3d-b633b6f22eb6","name":"Update referral share code for billing account","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"billing_account_id","value":"130060","type":"text"},{"key":"code","value":"CLOUD21","type":"text"}]},"url":"{{url}}/v1/payment/admin/billing_account/referral_share_code"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"34"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Date","value":"Thu, 10 Jun 2021 14:13:17 GMT"},{"key":"x-warren-correlation-id","value":"pay-vqooo563w"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"60"},{"key":"X-Kong-Proxy-Latency","value":"31"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"referral_share_code\": \"cloud21\"\n}"}],"_postman_id":"eb9f3075-32a8-405c-a9bb-6fa0d0c161bb"},{"name":"Set Invoice Status","id":"4769baa4-834c-4e4c-8401-2a6ccc11d418","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"document_number","value":"{{document_number}}","type":"text"},{"key":"status","value":"paid","type":"text"}]},"url":"{{url}}/v1/payment/admin/invoice/status","description":"<p>Admins can update invoice status and set it as <em>paid</em> or <em>unpaid</em></p>\n<p>Required parameters:</p>\n<ul>\n<li><p>document_number</p>\n</li>\n<li><p>status (<em>paid/unpaid</em>)</p>\n</li>\n</ul>\n","urlObject":{"path":["v1","payment","admin","invoice","status"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"85dfc4c4-71e0-44e5-81c6-69163a2618ff","name":"Set Invoice Status","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"document_number","value":"#003788217","type":"text"},{"key":"status","value":"paid","type":"text"}]},"url":"{{url}}/v1/payment/admin/invoice/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"17"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 19 Dec 2025 10:18:13 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.1"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"28"},{"key":"X-Warren-Correlation-Id","value":"pay-6cw02xbst"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"4769baa4-834c-4e4c-8401-2a6ccc11d418"},{"name":"Add Paying_by_Invoice","id":"5a5ea04d-cb77-4dc0-914d-92100f1280d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"billing_account_id","sessionValue":"129085","type":"text","value":"129092"}]},"url":"{{url}}/v1/payment/paying_by_invoice","description":"<p>Adds new payment method of <em>paying_by_invoice</em> or verifies it if one already exists.</p>\n<ul>\n<li>If billing account don't have <em>paying_by_invoice</em> payment method, calling this endpoint will create a new payment object that uses <em>paying_by_invoice</em> payment method. </li>\n<li>If one already exists, calling the endpoint will mark it as verified.</li>\n</ul>\n<p>Required parameters:</p>\n<ul>\n<li>billing_account_id</li>\n</ul>\n","urlObject":{"path":["v1","payment","paying_by_invoice"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"d6c76dbd-ea65-4aba-a83f-a8606280c1b9","name":"Add paying_by_invoice","originalRequest":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"billing_account_id","sessionValue":"129085","type":"text","value":"129092"}]},"url":"{{url}}/v1/payment/paying_by_invoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"435"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Date","value":"Wed, 16 Jan 2019 12:52:50 GMT"},{"key":"x-warren-correlation-id","value":"pay-1qxzpv11bp"},{"key":"X-Kong-Upstream-Latency","value":"101"},{"key":"X-Kong-Proxy-Latency","value":"21"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"additional_data\": \"{\\\"id\\\": \\\"N/A\\\", \\\"type\\\": \\\"paying_by_invoice\\\", \\\"card_type\\\": \\\"By invoice\\\", \\\"expire_month\\\": \\\"12\\\", \\\"expire_year\\\": \\\"2099\\\", \\\"card_holder\\\": \\\"kadri@oyenetwork.com\\\", \\\"client\\\": {}}\",\n    \"billing_account_id\": 129092,\n    \"billing_account_processor_identifier_id\": 57,\n    \"created\": 1547643170,\n    \"id\": 37,\n    \"identifier\": \"N/A\",\n    \"is_deleted\": false,\n    \"is_primary\": true,\n    \"is_verified\": true,\n    \"valid_thru\": 4102358400\n}"}],"_postman_id":"5a5ea04d-cb77-4dc0-914d-92100f1280d4"},{"name":"Unverify Paying_by_Invoice","id":"b43f187f-376b-4136-b3a6-1efe24e8f6a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"billing_account_id","sessionValue":"129085","type":"text","value":"129631"}]},"url":"{{url}}/v1/payment/paying_by_invoice","description":"<p>Un-verifies billing account's <em>paying_by_invoice</em> payment method if found.</p>\n<p>Returns:</p>\n<ul>\n<li>changed payment object if invoice payment method is found and un-verification was a success, </li>\n<li>{success: false} if invoice payment method was not found.</li>\n</ul>\n<p>Required parameters:</p>\n<ul>\n<li>billing_account_id</li>\n</ul>\n","urlObject":{"path":["v1","payment","paying_by_invoice"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"4bed19d9-98e8-4c20-aafe-b57e5bc8cc39","name":"Unverify Paying_by_Invoice","originalRequest":{"method":"DELETE","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"billing_account_id","sessionValue":"129085","type":"text","value":"129631"}]},"url":"{{url}}/v1/payment/paying_by_invoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"439"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Date","value":"Thu, 23 Jan 2020 08:45:35 GMT"},{"key":"x-warren-correlation-id","value":"pay-k7piv8gt"},{"key":"X-Kong-Upstream-Latency","value":"19"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"additional_data\": \"{\\\"id\\\": \\\"N/A\\\", \\\"type\\\": \\\"paying_by_invoice\\\", \\\"card_type\\\": \\\"By invoice\\\", \\\"expire_month\\\": \\\"12\\\", \\\"expire_year\\\": \\\"2099\\\", \\\"card_holder\\\": \\\"kadri.kiisk@gmail.com\\\", \\\"client\\\": {}}\",\n    \"billing_account_id\": 129631,\n    \"billing_account_processor_identifier_id\": 565,\n    \"created\": 1579268060,\n    \"id\": 716,\n    \"identifier\": \"N/A\",\n    \"is_deleted\": false,\n    \"is_primary\": true,\n    \"is_verified\": false,\n    \"valid_thru\": 4102358400\n}"}],"_postman_id":"b43f187f-376b-4136-b3a6-1efe24e8f6a4"},{"name":"Set suspend reason","id":"356eef76-7122-4b2d-b8f1-e7d659dc1730","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"billing_account_id","value":"130011","type":"text"},{"key":"reason","value":"Enter reason for suspending here!","type":"text"}]},"url":"{{url}}/v1/payment/admin/set_suspend_reason","urlObject":{"path":["v1","payment","admin","set_suspend_reason"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"356eef76-7122-4b2d-b8f1-e7d659dc1730"},{"name":"Set prices","id":"dd0054b5-29c4-4fc7-b069-a975abf76c42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"EUR\": {\n        \"DEFAULT\": [\n            {\n                \"resource_type\": \"CPU\",\n                \"resource_prices\": [\n                    {\n                        \"num_cpus_from\": 1,\n                        \"price_per_unit\": 0.00521\n                    },\n                    {\n                        \"num_cpus_from\": 3,\n                        \"price_per_unit\": 0.0062\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"RAM\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 0.5,\n                        \"price_per_unit\": 0.00329\n                    },\n                    {\n                        \"gigabytes_from\": 3,\n                        \"price_per_unit\": 0.00456\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0001\n                    },\n                    {\n                        \"gigabytes_from\": 81,\n                        \"price_per_unit\": 0.00008\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE_BACKUP\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0000342\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE_SNAPSHOT\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0001\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"WINDOWS_LICENSE\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.00548\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"OBJECT_STORAGE\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.0000342\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"UNASSIGNED_FLOATING_IP\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.002739726027397\n                    }\n                ]\n            }\n        ],\n        \"tll\": [\n            {\n                \"resource_type\": \"CPU\",\n                \"resource_prices\": [\n                    {\n                        \"num_cpus_from\": 1,\n                        \"price_per_unit\": 0.00621\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"RAM\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 0.5,\n                        \"price_per_unit\": 0.00429\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0002\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE_BACKUP\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0000442\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE_SNAPSHOT\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0002\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"WINDOWS_LICENSE\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.00648\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"OBJECT_STORAGE\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.0000442\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"UNASSIGNED_FLOATING_IP\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.003739726027397\n                    }\n                ]\n            }\n        ]\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/pricing/list/2022-05","description":"<p>Set the whole price list for a specific month. Only current and future months can be changed.</p>\n","urlObject":{"path":["v1","pricing","list","2022-05"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"f48793a2-e476-4684-b579-df12aa1a42c5","name":"Set prices","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"EUR\": {\n        \"DEFAULT\": [\n            {\n                \"resource_type\": \"CPU\",\n                \"resource_prices\": [\n                    {\n                        \"num_cpus_from\": 1,\n                        \"price_per_unit\": 0.00521\n                    },\n                    {\n                        \"num_cpus_from\": 3,\n                        \"price_per_unit\": 0.0062\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"RAM\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 0.5,\n                        \"price_per_unit\": 0.00329\n                    },\n                    {\n                        \"gigabytes_from\": 3,\n                        \"price_per_unit\": 0.00456\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0001\n                    },\n                    {\n                        \"gigabytes_from\": 81,\n                        \"price_per_unit\": 0.00008\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE_BACKUP\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0000342\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE_SNAPSHOT\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0001\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"WINDOWS_LICENSE\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.00548\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"OBJECT_STORAGE\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.0000342\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"UNASSIGNED_FLOATING_IP\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.002739726027397\n                    }\n                ]\n            }\n        ],\n        \"tll\": [\n            {\n                \"resource_type\": \"CPU\",\n                \"resource_prices\": [\n                    {\n                        \"num_cpus_from\": 1,\n                        \"price_per_unit\": 0.00621\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"RAM\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 0.5,\n                        \"price_per_unit\": 0.00429\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0002\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE_BACKUP\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0000442\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE_SNAPSHOT\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0002\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"WINDOWS_LICENSE\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.00648\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"OBJECT_STORAGE\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.0000442\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"UNASSIGNED_FLOATING_IP\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.003739726027397\n                    }\n                ]\n            }\n        ]\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/pricing/list/2022-05"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2593"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Thu, 05 May 2022 08:26:49 GMT"},{"key":"x-warren-correlation-id","value":"policy-0"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"63"},{"key":"X-Kong-Proxy-Latency","value":"29"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"EUR\": {\n        \"DEFAULT\": [\n            {\n                \"resource_type\": \"CPU\",\n                \"resource_prices\": [\n                    {\n                        \"num_cpus_from\": 1,\n                        \"price_per_unit\": 0.00521,\n                        \"description\": \"Virtual Machine 1-2 CPUs\"\n                    },\n                    {\n                        \"num_cpus_from\": 3,\n                        \"price_per_unit\": 0.0062,\n                        \"description\": \"Virtual Machine 3+ CPUs\"\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"RAM\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 0.5,\n                        \"price_per_unit\": 0.00329,\n                        \"description\": \"Virtual Machine 0.5-2 GiB RAM\"\n                    },\n                    {\n                        \"gigabytes_from\": 3,\n                        \"price_per_unit\": 0.00456,\n                        \"description\": \"Virtual Machine 3+ GiB RAM\"\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0001,\n                        \"description\": \"Virtual Machine disk 1-80 GiB\"\n                    },\n                    {\n                        \"gigabytes_from\": 81,\n                        \"price_per_unit\": 0.00008,\n                        \"description\": \"Virtual Machine disk 81+ GiB\"\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE_BACKUP\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0000342,\n                        \"description\": \"Backup of disk GiB\"\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE_SNAPSHOT\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0001,\n                        \"description\": \"Snapshot of disk GiB\"\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"WINDOWS_LICENSE\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.00548,\n                        \"description\": \"Windows license (per CPU)\"\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"OBJECT_STORAGE\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.0000342,\n                        \"description\": \"Object storage\"\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"UNASSIGNED_FLOATING_IP\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.002739726027397,\n                        \"description\": \"Unassigned floating IP\"\n                    }\n                ]\n            }\n        ],\n        \"tll\": [\n            {\n                \"resource_type\": \"CPU\",\n                \"resource_prices\": [\n                    {\n                        \"num_cpus_from\": 1,\n                        \"price_per_unit\": 0.00621,\n                        \"description\": \"Virtual Machine CPUs\"\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"RAM\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 0.5,\n                        \"price_per_unit\": 0.00429,\n                        \"description\": \"Virtual Machine GiB RAM\"\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0002,\n                        \"description\": \"Virtual Machine disk GiB\"\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE_BACKUP\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0000442,\n                        \"description\": \"Backup of disk GiB\"\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"BLOCK_STORAGE_SNAPSHOT\",\n                \"resource_prices\": [\n                    {\n                        \"gigabytes_from\": 1,\n                        \"price_per_unit\": 0.0002,\n                        \"description\": \"Snapshot of disk GiB\"\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"WINDOWS_LICENSE\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.00648,\n                        \"description\": \"Windows license (per CPU)\"\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"OBJECT_STORAGE\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.0000442,\n                        \"description\": \"Object storage\"\n                    }\n                ]\n            },\n            {\n                \"resource_type\": \"UNASSIGNED_FLOATING_IP\",\n                \"resource_prices\": [\n                    {\n                        \"price_per_unit\": 0.003739726027397,\n                        \"description\": \"Unassigned floating IP\"\n                    }\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"dd0054b5-29c4-4fc7-b069-a975abf76c42"},{"name":"Get VAT percentages","event":[{"listen":"test","script":{"id":"2efef0de-4fb6-4f67-9f8e-96d1567f07e0","exec":[""],"type":"text/javascript"}}],"id":"576fae72-091b-4f86-8fa1-5570c7c23538","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/payment/admin/vat_percentages","description":"<p>Returns VAT percentages configuration. Has default VAT percentage for new billing accounts and optionally specific percentage for accounts with a particular country code set.</p>\n","urlObject":{"path":["v1","payment","admin","vat_percentages"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"bc83aa5e-392b-4c5f-ac0f-df38a3a2603a","name":"Get VAT percentages","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"{{url}}/v1/payment/admin/vat_percentages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"48"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Wed, 01 Sep 2021 11:55:18 GMT"},{"key":"x-warren-correlation-id","value":"policy-0"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"343"},{"key":"X-Kong-Proxy-Latency","value":"23"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"DEFAULT\": 20,\n    \"IN\": 0\n}"}],"_postman_id":"576fae72-091b-4f86-8fa1-5570c7c23538"},{"name":"Set VAT percentages","event":[{"listen":"test","script":{"id":"49757688-61c9-4318-b1ab-816350788bd7","exec":[""],"type":"text/javascript"}}],"id":"24b7b714-fdaf-4c9a-86be-0ca3232229de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"DEFAULT\": 20,\n    \"IN\": 0\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/payment/admin/vat_percentages","description":"<p>Sets and returns VAT percentages configuration. Default VAT percentage is mandatory. Country specific percentages are optional.</p>\n","urlObject":{"path":["v1","payment","admin","vat_percentages"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"99e82b77-e8cc-44d0-b4c3-75a33e2d34ce","name":"Set VAT percentages","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"DEFAULT\": 20,\n    \"IN\": 0\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/payment/admin/vat_percentages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"48"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Wed, 01 Sep 2021 11:55:18 GMT"},{"key":"x-warren-correlation-id","value":"policy-0"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"343"},{"key":"X-Kong-Proxy-Latency","value":"23"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"DEFAULT\": 20,\n    \"IN\": 0\n}"}],"_postman_id":"24b7b714-fdaf-4c9a-86be-0ca3232229de"},{"name":"Generate closing invoices for Account","event":[{"listen":"test","script":{"id":"c90f7c38-a62a-4129-8246-2856bd541437","exec":[""],"type":"text/javascript"}}],"id":"f564afd7-4f27-4fd2-bdb2-0e8a05940767","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-length":true}},"request":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/charging/admin/accountClosingInvoices?billingAccountId={{billing_account_id}}","description":"<p>Create closing invoices or usage reports for any pending unpaid charges on this account, if applicable. See also <a href=\"https://warrenio.atlassian.net/wiki/spaces/WARP/pages/507510785/Deleting+billing+account+by+administrator\">this wiki article</a>.</p>\n<p>This method is expected to be called prior to deleting the billing account.</p>\n<p>Note that for pre-payment accounting scheme, any overdrawn credit will not be rewritten as charges for current month, which can result in reports with positive total amount created.</p>\n","urlObject":{"path":["v1","charging","admin","accountClosingInvoices"],"host":["{{url}}"],"query":[{"description":{"content":"<p>Billing Account ID</p>\n","type":"text/plain"},"key":"billingAccountId","value":"{{billing_account_id}}"}],"variable":[]}},"response":[],"_postman_id":"f564afd7-4f27-4fd2-bdb2-0e8a05940767"},{"name":"Delete Billing Account","id":"717d72e9-9195-4023-8140-1361ecebd114","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apikey","value":"{{apikey}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"billing_account_id","value":"","description":"<p>Billing Account ID</p>\n","type":"text"}]},"url":"{{url}}/v1/payment/admin/billing_account","description":"<p>Deletes the account, sets its state to <code>TERMINATED</code>, and creates a credit note for all unpaid invoices on this account (if there are any).</p>\n<p>NB: This call will induce <em>deleting all the resources and services</em> linked to this billing account.</p>\n<p>Also, all payment methods and credit cards bound to the account will be disassociated.</p>\n<p>Any <em>unused credit</em> amount left on this account <em>will be discarded</em>.</p>\n<p>Also note that this operation does not create any invoices required to set the account balance straight. As a rule, following endpoint must be called previously: <a href=\"https://null\">Generate closing invoices</a></p>\n","urlObject":{"path":["v1","payment","admin","billing_account"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"717d72e9-9195-4023-8140-1361ecebd114"},{"name":"Download Digio KYC report","id":"11680a80-9977-495e-b2b6-6bfb45fc2a0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"billing_account_id","sessionValue":"129085","type":"text","value":"129092"}]},"url":"{{url}}/v1/payment/admin/download_digio_kyc_report","description":"<p>Downloads the KYC (Know Your Customer) PDF report from Digio.it provider for a specific billing account</p>\n<p>Required parameters:</p>\n<ul>\n<li>billing_account_id - number, the unique identifier of the billing account</li>\n</ul>\n<p>Returns:</p>\n<p><strong>Content-Type:</strong> application/pdf<br /><strong>Data:</strong> Binary PDF file containing the KYC report document<br /><strong>Error:</strong> Returns error response (code 400 Bad Request) if no KYC record exists for the provided billing account ID, account doesn't exist etc.</p>\n","urlObject":{"path":["v1","payment","admin","download_digio_kyc_report"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"11680a80-9977-495e-b2b6-6bfb45fc2a0c"}],"id":"d99a7b85-fd85-411e-bc04-d5e42b216619","_postman_id":"d99a7b85-fd85-411e-bc04-d5e42b216619","description":""},{"name":"Hosts","item":[{"name":"Host Pools","item":[{"name":"List Host Pools","id":"373ea6e3-299a-4897-bc3e-9d9a8e442aa4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/base-operator/admin/host_pool/list","description":"<p>Returns a list of all host pools</p>\n","urlObject":{"path":["v1","base-operator","admin","host_pool","list"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"06b28c2b-e04a-46a4-88ac-8b5a92cd7691","name":"List Host Pools","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/base-operator/admin/host_pool/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"865"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 27 Feb 2023 11:10:04 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"39"},{"key":"X-Kong-Upstream-Latency","value":"36"},{"key":"X-Warren-Correlation-Id","value":"bop-k781g7rg"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"cpu_allocate_coefficient\": 2.5,\n        \"cpu_model\": \"Westmere-IBRS,-spec-ctrl\",\n        \"created_at\": \"2020-09-30 11:05:56\",\n        \"description\": \"General purpose servers\",\n        \"hosts_assigned_count\": 49,\n        \"is_default_designated\": true,\n        \"is_hv_auto_assigned\": true,\n        \"is_visible\": true,\n        \"mem_allocate_coefficient\": 0.8,\n        \"name\": \"General\",\n        \"os_type\": \"multi\",\n        \"updated_at\": \"2023-02-22 21:21:13\",\n        \"uuid\": \"00000000-0000-0000-0000-000167bb0a39\"\n    },\n    {\n        \"cpu_allocate_coefficient\": 2.0,\n        \"cpu_model\": \"Westmere-IBRS,-spec-ctrl\",\n        \"created_at\": \"2022-12-28 13:50:52\",\n        \"description\": \"another fine server class with a really long name\",\n        \"hosts_assigned_count\": 3,\n        \"is_default_designated\": false,\n        \"is_hv_auto_assigned\": false,\n        \"is_visible\": true,\n        \"mem_allocate_coefficient\": 0.8,\n        \"name\": \"Performance\",\n        \"os_type\": \"linux\",\n        \"updated_at\": \"2023-02-22 21:21:13\",\n        \"uuid\": \"d2fc6881-9316-46d7-b515-b6cddaeee927\"\n    }\n]"}],"_postman_id":"373ea6e3-299a-4897-bc3e-9d9a8e442aa4"},{"name":"Create Host Pool","id":"8810f8b7-1304-402a-9891-5d8c94dce7a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"","description":"<p>host pool name</p>\n","type":"text"},{"key":"description","value":"","description":"<p>(optional) description</p>\n","type":"text"},{"key":"mem_allocate_coefficient","value":"","description":"<p>The total number of vCPUs available to Virtual Machines on a host is calculated by multiplying the number of CPU threads on that host by this coefficient.</p>\n","type":"text"},{"key":"cpu_allocate_coefficient","value":"","description":"<p>The total amount of vRAM available to Virtual Machines on a host is calculated by multiplying the amount of total memory on that host by this coefficient.</p>\n","type":"text"},{"key":"cpu_model","value":"","description":"<p>CPU model recognized by libvirt. Hypervisors in the pool should have a CPU compatible with this model.</p>\n","type":"text"}]},"url":"{{url}}/v1/base-operator/admin/host_pool","description":"<p>Create new Host Pool.</p>\n","urlObject":{"path":["v1","base-operator","admin","host_pool"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"279c2cff-f50d-41e2-92f2-a2134c5020c9","name":"Create Host Pool","originalRequest":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"First","type":"text"},{"key":"description","value":"","type":"text"},{"key":"mem_allocate_coefficient","value":"0.8","type":"text"},{"key":"cpu_allocate_coefficient","value":"3.0","type":"text"},{"key":"cpu_model","value":"Westmere-IBRS","type":"text"}]},"url":"{{url}}/v1/base-operator/admin/host_pool"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"cpu_allocate_coefficient\": 3.0,\n\t\"cpu_model\": \"Westmere-IBRS\",\n\t\"created_at\": \"2023-02-06 09:58:12\",\n\t\"description\": \"\",\n\t\"hosts_assigned_count\": 0,\n\t\"is_default_designated\": false,\n\t\"is_hv_auto_assigned\": false,\n\t\"is_visible\": false,\n\t\"mem_allocate_coefficient\": 0.8,\n\t\"name\": \"First\",\n\t\"os_type\": \"multi\",\n\t\"updated_at\": \"2023-02-06 09:58:12\",\n\t\"uuid\": \"2643b19b-761f-4ba4-81ba-381a1c1f90cc\"\n}"}],"_postman_id":"8810f8b7-1304-402a-9891-5d8c94dce7a5"},{"name":"Modify Host Pool properties","id":"4ffe3e12-9b01-471b-ba05-e826413cc27b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"","description":"<p>host pool name</p>\n","type":"text"},{"key":"description","value":"","description":"<p>(optional) description</p>\n","type":"text"},{"key":"mem_allocate_coefficient","value":"","description":"<p>(optional) The total number of vCPUs available to Virtual Machines on a host is calculated by multiplying the number of CPU threads on that host by this coefficient.</p>\n","type":"text"},{"key":"cpu_allocate_coefficient","value":"","description":"<p>(optional) The total amount of vRAM available to Virtual Machines on a host is calculated by multiplying the amount of total memory on that host by this coefficient.</p>\n","type":"text"},{"key":"cpu_model","value":"","description":"<p>(optional) CPU model recognized by libvirt. Hypervisors in the pool should have a CPU compatible with this model.</p>\n","type":"text"},{"key":"guest_limits","value":"","description":"<p>(optional) JSON defining \"min\" and \"max\" bounds for VM resources: CPU count (\"cpu\"), RAM size in MiB (\"ram_mb\") and disk size in GiB (\"disk_gb\")</p>\n","type":"text","uuid":"7d5b1dbf-8fde-4521-af4f-21b0b711936f"}]},"url":"{{url}}/v1/base-operator/admin/host_pool/{{uuid}}","description":"<p>Modify Host Pool.</p>\n<p>Successful response contains JSON representation of Host Pool object, see Create method <a href=\"#8810f8b7-1304-402a-9891-5d8c94dce7a5\">example</a>.</p>\n","urlObject":{"path":["v1","base-operator","admin","host_pool","{{uuid}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ffe3e12-9b01-471b-ba05-e826413cc27b"},{"name":"Delete Host Pool","id":"8f9e059e-7d48-43cb-ae01-eccf58b5cc5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/base-operator/admin/host_pool/{{uuid}}","description":"<p>Delete Host Pool with specified <code>uuid</code>.</p>\n","urlObject":{"path":["v1","base-operator","admin","host_pool","{{uuid}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"98a4b474-82ee-4887-bdcf-f896b8ad5291","name":"Delete Host Pool","originalRequest":{"method":"DELETE","header":[{"key":"apikey","value":"{{apikey}}"}],"url":{"raw":"{{url}}/v1/base-operator/admin/host_pool/ffc5efc0-0222-4d60-bda6-a4a0ef29047a","host":["{{url}}"],"path":["v1","base-operator","admin","host_pool","ffc5efc0-0222-4d60-bda6-a4a0ef29047a"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"8f9e059e-7d48-43cb-ae01-eccf58b5cc5e"},{"name":"Set Host Pool as default destination for new Hosts","id":"df1041f4-c25e-4ebb-9915-3f04ea68efbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/base-operator/admin/host_pool/{{uuid}}/default_for_hosts","description":"<p>Sets flag \"is_hv_auto_assigned\" for a Host Pool with specified <code>uuid</code>, unsetting the flag from any other Pool in the cluster.</p>\n<p>Auto-assigned Pool is the target for newly added Hosts.</p>\n<p>There must be exactly one Host Pool having this flag set for the cluster.</p>\n<p>Successful response contains JSON representation of Host Pool object, see Create method <a href=\"#8810f8b7-1304-402a-9891-5d8c94dce7a5\">example</a>.</p>\n","urlObject":{"path":["v1","base-operator","admin","host_pool","{{uuid}}","default_for_hosts"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"df1041f4-c25e-4ebb-9915-3f04ea68efbc"},{"name":"Set Host Pool as default designated pool for VMs","id":"c5b42b98-ad8f-44b9-83f6-455143abaf9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/base-operator/admin/host_pool/{{uuid}}/default_for_vms","description":"<p>Sets flag \"is_default_designated\" for a Host Pool with specified <code>uuid</code>, unsetting the flag from cluster's current default designated Pool.</p>\n<p>This pool will be used as a designated when creating new VMs (unless specified otherwise).</p>\n<p>There must be exactly one default designated Host Pool for the cluster.</p>\n<p>Successful response contains JSON representation of Host Pool object, see Create method <a href=\"#8810f8b7-1304-402a-9891-5d8c94dce7a5\">example</a>.</p>\n","urlObject":{"path":["v1","base-operator","admin","host_pool","{{uuid}}","default_for_vms"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c5b42b98-ad8f-44b9-83f6-455143abaf9b"}],"id":"530b1293-8a5c-46a6-9f3e-f4aeb594ba39","_postman_id":"530b1293-8a5c-46a6-9f3e-f4aeb594ba39","description":""},{"name":"Get all Hosts (hypervisors)","id":"72aaf161-ab89-46a1-8825-966b63dad72c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/base-operator/host/list","description":"<p>Returns a list of all hosts (hypersvisors)</p>\n","urlObject":{"path":["v1","base-operator","host","list"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"72aaf161-ab89-46a1-8825-966b63dad72c"},{"name":"Set Host Flags","id":"890d4c59-3c84-499b-bb3c-ddc0dac1ff1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"uuid","type":"text","value":"37313436-3934-5a43-3335-323231364841"},{"key":"is_accepting_workloads","type":"text","value":"1"},{"key":"is_maintenance","type":"text","value":"0"},{"key":"is_offline","type":"text","value":"0"},{"key":"is_deleted","value":"0","type":"text"}]},"url":"{{url}}/v1/base-operator/admin/host_flags","description":"<p>Modify hypervisor/host availability flags. If a flag is specified then its value is set. At least one flag must be defined. If needed, all flags can be set at once.</p>\n<p>Can be a dangerous operation, read the flag descriptions carefully!</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Flag</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>is_accepting_workloads</code></td>\n<td>If <strong>true</strong> then this host is considered a valid targed for new and migrated VMs. If <strong>false</strong> then no new VMs will be allocated to this host. Existing VMs will keep running. Admin will still be able to explicitly migrate VMs to that host.</td>\n</tr>\n<tr>\n<td><code>is_maintenance</code></td>\n<td>If <strong>true</strong> then all VMs on this host will be automatically migrated to other hosts. Use this if the host is accessible and you want to make it empty.</td>\n</tr>\n<tr>\n<td><code>is_offline</code></td>\n<td>If <strong>true</strong> then the host is considered to be unavailable, all VMs on this host will be automatically recreated on other hosts (it is like doing Force Stop and Start to all its VMs). Potentially dangerous, it can lead to a nasty split-brain issue if the host is not actually stopped and VMs are still running there! Use only if you are sure that there are no running VMs on that host.</td>\n</tr>\n<tr>\n<td><code>is_deleted</code></td>\n<td>If <strong>true</strong> then the host has been removed from the cluster. It will not be shown in admin views anymore.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","base-operator","admin","host_flags"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"4405534e-d6cc-4633-9872-25ac5e1afe62","name":"Set Host Flags","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"uuid","type":"text","value":"37313436-3934-5a43-3335-323231364841"},{"key":"is_accepting_workloads","type":"text","value":"1"},{"key":"is_maintenance","type":"text","value":"0"},{"key":"is_offline","type":"text","value":"0"}]},"url":"{{url}}/v1/base-operator/admin/host_flags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"540"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Date","value":"Tue, 03 Nov 2020 05:58:38 GMT"},{"key":"x-warren-correlation-id","value":"bop-3t5473gg2t"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"128"},{"key":"X-Kong-Proxy-Latency","value":"30"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"allocated_vcpu\": 3,\n    \"allocated_vmem\": 2.5,\n    \"guest_ratio_max\": 16,\n    \"guest_ratio_min\": 0.5,\n    \"guest_vcpu_limit\": 16,\n    \"guest_vmem_limit\": 96,\n    \"host_pool_id\": 1,\n    \"id\": 6,\n    \"ip\": \"10.10.35.125\",\n    \"is_accepting_workloads\": true,\n    \"is_maintenance\": false,\n    \"is_offline\": false,\n    \"name\": \"host\",\n    \"os\": \"multi\",\n    \"status\": 1,\n    \"updated_at\": \"2020-11-03 05:58:38\",\n    \"usable_vcpu_amount\": 180,\n    \"usable_vmem_amount\": 168,\n    \"uuid\": \"37313436-3934-5a43-3335-323231364841\",\n    \"vcpu_coefficient\": 1,\n    \"vcpu_free\": 177,\n    \"vmem_coefficient\": 1,\n    \"vmem_free\": 165.5\n}"}],"_postman_id":"890d4c59-3c84-499b-bb3c-ddc0dac1ff1f"},{"name":"Modify Host properties","id":"19d3a0f0-cfdd-4043-bc54-7cd0d5d860ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"uuid","type":"text","value":"32393735-3733-5a43-4a30-3436305a3830","description":"<p>Host UUID</p>\n"},{"key":"host_pool_uuid","type":"text","value":"c7ed9bbf-c413-4fca-93ab-dd99905ae6a4","description":"<p>(optional) UUID of Host Pool. When set, the HV will be assigned to the given Pool.</p>\n"},{"key":"os","value":"","description":"<p>(optional) Only VMs matching the OS type can be created to this host, must be either 'multi', 'linux' or 'windows'</p>\n","type":"text"}]},"url":"{{url}}/v1/base-operator/admin/host","description":"<p>Change host/hypervisor configuration, host is identified by UUID.</p>\n","urlObject":{"path":["v1","base-operator","admin","host"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"19d3a0f0-cfdd-4043-bc54-7cd0d5d860ec"}],"id":"c99fbf78-f28a-491e-9f78-02b5df99ad65","_postman_id":"c99fbf78-f28a-491e-9f78-02b5df99ad65","description":""},{"name":"Multi-location","item":[{"name":"List of configured locations","id":"63d92c5a-d67b-4833-9090-9f3b307abd00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}","type":"text"}],"url":"{{url}}/v1/config/locations/","urlObject":{"path":["v1","config","locations",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"63d92c5a-d67b-4833-9090-9f3b307abd00"},{"name":"Add or update a location","id":"5f699958-75e0-4170-87d9-1a21a483254d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":"{{url}}/v1/config/locations/{slug}","urlObject":{"path":["v1","config","locations","{slug}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f699958-75e0-4170-87d9-1a21a483254d"},{"name":"Delete a location","id":"d19ae34e-4fe8-4184-bbff-737a30810593","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apikey","type":"text","value":"{{apikey}}"}],"url":"{{url}}/v1/config/locations/{slug}","urlObject":{"path":["v1","config","locations","{slug}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d19ae34e-4fe8-4184-bbff-737a30810593"}],"id":"f65aa390-711d-4cb3-90c5-28091a0ecf09","_postman_id":"f65aa390-711d-4cb3-90c5-28091a0ecf09","description":""},{"name":"Platform settings","item":[{"name":"VM Images","item":[{"name":"Get VM images by type","event":[{"listen":"test","script":{"id":"4cb9533e-b1a9-4830-8711-2922fdc71ce9","exec":[""],"type":"text/javascript"}}],"id":"f2cfbb43-5a16-4532-bd42-df347b806174","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/vm_images/{{image_type}}","description":"<p>Returns a list of Virtual Machine or App Catalog images from Consul. If <code>image_type</code> is not defined, returns all images.\nParameters:</p>\n<ul>\n<li><code>image_type</code>: app_catalog/plain_os</li>\n</ul>\n","urlObject":{"path":["v1","config","vm_images","{{image_type}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"64dcb054-44d2-4509-b00e-bde2ca9990b7","name":"Get VM images by type","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"{{url}}/v1/config/vm_images/plain_os"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"185"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Mon, 26 Oct 2020 12:35:43 GMT"},{"key":"x-warren-correlation-id","value":"cfg-okpue717"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"12"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"os_name\": \"almalinux\",\n        \"display_name\": \"Almalinux\",\n        \"ui_position\": 6,\n        \"is_default\": false,\n        \"app_catalog\": false,\n        \"icon\": null,\n        \"versions\": [\n            {\n                \"os_version\": \"8\",\n                \"display_name\": \"8\",\n                \"published\": true\n            }\n        ]\n    },\n    {\n        \"os_name\": \"centos\",\n        \"display_name\": \"Centos\",\n        \"ui_position\": 1,\n        \"is_default\": false,\n        \"app_catalog\": false,\n        \"icon\": null,\n        \"versions\": [\n            {\n                \"os_version\": \"7.3.1611\",\n                \"display_name\": \"7.3.1611\",\n                \"published\": true\n            },\n            {\n                \"os_version\": \"7.6\",\n                \"display_name\": \"7.6\",\n                \"published\": true\n            },\n            {\n                \"os_version\": \"8.2\",\n                \"display_name\": \"8.2\",\n                \"published\": true\n            }\n        ]\n    },\n    {\n        \"os_name\": \"debian\",\n        \"display_name\": \"Debian\",\n        \"ui_position\": 3,\n        \"is_default\": false,\n        \"app_catalog\": false,\n        \"icon\": null,\n        \"versions\": [\n            {\n                \"os_version\": \"9.1\",\n                \"display_name\": \"9.1\",\n                \"published\": true\n            },\n            {\n                \"os_version\": \"9.8\",\n                \"display_name\": \"9.8\",\n                \"published\": true\n            },\n            {\n                \"os_version\": \"9.6.wildix\",\n                \"display_name\": \"9.6.wildix\",\n                \"published\": true\n            },\n            {\n                \"os_version\": \"10.0\",\n                \"display_name\": \"10.0\",\n                \"published\": true\n            }\n        ]\n    },\n    {\n        \"os_name\": \"fedora\",\n        \"display_name\": \"Fedora\",\n        \"ui_position\": 4,\n        \"is_default\": false,\n        \"app_catalog\": false,\n        \"icon\": null,\n        \"versions\": [\n            {\n                \"os_version\": \"33\",\n                \"display_name\": \"33\",\n                \"published\": true\n            }\n        ]\n    },\n    {\n        \"os_name\": \"ubuntu\",\n        \"display_name\": \"Ubuntu\",\n        \"ui_position\": 2,\n        \"is_default\": false,\n        \"app_catalog\": false,\n        \"icon\": null,\n        \"versions\": [\n            {\n                \"os_version\": \"16.04\",\n                \"display_name\": \"16.04\",\n                \"published\": true\n            },\n            {\n                \"os_version\": \"18.04\",\n                \"display_name\": \"18.04\",\n                \"published\": true\n            },\n            {\n                \"os_version\": \"20.04\",\n                \"display_name\": \"20.04\",\n                \"published\": true\n            }\n        ]\n    },\n    {\n        \"os_name\": \"windows\",\n        \"display_name\": \"Windows\",\n        \"ui_position\": 5,\n        \"is_default\": false,\n        \"app_catalog\": false,\n        \"icon\": null,\n        \"versions\": [\n            {\n                \"os_version\": \"2016\",\n                \"display_name\": \"2016\",\n                \"published\": true\n            }\n        ]\n    }\n]"}],"_postman_id":"f2cfbb43-5a16-4532-bd42-df347b806174"},{"name":"Update existing VM image","event":[{"listen":"test","script":{"id":"084d7c8c-a9c7-4c88-a390-d90043cf5d80","exec":[""],"type":"text/javascript"}}],"id":"13d154ae-0e86-4a7a-a60b-6a8f3c63685f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"os_name\": \"linux123\",\n    \"is_default\": true,\n    \"app_catalog\": false,\n    \"icon\": null,\n    \"versions\": [\n        {\n            \"os_version\": \"1\",\n            \"display_name\": \"Changed Version Name\",\n            \"published\": false\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/config/vm_images/{{image_type}}/{{os_name}}","description":"<p>Update VM image parameters with PATCH.</p>\n<p>Parameters:</p>\n<ul>\n<li><code>image_type</code> : app_catalog/plain_os</li>\n<li><code>os_name</code>: key in consul, which stores OS image conf</li>\n<li><code>body</code> : modified JSON VM image object</li>\n</ul>\n","urlObject":{"path":["v1","config","vm_images","{{image_type}}","{{os_name}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"3bd54570-8ff8-4c58-a604-4366242c3e45","name":"Update existing VM image","originalRequest":{"method":"PATCH","header":[{"key":"apikey","value":"{{apikey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"os_name\": \"linux123\",\n  \"is_default\": true,\n  \"app_catalog\": false,\n  \"icon\": null,\n  \"versions\": [\n    {\n      \"os_version\": \"1\",\n      \"display_name\": \"Changed Version Name\",\n      \"published\": false\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/config/vm_images/plain_os/linux123"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"185"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Mon, 26 Oct 2020 12:35:43 GMT"},{"key":"x-warren-correlation-id","value":"cfg-okpue717"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"12"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"os_name\": \"linux123\",\n    \"is_default\": true,\n    \"is_app_catalog\": false,\n    \"icon\": null,\n    \"versions\": [\n        {\n            \"os_version\": \"1\",\n            \"display_name\": \"Changed Version Name\",\n            \"published\": false\n        }\n    ]\n}"}],"_postman_id":"13d154ae-0e86-4a7a-a60b-6a8f3c63685f"},{"name":"Get VM image by OS name","event":[{"listen":"test","script":{"id":"4e73bf3d-e8bc-46db-8645-9b86e8b23477","exec":[""],"type":"text/javascript"}}],"id":"03f329fc-a5d8-4325-a145-dae8136de368","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{url}}/v1/config/vm_images/{{image_type}}/{{os_name}}","description":"<p>Get specific VM image from Consul by key.</p>\n<p>Parameters:</p>\n<ul>\n<li><code>image_type</code>: app_catalog/plain_os</li>\n<li><code>os_name</code>: key in consul, which stores OS image conf</li>\n</ul>\n","urlObject":{"path":["v1","config","vm_images","{{image_type}}","{{os_name}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ee8d7e4a-90ba-4343-8e49-f6122a7d781c","name":"Get VM image by OS name","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{url}}/v1/config/vm_images/plain_os/centos"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"185"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Mon, 26 Oct 2020 12:35:43 GMT"},{"key":"x-warren-correlation-id","value":"cfg-okpue717"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"12"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"os_name\": \"centos\",\n    \"display_name\": \"Centos\",\n    \"ui_position\": 1,\n    \"is_default\": false,\n    \"is_app_catalog\": false,\n    \"icon\": null,\n    \"versions\": [\n        {\n            \"os_version\": \"7.3.1611\",\n            \"display_name\": \"7.3.1611\",\n            \"published\": true\n        },\n        {\n            \"os_version\": \"7.6\",\n            \"display_name\": \"7.6\",\n            \"published\": true\n        },\n        {\n            \"os_version\": \"8.2\",\n            \"display_name\": \"8.2\",\n            \"published\": true\n        }\n    ]\n}"}],"_postman_id":"03f329fc-a5d8-4325-a145-dae8136de368"},{"name":"Add VM image","event":[{"listen":"test","script":{"id":"48413f5f-be89-4823-a24d-afb0b710c2c7","exec":[""],"type":"text/javascript"}}],"id":"f023098e-c35c-43ae-a72e-5bda8dcd5f06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"os_name\": \"linux123\",\n    \"is_default\": false,\n    \"app_catalog\": false,\n    \"icon\": null,\n    \"versions\": [\n        {\n            \"os_version\": \"1\",\n            \"display_name\": \"First\",\n            \"published\": false\n        },\n        {\n            \"os_version\": \"2\",\n            \"display_name\": \"First\",\n            \"published\": false\n        },\n        {\n            \"os_version\": \"3\",\n            \"display_name\": \"First\",\n            \"published\": false\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/config/vm_images/{{image_type}}","description":"<p>Add new base CEPH disk image to VM images or App Catalog. In UI unpublished versions are visible for only admin user.</p>\n<p>Parameters:</p>\n<ul>\n<li><code>image_type</code> : app_catalog/plain_os</li>\n<li><code>body</code> : new image JSON object with specified version(s)</li>\n</ul>\n","urlObject":{"path":["v1","config","vm_images","{{image_type}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"3a2433fd-c679-47c7-bf9f-58e6087b4e16","name":"Add VM image","originalRequest":{"method":"POST","header":[{"key":"apikey","value":"{{apikey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"os_name\": \"linux123\",\n    \"is_default\": false,\n    \"app_catalog\": false,\n    \"icon\": null,\n    \"versions\": [\n        {\n            \"os_version\": \"1\",\n            \"display_name\": \"First\",\n            \"published\": false\n        },\n        {\n            \"os_version\": \"2\",\n            \"display_name\": \"First\",\n            \"published\": false\n        },\n        {\n            \"os_version\": \"3\",\n            \"display_name\": \"First\",\n            \"published\": false\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/config/vm_images/centos"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"185"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Mon, 26 Oct 2020 12:35:43 GMT"},{"key":"x-warren-correlation-id","value":"cfg-okpue717"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"12"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"os_name\": \"linux\",\n    \"display_name\": \"My New Linux\",\n    \"ui_position\": 7,\n    \"is_default\": false,\n    \"app_catalog\": false,\n    \"icon\": null,\n    \"versions\": [\n        {\n            \"os_version\": \"v1.2.3\",\n            \"display_name\": \"v1.2.3\",\n            \"published\": false\n        }\n    ]\n}"}],"_postman_id":"f023098e-c35c-43ae-a72e-5bda8dcd5f06"},{"name":"Delete VM image from consul","event":[{"listen":"test","script":{"id":"923007ec-3aec-4719-a713-337f9b17047c","exec":[""],"type":"text/javascript"}}],"id":"0d9df136-e8be-4437-a89c-c1fc698b859d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{url}}/v1/config/vm_images/{{image_type}}/{{os_name}}","description":"<p>Delete VM image conf from consul.</p>\n<p>Parameters: </p>\n<ul>\n<li><code>image_type</code>: app_catalog/plain_os</li>\n<li><code>os_name</code>: key in consul, which stores OS image conf</li>\n</ul>\n","urlObject":{"path":["v1","config","vm_images","{{image_type}}","{{os_name}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"43efa3ec-11ec-4f06-84f5-3e5b4a4f56c9","name":"Delete version from VM image","originalRequest":{"method":"DELETE","header":[{"key":"apikey","value":"{{apikey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{url}}/v1/config/vm_images/plain_os/linux123"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"185"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Mon, 26 Oct 2020 12:35:43 GMT"},{"key":"x-warren-correlation-id","value":"cfg-okpue717"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"12"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\"success\": true}"}],"_postman_id":"0d9df136-e8be-4437-a89c-c1fc698b859d"}],"id":"56e9d51b-279d-480c-82f3-e95a406b64f2","_postman_id":"56e9d51b-279d-480c-82f3-e95a406b64f2","description":""},{"name":"Get All Payment Configuration","event":[{"listen":"test","script":{"id":"d9e2ff5a-7f1c-4275-a6b8-b6a265eb0af4","exec":[""],"type":"text/javascript"}}],"id":"27122121-8fa8-4e6b-85c6-a83e3f274ebb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/payment","description":"<p>Returns all payment related configuration that can be modified via admin API.</p>\n","urlObject":{"path":["v1","config","payment"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ca11ffbf-a1bf-470a-9745-88d002ec5f69","name":"Get Payment Configuration","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/payment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"185"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Mon, 26 Oct 2020 12:35:43 GMT"},{"key":"x-warren-correlation-id","value":"cfg-okpue717"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"12"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"first_account_credit\": 32,\n    \"min_topup_amount\": 102,\n    \"restriction_level_thresholds\": [\n        {\n            \"days\": 10,\n            \"restriction_level\": \"FROZEN\"\n        },\n        {\n            \"days\": 28,\n            \"restriction_level\": \"TERMINATED\"\n        }\n    ],\n    \"default_active_post_payment_level\": \"LIMITED\"\n}"}],"_postman_id":"27122121-8fa8-4e6b-85c6-a83e3f274ebb"},{"name":"Get First Free Credit Amount","event":[{"listen":"test","script":{"id":"c90f7c38-a62a-4129-8246-2856bd541437","exec":[""],"type":"text/javascript"}}],"id":"1311bc75-3d4d-4f77-8f6e-83d2aeb7a2ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/payment/first_account_credit","description":"<p>Returns the amount of the first free credit that is given to first billing account when new user signs up</p>\n","urlObject":{"path":["v1","config","payment","first_account_credit"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"a4b1966c-75e7-4a34-aadd-d5a27e28e43f","name":"Get First Free Credit Amount","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/payment/first_account_credit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"30"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Mon, 26 Oct 2020 12:57:37 GMT"},{"key":"x-warren-correlation-id","value":"cfg-goleyh2g"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"7"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"first_account_credit\": 31\n}"}],"_postman_id":"1311bc75-3d4d-4f77-8f6e-83d2aeb7a2ff"},{"name":"Update First Free Credit Amount","event":[{"listen":"test","script":{"id":"c90f7c38-a62a-4129-8246-2856bd541437","exec":[""],"type":"text/javascript"}}],"id":"38b786ac-6826-4cc5-8d28-cce3c86cb273","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"first_account_credit","value":"32","type":"text"}]},"url":"{{url}}/v1/config/payment/first_account_credit","description":"<p>Updates the amount of the first free credit that is given to first billing account when new user signs up</p>\n","urlObject":{"path":["v1","config","payment","first_account_credit"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"34e30454-f399-4a25-a1b8-552dfe8ea682","name":"Update First Free Credit Amount","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"first_account_credit","value":"32","type":"text"}]},"url":"{{url}}/v1/config/payment/first_account_credit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"30"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Mon, 26 Oct 2020 12:58:01 GMT"},{"key":"x-warren-correlation-id","value":"cfg-ifqekqc7"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"34"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"first_account_credit\": 32\n}"}],"_postman_id":"38b786ac-6826-4cc5-8d28-cce3c86cb273"},{"name":"Get Minimum Top Up Amount","event":[{"listen":"test","script":{"id":"e38339eb-20e4-4a6d-b9ad-5c7b0dc2fd24","exec":[""],"type":"text/javascript"}}],"id":"b4c6ff5a-619d-426d-870a-8af9c483395c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/payment/min_topup_amount","description":"<p>Returns the minimum allowed top up amount.</p>\n","urlObject":{"path":["v1","config","payment","min_topup_amount"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"b08147d8-cfe9-49b2-b63e-a0e79d952e75","name":"Get Minimum Top Up Amount","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/payment/min_topup_amount"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Mon, 26 Oct 2020 12:58:24 GMT"},{"key":"x-warren-correlation-id","value":"cfg-l2fvzv3w"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"6"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"min_topup_amount\": 50\n}"}],"_postman_id":"b4c6ff5a-619d-426d-870a-8af9c483395c"},{"name":"Update Minimum Top Up Amount","event":[{"listen":"test","script":{"id":"1dbc45ad-93d0-43c3-9099-6e69ed0c1052","exec":[""],"type":"text/javascript"}}],"id":"a35eccb6-96cb-4f9b-aa64-87d7e3839575","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"min_topup_amount","value":"102","type":"text"}]},"url":"{{url}}/v1/config/payment/min_topup_amount","description":"<p>Returns the minimum allowed top up amount.</p>\n","urlObject":{"path":["v1","config","payment","min_topup_amount"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"a7c9e531-6112-4eac-85a5-a12c69d4d2f2","name":"Update Minimum Top Up Amount","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"min_topup_amount","value":"102","type":"text"}]},"url":"{{url}}/v1/config/payment/min_topup_amount"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"27"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Mon, 26 Oct 2020 12:58:56 GMT"},{"key":"x-warren-correlation-id","value":"cfg-np5df69c"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"35"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"min_topup_amount\": 102\n}"}],"_postman_id":"a35eccb6-96cb-4f9b-aa64-87d7e3839575"},{"name":"Get Restriction Level Thresholds","event":[{"listen":"test","script":{"id":"92ef0e16-2c9b-4a91-81c0-075b0357737c","exec":[""],"type":"text/javascript"}}],"id":"af8cb313-084d-49b5-b098-21c42fd5435e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/payment/restriction_level_thresholds","description":"<p>Returns the minimum allowed top up amount.</p>\n","urlObject":{"path":["v1","config","payment","restriction_level_thresholds"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"c7f80877-1447-4584-a2ac-4e3be72392bb","name":"Get Restriction Level Thresholds","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/payment/restriction_level_thresholds"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"94"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Thu, 29 Oct 2020 14:01:12 GMT"},{"key":"x-warren-correlation-id","value":"cfg-zz8n73zm"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"7"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"days\": 10,\n        \"restriction_level\": \"FROZEN\"\n    },\n    {\n        \"days\": 25,\n        \"restriction_level\": \"TERMINATED\"\n    }\n]"}],"_postman_id":"af8cb313-084d-49b5-b098-21c42fd5435e"},{"name":"Update Restriction Level Thresholds","event":[{"listen":"test","script":{"id":"4c8dbaff-fa5b-4f62-afbc-2b68577d59e1","exec":[""],"type":"text/javascript"}}],"id":"255b9997-7910-4c35-9c5b-f3e1d1be2b0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"[\n    {\n        \"days\": 10,\n        \"restriction_level\": \"FROZEN\"\n    },\n    {\n        \"days\": 25,\n        \"restriction_level\": \"TERMINATED\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/config/payment/restriction_level_thresholds","description":"<p>Returns the minimum allowed top up amount.</p>\n","urlObject":{"path":["v1","config","payment","restriction_level_thresholds"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"4b843105-dd0b-4d4e-9fca-44eec7e7d96c","name":"Update Restriction Level Thresholds","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"[\n    {\n        \"days\": 10,\n        \"restriction_level\": \"FROZEN\"\n    },\n    {\n        \"days\": 25,\n        \"restriction_level\": \"TERMINATED\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/config/payment/restriction_level_thresholds"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"94"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Thu, 29 Oct 2020 14:02:03 GMT"},{"key":"x-warren-correlation-id","value":"cfg-14d348kk8"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"551"},{"key":"X-Kong-Proxy-Latency","value":"26"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"days\": 10,\n        \"restriction_level\": \"FROZEN\"\n    },\n    {\n        \"days\": 25,\n        \"restriction_level\": \"TERMINATED\"\n    }\n]"}],"_postman_id":"255b9997-7910-4c35-9c5b-f3e1d1be2b0b"},{"name":"Get Default active level for post payment billing accounts","event":[{"listen":"test","script":{"id":"2efef0de-4fb6-4f67-9f8e-96d1567f07e0","exec":[""],"type":"text/javascript"}}],"id":"d74ab1a6-b3b8-4a76-8c33-84e24c6b53c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/payment/default_active_post_payment_level","description":"<p>Returns the level that is admitted to a Frozen  or Terminated billing account when it is made active again. (The level is used on post payment mode only.)</p>\n","urlObject":{"path":["v1","config","payment","default_active_post_payment_level"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"bc6b5bea-3325-410a-8d74-463467d50f0b","name":"Get Default active level for post payment billing accounts","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/payment/default_active_post_payment_level"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"48"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Wed, 01 Sep 2021 11:54:59 GMT"},{"key":"x-warren-correlation-id","value":"policy-0"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"49"},{"key":"X-Kong-Proxy-Latency","value":"34"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"default_active_post_payment_level\": \"LIMITED\"\n}"}],"_postman_id":"d74ab1a6-b3b8-4a76-8c33-84e24c6b53c0"},{"name":"Update Default active level for post payment billing accounts","event":[{"listen":"test","script":{"id":"49757688-61c9-4318-b1ab-816350788bd7","exec":[""],"type":"text/javascript"}}],"id":"87422d7c-5164-424d-9825-0c38e2b4e21e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"default_active_post_payment_level","value":"LIMITED","type":"text"}]},"url":"{{url}}/v1/config/payment/default_active_post_payment_level","description":"<p>Sets the level that is admitted to a Frozen or Terminated billing account when it is made active again. (The level is used on post payment mode only). Valid values \"CLEAR\" and \"LIMITED\".</p>\n","urlObject":{"path":["v1","config","payment","default_active_post_payment_level"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"3c9d1fa5-9089-4946-af6a-7732fd0abeea","name":"Update Default active level for post payment billing accounts","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"default_active_post_payment_level","value":"LIMITED","type":"text"}]},"url":"{{url}}/v1/config/payment/default_active_post_payment_level"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"48"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"gunicorn/19.6.0"},{"key":"Date","value":"Wed, 01 Sep 2021 11:55:18 GMT"},{"key":"x-warren-correlation-id","value":"policy-0"},{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"X-Kong-Upstream-Latency","value":"343"},{"key":"X-Kong-Proxy-Latency","value":"23"},{"key":"Via","value":"kong/0.13.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"default_active_post_payment_level\": \"LIMITED\"\n}"}],"_postman_id":"87422d7c-5164-424d-9825-0c38e2b4e21e"},{"name":"Get top up threshold for automatic CLEAR restriction level","event":[{"listen":"test","script":{"id":"2efef0de-4fb6-4f67-9f8e-96d1567f07e0","exec":[""],"type":"text/javascript"}}],"id":"6e595090-65c3-4dd0-9636-a1ac7709661e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/payment/restriction_level_clear_topup_threshold","description":"<p>Returns the required total amount of top ups a billing account has to make to have their restriction level automatically set from LIMITED to CLEAR.</p>\n","urlObject":{"path":["v1","config","payment","restriction_level_clear_topup_threshold"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"92be87e1-dc18-4740-9b15-f874d7236b1f","name":"Get top up threshold for automatic CLEAR restriction level","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/payment/restriction_level_clear_topup_threshold"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"46"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 14 Mar 2024 15:35:55 GMT"},{"key":"Server","value":"gunicorn"},{"key":"Via","value":"kong/0.13.1"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"13"},{"key":"X-Warren-Correlation-Id","value":"policy-0"}],"cookie":[],"responseTime":null,"body":"{\n    \"restriction_level_clear_topup_threshold\": 8\n}"}],"_postman_id":"6e595090-65c3-4dd0-9636-a1ac7709661e"},{"name":"Set top up threshold for automatic CLEAR restriction level","event":[{"listen":"test","script":{"id":"2efef0de-4fb6-4f67-9f8e-96d1567f07e0","exec":[""],"type":"text/javascript"}}],"id":"26387b10-c89c-49ce-a832-b2f8bebde00f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"restriction_level_clear_topup_threshold","value":"150","type":"text"}]},"url":"{{url}}/v1/config/payment/restriction_level_clear_topup_threshold","description":"<p>Sets the required total amount of top ups a billing account has to make to have their restriction level automatically set from LIMITED to CLEAR.</p>\n","urlObject":{"path":["v1","config","payment","restriction_level_clear_topup_threshold"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"fffe3225-c95e-4b0e-83f5-3fc313e8d3de","name":"Set top up threshold for automatic CLEAR restriction level","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"restriction_level_clear_topup_threshold","value":"150","type":"text"}]},"url":"{{url}}/v1/config/payment/restriction_level_clear_topup_threshold"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"48"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 14 Mar 2024 15:37:37 GMT"},{"key":"Server","value":"gunicorn"},{"key":"Via","value":"kong/0.13.1"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"21"},{"key":"X-Warren-Correlation-Id","value":"policy-0"}],"cookie":[],"responseTime":null,"body":"{\n    \"restriction_level_clear_topup_threshold\": 150\n}"}],"_postman_id":"26387b10-c89c-49ce-a832-b2f8bebde00f"},{"name":"Get Referral Program Status","event":[{"listen":"test","script":{"id":"2efef0de-4fb6-4f67-9f8e-96d1567f07e0","exec":[""],"type":"text/javascript"}}],"id":"2fadc85a-5aae-4d66-ba5e-23a7d2d45875","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/payment/admin/referral_enabled","description":"<p>Returns Referral Program status, either enabled or disabled.</p>\n","urlObject":{"path":["v1","payment","admin","referral_enabled"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"9411c8f1-5313-4172-890e-7f9627b72610","name":"Get Referral Program Status","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/payment/admin/referral_enabled"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"17"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 26 Jan 2023 20:56:02 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"17"},{"key":"X-Warren-Correlation-Id","value":"pay-2ok1d0fw"}],"cookie":[],"responseTime":null,"body":"{\n    \"enabled\": true\n}"}],"_postman_id":"2fadc85a-5aae-4d66-ba5e-23a7d2d45875"},{"name":"Set Referral Program Status","event":[{"listen":"test","script":{"id":"2efef0de-4fb6-4f67-9f8e-96d1567f07e0","exec":[""],"type":"text/javascript"}}],"id":"068833d0-b55f-4a2c-b502-5ba4186c1cb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"enabled","value":"false","type":"text"}]},"url":"{{url}}/v1/payment/admin/referral_enabled","description":"<p>Enable or disable Referral Program status.</p>\n","urlObject":{"path":["v1","payment","admin","referral_enabled"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"e223c44b-11ef-4594-8e83-9680f82b6e41","name":"Set Referral Program Status","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"enabled","value":"false","type":"text"}]},"url":"{{url}}/v1/payment/admin/referral_enabled"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"18"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 26 Jan 2023 20:56:37 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"18"},{"key":"X-Warren-Correlation-Id","value":"pay-1szjkvph"}],"cookie":[],"responseTime":null,"body":"{\n    \"enabled\": false\n}"}],"_postman_id":"068833d0-b55f-4a2c-b502-5ba4186c1cb3"},{"name":"Get Referral Program Amounts","event":[{"listen":"test","script":{"id":"2efef0de-4fb6-4f67-9f8e-96d1567f07e0","exec":[""],"type":"text/javascript"}}],"id":"5a607ec9-bc72-4e23-a674-67084d7c24fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/payment/admin/referral_amounts","description":"<p>Returns configured credit amounts for Referral Program.</p>\n<p><code>promoter_credit</code> - the amount that is given to existing user who shared their referral code</p>\n<p><code>receiver_credit</code> - the amount that is given to new user who is using a referral code when signing up</p>\n","urlObject":{"path":["v1","payment","admin","referral_amounts"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"73396427-70fa-4123-8a59-8ea7bfb27a7d","name":"Get Referral Program Amounts","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/payment/admin/referral_amounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"45"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 26 Jan 2023 20:56:49 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"17"},{"key":"X-Warren-Correlation-Id","value":"pay-1szjl5fp"}],"cookie":[],"responseTime":null,"body":"{\n    \"promoter_credit\": 5,\n    \"receiver_credit\": 10\n}"}],"_postman_id":"5a607ec9-bc72-4e23-a674-67084d7c24fa"},{"name":"Set Referral Program Amounts","event":[{"listen":"test","script":{"id":"2efef0de-4fb6-4f67-9f8e-96d1567f07e0","exec":[""],"type":"text/javascript"}}],"id":"730e6a42-5b2b-4efc-919a-410da55d76a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"promoter_credit\": 5,\n    \"receiver_credit\": 10\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/payment/admin/referral_amounts","description":"<p>Sets credit amounts for Referral Program.</p>\n<p><code>promoter_credit</code> - the amount that is given to existing user who shared their referral code</p>\n<p><code>receiver_credit</code> - the amount that is given to new user who is using a referral code when signing up</p>\n","urlObject":{"path":["v1","payment","admin","referral_amounts"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"a06a3198-8385-47fc-acfb-46a8bbe2b06e","name":"Set Referral Program Amounts","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"promoter_credit\": 5,\n    \"receiver_credit\": 10\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/payment/admin/referral_amounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"45"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 26 Jan 2023 20:57:01 GMT"},{"key":"Server","value":"gunicorn/19.9.0"},{"key":"Via","value":"kong/0.13.0"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"17"},{"key":"X-Warren-Correlation-Id","value":"pay-2ok1ea8y"}],"cookie":[],"responseTime":null,"body":"{\n    \"promoter_credit\": 5,\n    \"receiver_credit\": 10\n}"}],"_postman_id":"730e6a42-5b2b-4efc-919a-410da55d76a8"},{"name":"Get LIMITED level compute limits","event":[{"listen":"test","script":{"id":"2efef0de-4fb6-4f67-9f8e-96d1567f07e0","exec":[""],"type":"text/javascript"}}],"id":"d063d1a0-0d85-4549-a939-5c8ad68b3328","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/compute/limits/vm","description":"<p>Gets limits to how many compute resources can be allocated with a LIMITED billing account.</p>\n","urlObject":{"path":["v1","config","compute","limits","vm"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"e3e8994e-66dc-49c3-8584-64f8c2570616","name":"Get LIMITED level compute limits","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/compute/limits/vm"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"27"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 14 Mar 2024 15:20:05 GMT"},{"key":"Server","value":"gunicorn"},{"key":"Via","value":"kong/0.13.1"},{"key":"X-Kong-Proxy-Latency","value":"52"},{"key":"X-Kong-Upstream-Latency","value":"13"},{"key":"X-Warren-Correlation-Id","value":"policy-0"}],"cookie":[],"responseTime":null,"body":"{\n    \"vcpu\": 2,\n    \"ram_mb\": 2048\n}"}],"_postman_id":"d063d1a0-0d85-4549-a939-5c8ad68b3328"},{"name":"Set LIMITED level compute limits","event":[{"listen":"test","script":{"id":"2efef0de-4fb6-4f67-9f8e-96d1567f07e0","exec":[""],"type":"text/javascript"}}],"id":"204ac034-2c74-446e-a63d-43599f2e0bbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"vcpu","value":"2","type":"text","description":"<p>Do not send parameter to remove limit</p>\n"},{"key":"ram_mb","value":"2048","type":"text","description":"<p>Do not send parameter to remove limit</p>\n"}]},"url":"{{url}}/v1/config/compute/limits/vm","description":"<p>Sets limits to how many compute resources can be allocated with a LIMITED billing account.</p>\n<p>Lowering the limits will not cause resources to be stopped if they are now over limit.</p>\n<p>Do not send parameter or send with empty value to remove the limit.</p>\n","urlObject":{"path":["v1","config","compute","limits","vm"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"c5142d87-493e-451c-86f5-f25d07d9a939","name":"Set LIMITED level compute limits","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"vcpu","value":"2","type":"text","description":"Do not send parameter to remove limit"},{"key":"ram_mb","value":"2048","type":"text","description":"Do not send parameter to remove limit"}]},"url":"{{url}}/v1/config/compute/limits/vm"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"27"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 14 Mar 2024 15:18:19 GMT"},{"key":"Server","value":"gunicorn"},{"key":"Via","value":"kong/0.13.1"},{"key":"X-Kong-Proxy-Latency","value":"51"},{"key":"X-Kong-Upstream-Latency","value":"17"},{"key":"X-Warren-Correlation-Id","value":"policy-0"}],"cookie":[],"responseTime":null,"body":"{\n    \"vcpu\": 2,\n    \"ram_mb\": 2048\n}"}],"_postman_id":"204ac034-2c74-446e-a63d-43599f2e0bbe"},{"name":"Get Google Tag Manager key","event":[{"listen":"test","script":{"id":"2efef0de-4fb6-4f67-9f8e-96d1567f07e0","exec":[""],"type":"text/javascript"}}],"id":"ef3c88ea-1a6a-45b4-9013-99c29fe57d44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/ui/gtm_key","description":"<p>Gets the configured Google Tag Manager key.</p>\n","urlObject":{"path":["v1","config","ui","gtm_key"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"73ec68ad-5baf-465d-8882-ee9705cb2007","name":"Get Google Tag Manager key","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"}],"url":"{{url}}/v1/config/ui/gtm_key"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"26"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 10 Apr 2024 07:46:46 GMT"},{"key":"Server","value":"gunicorn"},{"key":"Via","value":"kong/0.13.1"},{"key":"X-Kong-Proxy-Latency","value":"44"},{"key":"X-Kong-Upstream-Latency","value":"12"},{"key":"X-Warren-Correlation-Id","value":"policy-0"}],"cookie":[],"responseTime":null,"body":"{\n    \"gtm_key\": \"GTM-XXXXXXX\"\n}"}],"_postman_id":"ef3c88ea-1a6a-45b4-9013-99c29fe57d44"},{"name":"Set Google Tag Manager key","event":[{"listen":"test","script":{"id":"2efef0de-4fb6-4f67-9f8e-96d1567f07e0","exec":[""],"type":"text/javascript"}}],"id":"209e7e5e-495c-417f-836f-afce2537a919","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"gtm_key","value":"GTM-YYYYYYY","type":"text"}]},"url":"{{url}}/v1/config/ui/gtm_key","description":"<p>Sets Google Tag Manager key.</p>\n","urlObject":{"path":["v1","config","ui","gtm_key"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"175fb32c-1bf5-459a-a7f9-9bdcb946a43f","name":"Set Google Tag Manager key","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"gtm_key","value":"GTM-YYYYYYY","type":"text"}]},"url":"{{url}}/v1/config/ui/gtm_key"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"26"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 10 Apr 2024 07:50:10 GMT"},{"key":"Server","value":"gunicorn"},{"key":"Via","value":"kong/0.13.1"},{"key":"X-Kong-Proxy-Latency","value":"22"},{"key":"X-Kong-Upstream-Latency","value":"12"},{"key":"X-Warren-Correlation-Id","value":"policy-0"}],"cookie":[],"responseTime":null,"body":"{\n    \"gtm_key\": \"GTM-YYYYYYY\"\n}"}],"_postman_id":"209e7e5e-495c-417f-836f-afce2537a919"},{"name":"Get Currencies","event":[{"listen":"test","script":{"id":"2efef0de-4fb6-4f67-9f8e-96d1567f07e0","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"cedc2088-b0d6-47b7-9105-b63ac2b355f0","exec":[""],"type":"text/javascript","packages":{}}}],"id":"a76a5d8d-c42c-4775-9691-da6d09fa51f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"},{"key":"content-type","value":"application/json; charset=utf-8","type":"text"}],"url":"{{url}}/v1/config/ui/currencies","description":"<p>Returns current display currencies configuration. Site default currency is always shown here with rate of 1.</p>\n","urlObject":{"path":["v1","config","ui","currencies"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"2317411f-394f-4ced-abf4-39c574b9cb28","name":"Get Currencies","originalRequest":{"method":"GET","header":[{"key":"apikey","value":"{{apikey}}"},{"key":"content-type","value":"application/json; charset=utf-8","type":"text"}],"url":"{{url}}/v1/config/ui/currencies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"192"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 05 Jun 2025 08:18:43 GMT"},{"key":"Server","value":"gunicorn"},{"key":"Via","value":"kong/0.13.1"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"X-Kong-Upstream-Latency","value":"13"},{"key":"X-Warren-Correlation-Id","value":"policy-1rmilodr"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"code\": \"IDR\",\n        \"title\": \"IDR\",\n        \"rate\": 18414.5\n    },\n    {\n        \"code\": \"EUR\",\n        \"title\": \"EUR\",\n        \"rate\": 1\n    },\n    {\n        \"code\": \"USD\",\n        \"title\": \"USD\",\n        \"rate\": 1.1336\n    },\n    {\n        \"code\": \"SGD\",\n        \"title\": \"SGD\",\n        \"rate\": 1.4581\n    }\n]"}],"_postman_id":"a76a5d8d-c42c-4775-9691-da6d09fa51f1"},{"name":"Set Currencies","event":[{"listen":"test","script":{"id":"2efef0de-4fb6-4f67-9f8e-96d1567f07e0","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"cedc2088-b0d6-47b7-9105-b63ac2b355f0","exec":[""],"type":"text/javascript","packages":{}}}],"id":"867622c6-a879-40c4-9cac-e3bfbb675ac2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"},{"key":"content-type","value":"application/json; charset=utf-8","type":"text"}],"body":{"mode":"raw","raw":"[\n\t{\n\t\t\"code\": \"IDR\",\n\t\t\"title\": \"IDR\",\n\t\t\"rate\": 18414.50\n\t},\n\t{\n\t\t\"code\": \"EUR\",\n\t\t\"title\": \"EUR\",\n\t\t\"rate\": 1\n\t},\n\t{\n\t\t\"code\": \"USD\",\n\t\t\"title\": \"USD\",\n\t\t\"rate\": 1.1336\n\t},\n\t{\n\t\t\"code\": \"SGD\",\n\t\t\"title\": \"SGD\",\n\t\t\"rate\": 1.4581\n\t}\n]\n","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/config/ui/currencies","description":"<p>Sets alternative currencies and their exchange rates related to the base currency. Currencies are used in UI for display purposes and also for specific payment methods that process payments in other currencies that base one.</p>\n","urlObject":{"path":["v1","config","ui","currencies"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"56aa0589-a863-4ef1-9d7e-2e0c4914ac05","name":"Set Currencies","originalRequest":{"method":"PUT","header":[{"key":"apikey","value":"{{apikey}}"},{"key":"content-type","value":"application/json; charset=utf-8","type":"text"}],"body":{"mode":"raw","raw":"[\n\t{\n\t\t\"code\": \"IDR\",\n\t\t\"title\": \"IDR\",\n\t\t\"rate\": 18414.50\n\t},\n\t{\n\t\t\"code\": \"EUR\",\n\t\t\"title\": \"EUR\",\n\t\t\"rate\": 1\n\t},\n\t{\n\t\t\"code\": \"USD\",\n\t\t\"title\": \"USD\",\n\t\t\"rate\": 1.1336\n\t},\n\t{\n\t\t\"code\": \"SGD\",\n\t\t\"title\": \"SGD\",\n\t\t\"rate\": 1.4581\n\t}\n]\n","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/config/ui/currencies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"x-warren-correlation-id,X-Warren-Correlation-Id"},{"key":"Content-Length","value":"192"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 05 Jun 2025 08:16:28 GMT"},{"key":"Server","value":"gunicorn"},{"key":"Via","value":"kong/0.13.1"},{"key":"X-Kong-Proxy-Latency","value":"76"},{"key":"X-Kong-Upstream-Latency","value":"27"},{"key":"X-Warren-Correlation-Id","value":"policy-2n70bo1a"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"code\": \"IDR\",\n        \"title\": \"IDR\",\n        \"rate\": 18414.5\n    },\n    {\n        \"code\": \"EUR\",\n        \"title\": \"EUR\",\n        \"rate\": 1\n    },\n    {\n        \"code\": \"USD\",\n        \"title\": \"USD\",\n        \"rate\": 1.1336\n    },\n    {\n        \"code\": \"SGD\",\n        \"title\": \"SGD\",\n        \"rate\": 1.4581\n    }\n]"}],"_postman_id":"867622c6-a879-40c4-9cac-e3bfbb675ac2"}],"id":"e117cb30-2cbc-435c-a8b0-5631577448ad","_postman_id":"e117cb30-2cbc-435c-a8b0-5631577448ad","description":""}],"event":[{"listen":"prerequest","script":{"id":"badef89e-a944-41e9-bdb0-320b6ca6fa3c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0f717496-dbfe-463e-aee2-da967e300678","type":"text/javascript","exec":[""]}}]}