dnsimple 11.0.0 → 12.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (272) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +10 -5
  3. data/.github/workflows/release.yml +44 -13
  4. data/.github/workflows/sync-test-fixtures.yml +1 -1
  5. data/.rubocop.yml +4 -1
  6. data/.rubocop_dnsimple.yml +14 -42
  7. data/.rubocop_todo.yml +4 -9
  8. data/CHANGELOG.md +287 -181
  9. data/CONTRIBUTING.md +6 -40
  10. data/Gemfile +1 -1
  11. data/LICENSE.txt +1 -1
  12. data/README.md +49 -40
  13. data/RELEASING.md +67 -0
  14. data/dnsimple.gemspec +1 -1
  15. data/lib/dnsimple/client/accounts.rb +1 -3
  16. data/lib/dnsimple/client/billing.rb +2 -4
  17. data/lib/dnsimple/client/certificates.rb +0 -2
  18. data/lib/dnsimple/client/clients.rb +2 -40
  19. data/lib/dnsimple/client/contacts.rb +17 -19
  20. data/lib/dnsimple/client/dns_analytics.rb +2 -4
  21. data/lib/dnsimple/client/domains.rb +13 -15
  22. data/lib/dnsimple/client/domains_delegation_signer_records.rb +18 -20
  23. data/lib/dnsimple/client/domains_dnssec.rb +9 -11
  24. data/lib/dnsimple/client/domains_email_forwards.rb +18 -20
  25. data/lib/dnsimple/client/domains_pushes.rb +13 -15
  26. data/lib/dnsimple/client/identity.rb +4 -9
  27. data/lib/dnsimple/client/oauth.rb +1 -3
  28. data/lib/dnsimple/client/registrar.rb +45 -47
  29. data/lib/dnsimple/client/registrar_auto_renewal.rb +6 -8
  30. data/lib/dnsimple/client/registrar_delegation.rb +14 -16
  31. data/lib/dnsimple/client/registrar_registrant_changes.rb +14 -16
  32. data/lib/dnsimple/client/registrar_transfer_lock.rb +9 -11
  33. data/lib/dnsimple/client/registrar_whois_privacy.rb +6 -48
  34. data/lib/dnsimple/client/services.rb +4 -6
  35. data/lib/dnsimple/client/services_domains.rb +12 -14
  36. data/lib/dnsimple/client/templates.rb +17 -19
  37. data/lib/dnsimple/client/templates_domains.rb +4 -6
  38. data/lib/dnsimple/client/templates_records.rb +18 -20
  39. data/lib/dnsimple/client/tlds.rb +6 -8
  40. data/lib/dnsimple/client/vanity_name_servers.rb +0 -2
  41. data/lib/dnsimple/client/webhooks.rb +11 -13
  42. data/lib/dnsimple/client/zones.rb +16 -18
  43. data/lib/dnsimple/client/zones_distributions.rb +4 -6
  44. data/lib/dnsimple/client/zones_records.rb +57 -26
  45. data/lib/dnsimple/client.rb +22 -24
  46. data/lib/dnsimple/default.rb +0 -4
  47. data/lib/dnsimple/error.rb +0 -6
  48. data/lib/dnsimple/extra.rb +4 -6
  49. data/lib/dnsimple/options.rb +1 -7
  50. data/lib/dnsimple/response.rb +4 -13
  51. data/lib/dnsimple/struct/account.rb +0 -2
  52. data/lib/dnsimple/struct/certificate.rb +0 -2
  53. data/lib/dnsimple/struct/certificate_bundle.rb +0 -2
  54. data/lib/dnsimple/struct/certificate_purchase.rb +0 -2
  55. data/lib/dnsimple/struct/certificate_renewal.rb +0 -2
  56. data/lib/dnsimple/struct/charge.rb +4 -8
  57. data/lib/dnsimple/struct/collaborator.rb +0 -2
  58. data/lib/dnsimple/struct/contact.rb +0 -2
  59. data/lib/dnsimple/struct/delegation_signer_record.rb +0 -2
  60. data/lib/dnsimple/struct/dns_analytics.rb +0 -2
  61. data/lib/dnsimple/struct/dnssec.rb +0 -2
  62. data/lib/dnsimple/struct/domain.rb +0 -2
  63. data/lib/dnsimple/struct/domain_check.rb +0 -2
  64. data/lib/dnsimple/struct/domain_premium_price.rb +0 -2
  65. data/lib/dnsimple/struct/domain_price.rb +0 -2
  66. data/lib/dnsimple/struct/domain_push.rb +0 -2
  67. data/lib/dnsimple/struct/domain_registration.rb +0 -2
  68. data/lib/dnsimple/struct/domain_renewal.rb +0 -2
  69. data/lib/dnsimple/struct/domain_restore.rb +0 -2
  70. data/lib/dnsimple/struct/domain_transfer.rb +0 -2
  71. data/lib/dnsimple/struct/email_forward.rb +0 -2
  72. data/lib/dnsimple/struct/extended_attribute.rb +0 -4
  73. data/lib/dnsimple/struct/oauth_token.rb +0 -2
  74. data/lib/dnsimple/struct/registrant_change.rb +0 -2
  75. data/lib/dnsimple/struct/registrant_change_check.rb +0 -2
  76. data/lib/dnsimple/struct/service.rb +0 -4
  77. data/lib/dnsimple/struct/template.rb +0 -2
  78. data/lib/dnsimple/struct/template_record.rb +0 -2
  79. data/lib/dnsimple/struct/tld.rb +0 -2
  80. data/lib/dnsimple/struct/transfer_lock.rb +0 -2
  81. data/lib/dnsimple/struct/user.rb +0 -2
  82. data/lib/dnsimple/struct/vanity_name_server.rb +0 -2
  83. data/lib/dnsimple/struct/webhook.rb +0 -2
  84. data/lib/dnsimple/struct/whoami.rb +2 -4
  85. data/lib/dnsimple/struct/whois_privacy.rb +0 -2
  86. data/lib/dnsimple/struct/zone.rb +0 -2
  87. data/lib/dnsimple/struct/zone_distribution.rb +0 -2
  88. data/lib/dnsimple/struct/zone_file.rb +0 -2
  89. data/lib/dnsimple/struct/zone_record.rb +0 -2
  90. data/lib/dnsimple/struct/zone_record_id.rb +10 -0
  91. data/lib/dnsimple/struct/zone_records_batch_change.rb +16 -0
  92. data/lib/dnsimple/struct.rb +2 -3
  93. data/lib/dnsimple/version.rb +1 -3
  94. data/lib/dnsimple.rb +1 -3
  95. data/spec/dnsimple/client/client_service_spec.rb +12 -10
  96. data/spec/dnsimple/client/domains_delegation_signer_records_spec.rb +2 -2
  97. data/spec/dnsimple/client/oauth_spec.rb +6 -6
  98. data/spec/dnsimple/client/registrar_whois_privacy_spec.rb +0 -82
  99. data/spec/dnsimple/client/zones_records_spec.rb +95 -0
  100. data/spec/fixtures.http/acceptPush/success.http +15 -15
  101. data/spec/fixtures.http/accounts/success-account.http +20 -20
  102. data/spec/fixtures.http/accounts/success-user.http +21 -21
  103. data/spec/fixtures.http/activateZoneService/success.http +16 -16
  104. data/spec/fixtures.http/appliedServices/success.http +19 -19
  105. data/spec/fixtures.http/applyService/success.http +15 -15
  106. data/spec/fixtures.http/applyTemplate/success.http +13 -13
  107. data/spec/fixtures.http/authorizeDomainTransferOut/success.http +13 -13
  108. data/spec/fixtures.http/badgateway.http +5 -5
  109. data/spec/fixtures.http/batchChangeZoneRecords/error_400_create_validation_failed.http +16 -0
  110. data/spec/fixtures.http/batchChangeZoneRecords/error_400_delete_validation_failed.http +15 -0
  111. data/spec/fixtures.http/batchChangeZoneRecords/error_400_update_validation_failed.http +15 -0
  112. data/spec/fixtures.http/batchChangeZoneRecords/success.http +16 -0
  113. data/spec/fixtures.http/cancelDomainTransfer/success.http +17 -17
  114. data/spec/fixtures.http/changeDomainDelegation/success.http +15 -15
  115. data/spec/fixtures.http/changeDomainDelegationFromVanity/success.http +15 -15
  116. data/spec/fixtures.http/changeDomainDelegationToVanity/success.http +17 -17
  117. data/spec/fixtures.http/checkDomain/success.http +15 -15
  118. data/spec/fixtures.http/checkRegistrantChange/error-contactnotfound.http +3 -3
  119. data/spec/fixtures.http/checkRegistrantChange/error-domainnotfound.http +3 -3
  120. data/spec/fixtures.http/checkRegistrantChange/success.http +15 -15
  121. data/spec/fixtures.http/checkZoneDistribution/error.http +17 -17
  122. data/spec/fixtures.http/checkZoneDistribution/failure.http +17 -17
  123. data/spec/fixtures.http/checkZoneDistribution/success.http +17 -17
  124. data/spec/fixtures.http/checkZoneRecordDistribution/error.http +17 -17
  125. data/spec/fixtures.http/checkZoneRecordDistribution/failure.http +17 -17
  126. data/spec/fixtures.http/checkZoneRecordDistribution/success.http +17 -17
  127. data/spec/fixtures.http/createContact/created.http +16 -16
  128. data/spec/fixtures.http/createContact/error-validation-errors.http +15 -15
  129. data/spec/fixtures.http/createDelegationSignerRecord/created.http +17 -17
  130. data/spec/fixtures.http/createDelegationSignerRecord/validation-error.http +15 -15
  131. data/spec/fixtures.http/createDomain/created.http +19 -19
  132. data/spec/fixtures.http/createEmailForward/created.http +21 -21
  133. data/spec/fixtures.http/createPrimaryServer/created.http +20 -20
  134. data/spec/fixtures.http/createRegistrantChange/success.http +14 -14
  135. data/spec/fixtures.http/createSecondaryZone/created.http +20 -20
  136. data/spec/fixtures.http/createTemplate/created.http +15 -15
  137. data/spec/fixtures.http/createTemplateRecord/created.http +16 -16
  138. data/spec/fixtures.http/createWebhook/created.http +13 -13
  139. data/spec/fixtures.http/createZoneRecord/created-apex.http +13 -13
  140. data/spec/fixtures.http/createZoneRecord/created.http +13 -13
  141. data/spec/fixtures.http/deactivateZoneService/success.http +16 -16
  142. data/spec/fixtures.http/deleteContact/error-contact-in-use.http +15 -15
  143. data/spec/fixtures.http/deleteContact/success.http +13 -13
  144. data/spec/fixtures.http/deleteDelegationSignerRecord/success.http +15 -15
  145. data/spec/fixtures.http/deleteDomain/success.http +11 -11
  146. data/spec/fixtures.http/deleteEmailForward/success.http +18 -18
  147. data/spec/fixtures.http/deleteRegistrantChange/success.http +13 -13
  148. data/spec/fixtures.http/deleteRegistrantChange/success_async.http +3 -3
  149. data/spec/fixtures.http/deleteTemplate/success.http +13 -13
  150. data/spec/fixtures.http/deleteTemplateRecord/success.http +13 -13
  151. data/spec/fixtures.http/deleteWebhook/success.http +13 -13
  152. data/spec/fixtures.http/deleteZoneRecord/success.http +11 -11
  153. data/spec/fixtures.http/disableDnssec/not-enabled.http +15 -15
  154. data/spec/fixtures.http/disableDnssec/success.http +15 -15
  155. data/spec/fixtures.http/disableDomainAutoRenewal/success.http +13 -13
  156. data/spec/fixtures.http/disableDomainTransferLock/success.http +17 -17
  157. data/spec/fixtures.http/disableVanityNameServers/success.http +15 -15
  158. data/spec/fixtures.http/disableWhoisPrivacy/success.http +16 -16
  159. data/spec/fixtures.http/dnsAnalytics/success.http +17 -17
  160. data/spec/fixtures.http/downloadCertificate/success.http +19 -19
  161. data/spec/fixtures.http/enableDnssec/success.http +17 -17
  162. data/spec/fixtures.http/enableDomainAutoRenewal/success.http +13 -13
  163. data/spec/fixtures.http/enableDomainTransferLock/success.http +17 -17
  164. data/spec/fixtures.http/enableVanityNameServers/success.http +17 -17
  165. data/spec/fixtures.http/enableWhoisPrivacy/created.http +16 -16
  166. data/spec/fixtures.http/enableWhoisPrivacy/success.http +16 -16
  167. data/spec/fixtures.http/getCertificate/success.http +19 -19
  168. data/spec/fixtures.http/getCertificatePrivateKey/success.http +20 -20
  169. data/spec/fixtures.http/getContact/success.http +16 -16
  170. data/spec/fixtures.http/getDelegationSignerRecord/success.http +17 -17
  171. data/spec/fixtures.http/getDnssec/success.http +17 -17
  172. data/spec/fixtures.http/getDomain/success.http +19 -19
  173. data/spec/fixtures.http/getDomainDelegation/success-empty.http +15 -15
  174. data/spec/fixtures.http/getDomainDelegation/success.http +15 -15
  175. data/spec/fixtures.http/getDomainPrices/failure.http +18 -18
  176. data/spec/fixtures.http/getDomainPrices/success.http +21 -21
  177. data/spec/fixtures.http/getDomainRegistration/success.http +20 -20
  178. data/spec/fixtures.http/getDomainRenewal/success.http +20 -20
  179. data/spec/fixtures.http/getDomainRestore/success.http +22 -19
  180. data/spec/fixtures.http/getDomainTransfer/success.http +19 -19
  181. data/spec/fixtures.http/getDomainTransferLock/success.http +17 -17
  182. data/spec/fixtures.http/getEmailForward/success.http +21 -21
  183. data/spec/fixtures.http/getPrimaryServer/success.http +20 -20
  184. data/spec/fixtures.http/getRegistrantChange/success.http +15 -15
  185. data/spec/fixtures.http/getService/success.http +16 -16
  186. data/spec/fixtures.http/getTemplate/success.http +15 -15
  187. data/spec/fixtures.http/getTemplateRecord/success.http +16 -16
  188. data/spec/fixtures.http/getTld/success.http +20 -20
  189. data/spec/fixtures.http/getTldExtendedAttributes/success-attributes.http +15 -15
  190. data/spec/fixtures.http/getTldExtendedAttributes/success-noattributes.http +15 -15
  191. data/spec/fixtures.http/getTldExtendedAttributes/success.http +15 -15
  192. data/spec/fixtures.http/getWebhook/success.http +13 -13
  193. data/spec/fixtures.http/getZone/success.http +16 -16
  194. data/spec/fixtures.http/getZoneFile/success.http +17 -17
  195. data/spec/fixtures.http/getZoneRecord/success.http +17 -17
  196. data/spec/fixtures.http/initiatePush/success.http +17 -17
  197. data/spec/fixtures.http/issueLetsencryptCertificate/success.http +17 -17
  198. data/spec/fixtures.http/issueRenewalLetsencryptCertificate/success.http +17 -17
  199. data/spec/fixtures.http/linkPrimaryServer/success.http +20 -20
  200. data/spec/fixtures.http/listAccounts/success-account.http +20 -20
  201. data/spec/fixtures.http/listAccounts/success-user.http +20 -20
  202. data/spec/fixtures.http/listCertificates/success.http +19 -19
  203. data/spec/fixtures.http/listCharges/fail-400-bad-filter.http +9 -9
  204. data/spec/fixtures.http/listCharges/fail-403.http +9 -9
  205. data/spec/fixtures.http/listCharges/success.http +9 -9
  206. data/spec/fixtures.http/listContacts/success.http +16 -16
  207. data/spec/fixtures.http/listDelegationSignerRecords/success.http +17 -17
  208. data/spec/fixtures.http/listDomains/success.http +19 -19
  209. data/spec/fixtures.http/listEmailForwards/success.http +13 -13
  210. data/spec/fixtures.http/listPrimaryServers/success.http +20 -20
  211. data/spec/fixtures.http/listPushes/success.http +17 -17
  212. data/spec/fixtures.http/listRegistrantChanges/success.http +15 -15
  213. data/spec/fixtures.http/listServices/success.http +17 -17
  214. data/spec/fixtures.http/listTemplateRecords/success.http +16 -16
  215. data/spec/fixtures.http/listTemplates/success.http +15 -15
  216. data/spec/fixtures.http/listTlds/success.http +20 -20
  217. data/spec/fixtures.http/listWebhooks/success.http +13 -13
  218. data/spec/fixtures.http/listZoneRecords/success.http +17 -17
  219. data/spec/fixtures.http/listZones/success.http +16 -16
  220. data/spec/fixtures.http/method-not-allowed.http +8 -8
  221. data/spec/fixtures.http/notfound-certificate.http +12 -12
  222. data/spec/fixtures.http/notfound-contact.http +10 -10
  223. data/spec/fixtures.http/notfound-delegationSignerRecord.http +11 -0
  224. data/spec/fixtures.http/notfound-domain.http +8 -8
  225. data/spec/fixtures.http/notfound-domainpush.http +8 -8
  226. data/spec/fixtures.http/notfound-emailforward.http +8 -8
  227. data/spec/fixtures.http/notfound-record.http +10 -10
  228. data/spec/fixtures.http/notfound-template.http +10 -10
  229. data/spec/fixtures.http/notfound-webhook.http +8 -8
  230. data/spec/fixtures.http/notfound-whoisprivacy.http +10 -10
  231. data/spec/fixtures.http/notfound-zone.http +10 -10
  232. data/spec/fixtures.http/oauthAccessToken/error-invalid-request.http +12 -12
  233. data/spec/fixtures.http/oauthAccessToken/success.http +16 -16
  234. data/spec/fixtures.http/pages-1of3.http +12 -12
  235. data/spec/fixtures.http/pages-2of3.http +12 -12
  236. data/spec/fixtures.http/pages-3of3.http +12 -12
  237. data/spec/fixtures.http/purchaseLetsencryptCertificate/success.http +19 -19
  238. data/spec/fixtures.http/purchaseRenewalLetsencryptCertificate/success.http +19 -19
  239. data/spec/fixtures.http/registerDomain/error-extended-attributes.http +15 -15
  240. data/spec/fixtures.http/registerDomain/success.http +20 -20
  241. data/spec/fixtures.http/rejectPush/success.http +15 -15
  242. data/spec/fixtures.http/renewDomain/error-tooearly.http +14 -14
  243. data/spec/fixtures.http/renewDomain/success.http +20 -20
  244. data/spec/fixtures.http/response.http +12 -12
  245. data/spec/fixtures.http/restoreDomain/success.http +22 -19
  246. data/spec/fixtures.http/success-with-malformed-json.http +4 -4
  247. data/spec/fixtures.http/transferDomain/error-indnsimple.http +13 -13
  248. data/spec/fixtures.http/transferDomain/error-missing-authcode.http +13 -13
  249. data/spec/fixtures.http/transferDomain/success.http +20 -20
  250. data/spec/fixtures.http/unapplyService/success.http +15 -15
  251. data/spec/fixtures.http/unlinkPrimaryServer/success.http +20 -20
  252. data/spec/fixtures.http/updateContact/success.http +16 -16
  253. data/spec/fixtures.http/updateTemplate/success.http +15 -15
  254. data/spec/fixtures.http/updateZoneNsRecords/success.http +16 -16
  255. data/spec/fixtures.http/updateZoneRecord/success.http +17 -17
  256. data/spec/fixtures.http/validation-error.http +15 -15
  257. data/spec/fixtures.http/whoami/success-account.http +15 -15
  258. data/spec/fixtures.http/whoami/success-user.http +15 -15
  259. data/spec/fixtures.http/whoami/success.http +15 -15
  260. data/spec/support/helpers.rb +0 -2
  261. metadata +14 -14
  262. data/lib/dnsimple/struct/whois_privacy_renewal.rb +0 -30
  263. data/spec/fixtures.http/checkDomainPremiumPrice/error_400_not_a_premium_domain.http +0 -18
  264. data/spec/fixtures.http/checkDomainPremiumPrice/error_400_tld_not_supported.http +0 -18
  265. data/spec/fixtures.http/checkDomainPremiumPrice/success.http +0 -20
  266. data/spec/fixtures.http/getDomainPremiumPrice/failure.http +0 -15
  267. data/spec/fixtures.http/getDomainPremiumPrice/success.http +0 -20
  268. data/spec/fixtures.http/getWhoisPrivacy/success.http +0 -16
  269. data/spec/fixtures.http/notfound-delegationsignerrecord.http +0 -11
  270. data/spec/fixtures.http/renewWhoisPrivacy/success.http +0 -20
  271. data/spec/fixtures.http/renewWhoisPrivacy/whois-privacy-duplicated-order.http +0 -18
  272. data/spec/fixtures.http/renewWhoisPrivacy/whois-privacy-not-found.http +0 -18
@@ -1,16 +1,16 @@
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
- Connection: keep-alive
6
- Status: 200 OK
7
- X-RateLimit-Limit: 4000
8
- X-RateLimit-Remaining: 3995
9
- X-RateLimit-Reset: 1453239045
10
- ETag: W/"4a798ad8f083076b23d3eed622eefc2d"
11
- Cache-Control: max-age=0, private, must-revalidate
12
- X-Request-Id: c0e1e24f-d22d-4832-a30e-2f4ffc40b029
13
- X-Runtime: 0.053262
14
- Strict-Transport-Security: max-age=31536000
15
-
16
- {"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"}}
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
+ connection: keep-alive
6
+ status: 200 OK
7
+ x-ratelimit-limit: 4000
8
+ x-ratelimit-remaining: 3995
9
+ x-ratelimit-reset: 1453239045
10
+ etag: W/"4a798ad8f083076b23d3eed622eefc2d"
11
+ cache-control: max-age=0, private, must-revalidate
12
+ x-request-id: c0e1e24f-d22d-4832-a30e-2f4ffc40b029
13
+ x-runtime: 0.053262
14
+ strict-transport-security: max-age=31536000
15
+
16
+ {"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"}}
@@ -1,16 +1,16 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Thu, 24 Mar 2016 11:04:55 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- Status: 200 OK
7
- X-RateLimit-Limit: 2400
8
- X-RateLimit-Remaining: 2398
9
- X-RateLimit-Reset: 1458821048
10
- ETag: W/"6a2c0c6789d853473765a5fc5662da2e"
11
- Cache-Control: max-age=0, private, must-revalidate
12
- X-Request-Id: 3a7993e7-8b1e-47ce-a7a8-cc86b02904de
13
- X-Runtime: 0.324954
14
- Strict-Transport-Security: max-age=31536000
15
-
1
+ HTTP/1.1 200 OK
2
+ server: nginx
3
+ date: Thu, 24 Mar 2016 11:04:55 GMT
4
+ content-type: application/json; charset=utf-8
5
+ connection: keep-alive
6
+ status: 200 OK
7
+ x-ratelimit-limit: 2400
8
+ x-ratelimit-remaining: 2398
9
+ x-ratelimit-reset: 1458821048
10
+ etag: W/"6a2c0c6789d853473765a5fc5662da2e"
11
+ cache-control: max-age=0, private, must-revalidate
12
+ x-request-id: 3a7993e7-8b1e-47ce-a7a8-cc86b02904de
13
+ x-runtime: 0.324954
14
+ strict-transport-security: max-age=31536000
15
+
16
16
  {"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"}}
@@ -1,16 +1,16 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Wed, 23 Nov 2022 18:05:39 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- Status: 200 OK
7
- X-RateLimit-Limit: 2400
8
- X-RateLimit-Remaining: 2391
9
- X-RateLimit-Reset: 1458821048
10
- ETag: W/"cb540984f806b12ac437cc1f76092f90"
11
- Cache-Control: max-age=0, private, must-revalidate
12
- X-Request-Id: e53ac7b5-0d26-45bc-9226-09c2d34be293
13
- X-Runtime: 0.192986
14
- Strict-Transport-Security: max-age=31536000
15
-
16
- {"data":[{"id":1927,"zone_id":"example.com","parent_id":null,"name":"","content":"ns1.example.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2022-11-23T18:05:39Z","updated_at":"2022-11-23T18:05:39Z"},{"id":1928,"zone_id":"example.com","parent_id":null,"name":"","content":"ns2.example.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2022-11-23T18:05:39Z","updated_at":"2022-11-23T18:05:39Z"},{"id":1929,"zone_id":"example.com","parent_id":null,"name":"","content":"ns1.foo.bar","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2022-11-23T18:05:39Z","updated_at":"2022-11-23T18:05:39Z"},{"id":1930,"zone_id":"example.com","parent_id":null,"name":"","content":"ns2.foo.bar","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2022-11-23T18:05:39Z","updated_at":"2022-11-23T18:05:39Z"}]}
1
+ HTTP/1.1 200 OK
2
+ server: nginx
3
+ date: Wed, 23 Nov 2022 18:05:39 GMT
4
+ content-type: application/json; charset=utf-8
5
+ connection: keep-alive
6
+ status: 200 OK
7
+ x-ratelimit-limit: 2400
8
+ x-ratelimit-remaining: 2391
9
+ x-ratelimit-reset: 1458821048
10
+ etag: W/"cb540984f806b12ac437cc1f76092f90"
11
+ cache-control: max-age=0, private, must-revalidate
12
+ x-request-id: e53ac7b5-0d26-45bc-9226-09c2d34be293
13
+ x-runtime: 0.192986
14
+ strict-transport-security: max-age=31536000
15
+
16
+ {"data":[{"id":1927,"zone_id":"example.com","parent_id":null,"name":"","content":"ns1.example.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2022-11-23T18:05:39Z","updated_at":"2022-11-23T18:05:39Z"},{"id":1928,"zone_id":"example.com","parent_id":null,"name":"","content":"ns2.example.com","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2022-11-23T18:05:39Z","updated_at":"2022-11-23T18:05:39Z"},{"id":1929,"zone_id":"example.com","parent_id":null,"name":"","content":"ns1.foo.bar","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2022-11-23T18:05:39Z","updated_at":"2022-11-23T18:05:39Z"},{"id":1930,"zone_id":"example.com","parent_id":null,"name":"","content":"ns2.foo.bar","ttl":3600,"priority":null,"type":"NS","regions":["global"],"system_record":true,"created_at":"2022-11-23T18:05:39Z","updated_at":"2022-11-23T18:05:39Z"}]}
@@ -1,20 +1,20 @@
1
1
  HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Wed, 05 Oct 2016 09:59:48 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- X-RateLimit-Limit: 2400
7
- X-RateLimit-Remaining: 2393
8
- X-RateLimit-Reset: 1475662530
9
- ETag: W/"92c807156882e555af8f7a5b93350e44"
10
- Cache-Control: max-age=0, private, must-revalidate
11
- X-Request-Id: 3b630702-46a9-4449-a320-b7ac903d2127
12
- X-Runtime: 0.405810
13
- X-Content-Type-Options: nosniff
14
- X-Download-Options: noopen
15
- X-Frame-Options: DENY
16
- X-Permitted-Cross-Domain-Policies: none
17
- X-XSS-Protection: 1; mode=block
18
- Strict-Transport-Security: max-age=31536000
2
+ server: nginx
3
+ date: Wed, 05 Oct 2016 09:59:48 GMT
4
+ content-type: application/json; charset=utf-8
5
+ connection: keep-alive
6
+ x-ratelimit-limit: 2400
7
+ x-ratelimit-remaining: 2393
8
+ x-ratelimit-reset: 1475662530
9
+ etag: W/"92c807156882e555af8f7a5b93350e44"
10
+ cache-control: max-age=0, private, must-revalidate
11
+ x-request-id: 3b630702-46a9-4449-a320-b7ac903d2127
12
+ x-runtime: 0.405810
13
+ x-content-type-options: nosniff
14
+ x-download-options: noopen
15
+ x-frame-options: DENY
16
+ x-permitted-cross-domain-policies: none
17
+ x-xss-protection: 1; mode=block
18
+ strict-transport-security: max-age=31536000
19
19
 
20
20
  {"data":{"id":5,"zone_id":"example.com","parent_id":null,"name":"","content":"mxb.example.com","ttl":3600,"priority":20,"type":"MX","regions":["global"],"system_record":false,"created_at":"2016-10-05T09:51:35Z","updated_at":"2016-10-05T09:51:35Z"}}
@@ -1,18 +1,18 @@
1
1
  HTTP/1.1 400 Bad Request
2
- Server: nginx
3
- Date: Wed, 23 Nov 2016 08:12:57 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- X-RateLimit-Limit: 2400
7
- X-RateLimit-Remaining: 2396
8
- X-RateLimit-Reset: 1479892333
9
- Cache-Control: no-cache
10
- X-Request-Id: 91dcf81b-5df4-4d45-b37e-446f0c422a27
11
- X-Runtime: 0.062556
12
- X-Content-Type-Options: nosniff
13
- X-Download-Options: noopen
14
- X-Frame-Options: DENY
15
- X-Permitted-Cross-Domain-Policies: none
16
- X-XSS-Protection: 1; mode=block
2
+ server: nginx
3
+ date: Wed, 23 Nov 2016 08:12:57 GMT
4
+ content-type: application/json; charset=utf-8
5
+ connection: keep-alive
6
+ x-ratelimit-limit: 2400
7
+ x-ratelimit-remaining: 2396
8
+ x-ratelimit-reset: 1479892333
9
+ cache-control: no-cache
10
+ x-request-id: 91dcf81b-5df4-4d45-b37e-446f0c422a27
11
+ x-runtime: 0.062556
12
+ x-content-type-options: nosniff
13
+ x-download-options: noopen
14
+ x-frame-options: DENY
15
+ x-permitted-cross-domain-policies: none
16
+ x-xss-protection: 1; mode=block
17
17
 
18
18
  {"message":"Validation failed","errors":{"address1":["can't be blank"],"city":["can't be blank"],"country":["can't be blank"],"email":["can't be blank","is an invalid email address"],"first_name":["can't be blank"],"last_name":["can't be blank"],"phone":["can't be blank","is probably not a phone number"],"postal_code":["can't be blank"],"state_province":["can't be blank"]}}
@@ -1,15 +1,15 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Fri, 18 Dec 2015 15:19:37 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- X-RateLimit-Limit: 4000
7
- X-RateLimit-Remaining: 3991
8
- X-RateLimit-Reset: 1450451976
9
- ETag: W/"5ea6326bc1a8e83e5c156c564f2559f0"
10
- Cache-Control: max-age=0, private, must-revalidate
11
- X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd
12
- X-Runtime: 0.141588
13
- Strict-Transport-Security: max-age=31536000
14
-
15
- {"data":{"user":null,"account":{"id":1,"email":"example-account@example.com","plan_identifier":"teams-v1-monthly","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"}}}
1
+ HTTP/1.1 200 OK
2
+ server: nginx
3
+ date: Fri, 18 Dec 2015 15:19:37 GMT
4
+ content-type: application/json; charset=utf-8
5
+ connection: keep-alive
6
+ x-ratelimit-limit: 4000
7
+ x-ratelimit-remaining: 3991
8
+ x-ratelimit-reset: 1450451976
9
+ etag: W/"5ea6326bc1a8e83e5c156c564f2559f0"
10
+ cache-control: max-age=0, private, must-revalidate
11
+ x-request-id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd
12
+ x-runtime: 0.141588
13
+ strict-transport-security: max-age=31536000
14
+
15
+ {"data":{"user":null,"account":{"id":1,"email":"example-account@example.com","plan_identifier":"teams-v1-monthly","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"}}}
@@ -1,15 +1,15 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Fri, 18 Dec 2015 15:19:37 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- X-RateLimit-Limit: 4000
7
- X-RateLimit-Remaining: 3991
8
- X-RateLimit-Reset: 1450451976
9
- ETag: W/"5ea6326bc1a8e83e5c156c564f2559f0"
10
- Cache-Control: max-age=0, private, must-revalidate
11
- X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd
12
- X-Runtime: 0.141588
13
- Strict-Transport-Security: max-age=31536000
14
-
15
- {"data":{"user":{"id":1,"email":"example-user@example.com","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"},"account":null}}
1
+ HTTP/1.1 200 OK
2
+ server: nginx
3
+ date: Fri, 18 Dec 2015 15:19:37 GMT
4
+ content-type: application/json; charset=utf-8
5
+ connection: keep-alive
6
+ x-ratelimit-limit: 4000
7
+ x-ratelimit-remaining: 3991
8
+ x-ratelimit-reset: 1450451976
9
+ etag: W/"5ea6326bc1a8e83e5c156c564f2559f0"
10
+ cache-control: max-age=0, private, must-revalidate
11
+ x-request-id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd
12
+ x-runtime: 0.141588
13
+ strict-transport-security: max-age=31536000
14
+
15
+ {"data":{"user":{"id":1,"email":"example-user@example.com","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"},"account":null}}
@@ -1,15 +1,15 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Fri, 18 Dec 2015 15:19:37 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- X-RateLimit-Limit: 4000
7
- X-RateLimit-Remaining: 3991
8
- X-RateLimit-Reset: 1450451976
9
- ETag: W/"5ea6326bc1a8e83e5c156c564f2559f0"
10
- Cache-Control: max-age=0, private, must-revalidate
11
- X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd
12
- X-Runtime: 0.141588
13
- Strict-Transport-Security: max-age=31536000
14
-
15
- {"data":{"user":null,"account":{"id":1,"email":"example-account@example.com","plan_identifier":"teams-v1-monthly","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"}}}
1
+ HTTP/1.1 200 OK
2
+ server: nginx
3
+ date: Fri, 18 Dec 2015 15:19:37 GMT
4
+ content-type: application/json; charset=utf-8
5
+ connection: keep-alive
6
+ x-ratelimit-limit: 4000
7
+ x-ratelimit-remaining: 3991
8
+ x-ratelimit-reset: 1450451976
9
+ etag: W/"5ea6326bc1a8e83e5c156c564f2559f0"
10
+ cache-control: max-age=0, private, must-revalidate
11
+ x-request-id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd
12
+ x-runtime: 0.141588
13
+ strict-transport-security: max-age=31536000
14
+
15
+ {"data":{"user":null,"account":{"id":1,"email":"example-account@example.com","plan_identifier":"teams-v1-monthly","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"}}}
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RSpecSupportHelpers
4
-
5
4
  def http_fixture(*names)
6
5
  File.join(SPEC_ROOT, "fixtures.http", *names)
7
6
  end
@@ -9,7 +8,6 @@ module RSpecSupportHelpers
9
8
  def read_http_fixture(*names)
10
9
  File.read(http_fixture(*names))
11
10
  end
12
-
13
11
  end
14
12
 
15
13
  RSpec.configure do |config|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dnsimple
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.0.0
4
+ version: 12.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - DNSimple
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-20 00:00:00.000000000 Z
11
+ date: 2026-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -103,6 +103,7 @@ files:
103
103
  - Gemfile
104
104
  - LICENSE.txt
105
105
  - README.md
106
+ - RELEASING.md
106
107
  - Rakefile
107
108
  - UPGRADING.md
108
109
  - dnsimple.gemspec
@@ -179,11 +180,12 @@ files:
179
180
  - lib/dnsimple/struct/webhook.rb
180
181
  - lib/dnsimple/struct/whoami.rb
181
182
  - lib/dnsimple/struct/whois_privacy.rb
182
- - lib/dnsimple/struct/whois_privacy_renewal.rb
183
183
  - lib/dnsimple/struct/zone.rb
184
184
  - lib/dnsimple/struct/zone_distribution.rb
185
185
  - lib/dnsimple/struct/zone_file.rb
186
186
  - lib/dnsimple/struct/zone_record.rb
187
+ - lib/dnsimple/struct/zone_record_id.rb
188
+ - lib/dnsimple/struct/zone_records_batch_change.rb
187
189
  - lib/dnsimple/version.rb
188
190
  - spec/dnsimple/client/accounts_spec.rb
189
191
  - spec/dnsimple/client/billing_spec.rb
@@ -227,14 +229,15 @@ files:
227
229
  - spec/fixtures.http/applyTemplate/success.http
228
230
  - spec/fixtures.http/authorizeDomainTransferOut/success.http
229
231
  - spec/fixtures.http/badgateway.http
232
+ - spec/fixtures.http/batchChangeZoneRecords/error_400_create_validation_failed.http
233
+ - spec/fixtures.http/batchChangeZoneRecords/error_400_delete_validation_failed.http
234
+ - spec/fixtures.http/batchChangeZoneRecords/error_400_update_validation_failed.http
235
+ - spec/fixtures.http/batchChangeZoneRecords/success.http
230
236
  - spec/fixtures.http/cancelDomainTransfer/success.http
231
237
  - spec/fixtures.http/changeDomainDelegation/success.http
232
238
  - spec/fixtures.http/changeDomainDelegationFromVanity/success.http
233
239
  - spec/fixtures.http/changeDomainDelegationToVanity/success.http
234
240
  - spec/fixtures.http/checkDomain/success.http
235
- - spec/fixtures.http/checkDomainPremiumPrice/error_400_not_a_premium_domain.http
236
- - spec/fixtures.http/checkDomainPremiumPrice/error_400_tld_not_supported.http
237
- - spec/fixtures.http/checkDomainPremiumPrice/success.http
238
241
  - spec/fixtures.http/checkRegistrantChange/error-contactnotfound.http
239
242
  - spec/fixtures.http/checkRegistrantChange/error-domainnotfound.http
240
243
  - spec/fixtures.http/checkRegistrantChange/success.http
@@ -292,8 +295,6 @@ files:
292
295
  - spec/fixtures.http/getDomain/success.http
293
296
  - spec/fixtures.http/getDomainDelegation/success-empty.http
294
297
  - spec/fixtures.http/getDomainDelegation/success.http
295
- - spec/fixtures.http/getDomainPremiumPrice/failure.http
296
- - spec/fixtures.http/getDomainPremiumPrice/success.http
297
298
  - spec/fixtures.http/getDomainPrices/failure.http
298
299
  - spec/fixtures.http/getDomainPrices/success.http
299
300
  - spec/fixtures.http/getDomainRegistration/success.http
@@ -312,7 +313,6 @@ files:
312
313
  - spec/fixtures.http/getTldExtendedAttributes/success-noattributes.http
313
314
  - spec/fixtures.http/getTldExtendedAttributes/success.http
314
315
  - spec/fixtures.http/getWebhook/success.http
315
- - spec/fixtures.http/getWhoisPrivacy/success.http
316
316
  - spec/fixtures.http/getZone/success.http
317
317
  - spec/fixtures.http/getZoneFile/success.http
318
318
  - spec/fixtures.http/getZoneRecord/success.http
@@ -343,7 +343,7 @@ files:
343
343
  - spec/fixtures.http/method-not-allowed.http
344
344
  - spec/fixtures.http/notfound-certificate.http
345
345
  - spec/fixtures.http/notfound-contact.http
346
- - spec/fixtures.http/notfound-delegationsignerrecord.http
346
+ - spec/fixtures.http/notfound-delegationSignerRecord.http
347
347
  - spec/fixtures.http/notfound-domain.http
348
348
  - spec/fixtures.http/notfound-domainpush.http
349
349
  - spec/fixtures.http/notfound-emailforward.http
@@ -364,9 +364,6 @@ files:
364
364
  - spec/fixtures.http/rejectPush/success.http
365
365
  - spec/fixtures.http/renewDomain/error-tooearly.http
366
366
  - spec/fixtures.http/renewDomain/success.http
367
- - spec/fixtures.http/renewWhoisPrivacy/success.http
368
- - spec/fixtures.http/renewWhoisPrivacy/whois-privacy-duplicated-order.http
369
- - spec/fixtures.http/renewWhoisPrivacy/whois-privacy-not-found.http
370
367
  - spec/fixtures.http/response.http
371
368
  - spec/fixtures.http/restoreDomain/success.http
372
369
  - spec/fixtures.http/success-with-malformed-json.http
@@ -397,7 +394,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
397
394
  requirements:
398
395
  - - ">="
399
396
  - !ruby/object:Gem::Version
400
- version: '2.7'
397
+ version: '3.2'
398
+ - - "<"
399
+ - !ruby/object:Gem::Version
400
+ version: '5'
401
401
  required_rubygems_version: !ruby/object:Gem::Requirement
402
402
  requirements:
403
403
  - - ">="
@@ -1,30 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Dnsimple
4
- module Struct
5
- class WhoisPrivacyRenewal < Base
6
-
7
- # @return [Integer] The associated domain ID.
8
- attr_accessor :domain_id
9
-
10
- # @return [Integer] The associated WHOIS Privacy ID.
11
- attr_accessor :whois_privacy_id
12
-
13
- # @return [String] The WHOIS Privacy order state.
14
- attr_accessor :state
15
-
16
- # @return [Boolean] Whether the WHOIS Privacy is enabled for the domain.
17
- attr_accessor :enabled
18
-
19
- # @return [String] The date the WHOIS Privacy will expire on.
20
- attr_accessor :expires_on
21
-
22
- # @return [String] When the WHOIS Privacy was created in DNSimple.
23
- attr_accessor :created_at
24
-
25
- # @return [String] When the WHOIS Privacy was last updated in DNSimple.
26
- attr_accessor :updated_at
27
-
28
- end
29
- end
30
- end
@@ -1,18 +0,0 @@
1
- HTTP/1.1 400 Bad Request
2
- Server: nginx
3
- Date: Mon, 27 Jul 2020 13:43:02 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- X-RateLimit-Limit: 4800
7
- X-RateLimit-Remaining: 4786
8
- X-RateLimit-Reset: 1595859922
9
- Cache-Control: no-cache
10
- X-Request-Id: 382b409c-0f90-4758-af3b-0bccd31a9d0d
11
- X-Runtime: 1.346405
12
- X-Frame-Options: DENY
13
- X-Content-Type-Options: nosniff
14
- X-XSS-Protection: 1; mode=block
15
- X-Download-Options: noopen
16
- X-Permitted-Cross-Domain-Policies: none
17
-
18
- {"message":"`cocotero.love` is not a premium domain for registration"}
@@ -1,18 +0,0 @@
1
- HTTP/1.1 400 Bad Request
2
- Server: nginx
3
- Date: Mon, 27 Jul 2020 13:41:23 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- X-RateLimit-Limit: 2400
7
- X-RateLimit-Remaining: 2398
8
- X-RateLimit-Reset: 1595860823
9
- Cache-Control: no-cache
10
- X-Request-Id: 6986cca3-4f57-4814-9e81-1c484d61c7ea
11
- X-Runtime: 0.007339
12
- X-Frame-Options: DENY
13
- X-Content-Type-Options: nosniff
14
- X-XSS-Protection: 1; mode=block
15
- X-Download-Options: noopen
16
- X-Permitted-Cross-Domain-Policies: none
17
-
18
- {"message":"TLD .LOVE is not supported"}
@@ -1,20 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Mon, 27 Jul 2020 13:58:50 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- X-RateLimit-Limit: 4800
7
- X-RateLimit-Remaining: 4769
8
- X-RateLimit-Reset: 1595859923
9
- ETag: W/"54b4776b898065f2f551fc33465d0936"
10
- Cache-Control: max-age=0, private, must-revalidate
11
- X-Request-Id: 75c5090e-8000-4e95-a516-ffd09383f641
12
- X-Runtime: 2.380524
13
- X-Frame-Options: DENY
14
- X-Content-Type-Options: nosniff
15
- X-XSS-Protection: 1; mode=block
16
- X-Download-Options: noopen
17
- X-Permitted-Cross-Domain-Policies: none
18
- Strict-Transport-Security: max-age=31536000
19
-
20
- {"data":{"premium_price":"2640.00","action":"registration"}}
@@ -1,15 +0,0 @@
1
- HTTP/1.1 400 Bad Request
2
- Server: nginx
3
- Date: Tue, 22 Nov 2016 10:48:27 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- Cache-Control: no-cache
7
- X-Request-Id: 1304138f-0fc7-4845-b9ed-e3803409cb5a
8
- X-Runtime: 1.421413
9
- X-Content-Type-Options: nosniff
10
- X-Download-Options: noopen
11
- X-Frame-Options: DENY
12
- X-Permitted-Cross-Domain-Policies: none
13
- X-XSS-Protection: 1; mode=block
14
-
15
- {"message":"`example.com` is not a premium domain for registration"}
@@ -1,20 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Tue, 22 Nov 2016 10:46:17 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- X-RateLimit-Limit: 2400
7
- X-RateLimit-Remaining: 2399
8
- X-RateLimit-Reset: 1479815177
9
- ETag: W/"7ed6ab997deeafd985a5782df2d86b04"
10
- Cache-Control: max-age=0, private, must-revalidate
11
- X-Request-Id: 54731b91-cd76-4d08-9481-c0f55f47996d
12
- X-Runtime: 1.013083
13
- X-Content-Type-Options: nosniff
14
- X-Download-Options: noopen
15
- X-Frame-Options: DENY
16
- X-Permitted-Cross-Domain-Policies: none
17
- X-XSS-Protection: 1; mode=block
18
- Strict-Transport-Security: max-age=31536000
19
-
20
- {"data":{"premium_price":"109.00","action":"registration"}}
@@ -1,16 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Sat, 13 Feb 2016 14:35:37 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- Status: 200 OK
7
- X-RateLimit-Limit: 4000
8
- X-RateLimit-Remaining: 3996
9
- X-RateLimit-Reset: 1455377135
10
- ETag: W/"10be37d45cd224b2178b8a2f86c466ea"
11
- Cache-Control: max-age=0, private, must-revalidate
12
- X-Request-Id: 78afe010-0f54-4d39-9ed3-08c67d545a35
13
- X-Runtime: 0.031770
14
- Strict-Transport-Security: max-age=31536000
15
-
16
- {"data":{"id":1,"domain_id":2,"expires_on":"2017-02-13","enabled":true,"created_at":"2016-02-13T14:34:50Z","updated_at":"2016-02-13T14:34:52Z"}}
@@ -1,11 +0,0 @@
1
- HTTP/1.1 404 Not Found
2
- Server: nginx
3
- Date: Thu, 04 Feb 2016 14:44:56 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- Status: 404 Not Found
7
- Cache-Control: no-cache
8
- X-Request-Id: 50eea494-cc14-4db0-bc11-306aa525bbfd
9
- X-Runtime: 0.028036
10
-
11
- {"message":"Delegation signer record `0` not found"}
@@ -1,20 +0,0 @@
1
- HTTP/1.1 201 Created
2
- Server: nginx
3
- Date: Thu, 10 Jan 2019 12:12:50 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- X-RateLimit-Limit: 2400
7
- X-RateLimit-Remaining: 2398
8
- X-RateLimit-Reset: 1547125899
9
- ETag: W/"e5bf5d90a6c95e5f1443dcbaf2cc27c6"
10
- Cache-Control: max-age=0, private, must-revalidate
11
- X-Request-Id: 6e80e830-21ae-46ea-9191-98811884808a
12
- X-Runtime: 1.459325
13
- X-Frame-Options: DENY
14
- X-Content-Type-Options: nosniff
15
- X-XSS-Protection: 1; mode=block
16
- X-Download-Options: noopen
17
- X-Permitted-Cross-Domain-Policies: none
18
- Strict-Transport-Security: max-age=31536000
19
-
20
- {"data":{"id":1,"domain_id":100,"whois_privacy_id":999,"state":"new","expires_on":"2020-01-10","enabled":true,"created_at":"2019-01-10T12:12:48Z","updated_at":"2019-01-10T12:12:48Z"}}
@@ -1,18 +0,0 @@
1
- HTTP/1.1 400 Bad Request
2
- Server: nginx
3
- Date: Thu, 10 Jan 2019 12:13:21 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- X-RateLimit-Limit: 2400
7
- X-RateLimit-Remaining: 2397
8
- X-RateLimit-Reset: 1547125899
9
- Cache-Control: no-cache
10
- X-Request-Id: 16cc92bb-fe38-434b-b483-602d77ac77d3
11
- X-Runtime: 0.122201
12
- X-Frame-Options: DENY
13
- X-Content-Type-Options: nosniff
14
- X-XSS-Protection: 1; mode=block
15
- X-Download-Options: noopen
16
- X-Permitted-Cross-Domain-Policies: none
17
-
18
- {"message":"The whois privacy for example.com has just been renewed, a new renewal cannot be started at this time"}
@@ -1,18 +0,0 @@
1
- HTTP/1.1 400 Bad Request
2
- Server: nginx
3
- Date: Thu, 10 Jan 2019 12:11:39 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- X-RateLimit-Limit: 2400
7
- X-RateLimit-Remaining: 2399
8
- X-RateLimit-Reset: 1547125899
9
- Cache-Control: no-cache
10
- X-Request-Id: 2727b7c4-97af-4e22-9c7f-bd84e20f2dc1
11
- X-Runtime: 0.139925
12
- X-Frame-Options: DENY
13
- X-Content-Type-Options: nosniff
14
- X-XSS-Protection: 1; mode=block
15
- X-Download-Options: noopen
16
- X-Permitted-Cross-Domain-Policies: none
17
-
18
- {"message":"WHOIS privacy not found for example.com"}