{"info":{"_postman_id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","name":"GSLB.me 2.0","description":"<html><head></head><body><p><a href=\"https://www.gslb.me\">GSLB.me</a> comes with a fully-fledged REST API to manage your DNS services. Using the API you can add, modify, delete, enable and disable domains (<a href=\"https://www.gslb.me\">GSLB.me</a> refers to DNS domains as “zones“), records, geohosts and targets.\n<a href=\"https://www.gslb.me\">GSLB.me</a> can be fully orchestrated through its REST API.</p>\n<h1 id=\"overview\">Overview</h1>\n<p>What is REST?</p>\n<p>REST (REpresentational State Transfer) is an HTTP-based protocol: using standard HTTP methods such as GET, POST, PUT and DELETE it allows for remote method/procedure calls. What REST allows you to do is to develop your own client-side code that interacts with GSLB.me to dynamically provision and orchestrate your DNS services.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>All API requests must be authenticated: credentials are your username (in the form of the e-mail address you used to register to <a href=\"https://www.gslb.me\">GSLB.me</a>) and your password. When you first create your account on GSLB.me the API password is set identical to the web GUI password. It is then possible to modify it through the web GUI itself.</p>\n<p>Authentication is performed by adding to each API request a standard Basic HTTP Authorization header.</p>\n<p>The Authorization header can be created as follows:</p>\n<ul>\n<li>Username and password are combined into a string in the form “username:password”</li>\n<li>The resulting string (without quotes) is then encoded using Base64</li>\n<li>The HTTP “Authorization” header is added to the API request. It must be named “Authorization” and its value must be “Basic” followed by one space character, followed by the Base64-encoded string</li>\n</ul>\n<p>For instance, if your username is “<a href=\"mailto:username@mysite.com\">username@mysite.com</a>” and your password is “mypassword”, we would have:</p>\n<ul>\n<li><p>Username and password are combined into “<a href=\"mailto:username@mysite.com\">username@mysite.com</a>:mypassword”</p>\n</li>\n<li><p>The string “<a href=\"mailto:username@mysite.com\">username@mysite.com</a>:password” without quotes is encoded using Base64</p>\n</li>\n<li><p>The HTTP “Authorization” header is formed as follows:</p>\n<p>  Authorization: Basic dXNlcm5hbWVAbXlzaXRlLmNvbTpteXBhc3N3b3JkCg==</p>\n</li>\n</ul>\n<p>This can be easily generated using the standard bash shell:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>user ~ $ echo \"username@mysite.com:mypassword\" | base64\ndXNlcm5hbWVAbXlzaXRlLmNvbTpteXBhc3N3b3JkCg==\n</code></pre><h1 id=\"content-types\">Content types</h1>\n<p>An “Accept” HTTP header can be specified for GET requests. Such header tells the API to encode its output using json or XML. The “Accept” header can be set to any of:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Accept: application/json\nAccept: application/xml\n</code></pre><p>If the “Accept” header is omitted in the request, json encoding is used by default.\nAPI endpoint</p>\n<p>The endpoint URL for the API is:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://api.gslb.me\n</code></pre><p>HTTPS is mandatory, HTTP is not supported due to security reasons.</p>\n<h1 id=\"api-response-encoding\">API response encoding</h1>\n<p>The encoding format of API responses can be selected between JSON and XML by adding the “Accept” HTTP header in the request.</p>\n<p>To select JSON encoding:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Accept: application/json\n</code></pre><p>To select XML encoding:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Accept: application/xml\n</code></pre><p>If no “Accept” header is specified, the API defaults to JSON encoding.</p>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p>Every API response includes an HTTP status code. The status code provides information on whether and how the request was successfully processed. In case of errors the status code details what went wrong.</p>\n<p>The API can return the following HTTP status codes:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>200 - OK (API call successfully completed)\n400 - Bad Request (Incorrect request format / Wrong parameters)\n401 - Unauthorized (Each API request must be authenticated via HTTP Basic Auth)\n403 - Forbidden (The request is not allowed)\n404 - Not found (The requested method does not exist / The requested object does not exist)\n406 - Not Acceptable (The \"Accept\" request header was set to an invalid value)\n411 - Length Required (A \"PUT\" or \"POST\" method was called without specifying the header \"Content-Length: 0\")\n500 - Server Error (An internal error occurred, contact support)\n503 - Service Unavailable (Currently unable to service your request / Rate limiting your request, try again in a short while)\n</code></pre><p>Every API response includes an HTTP status code. The status code provides information on whether and how the request was successfully processed. In case of errors the status code details what went wrong.</p>\n<p>In addition to the HTTP status code, every API response includes a payload that provides more details on the outcome of the request.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Content types","slug":"content-types"},{"content":"API response encoding","slug":"api-response-encoding"},{"content":"Error Codes","slug":"error-codes"}],"owner":"1667416","collectionId":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","publishedId":"RW1aJfNb","public":true,"customColor":{"top-bar":"eeeeee","right-sidebar":"FFFFFF","highlight":"EF5B25"},"publishDate":"2018-04-26T22:22:40.000Z"},"item":[{"name":"Zone","item":[{"name":"Create zone","id":"42b88a51-6b58-4d46-8596-46a203155a1e","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":" {\n\t\"name\":\"mydomain.com\",\n\t\"contactemail\":\"contact@email.com\",\n\t\"active\":\"false\",\n\t\"ttl\":\"7200\",\n\t\"vanitydns\":\"false\"\n}"},"url":"https://api.gslb.me/2.0/zone","description":"<p>Creates a new zone. No commit is needed.</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","zone"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[{"id":"89ecf664-bc02-468c-8164-dce13dd49edb","name":"Create zone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":" {\n\t\"name\":\"mydomain.com\",\n\t\"contactemail\":\"contact@email.tld\",\n\t\"active\":\"false\",\n\t\"ttl\":\"7200\"\n}"},"url":"https://api.gslb.me/2.0/zone"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Apr 2018 21:48:46 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains","name":"Strict-Transport-Security","description":"A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains."},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\"message\":\"Done\",\"returncode\":\"0\"}"},{"id":"dc7a8da5-55ee-4e4f-8866-93ec09deb8b6","name":"Create zone - invalid parameter","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":" {\n\t\"name\":\"mydomain.com\",\n\t\"contactemail\":\"contact@email.tld\",\n\t\"active\":\"false\",\n\t\"ttl\":\"-1\"\n}"},"url":"https://api.gslb.me/2.0/zone"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Apr 2018 21:54:27 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."}],"cookie":[],"responseTime":null,"body":"{\"message\":\"'ttl' invalid, must be between 5 and 86400\",\"returncode\":\"3\"}"},{"id":"ff19dcc4-2f92-4678-8083-d1793504fc53","name":"Create zone - zone already exists","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":" {\n\t\"name\":\"mydomain.com\",\n\t\"contactemail\":\"contact@email.tld\",\n\t\"active\":\"false\",\n\t\"ttl\":\"7200\"\n}"},"url":"https://api.gslb.me/2.0/zone"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Apr 2018 21:49:41 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\"message\":\"Zone already exists\",\"returncode\":\"6\"}"}],"_postman_id":"42b88a51-6b58-4d46-8596-46a203155a1e"},{"name":"Modify zone","id":"6596b3fe-205a-4f9d-b260-c977f4f9f568","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":" {\n\t\"contactemail\":\"contact@email.com\",\n\t\"active\":\"true\",\n\t\"ttl\":\"60\",\n\t\"vanitydns\":\"false\"\n}"},"url":"https://api.gslb.me/2.0/zone/mydomain.com","description":"<p>Modifies an existing zone. No commit is needed.</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","zone","mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[{"id":"bcdd7651-4dab-478d-a336-db3b42abd830","name":"Modify zone","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":" {\n\t\"contactemail\":\"contact@email.tld\",\n\t\"active\":\"true\",\n\t\"ttl\":\"1800\"\n}"},"url":"https://api.gslb.me/2.0/zone/mydomain.com"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Apr 2018 21:55:22 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains","name":"Strict-Transport-Security","description":"A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains."},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\"message\":\"Done\",\"returncode\":\"0\"}"}],"_postman_id":"6596b3fe-205a-4f9d-b260-c977f4f9f568"},{"name":"Get zone","id":"97d952bb-50ab-4238-8cdb-1bc12b9a7407","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/zone/mydomain.com","description":"<p>Retrieves an existing zone configuration</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","zone","mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[{"id":"68487fdd-b542-41e2-a70f-1ea98d1a175c","name":"Get zone","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/zone/mydomain.com"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 07 May 2018 21:08:39 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains","name":"Strict-Transport-Security","description":"A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains."},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\"geohosts\":null,\"rrsets\":{\"rrset\":[{\"id\":\"7703\",\"name\":\"@\",\"readonly\":\"true\",\"ttl\":\"86400\",\"type\":\"NS\",\"value\":\"ns1.gslb.me.\"},{\"id\":\"7704\",\"name\":\"@\",\"readonly\":\"true\",\"ttl\":\"86400\",\"type\":\"NS\",\"value\":\"ns2.gslb.me.\"}]},\"urlforwards\":null,\"zone\":{\"active\":\"true\",\"dnssec\":\"false\",\"expire\":\"1209600\",\"name\":\"mydomain.com\",\"needscommit\":\"false\",\"postmaster\":\"contact@email.com\",\"refresh\":\"3600\",\"retry\":\"600\",\"serialnumber\":\"1525726406\",\"sourceHost\":\"ns1.gslb.me.\",\"ttl\":\"60\",\"vanitydns\":\"false\"}}"}],"_postman_id":"97d952bb-50ab-4238-8cdb-1bc12b9a7407"},{"name":"Commit zone","id":"8c71f123-8cb4-4e3d-a90e-9adff4253780","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/commit/zone/mydomain.com","description":"<p>Commits a zone.</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","commit","zone","mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[{"id":"2a64cab3-c7db-46d2-9391-ca50e4ce04f8","name":"Commit zone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/commit/zone/mydomain.com"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Apr 2018 21:55:46 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains","name":"Strict-Transport-Security","description":"A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains."},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\"message\":\"Done\",\"returncode\":\"0\"}"}],"_postman_id":"8c71f123-8cb4-4e3d-a90e-9adff4253780"},{"name":"Delete zone","id":"83bd9cff-0f99-4588-be45-7401e452af73","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/zone/mydomain.com","description":"<p>Deletes a zone.</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","zone","mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[{"id":"75422942-11d8-4fb0-b025-fcb856542be6","name":"Delete zone","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/zone/mydomain.com"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Apr 2018 21:55:56 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains","name":"Strict-Transport-Security","description":"A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains."},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\"message\":\"Done\",\"returncode\":\"0\"}"},{"id":"7cdffbf9-8f76-4748-bee6-118ac358b485","name":"Delete zone - zone not found","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/zone/mydomain.com"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Apr 2018 21:56:04 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\"message\":\"Zone not found\",\"returncode\":\"2\"}"}],"_postman_id":"83bd9cff-0f99-4588-be45-7401e452af73"}],"id":"2d554131-d522-47cc-b480-79f3ba53f53e","description":"<p>Automates zones creation, modification and deletion</p>\n<p>Back to <a href=\"https://www.gslb.me\">GSLB.me</a></p>\n","event":[{"listen":"prerequest","script":{"id":"550d00f7-a41d-484e-86d5-4acaaffc207f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ed87f85b-7d07-4f1d-a0a8-840e60a1f914","type":"text/javascript","exec":[""]}}],"_postman_id":"2d554131-d522-47cc-b480-79f3ba53f53e","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":true,"source":{"_postman_id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","name":"GSLB.me 2.0","type":"collection"}}},{"name":"Records","item":[{"name":"Create zone records","id":"902c5e33-d46c-458e-93df-e7eb3747c200","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"records\": [\n\t\t{\n\t\t\t\"name\":\"201803._domainkey\",\n\t\t\t\"type\":\"TXT\",\n        \t\"value\":\"v=DKIM1%3B%20h=sha256%3B%20k=rsa%3B%20p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2v47dnlz4+o8kwUJ8oU02YO29F8KsmUgMh9Mnl5UJetgw0n%2FuIombRCkN1XaVeS3w706i85WCfStQgnzl1KewsSriwdOTo5HQ3PM5RfHrVXduBzc4vCaVvhMCQ2zK%2F0BiDM%2FjrqMh1ldD4zRA82AKbvyLHwdDzhiIIHRT0slvVeqTKyR%2F5D5cWmuki3wno15n7Bvvds3WWxwuWmOe3RH0+pQNWQMeSDsPb6ULPquL7Phg9mNX6SFoPyA29tyTkxXe9d6pvQyVCbLJ15Se3uzOAxCsrUyLOYgg%2FEAcA8pkZRXeYlFOF%2FXeendHlbCnWBczJfXyef+lJk8QbmWe%2FAWCwIDAQAB\",\n        \t\"ttl\":\"300\"\n\t\t},\n\t\t{\n\t\t\t\"name\":\"dummyrecord\",\n\t\t\t\"type\":\"A\",\n\t\t\t\"value\":\"11.22.33.44\",\n\t\t\t\"ttl\":\"60\"\n\t\t}\n\t]\n}"},"url":"https://api.gslb.me/2.0/record/mydomain.com","description":"<p>Adds new records to an existing zone. In order to make the newly added records active, the zone must be committed.</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","record","mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[{"id":"3d4d8160-511a-4558-8225-9e0c91ec63f9","name":"Create zone records","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"records\": [\n\t\t{\n\t\t\t\"name\":\"201803._domainkey\",\n\t\t\t\"type\":\"TXT\",\n        \t\"value\":\"v=DKIM1%3B%20h=sha256%3B%20k=rsa%3B%20p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2v47dnlz4+o8kwUJ8oU02YO29F8KsmUgMh9Mnl5UJetgw0n%2FuIombRCkN1XaVeS3w706i85WCfStQgnzl1KewsSriwdOTo5HQ3PM5RfHrVXduBzc4vCaVvhMCQ2zK%2F0BiDM%2FjrqMh1ldD4zRA82AKbvyLHwdDzhiIIHRT0slvVeqTKyR%2F5D5cWmuki3wno15n7Bvvds3WWxwuWmOe3RH0+pQNWQMeSDsPb6ULPquL7Phg9mNX6SFoPyA29tyTkxXe9d6pvQyVCbLJ15Se3uzOAxCsrUyLOYgg%2FEAcA8pkZRXeYlFOF%2FXeendHlbCnWBczJfXyef+lJk8QbmWe%2FAWCwIDAQAB\",\n        \t\"ttl\":\"300\"\n\t\t},\n\t\t{\n\t\t\t\"name\":\"dummyrecord\",\n\t\t\t\"type\":\"A\",\n\t\t\t\"value\":\"11.22.33.44\",\n\t\t\t\"ttl\":\"60\"\n\t\t}\n\t]\n}"},"url":"https://api.gslb.me/2.0/record/mydomain.com"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Apr 2018 22:08:22 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains","name":"Strict-Transport-Security","description":"A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains."},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\"message\":\"Done\",\"returncode\":\"0\"}"}],"_postman_id":"902c5e33-d46c-458e-93df-e7eb3747c200"},{"name":"Modify zone records","id":"a71cabe2-818e-45e6-9948-a14f762adb03","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"records\": [\n\t\t{\n        \t\"id\": \"7555\",\n        \t\"name\": \"@\",\n            \"readonly\": \"false\",\n            \"ttl\": \"30\",\n            \"type\": \"SSHFP\",\n            \"value\": \"4 2 9db8c309c9a27f93e2a096aec7771f7a4d0b6f5edddf520db2728ceff0c89d05\"\n        }\n\t]\n}"},"url":"https://api.gslb.me/2.0/record/mydomain.com","description":"<p>Modifies existing zone records. In order to make the modified records active, the zone must be committed.</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","record","mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[{"id":"16a55a2d-c8aa-4e97-bc63-383d656c10c0","name":"Modify zone records","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"records\": [\n\t\t{\n        \t\"id\": \"7555\",\n        \t\"name\": \"@\",\n            \"readonly\": \"false\",\n            \"ttl\": \"30\",\n            \"type\": \"SSHFP\",\n            \"value\": \"4 2 9db8c309c9a27f93e2a096aec7771f7a4d0b6f5edddf520db2728ceff0c89d05\"\n        }\n\t]\n}"},"url":"https://api.gslb.me/2.0/record/mydomain.com"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Apr 2018 22:09:20 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains","name":"Strict-Transport-Security","description":"A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains."},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\"message\":\"Done\",\"returncode\":\"0\"}"}],"_postman_id":"a71cabe2-818e-45e6-9948-a14f762adb03"},{"name":"Get zone records","id":"7ae5791b-f02a-4611-a514-be9ab8b9c28d","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/record/mydomain.com","description":"<p>Retrieves a zone records</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","record","mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[{"id":"07725c40-5792-43ec-96bf-476270638f53","name":"Get zone records - more records","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/record/mydomain.com"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Apr 2018 22:08:42 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains","name":"Strict-Transport-Security","description":"A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains."},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\"rrset\":[{\"id\":\"7552\",\"name\":\"@\",\"readonly\":\"true\",\"ttl\":\"86400\",\"type\":\"NS\",\"value\":\"ns1.gslb.me.\"},{\"id\":\"7553\",\"name\":\"@\",\"readonly\":\"true\",\"ttl\":\"86400\",\"type\":\"NS\",\"value\":\"ns2.gslb.me.\"},{\"id\":\"7554\",\"name\":\"201803._domainkey\",\"readonly\":\"false\",\"ttl\":\"300\",\"type\":\"TXT\",\"value\":\"v=DKIM1; h=sha256; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2v47dnlz4 o8kwUJ8oU02YO29F8KsmUgMh9Mnl5UJetgw0n/uIombRCkN1XaVeS3w706i85WCfStQgnzl1KewsSriwdOTo5HQ3PM5RfHrVXduBzc4vCaVvhMCQ2zK/0BiDM/jrqMh1ldD4zRA82AKbvyLHwdDzhiIIHRT0slvVeqTKyR/5D5cWmuki3wno15n7Bvvds3WWxwuWmOe3RH0 pQNWQMeSDsPb6ULPquL7Phg9mNX6SFoPyA29tyTkxXe9d6pvQyVCbLJ15Se3uzOAxCsrUyLOYgg/EAcA8pkZRXeYlFOF/XeendHlbCnWBczJfXyef lJk8QbmWe/AWCwIDAQAB\"},{\"id\":\"7555\",\"name\":\"dummyrecord\",\"readonly\":\"false\",\"ttl\":\"60\",\"type\":\"A\",\"value\":\"11.22.33.44\"}]}"},{"id":"8d85c3f0-3807-4bcf-a3f6-520aec3b8328","name":"Get zone records","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/record/mydomain.com"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Apr 2018 22:08:06 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains","name":"Strict-Transport-Security","description":"A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains."},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\"rrset\":[{\"id\":\"7552\",\"name\":\"@\",\"readonly\":\"true\",\"ttl\":\"86400\",\"type\":\"NS\",\"value\":\"ns1.gslb.me.\"},{\"id\":\"7553\",\"name\":\"@\",\"readonly\":\"true\",\"ttl\":\"86400\",\"type\":\"NS\",\"value\":\"ns2.gslb.me.\"}]}"}],"_postman_id":"7ae5791b-f02a-4611-a514-be9ab8b9c28d"},{"name":"Delete zone records","id":"20b6c4d2-667c-47ea-a7ca-d4f0a2078cd5","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"records\": [\n\t\t{ \"id\": \"7554\" },\n\t\t{ \"id\": \"7555\" }\n\t]\n}"},"url":"https://api.gslb.me/2.0/record/mydomain.com","description":"<p>Deletes one or more records in a zone. In order to make changes active, the zone must be committed.</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","record","mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[{"id":"95c669bf-3552-4898-9bad-36b406c8436a","name":"Delete zone records","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"records\": [\n\t\t{ \"id\": \"7554\" },\n\t\t{ \"id\": \"7555\" }\n\t]\n}"},"url":"https://api.gslb.me/2.0/record/mydomain.com"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Apr 2018 22:09:51 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains","name":"Strict-Transport-Security","description":"A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains."},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\"message\":\"Done\",\"returncode\":\"0\"}"}],"_postman_id":"20b6c4d2-667c-47ea-a7ca-d4f0a2078cd5"}],"id":"02d882ac-6898-4507-8f04-7d4771d9813c","description":"<p>Automates records creation, modification and deletion</p>\n<p>Back to <a href=\"https://www.gslb.me\">GSLB.me</a></p>\n","event":[{"listen":"prerequest","script":{"id":"b1e230ea-8b0a-4e77-8744-3e35492cf3ea","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7094772c-067a-4682-ad7d-b434d23a240d","type":"text/javascript","exec":[""]}}],"_postman_id":"02d882ac-6898-4507-8f04-7d4771d9813c","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":true,"source":{"_postman_id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","name":"GSLB.me 2.0","type":"collection"}}},{"name":"Geohost","item":[{"name":"Create geohost","id":"005c4e48-c338-446c-8d9f-1a6fbdcb905c","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"mygeohost\",\n\t\"active\": \"true\",\n\t\"alerts\": [\n    \t{\n\t\t\t\"id\": \"34\"\n\t\t}\n\t],\n\t\"cdn_cname\": \"my.cdn.cname\",\n    \"cdn_minimumtargets\": \"2\",\n    \"cdn_offload\": \"true\",\n    \"cdn_offloadpercentage\": \"99\",\n\t\"howmanyreplies\": \"2\",\n    \"lbalgorithm\": \"geolb.any\",\n\t\"ttl\": \"6789\"\n}"},"url":"https://api.gslb.me/2.0/geohost/mydomain.com","description":"<p>Creates a new geohost. After creating a geohost, it must be committed in order to become active.</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","geohost","mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"005c4e48-c338-446c-8d9f-1a6fbdcb905c"},{"name":"Modify geohost","id":"d218c779-3516-4b6a-915b-45fab5c3c20c","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"active\": \"true\",\n\t\"alerts\": [\n    \t{\n\t\t\t\"id\": \"34\"\n\t\t}\n\t],\n\t\"cdn_cname\": \"my.cdn.cname\",\n    \"cdn_minimumtargets\": \"1\",\n    \"cdn_offload\": \"false\",\n    \"cdn_offloadpercentage\": \"1\",\n\t\"howmanyreplies\": \"1\",\n    \"lbalgorithm\": \"geolb.any\",\n\t\"ttl\": \"3322\"\n}"},"url":"https://api.gslb.me/2.0/geohost/mygeohost.mydomain.com","description":"<p>Modifies an existing geohost. After modifying a geohost, it must be committed in order for the changes to become active.</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","geohost","mygeohost.mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"d218c779-3516-4b6a-915b-45fab5c3c20c"},{"name":"Get geohost","id":"6f411eeb-b61e-44ad-a21e-98540185920e","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/geohost/mygeohost.mydomain.com","description":"<p>Retrieves a geohost configuration</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","geohost","mygeohost.mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f411eeb-b61e-44ad-a21e-98540185920e"},{"name":"Commit geohost","id":"a4c0d782-5383-42d5-9784-c7246137f9d8","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/commit/geohost/mygeohost.mydomain.com","description":"<p>Makes a newly created or modified geohost active.</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","commit","geohost","mygeohost.mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4c0d782-5383-42d5-9784-c7246137f9d8"},{"name":"Delete geohost","id":"ad05a77c-5363-4fdc-89e6-ccdc9b74fd27","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/geohost/mygeohost.mydomain.com","description":"<p>Deletes a geohost. The geohost is immediately deleted, no commit is required.</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","geohost","mygeohost.mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad05a77c-5363-4fdc-89e6-ccdc9b74fd27"}],"id":"151ec9ee-2a0a-4a0e-9536-2926c9096c38","description":"<p>Automates geohosts creation, modification and deletion.</p>\n<p>Back to <a href=\"https://www.gslb.me\">GSLB.me</a></p>\n","event":[{"listen":"prerequest","script":{"id":"a8ace394-4eb4-472b-8e99-de10fb0b8635","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"47ec68a5-e95b-412c-98e5-2bfd7cd91072","type":"text/javascript","exec":[""]}}],"_postman_id":"151ec9ee-2a0a-4a0e-9536-2926c9096c38","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":true,"source":{"_postman_id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","name":"GSLB.me 2.0","type":"collection"}}},{"name":"Targets","item":[{"name":"Create geohost target","id":"430273c0-d84a-4f9e-afcd-f39a179770e8","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"active\": \"true\",\n    \"address\": \"2.2.2.3\",\n\t\"alias\": \"target-2.my.zone.tld\",\n\t\"priority\": \"5\",\n\t\"weight\": \"7\",\n\t\"schedule\": \"30\",\n\t\"requiredchecks\": \"1\",\n\t\"checks\": [\n    \t{\n\t\t\t\"id\": \"29\"\n\t\t}\n\t]\n}"},"url":"https://api.gslb.me/2.0/target/mygeohost.mydomain.com","description":"<p>Adds a target to an existing geohost. In order to make the changes active, the geohost needs to be committed.</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","target","mygeohost.mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"430273c0-d84a-4f9e-afcd-f39a179770e8"},{"name":"Modify geohost target","id":"7ffb8c87-7a29-458b-b06e-d7009ae620c8","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"active\": \"true\",\n    \"newname\": \"2.2.2.3\",\n\t\"alias\": \"target-99.my.zone.tld\",\n\t\"priority\": \"33\",\n\t\"weight\": \"33\",\n\t\"schedule\": \"33\",\n\t\"requiredchecks\": \"1\",\n\t\"checks\": [\n    \t{\n\t\t\t\"id\": \"29\"\n\t\t},\n    \t{\n\t\t\t\"id\": \"203\"\n\t\t},\n    \t{\n\t\t\t\"id\": \"255\"\n\t\t}\n\t]\n}"},"url":"https://api.gslb.me/2.0/target/mygeohost.mydomain.com/2.2.2.3","description":"<p>Modifies a target of an existing geohost. In order to make the changes active, the geohost needs to be committed.</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","target","mygeohost.mydomain.com","2.2.2.3"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ffb8c87-7a29-458b-b06e-d7009ae620c8"},{"name":"Get geohost target","id":"106eb49f-15b5-4dbd-add4-d04466ece4c0","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/target/mygeohost.mydomain.com/2.2.2.3","description":"<p>Gets a geohost target configuration</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","target","mygeohost.mydomain.com","2.2.2.3"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"106eb49f-15b5-4dbd-add4-d04466ece4c0"},{"name":"Delete geohost target","id":"0a0db1b8-5520-458c-92ee-b63891d00190","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/target/mygeohost.mydomain.com/2.2.2.3","description":"<p>Deletes a geohost target</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","target","mygeohost.mydomain.com","2.2.2.3"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"0a0db1b8-5520-458c-92ee-b63891d00190"}],"id":"c822cbbf-1b8d-4294-8ae8-dad64847646d","description":"<p>Automates targets creation, modification and deletion</p>\n<p>Back to <a href=\"https://www.gslb.me\">GSLB.me</a></p>\n","event":[{"listen":"prerequest","script":{"id":"825bbb01-9470-47ed-8df5-b81f784b4d4d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9fe5bb39-1d74-4c57-adc4-a6a41783be00","type":"text/javascript","exec":[""]}}],"_postman_id":"c822cbbf-1b8d-4294-8ae8-dad64847646d","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":true,"source":{"_postman_id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","name":"GSLB.me 2.0","type":"collection"}}},{"name":"Checks","item":[{"name":"Get checks","id":"4a4cee69-2661-4bab-ba57-47dc5439e392","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/utils/checks","description":"<p>Get all available checks</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","utils","checks"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[{"id":"c1d04992-71b7-43b0-b0ac-3397ac8da38d","name":"Get checks","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/utils/checks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Apr 2018 21:35:37 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains","name":"Strict-Transport-Security","description":"A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains."},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\n    \"check\": [\n        {\n            \"active\": \"true\",\n            \"id\": \"29\",\n            \"name\": \"TCP/80\",\n            \"parameters\": {\n                \"parameter\": {\n                    \"type\": \"check.tcp.port\",\n                    \"value\": \"80\"\n                }\n            },\n            \"reverse\": \"false\",\n            \"timeout\": \"8\",\n            \"typeTag\": \"check.tcp\"\n        },\n        {\n            \"active\": \"true\",\n            \"id\": \"75\",\n            \"name\": \"TCP/53\",\n            \"parameters\": {\n                \"parameter\": {\n                    \"type\": \"check.tcp.port\",\n                    \"value\": \"53\"\n                }\n            },\n            \"reverse\": \"false\",\n            \"timeout\": \"5\",\n            \"typeTag\": \"check.tcp\"\n        },\n        {\n            \"active\": \"true\",\n            \"id\": \"126\",\n            \"name\": \"Openvpn @1194\",\n            \"parameters\": {\n                \"parameter\": {\n                    \"type\": \"check.openvpn.port\",\n                    \"value\": \"1194\"\n                }\n            },\n            \"reverse\": \"false\",\n            \"timeout\": \"20\",\n            \"typeTag\": \"check.openvpn\"\n        },\n        {\n            \"active\": \"true\",\n            \"id\": \"142\",\n            \"name\": \"SSH check\",\n            \"parameters\": {\n                \"parameter\": {\n                    \"type\": \"check.ssh.port\",\n                    \"value\": \"22\"\n                }\n            },\n            \"reverse\": \"false\",\n            \"timeout\": \"60\",\n            \"typeTag\": \"check.ssh\"\n        },\n        {\n            \"active\": \"true\",\n            \"id\": \"169\",\n            \"name\": \"SMTP handshake check\",\n            \"parameters\": {\n                \"parameter\": {\n                    \"type\": \"check.smtp.port\",\n                    \"value\": \"25\"\n                }\n            },\n            \"reverse\": \"false\",\n            \"timeout\": \"15\",\n            \"typeTag\": \"check.smtp\"\n        },\n        {\n            \"active\": \"true\",\n            \"id\": \"203\",\n            \"name\": \"ICMP 3s timeout\",\n            \"parameters\": null,\n            \"reverse\": \"false\",\n            \"timeout\": \"3\",\n            \"typeTag\": \"check.icmp\"\n        },\n        {\n            \"active\": \"true\",\n            \"id\": \"185\",\n            \"name\": \"TCP/9999\",\n            \"parameters\": {\n                \"parameter\": {\n                    \"type\": \"check.tcp.port\",\n                    \"value\": \"9999\"\n                }\n            },\n            \"reverse\": \"false\",\n            \"timeout\": \"3\",\n            \"typeTag\": \"check.tcp\"\n        },\n        {\n            \"active\": \"true\",\n            \"id\": \"220\",\n            \"name\": \"CPU < 50\",\n            \"parameters\": {\n                \"parameter\": {\n                    \"type\": \"check.passive.expression\",\n                    \"value\": \"output=cpu_load<50\"\n                }\n            },\n            \"reverse\": \"false\",\n            \"timeout\": \"0\",\n            \"typeTag\": \"check.passive\"\n        },\n        {\n            \"active\": \"true\",\n            \"id\": \"76\",\n            \"name\": \"www.mydomain.com GET /\",\n            \"parameters\": {\n                \"parameter\": [\n                    {\n                        \"type\": \"check.http.host\",\n                        \"value\": \"www.mydomain.com\"\n                    },\n                    {\n                        \"type\": \"check.http.port\",\n                        \"value\": \"80\"\n                    },\n                    {\n                        \"type\": \"check.http.uri\",\n                        \"value\": \"/\"\n                    },\n                    {\n                        \"type\": \"check.http.statuscode\",\n                        \"value\": \"200\"\n                    },\n                    {\n                        \"type\": \"check.http.regexp\",\n                        \"value\": \"\"\n                    },\n                    {\n                        \"type\": \"check.http.username\",\n                        \"value\": \"\"\n                    },\n                    {\n                        \"type\": \"check.http.password\",\n                        \"value\": \"\"\n                    },\n                    {\n                        \"type\": \"check.http.authenabled\",\n                        \"value\": \"false\"\n                    }\n                ]\n            },\n            \"reverse\": \"false\",\n            \"timeout\": \"30\",\n            \"typeTag\": \"check.http\"\n        }\n    ]\n}"}],"_postman_id":"4a4cee69-2661-4bab-ba57-47dc5439e392"}],"id":"7f3660e3-c73e-437b-9078-5258b6d2531b","description":"<p>Automates checks management</p>\n<p>Back to <a href=\"https://www.gslb.me\">GSLB.me</a></p>\n","event":[{"listen":"prerequest","script":{"id":"c641ea0b-202e-49ed-a213-6461d20e0c22","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"be5488ea-ca39-4b56-8ca6-6a260772f83f","type":"text/javascript","exec":[""]}}],"_postman_id":"7f3660e3-c73e-437b-9078-5258b6d2531b","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":true,"source":{"_postman_id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","name":"GSLB.me 2.0","type":"collection"}}},{"name":"Alerts","item":[{"name":"Get alerts","id":"c55970a7-ee25-4df1-acc7-d1bb208bd0fb","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/utils/alerts","description":"<p>Get all available alerts</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","utils","alerts"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[{"id":"0d22ac17-0f79-43b5-b362-a1199b52292e","name":"Get alerts","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/utils/alerts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Apr 2018 21:38:09 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains","name":"Strict-Transport-Security","description":"A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains."},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\n    \"alert\": [\n        {\n            \"active\": \"false\",\n            \"description\": \"Email alert\",\n            \"id\": \"34\",\n            \"name\": \"HTML Mail to support\",\n            \"parameters\": {\n                \"parameter\": [\n                    {\n                        \"type\": \"alert.email.address.to\",\n                        \"value\": \"support@mydomain.com\"\n                    },\n                    {\n                        \"type\": \"alert.email.address.cc\",\n                        \"value\": \"\"\n                    },\n                    {\n                        \"type\": \"alert.email.address.bcc\",\n                        \"value\": \"\"\n                    },\n                    {\n                        \"type\": \"alert.email.html\",\n                        \"value\": \"true\"\n                    }\n                ]\n            },\n            \"typeTag\": \"alert.email\"\n        },\n        {\n            \"active\": \"false\",\n            \"description\": \"Pushover\",\n            \"id\": \"42\",\n            \"name\": \"pushover support\",\n            \"parameters\": {\n                \"parameter\": [\n                    {\n                        \"type\": \"alert.pushover.userkey\",\n                        \"value\": \"xxxxxxxxxxxxxxxxxxxxxxxxx\"\n                    },\n                    {\n                        \"type\": \"alert.pushover.sound\",\n                        \"value\": \"siren\"\n                    },\n                    {\n                        \"type\": \"alert.pushover.priority\",\n                        \"value\": \"0\"\n                    }\n                ]\n            },\n            \"typeTag\": \"alert.pushover\"\n        },\n        {\n            \"active\": \"false\",\n            \"description\": \"Syslog Logging\",\n            \"id\": \"45\",\n            \"name\": \"TLS Syslog\",\n            \"parameters\": {\n                \"parameter\": [\n                    {\n                        \"type\": \"alert.syslog.hostname\",\n                        \"value\": \"syslog.mydomain.com\"\n                    },\n                    {\n                        \"type\": \"alert.syslog.port\",\n                        \"value\": \"6514\"\n                    },\n                    {\n                        \"type\": \"alert.syslog.ssl\",\n                        \"value\": \"true\"\n                    },\n                    {\n                        \"type\": \"alert.syslog.facility\",\n                        \"value\": \"16\"\n                    },\n                    {\n                        \"type\": \"alert.syslog.severity\",\n                        \"value\": \"6\"\n                    },\n                    {\n                        \"type\": \"alert.syslog.messagetag\",\n                        \"value\": \"\"\n                    }\n                ]\n            },\n            \"typeTag\": \"alert.syslog\"\n        }\n    ]\n}"}],"_postman_id":"c55970a7-ee25-4df1-acc7-d1bb208bd0fb"}],"id":"8dfd8e2e-b4aa-45f2-a75d-da22fefe426d","description":"<p>Automates alerts management</p>\n<p>Back to <a href=\"https://www.gslb.me\">GSLB.me</a></p>\n","_postman_id":"8dfd8e2e-b4aa-45f2-a75d-da22fefe426d","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":true,"source":{"_postman_id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","name":"GSLB.me 2.0","type":"collection"}}},{"name":"Countries","item":[{"name":"Get georouting countries","id":"aa3b2835-2fc8-4c36-929e-a41926037e00","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/utils/countries","description":"<p>Gets a list of countries and regions to be used for geohosts georouting</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","utils","countries"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[{"id":"0b8d941d-565d-496d-98ae-90ecaae6e302","name":"Get georouting countries","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/utils/countries"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Apr 2018 22:10:12 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains","name":"Strict-Transport-Security","description":"A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains."},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\n    \"allCountries\": [\n        {\n            \"code\": \"GE\",\n            \"name\": \"Abkhazia\"\n        },\n        {\n            \"code\": \"AF\",\n            \"name\": \"Afghanistan\",\n            \"regions\": [\n                {\n                    \"description\": \"Badakhshan\",\n                    \"id\": \"15\"\n                },\n                {\n                    \"description\": \"Badghis\",\n                    \"id\": \"16\"\n                },\n                {\n                    \"description\": \"Baghlan\",\n                    \"id\": \"17\"\n                },\n                {\n                    \"description\": \"Balkh\",\n                    \"id\": \"36\"\n                },\n                {\n                    \"description\": \"Bamian\",\n                    \"id\": \"18\"\n                },\n                {\n                    \"description\": \"Daykondi\",\n                    \"id\": \"47\"\n                },\n                {\n                    \"description\": \"Farah\",\n                    \"id\": \"19\"\n                },\n                {\n                    \"description\": \"Faryab\",\n                    \"id\": \"20\"\n                },\n                {\n                    \"description\": \"Ghazni\",\n                    \"id\": \"21\"\n                },\n                {\n                    \"description\": \"Ghowr\",\n                    \"id\": \"22\"\n                },\n                {\n                    \"description\": \"Helmand\",\n                    \"id\": \"23\"\n                },\n                {\n                    \"description\": \"Herat\",\n                    \"id\": \"24\"\n                },\n                {\n                    \"description\": \"Jowzjan\",\n                    \"id\": \"37\"\n                },\n                {\n                    \"description\": \"Kabol\",\n                    \"id\": \"25\"\n                },\n                {\n                    \"description\": \"Kandahar\",\n                    \"id\": \"30\"\n                },\n                {\n                    \"description\": \"Kapisa\",\n                    \"id\": \"26\"\n                },\n                {\n                    \"description\": \"Khowst\",\n                    \"id\": \"43\"\n                },\n                {\n                    \"description\": \"Konar\",\n                    \"id\": \"40\"\n                },\n                {\n                    \"description\": \"Kondoz\",\n                    \"id\": \"31\"\n                },\n                {\n                    \"description\": \"Laghman\",\n                    \"id\": \"41\"\n                },\n                {\n                    \"description\": \"Lowgar\",\n                    \"id\": \"27\"\n                },\n                {\n                    \"description\": \"Nangarhar\",\n                    \"id\": \"28\"\n                },\n                {\n                    \"description\": \"Nimruz\",\n                    \"id\": \"29\"\n                },\n                {\n                    \"description\": \"Nurestan\",\n                    \"id\": \"44\"\n                },\n                {\n                    \"description\": \"Oruzgan\",\n                    \"id\": \"45\"\n                },\n                {\n                    \"description\": \"Paktia\",\n                    \"id\": \"42\"\n                },\n                {\n                    \"description\": \"Paktika\",\n                    \"id\": \"35\"\n                },\n                {\n                    \"description\": \"Panjshir\",\n                    \"id\": \"48\"\n                },\n                {\n                    \"description\": \"Parvan\",\n                    \"id\": \"46\"\n                },\n                {\n                    \"description\": \"Samangan\",\n                    \"id\": \"38\"\n                },\n                {\n                    \"description\": \"Sar-e Pol\",\n                    \"id\": \"39\"\n                },\n                {\n                    \"description\": \"Takhar\",\n                    \"id\": \"32\"\n                },\n                {\n                    \"description\": \"Vardak\",\n                    \"id\": \"33\"\n                },\n                {\n                    \"description\": \"Zabol\",\n                    \"id\": \"34\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"aa3b2835-2fc8-4c36-929e-a41926037e00"}],"id":"53f560eb-4ecf-49cb-ac13-e5654c2d20c2","description":"<p>Georouting countries REST calls</p>\n<p>Back to <a href=\"https://www.gslb.me\">GSLB.me</a></p>\n","event":[{"listen":"prerequest","script":{"id":"1d823cfd-87e6-4cef-85be-77f1101d6656","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cf9e386c-5667-42fe-aa8a-7c320944538c","type":"text/javascript","exec":[""]}}],"_postman_id":"53f560eb-4ecf-49cb-ac13-e5654c2d20c2","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":true,"source":{"_postman_id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","name":"GSLB.me 2.0","type":"collection"}}},{"name":"Balancing algorithms","item":[{"name":"Get geohost balancing algorithms","id":"6f0f1ed9-ab25-4000-a64f-bd27ecfbd778","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/utils/lbalgorithms","description":"<p>Retrieves the list of balancing algorithms that can be used by geohosts</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","utils","lbalgorithms"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[{"id":"120134d2-c8fa-4fc1-87b2-4811842e91cb","name":"Get geohost balancing algorithms","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/utils/lbalgorithms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 25 Apr 2018 22:10:05 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains","name":"Strict-Transport-Security","description":"A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains."},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\"allLBalgorithms\":[{\"description\":\"Any available\",\"tag\":\"geolb.any\"},{\"description\":\"Georouting\",\"tag\":\"geolb.georouting\"},{\"description\":\"Priority\",\"tag\":\"geolb.priority\"},{\"description\":\"Proximity\",\"tag\":\"geolb.proximity\"},{\"description\":\"Round robin\",\"tag\":\"geolb.roundrobin\"},{\"description\":\"Weighted\",\"tag\":\"geolb.weighted\"}]}"}],"_postman_id":"6f0f1ed9-ab25-4000-a64f-bd27ecfbd778"}],"id":"8399c49c-cebb-4e72-a199-59bc21ac5aee","description":"<p>Balancing algorithms REST calls</p>\n<p>Back to <a href=\"https://www.gslb.me\">GSLB.me</a></p>\n","event":[{"listen":"prerequest","script":{"id":"96fe7060-abe7-4cb2-939e-139ee38c9842","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3f4fe4e7-f6ef-4719-a490-f21e47998ef6","type":"text/javascript","exec":[""]}}],"_postman_id":"8399c49c-cebb-4e72-a199-59bc21ac5aee","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":true,"source":{"_postman_id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","name":"GSLB.me 2.0","type":"collection"}}},{"name":"Statistics","item":[{"name":"Get zone statistics","id":"810300ea-9d74-43b6-8792-a4b30336ce53","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/statistics/zone/mydomain.com","description":"<p>Retrieves zone usage statistics</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","statistics","zone","mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"810300ea-9d74-43b6-8792-a4b30336ce53"},{"name":"Get geohost statistics","id":"ed82d762-9307-4ec4-ac21-e523da932ad1","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/statistics/geohost/mygeohost.mydomain.com","description":"<p>Retrieves geohost usage statistics</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","statistics","geohost","mygeohost.mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed82d762-9307-4ec4-ac21-e523da932ad1"}],"id":"0348ccee-f139-4832-b2be-ff6e944dbe23","description":"<p>Statistics REST calls</p>\n<p>Back to <a href=\"https://www.gslb.me\">GSLB.me</a></p>\n","event":[{"listen":"prerequest","script":{"id":"0407ff3c-f011-4cf4-b317-adee66020d25","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a4e83e31-1aea-4bba-b156-d14d66b46387","type":"text/javascript","exec":[""]}}],"_postman_id":"0348ccee-f139-4832-b2be-ff6e944dbe23","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":true,"source":{"_postman_id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","name":"GSLB.me 2.0","type":"collection"}}},{"name":"Reporting","item":[{"name":"Get geohost reporting graphs list","id":"1049cd54-eddc-48e3-bebc-5779891603cc","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/reporting/mygeohost.mydomain.com","description":"<p>Retrieves the list of available reporting graphs for the geohost</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","reporting","mygeohost.mydomain.com"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[{"id":"2e67daf5-9891-445b-b5e3-ba83697c14a2","name":"Get geohost reporting graphs list","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/reporting/mygeohost.mydomain.com"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 26 Apr 2018 23:15:31 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx","name":"Server","description":"A name for the server"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains","name":"Strict-Transport-Security","description":"A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains."},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\"graph\":{\"beanGeohostGraph\":{\"geohostid\":\"1017\",\"id\":\"783\",\"name\":\"sample graph\"},\"parameters\":[{\"description\":\"Display current, maximum and minimum values\",\"id\":\"39344\",\"typeId\":\"4010\",\"typeTag\":\"analytics.graph.cactistyle\",\"value\":\"false\"},{\"description\":\"Background color\",\"id\":\"39334\",\"typeId\":\"4022\",\"typeTag\":\"analytics.graph.color.background\",\"value\":\"-1\"},{\"description\":\"Foreground color\",\"id\":\"39335\",\"typeId\":\"4023\",\"typeTag\":\"analytics.graph.color.foreground\",\"value\":\"-16777216\"},{\"description\":\"Draw total requests\",\"id\":\"39340\",\"typeId\":\"4006\",\"typeTag\":\"analytics.graph.draw.requests.all\",\"value\":\"true\"},{\"description\":\"Draw requests per country\",\"id\":\"39342\",\"typeId\":\"4007\",\"typeTag\":\"analytics.graph.draw.requests.percountry\",\"value\":\"\"},{\"description\":\"Draw target responses\",\"id\":\"39341\",\"typeId\":\"4009\",\"typeTag\":\"analytics.graph.draw.responses.all\",\"value\":\"true\"},{\"description\":\"End timestamp\",\"id\":\"39338\",\"typeId\":\"4004\",\"typeTag\":\"analytics.graph.endtime\",\"value\":\"0\"},{\"description\":\"Use bold fonts\",\"id\":\"39325\",\"typeId\":\"4011\",\"typeTag\":\"analytics.graph.font.bold\",\"value\":\"false\"},{\"description\":\"Use italics fonts\",\"id\":\"39326\",\"typeId\":\"4012\",\"typeTag\":\"analytics.graph.font.italics\",\"value\":\"false\"},{\"description\":\"Font size\",\"id\":\"39327\",\"typeId\":\"4013\",\"typeTag\":\"analytics.graph.font.size\",\"value\":\"10\"},{\"description\":\"Graph height in pixels\",\"id\":\"39324\",\"typeId\":\"4002\",\"typeTag\":\"analytics.graph.height\",\"value\":\"600\"},{\"description\":\"Hide axes\",\"id\":\"39329\",\"typeId\":\"4015\",\"typeTag\":\"analytics.graph.hide.axes\",\"value\":\"false\"},{\"description\":\"Hide grid\",\"id\":\"39331\",\"typeId\":\"4017\",\"typeTag\":\"analytics.graph.hide.grid\",\"value\":\"false\"},{\"description\":\"Hide legend\",\"id\":\"39328\",\"typeId\":\"4014\",\"typeTag\":\"analytics.graph.hide.legend\",\"value\":\"false\"},{\"description\":\"Hide Y axis\",\"id\":\"39330\",\"typeId\":\"4016\",\"typeTag\":\"analytics.graph.hide.yaxis\",\"value\":\"false\"},{\"description\":\"Sets the margin size\",\"id\":\"39332\",\"typeId\":\"4018\",\"typeTag\":\"analytics.graph.margin\",\"value\":\"20\"},{\"description\":\"Start timestamp\",\"id\":\"39337\",\"typeId\":\"4003\",\"typeTag\":\"analytics.graph.starttime\",\"value\":\"0\"},{\"description\":\"Summarize data\",\"id\":\"39343\",\"typeId\":\"4008\",\"typeTag\":\"analytics.graph.summarize\",\"value\":\"1\"},{\"description\":\"Timespan\",\"id\":\"39336\",\"typeId\":\"4005\",\"typeTag\":\"analytics.graph.timespan\",\"value\":\"-24hours\"},{\"description\":\"Timezone\",\"id\":\"39339\",\"typeId\":\"4024\",\"typeTag\":\"analytics.graph.timezone\",\"value\":\"Europe/Rome\"},{\"description\":\"Graph title\",\"id\":\"39322\",\"typeId\":\"4000\",\"typeTag\":\"analytics.graph.title\",\"value\":\"sample graph\"},{\"description\":\"Y axis description\",\"id\":\"39333\",\"typeId\":\"4019\",\"typeTag\":\"analytics.graph.vtitle\",\"value\":\"DNS requests/replies\"},{\"description\":\"Graph width in pixels\",\"id\":\"39323\",\"typeId\":\"4001\",\"typeTag\":\"analytics.graph.width\",\"value\":\"800\"}]}}"}],"_postman_id":"1049cd54-eddc-48e3-bebc-5779891603cc"},{"name":"Get geohost reporting graph","id":"e13439b2-5ffe-450b-a2e4-4deb4f63a58c","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.gslb.me/2.0/reporting/mygeohost.mydomain.com/783","description":"<p>Retrieves a geohost reporting graph in png format</p>\n<p>HTTP Basic authentication is mandatory</p>\n","urlObject":{"protocol":"https","path":["2.0","reporting","mygeohost.mydomain.com","783"],"host":["api","gslb","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"e13439b2-5ffe-450b-a2e4-4deb4f63a58c"}],"id":"5fda541c-1f03-4b52-b01e-f2bc24cdc0eb","description":"<p>Reporting REST calls</p>\n<p>Back to <a href=\"https://www.gslb.me\">GSLB.me</a></p>\n","event":[{"listen":"prerequest","script":{"id":"0407ff3c-f011-4cf4-b317-adee66020d25","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a4e83e31-1aea-4bba-b156-d14d66b46387","type":"text/javascript","exec":[""]}}],"_postman_id":"5fda541c-1f03-4b52-b01e-f2bc24cdc0eb","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]},"isInherited":true,"source":{"_postman_id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","id":"8b73e904-dc66-4851-82ca-ea140a2bfb2a","name":"GSLB.me 2.0","type":"collection"}}}],"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"username@mydomain.com"},{"key":"password","value":"Mypassw0rd"}]}},"event":[{"listen":"prerequest","script":{"id":"2e02edbe-3df1-40cf-84a9-0e11bbf4f0aa","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3de4f5fe-c262-4e28-a6a0-469c10a35522","type":"text/javascript","exec":[""]}}],"variable":[{"key":"zone_name","value":"mydomain.com","type":"string"},{"key":"geohost_name","value":"mygeohost","type":"string"},{"key":"target_name","value":"2.2.2.3","type":"string"},{"key":"api_username","value":"username@mydomain.com","type":"string"},{"key":"api_password","value":"Mypassw0rd","type":"string"},{"key":"reporting_graph_id","value":"783","type":"string"}]}