dnsimple 4.0.0 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/README.md +1 -8
  4. data/lib/dnsimple/client/certificates.rb +7 -7
  5. data/lib/dnsimple/client/collaborators.rb +3 -3
  6. data/lib/dnsimple/client/contacts.rb +6 -6
  7. data/lib/dnsimple/client/domains.rb +6 -6
  8. data/lib/dnsimple/client/domains_email_forwards.rb +5 -5
  9. data/lib/dnsimple/client/domains_pushes.rb +6 -6
  10. data/lib/dnsimple/client/registrar.rb +37 -11
  11. data/lib/dnsimple/client/registrar_auto_renewal.rb +2 -2
  12. data/lib/dnsimple/client/registrar_delegation.rb +4 -4
  13. data/lib/dnsimple/client/registrar_whois_privacy.rb +3 -3
  14. data/lib/dnsimple/client/services_domains.rb +3 -3
  15. data/lib/dnsimple/client/templates.rb +6 -6
  16. data/lib/dnsimple/client/templates_domains.rb +1 -1
  17. data/lib/dnsimple/client/templates_records.rb +7 -7
  18. data/lib/dnsimple/client/vanity_name_servers.rb +2 -2
  19. data/lib/dnsimple/client/webhooks.rb +4 -4
  20. data/lib/dnsimple/client/zones.rb +4 -4
  21. data/lib/dnsimple/client/zones_records.rb +9 -9
  22. data/lib/dnsimple/response.rb +7 -7
  23. data/lib/dnsimple/struct.rb +4 -0
  24. data/lib/dnsimple/struct/account.rb +1 -1
  25. data/lib/dnsimple/struct/certificate.rb +3 -3
  26. data/lib/dnsimple/struct/collaborator.rb +3 -3
  27. data/lib/dnsimple/struct/contact.rb +2 -2
  28. data/lib/dnsimple/struct/domain.rb +3 -3
  29. data/lib/dnsimple/struct/domain_premium_price.rb +13 -0
  30. data/lib/dnsimple/struct/domain_push.rb +4 -4
  31. data/lib/dnsimple/struct/domain_registration.rb +37 -0
  32. data/lib/dnsimple/struct/domain_renewal.rb +28 -0
  33. data/lib/dnsimple/struct/domain_transfer.rb +34 -0
  34. data/lib/dnsimple/struct/email_forward.rb +2 -2
  35. data/lib/dnsimple/struct/oauth_token.rb +1 -1
  36. data/lib/dnsimple/struct/service.rb +3 -3
  37. data/lib/dnsimple/struct/template.rb +4 -4
  38. data/lib/dnsimple/struct/template_record.rb +4 -4
  39. data/lib/dnsimple/struct/tld.rb +2 -2
  40. data/lib/dnsimple/struct/user.rb +1 -1
  41. data/lib/dnsimple/struct/webhook.rb +1 -1
  42. data/lib/dnsimple/struct/whois_privacy.rb +1 -1
  43. data/lib/dnsimple/struct/zone.rb +2 -2
  44. data/lib/dnsimple/struct/zone_record.rb +4 -4
  45. data/lib/dnsimple/version.rb +1 -1
  46. data/spec/dnsimple/client/certificates_spec.rb +2 -2
  47. data/spec/dnsimple/client/contacts_spec.rb +2 -2
  48. data/spec/dnsimple/client/domains_email_forwards_spec.rb +2 -2
  49. data/spec/dnsimple/client/domains_spec.rb +2 -2
  50. data/spec/dnsimple/client/identity_spec.rb +2 -2
  51. data/spec/dnsimple/client/registrar_auto_renewal_spec.rb +2 -2
  52. data/spec/dnsimple/client/registrar_spec.rb +57 -7
  53. data/spec/dnsimple/client/services_domains_spec.rb +2 -2
  54. data/spec/dnsimple/client/services_spec.rb +8 -4
  55. data/spec/dnsimple/client/templates_records_spec.rb +4 -4
  56. data/spec/dnsimple/client/templates_spec.rb +4 -4
  57. data/spec/dnsimple/client/zones_records_spec.rb +4 -4
  58. data/spec/dnsimple/client/zones_spec.rb +2 -2
  59. data/spec/fixtures.http/accounts/success-account.http +21 -0
  60. data/spec/fixtures.http/accounts/success-user.http +21 -0
  61. data/spec/fixtures.http/addCollaborator/invite-success.http +1 -1
  62. data/spec/fixtures.http/addCollaborator/success.http +1 -1
  63. data/spec/fixtures.http/appliedServices/success.http +1 -1
  64. data/spec/fixtures.http/applyService/{created.http → success.http} +0 -0
  65. data/spec/fixtures.http/changeDomainDelegationToVanity/success.http +1 -1
  66. data/spec/fixtures.http/checkDomain/success.http +17 -17
  67. data/spec/fixtures.http/createContact/created.http +17 -17
  68. data/spec/fixtures.http/createDomain/created.http +1 -1
  69. data/spec/fixtures.http/createEmailForward/created.http +1 -1
  70. data/spec/fixtures.http/createTemplate/created.http +1 -1
  71. data/spec/fixtures.http/createTemplateRecord/created.http +1 -1
  72. data/spec/fixtures.http/createWebhook/created.http +17 -17
  73. data/spec/fixtures.http/createZoneRecord/created-apex.http +17 -0
  74. data/spec/fixtures.http/createZoneRecord/created.http +9 -13
  75. data/spec/fixtures.http/deleteContact/success.http +13 -13
  76. data/spec/fixtures.http/deleteEmailForward/success.http +13 -12
  77. data/spec/fixtures.http/deleteWebhook/success.http +13 -13
  78. data/spec/fixtures.http/disableDomainAutoRenewal/success.http +13 -0
  79. data/spec/fixtures.http/disableWhoisPrivacy/success.http +1 -1
  80. data/spec/fixtures.http/enableDomainAutoRenewal/success.http +13 -0
  81. data/spec/fixtures.http/enableVanityNameServers/success.http +1 -1
  82. data/spec/fixtures.http/enableWhoisPrivacy/created.http +1 -1
  83. data/spec/fixtures.http/enableWhoisPrivacy/success.http +1 -1
  84. data/spec/fixtures.http/getCertificate/success.http +1 -1
  85. data/spec/fixtures.http/getContact/success.http +17 -17
  86. data/spec/fixtures.http/getDomain/success.http +16 -16
  87. data/spec/fixtures.http/getDomainPremiumPrice/failure.http +16 -0
  88. data/spec/fixtures.http/getDomainPremiumPrice/success.http +21 -0
  89. data/spec/fixtures.http/getEmailForward/success.http +17 -17
  90. data/spec/fixtures.http/getService/success.http +1 -1
  91. data/spec/fixtures.http/getTemplate/success.http +1 -1
  92. data/spec/fixtures.http/getTemplateRecord/success.http +1 -1
  93. data/spec/fixtures.http/getTldExtendedAttributes/success-attributes.http +17 -0
  94. data/spec/fixtures.http/getWebhook/success.http +17 -17
  95. data/spec/fixtures.http/getWhoisPrivacy/success.http +1 -1
  96. data/spec/fixtures.http/getZone/success.http +17 -17
  97. data/spec/fixtures.http/getZoneRecord/success.http +1 -1
  98. data/spec/fixtures.http/initiatePush/success.http +1 -1
  99. data/spec/fixtures.http/listAccounts/success-account.http +1 -1
  100. data/spec/fixtures.http/listAccounts/success-user.http +1 -1
  101. data/spec/fixtures.http/listCertificates/success.http +1 -1
  102. data/spec/fixtures.http/listCollaborators/success.http +1 -1
  103. data/spec/fixtures.http/listContacts/success.http +17 -17
  104. data/spec/fixtures.http/listDomains/success.http +1 -1
  105. data/spec/fixtures.http/listEmailForwards/success.http +1 -1
  106. data/spec/fixtures.http/listPushes/success.http +1 -1
  107. data/spec/fixtures.http/listServices/success.http +12 -8
  108. data/spec/fixtures.http/listTemplateRecords/success.http +1 -1
  109. data/spec/fixtures.http/listTemplates/success.http +1 -1
  110. data/spec/fixtures.http/listWebhooks/success.http +17 -17
  111. data/spec/fixtures.http/listZoneRecords/success.http +1 -1
  112. data/spec/fixtures.http/listZones/success.http +17 -17
  113. data/spec/fixtures.http/method-not-allowed.http +11 -11
  114. data/spec/fixtures.http/notfound-contact.http +12 -12
  115. data/spec/fixtures.http/notfound-record.http +11 -11
  116. data/spec/fixtures.http/notfound-whoisprivacy.http +12 -0
  117. data/spec/fixtures.http/notfound-zone.http +11 -11
  118. data/spec/fixtures.http/oauthAccessToken/error-invalid-request.http +16 -0
  119. data/spec/fixtures.http/oauthAccessToken/success.http +17 -17
  120. data/spec/fixtures.http/registerDomain/success.http +21 -17
  121. data/spec/fixtures.http/renewDomain/success.http +13 -9
  122. data/spec/fixtures.http/resetDomainToken/success.http +1 -1
  123. data/spec/fixtures.http/success-with-malformed-json.http +13 -0
  124. data/spec/fixtures.http/transferDomain/success.http +13 -9
  125. data/spec/fixtures.http/updateContact/success.http +17 -17
  126. data/spec/fixtures.http/updateTemplate/success.http +1 -1
  127. data/spec/fixtures.http/updateZoneRecord/success.http +1 -1
  128. data/spec/fixtures.http/validation-error.http +19 -0
  129. data/spec/fixtures.http/whoami/{success_account.http → success-account.http} +15 -15
  130. data/spec/fixtures.http/whoami/{success_user.http → success-user.http} +15 -15
  131. data/spec/fixtures.http/whoami/success.http +15 -15
  132. metadata +37 -14
  133. data/.ruby-version +0 -1
  134. data/spec/fixtures.http/disableAutoRenewal/success.http +0 -12
  135. data/spec/fixtures.http/enableAutoRenewal/success.http +0 -12
@@ -1,17 +1,21 @@
1
1
  HTTP/1.1 200 OK
2
2
  Server: nginx
3
- Date: Fri, 15 Apr 2016 14:57:44 GMT
3
+ Date: Sat, 10 Dec 2016 22:37:13 GMT
4
4
  Content-Type: application/json; charset=utf-8
5
5
  Transfer-Encoding: chunked
6
6
  Connection: keep-alive
7
- Status: 200 OK
8
7
  X-RateLimit-Limit: 2400
9
- X-RateLimit-Remaining: 2393
10
- X-RateLimit-Reset: 1460735221
11
- ETag: W/"0eae35f5ed682b90fe33b6e5809b2194"
8
+ X-RateLimit-Remaining: 2399
9
+ X-RateLimit-Reset: 1481413033
10
+ ETag: W/"65425ab4559f111f28bc952f3b672d48"
12
11
  Cache-Control: max-age=0, private, must-revalidate
13
- X-Request-Id: e84f8594-f7a8-47d3-81f7-83f422107084
14
- X-Runtime: 0.200949
12
+ X-Request-Id: 9a5dadcb-8e90-4fe9-ad60-be13ba3d3970
13
+ X-Runtime: 0.263229
14
+ X-Content-Type-Options: nosniff
15
+ X-Download-Options: noopen
16
+ X-Frame-Options: DENY
17
+ X-Permitted-Cross-Domain-Policies: none
18
+ X-XSS-Protection: 1; mode=block
15
19
  Strict-Transport-Security: max-age=31536000
16
20
 
17
- {"data":[{"id":1,"name":"Service 1","short_name":"service1","description":"First service example.","setup_description":null,"requires_setup":false,"default_subdomain":null,"created_at":"2014-02-14T19:15:19.953Z","updated_at":"2016-03-04T09:23:27.655Z","settings":[]},{"id":2,"name":"Service 2","short_name":"service2","description":"Second service example.","setup_description":null,"requires_setup":true,"default_subdomain":null,"created_at":"2014-02-14T19:15:19.953Z","updated_at":"2016-03-04T09:23:27.655Z","settings":[{"name":"username","label":"Service 2 Account Username","append":".service2.com","description":"Your Service2 username is used to connect services to your account.","example":"username","password":false}]}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}}
21
+ {"data":[{"id":1,"name":"Service 1","sid":"service1","description":"First service example.","setup_description":null,"requires_setup":false,"default_subdomain":null,"created_at":"2014-02-14T19:15:19Z","updated_at":"2016-03-04T09:23:27Z","settings":[]},{"id":2,"name":"Service 2","sid":"service2","description":"Second service example.","setup_description":null,"requires_setup":true,"default_subdomain":null,"created_at":"2014-02-14T19:15:19Z","updated_at":"2016-03-04T09:23:27Z","settings":[{"name":"username","label":"Service 2 Account Username","append":".service2.com","description":"Your Service2 username is used to connect services to your account.","example":"username","password":false}]}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}}
@@ -14,4 +14,4 @@ X-Request-Id: 79c25a93-0660-4479-a71f-201c26309e00
14
14
  X-Runtime: 0.252889
15
15
  Strict-Transport-Security: max-age=31536000
16
16
 
17
- {"data":[{"id":296,"template_id":268,"name":"","content":"192.168.1.1","ttl":3600,"priority":null,"type":"A","created_at":"2016-04-26T08:23:54.597Z","updated_at":"2016-04-26T08:23:54.597Z"},{"id":298,"template_id":268,"name":"www","content":"{{domain}}","ttl":3600,"priority":null,"type":"CNAME","created_at":"2016-04-26T08:25:11.959Z","updated_at":"2016-04-26T08:25:11.959Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}}
17
+ {"data":[{"id":296,"template_id":268,"name":"","content":"192.168.1.1","ttl":3600,"priority":null,"type":"A","created_at":"2016-04-26T08:23:54Z","updated_at":"2016-04-26T08:23:54Z"},{"id":298,"template_id":268,"name":"www","content":"{{domain}}","ttl":3600,"priority":null,"type":"CNAME","created_at":"2016-04-26T08:25:11Z","updated_at":"2016-04-26T08:25:11Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}}
@@ -14,4 +14,4 @@ X-Request-Id: 774e871f-8bda-40d7-bed9-bd907e872987
14
14
  X-Runtime: 0.193956
15
15
  Strict-Transport-Security: max-age=31536000
16
16
 
17
- {"data":[{"id":1,"account_id":1010,"name":"Alpha","short_name":"alpha","description":"An alpha template.","created_at":"2016-03-22T11:08:58.262Z","updated_at":"2016-03-22T11:08:58.262Z"},{"id":2,"account_id":1010,"name":"Beta","short_name":"beta","description":"A beta template.","created_at":"2016-03-22T11:11:26.342Z","updated_at":"2016-03-22T11:11:26.342Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}}
17
+ {"data":[{"id":1,"account_id":1010,"name":"Alpha","sid":"alpha","description":"An alpha template.","created_at":"2016-03-22T11:08:58Z","updated_at":"2016-03-22T11:08:58Z"},{"id":2,"account_id":1010,"name":"Beta","sid":"beta","description":"A beta template.","created_at":"2016-03-22T11:11:26Z","updated_at":"2016-03-22T11:11:26Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}}
@@ -1,17 +1,17 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Mon, 15 Feb 2016 17:06:21 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Transfer-Encoding: chunked
6
- Connection: keep-alive
7
- Status: 200 OK
8
- X-RateLimit-Limit: 4000
9
- X-RateLimit-Remaining: 3991
10
- X-RateLimit-Reset: 1455559348
11
- ETag: W/"01f1ea26e8e06d8d969bf06678bf7d12"
12
- Cache-Control: max-age=0, private, must-revalidate
13
- X-Request-Id: bc611cd0-d1a9-48d0-b450-c9c86f0d0dcf
14
- X-Runtime: 0.104174
15
- Strict-Transport-Security: max-age=31536000
16
-
17
- {"data":[{"id":1,"url":"https://webhook.test"},{"id":2,"url":"https://another.test"}]}
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Mon, 15 Feb 2016 17:06:21 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Status: 200 OK
8
+ X-RateLimit-Limit: 4000
9
+ X-RateLimit-Remaining: 3991
10
+ X-RateLimit-Reset: 1455559348
11
+ ETag: W/"01f1ea26e8e06d8d969bf06678bf7d12"
12
+ Cache-Control: max-age=0, private, must-revalidate
13
+ X-Request-Id: bc611cd0-d1a9-48d0-b450-c9c86f0d0dcf
14
+ X-Runtime: 0.104174
15
+ Strict-Transport-Security: max-age=31536000
16
+
17
+ {"data":[{"id":1,"url":"https://webhook.test"},{"id":2,"url":"https://another.test"}]}
@@ -18,4 +18,4 @@ X-Permitted-Cross-Domain-Policies: none
18
18
  X-XSS-Protection: 1; mode=block
19
19
  Strict-Transport-Security: max-age=31536000
20
20
 
21
- {"data":[{"id":1,"zone_id":"example.com","parent_id":null,"name":"","content":"ns1.dnsimple.com admin.dnsimple.com 1458642070 86400 7200 604800 300","ttl":3600,"priority":null,"type":"SOA","regions":["global"],"system_record":true,"created_at":"2016-03-22T10:20:53.504Z","updated_at":"2016-10-05T09:26:38.001Z"},{"id":69061,"zone_id":"example-1458642023.com","parent_id":null,"name":"","content":"ns1.dnsimple.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2016-03-22T10:20:53.574Z","updated_at":"2016-03-22T10:20:53.574Z"},{"id":2,"zone_id":"example.com","parent_id":null,"name":"","content":"ns2.dnsimple.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2016-03-22T10:20:53.593Z","updated_at":"2016-03-22T10:20:53.593Z"},{"id":3,"zone_id":"example.com","parent_id":null,"name":"","content":"ns3.dnsimple.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2016-03-22T10:20:53.612Z","updated_at":"2016-03-22T10:20:53.612Z"},{"id":4,"zone_id":"example.com","parent_id":null,"name":"","content":"ns4.dnsimple.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2016-03-22T10:20:53.633Z","updated_at":"2016-03-22T10:20:53.633Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":5,"total_pages":1}}
21
+ {"data":[{"id":1,"zone_id":"example.com","parent_id":null,"name":"","content":"ns1.dnsimple.com admin.dnsimple.com 1458642070 86400 7200 604800 300","ttl":3600,"priority":null,"type":"SOA","regions":["global"],"system_record":true,"created_at":"2016-03-22T10:20:53Z","updated_at":"2016-10-05T09:26:38Z"},{"id":69061,"zone_id":"example.com","parent_id":null,"name":"","content":"ns1.dnsimple.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2016-03-22T10:20:53Z","updated_at":"2016-03-22T10:20:53Z"},{"id":2,"zone_id":"example.com","parent_id":null,"name":"","content":"ns2.dnsimple.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2016-03-22T10:20:53Z","updated_at":"2016-03-22T10:20:53Z"},{"id":3,"zone_id":"example.com","parent_id":null,"name":"","content":"ns3.dnsimple.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2016-03-22T10:20:53Z","updated_at":"2016-03-22T10:20:53Z"},{"id":4,"zone_id":"example.com","parent_id":null,"name":"","content":"ns4.dnsimple.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2016-03-22T10:20:53Z","updated_at":"2016-03-22T10:20:53Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":5,"total_pages":1}}
@@ -1,17 +1,17 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Fri, 22 Jan 2016 16:54:24 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Transfer-Encoding: chunked
6
- Connection: keep-alive
7
- Status: 200 OK
8
- X-RateLimit-Limit: 4000
9
- X-RateLimit-Remaining: 3994
10
- X-RateLimit-Reset: 1453484045
11
- ETag: W/"485e03204e1853519bd637be743f2b25"
12
- Cache-Control: max-age=0, private, must-revalidate
13
- X-Request-Id: 01be9fa5-3a00-4d51-a927-f17587cb67ec
14
- X-Runtime: 0.037083
15
- Strict-Transport-Security: max-age=31536000
16
-
17
- {"data":[{"id":1,"account_id":1010,"name":"example-alpha.com","reverse":false,"created_at":"2015-04-23T07:40:03.045Z","updated_at":"2015-04-23T07:40:03.051Z"},{"id":2,"account_id":1010,"name":"example-beta.com","reverse":true,"created_at":"2015-04-23T07:40:03.061Z","updated_at":"2015-04-23T07:40:03.067Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}}
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Fri, 22 Jan 2016 16:54:24 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Status: 200 OK
8
+ X-RateLimit-Limit: 4000
9
+ X-RateLimit-Remaining: 3994
10
+ X-RateLimit-Reset: 1453484045
11
+ ETag: W/"485e03204e1853519bd637be743f2b25"
12
+ Cache-Control: max-age=0, private, must-revalidate
13
+ X-Request-Id: 01be9fa5-3a00-4d51-a927-f17587cb67ec
14
+ X-Runtime: 0.037083
15
+ Strict-Transport-Security: max-age=31536000
16
+
17
+ {"data":[{"id":1,"account_id":1010,"name":"example-alpha.com","reverse":false,"created_at":"2015-04-23T07:40:03Z","updated_at":"2015-04-23T07:40:03Z"},{"id":2,"account_id":1010,"name":"example-beta.com","reverse":true,"created_at":"2015-04-23T07:40:03Z","updated_at":"2015-04-23T07:40:03Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":2,"total_pages":1}}
@@ -1,11 +1,11 @@
1
- HTTP/1.1 405 Method Not Allowed
2
- Server: nginx
3
- Date: Fri, 15 Apr 2016 14:15:04 GMT
4
- Transfer-Encoding: chunked
5
- Connection: keep-alive
6
- Status: 405 Method Not Allowed
7
- Allow: DELETE, GET, HEAD, PATCH, POST
8
- Cache-Control: no-cache
9
- X-Request-Id: 64c0a5e1-4cbb-4287-98a7-93085a77ac55
10
- X-Runtime: 0.050104
11
-
1
+ HTTP/1.1 405 Method Not Allowed
2
+ Server: nginx
3
+ Date: Fri, 15 Apr 2016 14:15:04 GMT
4
+ Transfer-Encoding: chunked
5
+ Connection: keep-alive
6
+ Status: 405 Method Not Allowed
7
+ Allow: DELETE, GET, HEAD, PATCH, POST
8
+ Cache-Control: no-cache
9
+ X-Request-Id: 64c0a5e1-4cbb-4287-98a7-93085a77ac55
10
+ X-Runtime: 0.050104
11
+
@@ -1,12 +1,12 @@
1
- HTTP/1.1 404 Not Found
2
- Server: nginx
3
- Date: Tue, 19 Jan 2016 21:04:48 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Transfer-Encoding: chunked
6
- Connection: keep-alive
7
- Status: 404 Not Found
8
- Cache-Control: no-cache
9
- X-Request-Id: a57d4e23-3155-477e-8469-e897b27c03e5
10
- X-Runtime: 0.014159
11
-
12
- {"message":"Contact `0` not found"}
1
+ HTTP/1.1 404 Not Found
2
+ Server: nginx
3
+ Date: Tue, 19 Jan 2016 21:04:48 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Status: 404 Not Found
8
+ Cache-Control: no-cache
9
+ X-Request-Id: a57d4e23-3155-477e-8469-e897b27c03e5
10
+ X-Runtime: 0.014159
11
+
12
+ {"message":"Contact `0` not found"}
@@ -1,12 +1,12 @@
1
- HTTP/1.1 404 Not Found
2
- Server: nginx
3
- Date: Fri, 22 Jan 2016 16:46:07 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Transfer-Encoding: chunked
6
- Connection: keep-alive
7
- Status: 404 Not Found
8
- Cache-Control: no-cache
9
- X-Request-Id: 35af0fd2-d020-4f70-861e-b6a42a190bf6
10
- X-Runtime: 0.018847
11
-
1
+ HTTP/1.1 404 Not Found
2
+ Server: nginx
3
+ Date: Fri, 22 Jan 2016 16:46:07 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Status: 404 Not Found
8
+ Cache-Control: no-cache
9
+ X-Request-Id: 35af0fd2-d020-4f70-861e-b6a42a190bf6
10
+ X-Runtime: 0.018847
11
+
12
12
  {"message":"Record `0` not found"}
@@ -0,0 +1,12 @@
1
+ HTTP/1.1 404 Not Found
2
+ Server: nginx
3
+ Date: Sat, 13 Feb 2016 14:34:32 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Status: 404 Not Found
8
+ Cache-Control: no-cache
9
+ X-Request-Id: d5ce788e-bd8d-4edb-bcd6-50a1deacd595
10
+ X-Runtime: 0.031090
11
+
12
+ {"message":"Whois privacy for example-1455121347.com not found"}
@@ -1,12 +1,12 @@
1
- HTTP/1.1 404 Not Found
2
- Server: nginx
3
- Date: Fri, 22 Jan 2016 16:46:02 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Transfer-Encoding: chunked
6
- Connection: keep-alive
7
- Status: 404 Not Found
8
- Cache-Control: no-cache
9
- X-Request-Id: 9c19bef5-6902-421c-9f91-dec3bae26102
10
- X-Runtime: 0.014705
11
-
1
+ HTTP/1.1 404 Not Found
2
+ Server: nginx
3
+ Date: Fri, 22 Jan 2016 16:46:02 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Status: 404 Not Found
8
+ Cache-Control: no-cache
9
+ X-Request-Id: 9c19bef5-6902-421c-9f91-dec3bae26102
10
+ X-Runtime: 0.014705
11
+
12
12
  {"message":"Zone `0` not found"}
@@ -0,0 +1,16 @@
1
+ HTTP/1.1 400 Bad Request
2
+ Server: nginx
3
+ Date: Mon, 08 Feb 2016 21:24:19 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ X-RateLimit-Limit: 30
8
+ X-RateLimit-Remaining: 29
9
+ X-RateLimit-Reset: 1454970259
10
+ ETag: W/"def417b4ade951f8148bb6a4fa3fcf5a"
11
+ Cache-Control: max-age=0, private, must-revalidate
12
+ X-Request-Id: e8c544cf-fcc3-4762-a200-60c0320a2575
13
+ X-Runtime: 0.105600
14
+ Strict-Transport-Security: max-age=31536000
15
+
16
+ {"error":"invalid_request","error_description":"Invalid \"state\": value doesn't match the \"state\" in the authorization request"}
@@ -1,17 +1,17 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Mon, 08 Feb 2016 21:24:19 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Transfer-Encoding: chunked
6
- Connection: keep-alive
7
- Status: 200 OK
8
- X-RateLimit-Limit: 30
9
- X-RateLimit-Remaining: 29
10
- X-RateLimit-Reset: 1454970259
11
- ETag: W/"def417b4ade951f8148bb6a4fa3fcf5a"
12
- Cache-Control: max-age=0, private, must-revalidate
13
- X-Request-Id: e8c544cf-fcc3-4762-a200-60c0320a2575
14
- X-Runtime: 0.105600
15
- Strict-Transport-Security: max-age=31536000
16
-
17
- {"access_token":"zKQ7OLqF5N1gylcJweA9WodA000BUNJD","token_type":"Bearer","scope":null,"account_id":1}
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Mon, 08 Feb 2016 21:24:19 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Status: 200 OK
8
+ X-RateLimit-Limit: 30
9
+ X-RateLimit-Remaining: 29
10
+ X-RateLimit-Reset: 1454970259
11
+ ETag: W/"def417b4ade951f8148bb6a4fa3fcf5a"
12
+ Cache-Control: max-age=0, private, must-revalidate
13
+ X-Request-Id: e8c544cf-fcc3-4762-a200-60c0320a2575
14
+ X-Runtime: 0.105600
15
+ Strict-Transport-Security: max-age=31536000
16
+
17
+ {"access_token":"zKQ7OLqF5N1gylcJweA9WodA000BUNJD","token_type":"Bearer","scope":null,"account_id":1}
@@ -1,17 +1,21 @@
1
- HTTP/1.1 201 Created
2
- Server: nginx
3
- Date: Sat, 16 Jan 2016 16:09:02 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Transfer-Encoding: chunked
6
- Connection: keep-alive
7
- Status: 201 Created
8
- X-RateLimit-Limit: 4000
9
- X-RateLimit-Remaining: 3965
10
- X-RateLimit-Reset: 1452960541
11
- ETag: W/"e034ef9fb32487cf4dc034050ba846c5"
12
- Cache-Control: max-age=0, private, must-revalidate
13
- X-Request-Id: 8b378ee7-d8fa-4459-a1b0-a18bfd2354bb
14
- X-Runtime: 13.365767
15
- Strict-Transport-Security: max-age=31536000
16
-
17
- {"data":{"id":1,"account_id":1010,"registrant_id":2,"name":"example.com","unicode_name":"example.com","token":"cc8h1jP8bDLw5rXycL16k8BivcGiT6K9","state":"registered","auto_renew":false,"private_whois":false,"expires_on":"2017-01-16","created_at":"2016-01-16T16:08:50.649Z","updated_at":"2016-01-16T16:09:01.161Z"}}
1
+ HTTP/1.1 201 Created
2
+ Server: nginx
3
+ Date: Fri, 09 Dec 2016 19:35:38 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ X-RateLimit-Limit: 2400
8
+ X-RateLimit-Remaining: 2396
9
+ X-RateLimit-Reset: 1481315246
10
+ ETag: W/"440b25022ab55cd8e84be64356bfd7d9"
11
+ Cache-Control: max-age=0, private, must-revalidate
12
+ X-Request-Id: aac22ee4-31d7-4d71-ad3d-d0004f5cf370
13
+ X-Runtime: 11.906207
14
+ X-Content-Type-Options: nosniff
15
+ X-Download-Options: noopen
16
+ X-Frame-Options: DENY
17
+ X-Permitted-Cross-Domain-Policies: none
18
+ X-XSS-Protection: 1; mode=block
19
+ Strict-Transport-Security: max-age=31536000
20
+
21
+ {"data":{"id":1,"domain_id":999,"registrant_id":2,"period":1,"state":"new","auto_renew":false,"whois_privacy":false,"premium_price":null,"created_at":"2016-12-09T19:35:31Z","updated_at":"2016-12-09T19:35:31Z"}}
@@ -1,17 +1,21 @@
1
1
  HTTP/1.1 201 Created
2
2
  Server: nginx
3
- Date: Mon, 15 Feb 2016 15:19:24 GMT
3
+ Date: Fri, 09 Dec 2016 19:46:57 GMT
4
4
  Content-Type: application/json; charset=utf-8
5
5
  Transfer-Encoding: chunked
6
6
  Connection: keep-alive
7
- Status: 201 Created
8
- X-RateLimit-Limit: 4000
9
- X-RateLimit-Remaining: 3996
10
- X-RateLimit-Reset: 1455552316
11
- ETag: W/"3ee240b342a641fbc69f9c35fa77b53f"
7
+ X-RateLimit-Limit: 2400
8
+ X-RateLimit-Remaining: 2394
9
+ X-RateLimit-Reset: 1481315245
10
+ ETag: W/"179d85ea8a26a3d5dc76e42de2d7918e"
12
11
  Cache-Control: max-age=0, private, must-revalidate
13
- X-Request-Id: f888665c-8fcc-4ff1-a954-8ce7d7e19af6
14
- X-Runtime: 3.506408
12
+ X-Request-Id: ba6f2707-5df0-4ffa-b91b-51d4460bab8e
13
+ X-Runtime: 13.571302
14
+ X-Content-Type-Options: nosniff
15
+ X-Download-Options: noopen
16
+ X-Frame-Options: DENY
17
+ X-Permitted-Cross-Domain-Policies: none
18
+ X-XSS-Protection: 1; mode=block
15
19
  Strict-Transport-Security: max-age=31536000
16
20
 
17
- {"data":{"id":1,"account_id":1010,"registrant_id":2,"name":"example.com","unicode_name":"example.com","token":"domain-token","state":"registered","auto_renew":false,"private_whois":false,"expires_on":"2018-01-16","created_at":"2016-01-16T16:08:50.649Z","updated_at":"2016-02-15T15:19:24.689Z"}}
21
+ {"data":{"id":1,"domain_id":999,"period":1,"state":"new","premium_price":null,"created_at":"2016-12-09T19:46:45Z","updated_at":"2016-12-09T19:46:45Z"}}
@@ -14,4 +14,4 @@ X-Request-Id: bf1b3976-2edd-4ea6-b606-1d60eaa0403d
14
14
  X-Runtime: 0.075404
15
15
  Strict-Transport-Security: max-age=31536000
16
16
 
17
- {"data":{"id":1,"account_id":1010,"registrant_id":null,"name":"example-alpha.com","unicode_name":"example-alpha.com","token":"domain-token","state":"hosted","auto_renew":false,"private_whois":false,"expires_on":null,"created_at":"2014-12-06T15:56:55.573Z","updated_at":"2015-12-09T00:20:56.056Z"}}
17
+ {"data":{"id":1,"account_id":1010,"registrant_id":null,"name":"example-alpha.com","unicode_name":"example-alpha.com","token":"domain-token","state":"hosted","auto_renew":false,"private_whois":false,"expires_on":null,"created_at":"2014-12-06T15:56:55Z","updated_at":"2015-12-09T00:20:56Z"}}
@@ -0,0 +1,13 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Mon, 22 Dec 2014 14:16:12 GMT
4
+ Content-Type: text/html
5
+ Connection: close
6
+
7
+ <html>
8
+ <head><title>200 OK</title></head>
9
+ <body bgcolor="white">
10
+ <center><h1>200 OK</h1></center>
11
+ <hr><center>nginx</center>
12
+ </body>
13
+ </html>
@@ -1,17 +1,21 @@
1
1
  HTTP/1.1 201 Created
2
2
  Server: nginx
3
- Date: Sun, 21 Feb 2016 13:32:02 GMT
3
+ Date: Fri, 09 Dec 2016 19:43:43 GMT
4
4
  Content-Type: application/json; charset=utf-8
5
5
  Transfer-Encoding: chunked
6
6
  Connection: keep-alive
7
- Status: 201 Created
8
- X-RateLimit-Limit: 4000
9
- X-RateLimit-Remaining: 3992
10
- X-RateLimit-Reset: 1456063540
11
- ETag: W/"68e1aa1046c3f33f2ad796befc2b9f5b"
7
+ X-RateLimit-Limit: 2400
8
+ X-RateLimit-Remaining: 2395
9
+ X-RateLimit-Reset: 1481315246
10
+ ETag: W/"e58e7ac3ad9e30162c5098f29f208066"
12
11
  Cache-Control: max-age=0, private, must-revalidate
13
- X-Request-Id: c3401f82-d570-4998-a614-245f3a7677ba
14
- X-Runtime: 15.045124
12
+ X-Request-Id: 0d00c622-9fc8-406a-93cb-d2c5d6ecd6b4
13
+ X-Runtime: 6.483160
14
+ X-Content-Type-Options: nosniff
15
+ X-Download-Options: noopen
16
+ X-Frame-Options: DENY
17
+ X-Permitted-Cross-Domain-Policies: none
18
+ X-XSS-Protection: 1; mode=block
15
19
  Strict-Transport-Security: max-age=31536000
16
20
 
17
- {"data":{"id":1,"account_id":1010,"registrant_id":10,"name":"example.com","unicode_name":"example.com","token":"domain-token","state":"hosted","auto_renew":false,"private_whois":false,"expires_on":null,"created_at":"2016-02-21T13:31:58.745Z","updated_at":"2016-02-21T13:31:58.745Z"}}
21
+ {"data":{"id":1,"domain_id":999,"registrant_id":2,"state":"transferring","auto_renew":false,"whois_privacy":false,"premium_price":null,"created_at":"2016-12-09T19:43:41Z","updated_at":"2016-12-09T19:43:43Z"}}
@@ -1,17 +1,17 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Tue, 19 Jan 2016 21:28:13 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Transfer-Encoding: chunked
6
- Connection: keep-alive
7
- Status: 200 OK
8
- X-RateLimit-Limit: 4000
9
- X-RateLimit-Remaining: 3995
10
- X-RateLimit-Reset: 1453239045
11
- ETag: W/"4a798ad8f083076b23d3eed622eefc2d"
12
- Cache-Control: max-age=0, private, must-revalidate
13
- X-Request-Id: c0e1e24f-d22d-4832-a30e-2f4ffc40b029
14
- X-Runtime: 0.053262
15
- Strict-Transport-Security: max-age=31536000
16
-
17
- {"data":{"id":1,"account_id":1010,"label":"Default","first_name":"First","last_name":"User","job_title":"CEO","organization_name":"Awesome Company","email":"first@example.com","phone":"+18001234567","fax":"+18011234567","address1":"Italian Street, 10","address2":"","city":"Roma","state_province":"RM","postal_code":"00100","country":"IT","created_at":"2016-01-19T20:50:26.066Z","updated_at":"2016-01-19T20:50:26.066Z"}}
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Tue, 19 Jan 2016 21:28:13 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Status: 200 OK
8
+ X-RateLimit-Limit: 4000
9
+ X-RateLimit-Remaining: 3995
10
+ X-RateLimit-Reset: 1453239045
11
+ ETag: W/"4a798ad8f083076b23d3eed622eefc2d"
12
+ Cache-Control: max-age=0, private, must-revalidate
13
+ X-Request-Id: c0e1e24f-d22d-4832-a30e-2f4ffc40b029
14
+ X-Runtime: 0.053262
15
+ Strict-Transport-Security: max-age=31536000
16
+
17
+ {"data":{"id":1,"account_id":1010,"label":"Default","first_name":"First","last_name":"User","job_title":"CEO","organization_name":"Awesome Company","email":"first@example.com","phone":"+18001234567","fax":"+18011234567","address1":"Italian Street, 10","address2":"","city":"Roma","state_province":"RM","postal_code":"00100","country":"IT","created_at":"2016-01-19T20:50:26Z","updated_at":"2016-01-19T20:50:26Z"}}