dnsimple 11.1.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 (269) 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 +13 -41
  7. data/.rubocop_todo.yml +4 -9
  8. data/CHANGELOG.md +285 -183
  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 +29 -31
  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 +0 -2
  91. data/lib/dnsimple/struct/zone_records_batch_change.rb +0 -2
  92. data/lib/dnsimple/struct.rb +0 -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/oauth_spec.rb +6 -6
  97. data/spec/dnsimple/client/registrar_whois_privacy_spec.rb +0 -82
  98. data/spec/fixtures.http/acceptPush/success.http +15 -15
  99. data/spec/fixtures.http/accounts/success-account.http +20 -20
  100. data/spec/fixtures.http/accounts/success-user.http +21 -21
  101. data/spec/fixtures.http/activateZoneService/success.http +16 -16
  102. data/spec/fixtures.http/appliedServices/success.http +19 -19
  103. data/spec/fixtures.http/applyService/success.http +15 -15
  104. data/spec/fixtures.http/applyTemplate/success.http +13 -13
  105. data/spec/fixtures.http/authorizeDomainTransferOut/success.http +13 -13
  106. data/spec/fixtures.http/badgateway.http +5 -5
  107. data/spec/fixtures.http/batchChangeZoneRecords/error_400_create_validation_failed.http +16 -16
  108. data/spec/fixtures.http/batchChangeZoneRecords/error_400_delete_validation_failed.http +3 -3
  109. data/spec/fixtures.http/batchChangeZoneRecords/error_400_update_validation_failed.http +3 -3
  110. data/spec/fixtures.http/batchChangeZoneRecords/success.http +16 -16
  111. data/spec/fixtures.http/cancelDomainTransfer/success.http +17 -17
  112. data/spec/fixtures.http/changeDomainDelegation/success.http +15 -15
  113. data/spec/fixtures.http/changeDomainDelegationFromVanity/success.http +15 -15
  114. data/spec/fixtures.http/changeDomainDelegationToVanity/success.http +17 -17
  115. data/spec/fixtures.http/checkDomain/success.http +15 -15
  116. data/spec/fixtures.http/checkRegistrantChange/error-contactnotfound.http +3 -3
  117. data/spec/fixtures.http/checkRegistrantChange/error-domainnotfound.http +3 -3
  118. data/spec/fixtures.http/checkRegistrantChange/success.http +15 -15
  119. data/spec/fixtures.http/checkZoneDistribution/error.http +17 -17
  120. data/spec/fixtures.http/checkZoneDistribution/failure.http +17 -17
  121. data/spec/fixtures.http/checkZoneDistribution/success.http +17 -17
  122. data/spec/fixtures.http/checkZoneRecordDistribution/error.http +17 -17
  123. data/spec/fixtures.http/checkZoneRecordDistribution/failure.http +17 -17
  124. data/spec/fixtures.http/checkZoneRecordDistribution/success.http +17 -17
  125. data/spec/fixtures.http/createContact/created.http +16 -16
  126. data/spec/fixtures.http/createContact/error-validation-errors.http +15 -15
  127. data/spec/fixtures.http/createDelegationSignerRecord/created.http +17 -17
  128. data/spec/fixtures.http/createDelegationSignerRecord/validation-error.http +15 -15
  129. data/spec/fixtures.http/createDomain/created.http +19 -19
  130. data/spec/fixtures.http/createEmailForward/created.http +21 -21
  131. data/spec/fixtures.http/createPrimaryServer/created.http +20 -20
  132. data/spec/fixtures.http/createRegistrantChange/success.http +14 -14
  133. data/spec/fixtures.http/createSecondaryZone/created.http +20 -20
  134. data/spec/fixtures.http/createTemplate/created.http +15 -15
  135. data/spec/fixtures.http/createTemplateRecord/created.http +16 -16
  136. data/spec/fixtures.http/createWebhook/created.http +13 -13
  137. data/spec/fixtures.http/createZoneRecord/created-apex.http +13 -13
  138. data/spec/fixtures.http/createZoneRecord/created.http +13 -13
  139. data/spec/fixtures.http/deactivateZoneService/success.http +16 -16
  140. data/spec/fixtures.http/deleteContact/error-contact-in-use.http +15 -15
  141. data/spec/fixtures.http/deleteContact/success.http +13 -13
  142. data/spec/fixtures.http/deleteDelegationSignerRecord/success.http +15 -15
  143. data/spec/fixtures.http/deleteDomain/success.http +11 -11
  144. data/spec/fixtures.http/deleteEmailForward/success.http +18 -18
  145. data/spec/fixtures.http/deleteRegistrantChange/success.http +13 -13
  146. data/spec/fixtures.http/deleteRegistrantChange/success_async.http +3 -3
  147. data/spec/fixtures.http/deleteTemplate/success.http +13 -13
  148. data/spec/fixtures.http/deleteTemplateRecord/success.http +13 -13
  149. data/spec/fixtures.http/deleteWebhook/success.http +13 -13
  150. data/spec/fixtures.http/deleteZoneRecord/success.http +11 -11
  151. data/spec/fixtures.http/disableDnssec/not-enabled.http +15 -15
  152. data/spec/fixtures.http/disableDnssec/success.http +15 -15
  153. data/spec/fixtures.http/disableDomainAutoRenewal/success.http +13 -13
  154. data/spec/fixtures.http/disableDomainTransferLock/success.http +17 -17
  155. data/spec/fixtures.http/disableVanityNameServers/success.http +15 -15
  156. data/spec/fixtures.http/disableWhoisPrivacy/success.http +16 -16
  157. data/spec/fixtures.http/dnsAnalytics/success.http +17 -17
  158. data/spec/fixtures.http/downloadCertificate/success.http +19 -19
  159. data/spec/fixtures.http/enableDnssec/success.http +17 -17
  160. data/spec/fixtures.http/enableDomainAutoRenewal/success.http +13 -13
  161. data/spec/fixtures.http/enableDomainTransferLock/success.http +17 -17
  162. data/spec/fixtures.http/enableVanityNameServers/success.http +17 -17
  163. data/spec/fixtures.http/enableWhoisPrivacy/created.http +16 -16
  164. data/spec/fixtures.http/enableWhoisPrivacy/success.http +16 -16
  165. data/spec/fixtures.http/getCertificate/success.http +19 -19
  166. data/spec/fixtures.http/getCertificatePrivateKey/success.http +20 -20
  167. data/spec/fixtures.http/getContact/success.http +16 -16
  168. data/spec/fixtures.http/getDelegationSignerRecord/success.http +17 -17
  169. data/spec/fixtures.http/getDnssec/success.http +17 -17
  170. data/spec/fixtures.http/getDomain/success.http +19 -19
  171. data/spec/fixtures.http/getDomainDelegation/success-empty.http +15 -15
  172. data/spec/fixtures.http/getDomainDelegation/success.http +15 -15
  173. data/spec/fixtures.http/getDomainPrices/failure.http +18 -18
  174. data/spec/fixtures.http/getDomainPrices/success.http +21 -21
  175. data/spec/fixtures.http/getDomainRegistration/success.http +20 -20
  176. data/spec/fixtures.http/getDomainRenewal/success.http +20 -20
  177. data/spec/fixtures.http/getDomainRestore/success.http +22 -22
  178. data/spec/fixtures.http/getDomainTransfer/success.http +19 -19
  179. data/spec/fixtures.http/getDomainTransferLock/success.http +17 -17
  180. data/spec/fixtures.http/getEmailForward/success.http +21 -21
  181. data/spec/fixtures.http/getPrimaryServer/success.http +20 -20
  182. data/spec/fixtures.http/getRegistrantChange/success.http +15 -15
  183. data/spec/fixtures.http/getService/success.http +16 -16
  184. data/spec/fixtures.http/getTemplate/success.http +15 -15
  185. data/spec/fixtures.http/getTemplateRecord/success.http +16 -16
  186. data/spec/fixtures.http/getTld/success.http +20 -20
  187. data/spec/fixtures.http/getTldExtendedAttributes/success-attributes.http +15 -15
  188. data/spec/fixtures.http/getTldExtendedAttributes/success-noattributes.http +15 -15
  189. data/spec/fixtures.http/getTldExtendedAttributes/success.http +15 -15
  190. data/spec/fixtures.http/getWebhook/success.http +13 -13
  191. data/spec/fixtures.http/getZone/success.http +16 -16
  192. data/spec/fixtures.http/getZoneFile/success.http +17 -17
  193. data/spec/fixtures.http/getZoneRecord/success.http +17 -17
  194. data/spec/fixtures.http/initiatePush/success.http +17 -17
  195. data/spec/fixtures.http/issueLetsencryptCertificate/success.http +17 -17
  196. data/spec/fixtures.http/issueRenewalLetsencryptCertificate/success.http +17 -17
  197. data/spec/fixtures.http/linkPrimaryServer/success.http +20 -20
  198. data/spec/fixtures.http/listAccounts/success-account.http +20 -20
  199. data/spec/fixtures.http/listAccounts/success-user.http +20 -20
  200. data/spec/fixtures.http/listCertificates/success.http +19 -19
  201. data/spec/fixtures.http/listCharges/fail-400-bad-filter.http +9 -9
  202. data/spec/fixtures.http/listCharges/fail-403.http +9 -9
  203. data/spec/fixtures.http/listCharges/success.http +9 -9
  204. data/spec/fixtures.http/listContacts/success.http +16 -16
  205. data/spec/fixtures.http/listDelegationSignerRecords/success.http +17 -17
  206. data/spec/fixtures.http/listDomains/success.http +19 -19
  207. data/spec/fixtures.http/listEmailForwards/success.http +13 -13
  208. data/spec/fixtures.http/listPrimaryServers/success.http +20 -20
  209. data/spec/fixtures.http/listPushes/success.http +17 -17
  210. data/spec/fixtures.http/listRegistrantChanges/success.http +15 -15
  211. data/spec/fixtures.http/listServices/success.http +17 -17
  212. data/spec/fixtures.http/listTemplateRecords/success.http +16 -16
  213. data/spec/fixtures.http/listTemplates/success.http +15 -15
  214. data/spec/fixtures.http/listTlds/success.http +20 -20
  215. data/spec/fixtures.http/listWebhooks/success.http +13 -13
  216. data/spec/fixtures.http/listZoneRecords/success.http +17 -17
  217. data/spec/fixtures.http/listZones/success.http +16 -16
  218. data/spec/fixtures.http/method-not-allowed.http +8 -8
  219. data/spec/fixtures.http/notfound-certificate.http +12 -12
  220. data/spec/fixtures.http/notfound-contact.http +10 -10
  221. data/spec/fixtures.http/notfound-delegationSignerRecord.http +8 -8
  222. data/spec/fixtures.http/notfound-domain.http +8 -8
  223. data/spec/fixtures.http/notfound-domainpush.http +8 -8
  224. data/spec/fixtures.http/notfound-emailforward.http +8 -8
  225. data/spec/fixtures.http/notfound-record.http +10 -10
  226. data/spec/fixtures.http/notfound-template.http +10 -10
  227. data/spec/fixtures.http/notfound-webhook.http +8 -8
  228. data/spec/fixtures.http/notfound-whoisprivacy.http +10 -10
  229. data/spec/fixtures.http/notfound-zone.http +10 -10
  230. data/spec/fixtures.http/oauthAccessToken/error-invalid-request.http +12 -12
  231. data/spec/fixtures.http/oauthAccessToken/success.http +16 -16
  232. data/spec/fixtures.http/pages-1of3.http +12 -12
  233. data/spec/fixtures.http/pages-2of3.http +12 -12
  234. data/spec/fixtures.http/pages-3of3.http +12 -12
  235. data/spec/fixtures.http/purchaseLetsencryptCertificate/success.http +19 -19
  236. data/spec/fixtures.http/purchaseRenewalLetsencryptCertificate/success.http +19 -19
  237. data/spec/fixtures.http/registerDomain/error-extended-attributes.http +15 -15
  238. data/spec/fixtures.http/registerDomain/success.http +20 -20
  239. data/spec/fixtures.http/rejectPush/success.http +15 -15
  240. data/spec/fixtures.http/renewDomain/error-tooearly.http +14 -14
  241. data/spec/fixtures.http/renewDomain/success.http +20 -20
  242. data/spec/fixtures.http/response.http +12 -12
  243. data/spec/fixtures.http/restoreDomain/success.http +22 -22
  244. data/spec/fixtures.http/success-with-malformed-json.http +4 -4
  245. data/spec/fixtures.http/transferDomain/error-indnsimple.http +13 -13
  246. data/spec/fixtures.http/transferDomain/error-missing-authcode.http +13 -13
  247. data/spec/fixtures.http/transferDomain/success.http +20 -20
  248. data/spec/fixtures.http/unapplyService/success.http +15 -15
  249. data/spec/fixtures.http/unlinkPrimaryServer/success.http +20 -20
  250. data/spec/fixtures.http/updateContact/success.http +16 -16
  251. data/spec/fixtures.http/updateTemplate/success.http +15 -15
  252. data/spec/fixtures.http/updateZoneNsRecords/success.http +16 -16
  253. data/spec/fixtures.http/updateZoneRecord/success.http +17 -17
  254. data/spec/fixtures.http/validation-error.http +15 -15
  255. data/spec/fixtures.http/whoami/success-account.http +15 -15
  256. data/spec/fixtures.http/whoami/success-user.http +15 -15
  257. data/spec/fixtures.http/whoami/success.http +15 -15
  258. data/spec/support/helpers.rb +0 -2
  259. metadata +7 -13
  260. data/lib/dnsimple/struct/whois_privacy_renewal.rb +0 -30
  261. data/spec/fixtures.http/checkDomainPremiumPrice/error_400_not_a_premium_domain.http +0 -18
  262. data/spec/fixtures.http/checkDomainPremiumPrice/error_400_tld_not_supported.http +0 -18
  263. data/spec/fixtures.http/checkDomainPremiumPrice/success.http +0 -20
  264. data/spec/fixtures.http/getDomainPremiumPrice/failure.http +0 -15
  265. data/spec/fixtures.http/getDomainPremiumPrice/success.http +0 -20
  266. data/spec/fixtures.http/getWhoisPrivacy/success.http +0 -16
  267. data/spec/fixtures.http/renewWhoisPrivacy/success.http +0 -20
  268. data/spec/fixtures.http/renewWhoisPrivacy/whois-privacy-duplicated-order.http +0 -18
  269. data/spec/fixtures.http/renewWhoisPrivacy/whois-privacy-not-found.http +0 -18
@@ -1,18 +1,18 @@
1
- HTTP/1.1 202 Accepted
2
- Server: nginx
3
- Date: Fri, 05 Jun 2020 18:09:42 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- X-RateLimit-Limit: 2400
7
- X-RateLimit-Remaining: 2394
8
- X-RateLimit-Reset: 1591384034
9
- Cache-Control: no-cache
10
- X-Request-Id: 3cf6dcfa-0bb5-439e-863a-af2ef08bc830
11
- X-Runtime: 0.912731
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
-
1
+ HTTP/1.1 202 Accepted
2
+ server: nginx
3
+ date: Fri, 05 Jun 2020 18:09:42 GMT
4
+ content-type: application/json; charset=utf-8
5
+ connection: keep-alive
6
+ x-ratelimit-limit: 2400
7
+ x-ratelimit-remaining: 2394
8
+ x-ratelimit-reset: 1591384034
9
+ cache-control: no-cache
10
+ x-request-id: 3cf6dcfa-0bb5-439e-863a-af2ef08bc830
11
+ x-runtime: 0.912731
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
18
  {"data":{"id":361,"domain_id":182245,"registrant_id":2715,"state":"transferring","auto_renew":false,"whois_privacy":false,"status_description":null,"created_at":"2020-06-05T18:08:00Z","updated_at":"2020-06-05T18:08:04Z"}}
@@ -1,16 +1,16 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Thu, 24 Mar 2016 11:17:01 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: 2392
9
- X-RateLimit-Reset: 1458821049
10
- ETag: W/"cb540984f806b12ac437cc1f76092f90"
11
- Cache-Control: max-age=0, private, must-revalidate
12
- X-Request-Id: 0ea7bdd2-63ca-4eef-9c41-4a83d2fe0067
13
- X-Runtime: 2.845860
14
- Strict-Transport-Security: max-age=31536000
15
-
1
+ HTTP/1.1 200 OK
2
+ server: nginx
3
+ date: Thu, 24 Mar 2016 11:17:01 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: 2392
9
+ x-ratelimit-reset: 1458821049
10
+ etag: W/"cb540984f806b12ac437cc1f76092f90"
11
+ cache-control: max-age=0, private, must-revalidate
12
+ x-request-id: 0ea7bdd2-63ca-4eef-9c41-4a83d2fe0067
13
+ x-runtime: 2.845860
14
+ strict-transport-security: max-age=31536000
15
+
16
16
  {"data":["ns1.dnsimple.com","ns2.dnsimple.com","ns3.dnsimple.com","ns4.dnsimple.com"]}
@@ -1,17 +1,17 @@
1
1
  HTTP/1.1 204 No Content
2
- Server: nginx
3
- Date: Mon, 11 Jul 2016 09:55:23 GMT
4
- Connection: keep-alive
5
- X-RateLimit-Limit: 2400
6
- X-RateLimit-Remaining: 2398
7
- X-RateLimit-Reset: 1468233619
8
- Cache-Control: no-cache
9
- X-Request-Id: 334a5c9c-8205-414c-bca2-db0469ed0b4a
10
- X-Runtime: 0.385941
11
- X-Content-Type-Options: nosniff
12
- X-Download-Options: noopen
13
- X-Frame-Options: DENY
14
- X-Permitted-Cross-Domain-Policies: none
15
- X-XSS-Protection: 1; mode=block
16
- Strict-Transport-Security: max-age=31536000
2
+ server: nginx
3
+ date: Mon, 11 Jul 2016 09:55:23 GMT
4
+ connection: keep-alive
5
+ x-ratelimit-limit: 2400
6
+ x-ratelimit-remaining: 2398
7
+ x-ratelimit-reset: 1468233619
8
+ cache-control: no-cache
9
+ x-request-id: 334a5c9c-8205-414c-bca2-db0469ed0b4a
10
+ x-runtime: 0.385941
11
+ x-content-type-options: nosniff
12
+ x-download-options: noopen
13
+ x-frame-options: DENY
14
+ x-permitted-cross-domain-policies: none
15
+ x-xss-protection: 1; mode=block
16
+ strict-transport-security: max-age=31536000
17
17
 
@@ -1,20 +1,20 @@
1
1
  HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Mon, 11 Jul 2016 09:40:19 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: 1468233619
9
- ETag: W/"ca1610ec571d766d1c1eda330b4fe9d6"
10
- Cache-Control: max-age=0, private, must-revalidate
11
- X-Request-Id: 931e4d9b-88ea-4723-b1b4-4b29c49b88b5
12
- X-Runtime: 0.270340
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: Mon, 11 Jul 2016 09:40:19 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: 1468233619
9
+ etag: W/"ca1610ec571d766d1c1eda330b4fe9d6"
10
+ cache-control: max-age=0, private, must-revalidate
11
+ x-request-id: 931e4d9b-88ea-4723-b1b4-4b29c49b88b5
12
+ x-runtime: 0.270340
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":1,"name":"ns1.example.com","ipv4":"127.0.0.1","ipv6":"::1","created_at":"2016-07-11T09:40:19Z","updated_at":"2016-07-11T09:40:19Z"},{"id":2,"name":"ns2.example.com","ipv4":"127.0.0.1","ipv6":"::1","created_at":"2016-07-11T09:40:19Z","updated_at":"2016-07-11T09:40:19Z"}]}
@@ -1,16 +1,16 @@
1
- HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Fri, 26 Feb 2016 16:04:05 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: 3999
9
- X-RateLimit-Reset: 1456506245
10
- ETag: W/"f3cf8499e935e48401aae26842f712c4"
11
- Cache-Control: max-age=0, private, must-revalidate
12
- X-Request-Id: e3c6fac1-a36d-42c3-8a04-d68f127add18
13
- X-Runtime: 0.605907
14
- Strict-Transport-Security: max-age=31536000
15
-
1
+ HTTP/1.1 200 OK
2
+ server: nginx
3
+ date: Fri, 26 Feb 2016 16:04:05 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: 3999
9
+ x-ratelimit-reset: 1456506245
10
+ etag: W/"f3cf8499e935e48401aae26842f712c4"
11
+ cache-control: max-age=0, private, must-revalidate
12
+ x-request-id: e3c6fac1-a36d-42c3-8a04-d68f127add18
13
+ x-runtime: 0.605907
14
+ strict-transport-security: max-age=31536000
15
+
16
16
  {"data":{"domain":"ruby.codes","available":true,"premium":true}}
@@ -2,9 +2,9 @@ HTTP/1.1 404
2
2
  server: nginx
3
3
  date: Tue, 22 Aug 2023 13:59:02 GMT
4
4
  content-type: application/json; charset=utf-8
5
- X-RateLimit-Limit: 2400
6
- X-RateLimit-Remaining: 2398
7
- X-RateLimit-Reset: 1692716201
5
+ x-ratelimit-limit: 2400
6
+ x-ratelimit-remaining: 2398
7
+ x-ratelimit-reset: 1692716201
8
8
  x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
9
9
  cache-control: no-cache
10
10
  x-request-id: b1dd3f42-ebb9-42fd-a121-d595de96f667
@@ -2,9 +2,9 @@ HTTP/1.1 404
2
2
  server: nginx
3
3
  date: Tue, 22 Aug 2023 11:09:40 GMT
4
4
  content-type: application/json; charset=utf-8
5
- X-RateLimit-Limit: 2400
6
- X-RateLimit-Remaining: 2395
7
- X-RateLimit-Reset: 1692705338
5
+ x-ratelimit-limit: 2400
6
+ x-ratelimit-remaining: 2395
7
+ x-ratelimit-reset: 1692705338
8
8
  x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
9
9
  etag: W/"cef1e7d85d0b9bfd25e81b812891d34f"
10
10
  cache-control: max-age=0, private, must-revalidate
@@ -1,15 +1,15 @@
1
- HTTP/1.1 200
2
- server: nginx
3
- date: Tue, 22 Aug 2023 11:09:40 GMT
4
- content-type: application/json; charset=utf-8
5
- X-RateLimit-Limit: 2400
6
- X-RateLimit-Remaining: 2395
7
- X-RateLimit-Reset: 1692705338
8
- x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
9
- etag: W/"cef1e7d85d0b9bfd25e81b812891d34f"
10
- cache-control: max-age=0, private, must-revalidate
11
- x-request-id: 5b0d8bfb-7b6a-40b5-a079-b640fd817e34
12
- x-runtime: 3.066249
13
- strict-transport-security: max-age=63072000
14
-
15
- {"data":{"domain_id":101,"contact_id":101,"extended_attributes":[],"registry_owner_change":true}}
1
+ HTTP/1.1 200
2
+ server: nginx
3
+ date: Tue, 22 Aug 2023 11:09:40 GMT
4
+ content-type: application/json; charset=utf-8
5
+ x-ratelimit-limit: 2400
6
+ x-ratelimit-remaining: 2395
7
+ x-ratelimit-reset: 1692705338
8
+ x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
9
+ etag: W/"cef1e7d85d0b9bfd25e81b812891d34f"
10
+ cache-control: max-age=0, private, must-revalidate
11
+ x-request-id: 5b0d8bfb-7b6a-40b5-a079-b640fd817e34
12
+ x-runtime: 3.066249
13
+ strict-transport-security: max-age=63072000
14
+
15
+ {"data":{"domain_id":101,"contact_id":101,"extended_attributes":[],"registry_owner_change":true}}
@@ -1,20 +1,20 @@
1
1
  HTTP/1.1 504 Gateway Timeout
2
- Server: nginx
3
- Date: Mon, 30 Oct 2017 09:09:41 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: 1509358181
9
- ETag: W/"10fc650d019e6bffa876f08bce8f3380"
10
- Cache-Control: max-age=0, private, must-revalidate
11
- X-Request-Id: 91f124fc-671d-40fa-877b-0b222692f623
12
- X-Runtime: 0.471005
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: Mon, 30 Oct 2017 09:09:41 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: 1509358181
9
+ etag: W/"10fc650d019e6bffa876f08bce8f3380"
10
+ cache-control: max-age=0, private, must-revalidate
11
+ x-request-id: 91f124fc-671d-40fa-877b-0b222692f623
12
+ x-runtime: 0.471005
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
  {"message":"Could not query zone, connection timed out"}
@@ -1,20 +1,20 @@
1
1
  HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Mon, 30 Oct 2017 09:09:41 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: 1509358181
9
- ETag: W/"10fc650d019e6bffa876f08bce8f3380"
10
- Cache-Control: max-age=0, private, must-revalidate
11
- X-Request-Id: 91f124fc-671d-40fa-877b-0b222692f623
12
- X-Runtime: 0.471005
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: Mon, 30 Oct 2017 09:09:41 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: 1509358181
9
+ etag: W/"10fc650d019e6bffa876f08bce8f3380"
10
+ cache-control: max-age=0, private, must-revalidate
11
+ x-request-id: 91f124fc-671d-40fa-877b-0b222692f623
12
+ x-runtime: 0.471005
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":{"distributed":false}}
@@ -1,20 +1,20 @@
1
1
  HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Mon, 30 Oct 2017 09:09:41 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: 1509358181
9
- ETag: W/"10fc650d019e6bffa876f08bce8f3380"
10
- Cache-Control: max-age=0, private, must-revalidate
11
- X-Request-Id: 91f124fc-671d-40fa-877b-0b222692f623
12
- X-Runtime: 0.471005
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: Mon, 30 Oct 2017 09:09:41 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: 1509358181
9
+ etag: W/"10fc650d019e6bffa876f08bce8f3380"
10
+ cache-control: max-age=0, private, must-revalidate
11
+ x-request-id: 91f124fc-671d-40fa-877b-0b222692f623
12
+ x-runtime: 0.471005
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":{"distributed":true}}
@@ -1,20 +1,20 @@
1
1
  HTTP/1.1 504 Gateway Timeout
2
- Server: nginx
3
- Date: Mon, 18 Dec 2017 10:54:48 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: 1513597686
9
- ETag: W/"10fc650d019e6bffa876f08bce8f3380"
10
- Cache-Control: max-age=0, private, must-revalidate
11
- X-Request-Id: 74059b13-9262-4e2d-b8ff-a833376dce19
12
- X-Runtime: 0.408180
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: Mon, 18 Dec 2017 10:54:48 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: 1513597686
9
+ etag: W/"10fc650d019e6bffa876f08bce8f3380"
10
+ cache-control: max-age=0, private, must-revalidate
11
+ x-request-id: 74059b13-9262-4e2d-b8ff-a833376dce19
12
+ x-runtime: 0.408180
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
  {"message":"Could not query zone, connection timed out"}
@@ -1,20 +1,20 @@
1
1
  HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Mon, 18 Dec 2017 10:54:13 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: 1513597686
9
- ETag: W/"10fc650d019e6bffa876f08bce8f3380"
10
- Cache-Control: max-age=0, private, must-revalidate
11
- X-Request-Id: f5a86610-0e22-4047-a27c-350769eaa6d5
12
- X-Runtime: 0.425440
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: Mon, 18 Dec 2017 10:54:13 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: 1513597686
9
+ etag: W/"10fc650d019e6bffa876f08bce8f3380"
10
+ cache-control: max-age=0, private, must-revalidate
11
+ x-request-id: f5a86610-0e22-4047-a27c-350769eaa6d5
12
+ x-runtime: 0.425440
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":{"distributed":false}}
@@ -1,20 +1,20 @@
1
1
  HTTP/1.1 200 OK
2
- Server: nginx
3
- Date: Mon, 18 Dec 2017 10:48:06 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: 1513597686
9
- ETag: W/"10fc650d019e6bffa876f08bce8f3380"
10
- Cache-Control: max-age=0, private, must-revalidate
11
- X-Request-Id: 34c69751-ffee-4856-ac28-ead4f3a66e18
12
- X-Runtime: 0.438473
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: Mon, 18 Dec 2017 10:48:06 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: 1513597686
9
+ etag: W/"10fc650d019e6bffa876f08bce8f3380"
10
+ cache-control: max-age=0, private, must-revalidate
11
+ x-request-id: 34c69751-ffee-4856-ac28-ead4f3a66e18
12
+ x-runtime: 0.438473
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":{"distributed":true}}
@@ -1,16 +1,16 @@
1
- HTTP/1.1 201 Created
2
- Server: nginx
3
- Date: Tue, 19 Jan 2016 20:50:26 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- Status: 201 Created
7
- X-RateLimit-Limit: 4000
8
- X-RateLimit-Remaining: 3997
9
- X-RateLimit-Reset: 1453239045
10
- ETag: W/"165299b0ea3e5c1c80f1ae622146626f"
11
- Cache-Control: max-age=0, private, must-revalidate
12
- X-Request-Id: 9f577b9e-5bc4-4a8f-adfb-09dbb1992b0e
13
- X-Runtime: 0.061482
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 201 Created
2
+ server: nginx
3
+ date: Tue, 19 Jan 2016 20:50:26 GMT
4
+ content-type: application/json; charset=utf-8
5
+ connection: keep-alive
6
+ status: 201 Created
7
+ x-ratelimit-limit: 4000
8
+ x-ratelimit-remaining: 3997
9
+ x-ratelimit-reset: 1453239045
10
+ etag: W/"165299b0ea3e5c1c80f1ae622146626f"
11
+ cache-control: max-age=0, private, must-revalidate
12
+ x-request-id: 9f577b9e-5bc4-4a8f-adfb-09dbb1992b0e
13
+ x-runtime: 0.061482
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,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,20 +1,20 @@
1
1
  HTTP/1.1 201 Created
2
- Server: nginx
3
- Date: Fri, 03 Mar 2017 15:24:00 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: 1488558240
9
- ETag: W/"6443c4a27424c31a2a08e941be6319a4"
10
- Cache-Control: max-age=0, private, must-revalidate
11
- X-Request-Id: 44b1448f-c7da-4988-ba5a-5b7f9892b1d2
12
- X-Runtime: 0.351659
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: Fri, 03 Mar 2017 15:24:00 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: 1488558240
9
+ etag: W/"6443c4a27424c31a2a08e941be6319a4"
10
+ cache-control: max-age=0, private, must-revalidate
11
+ x-request-id: 44b1448f-c7da-4988-ba5a-5b7f9892b1d2
12
+ x-runtime: 0.351659
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":2,"domain_id":1010,"algorithm":"13","digest":"684a1f049d7d082b7f98691657da5a65764913df7f065f6f8c36edf62d66ca03","digest_type":"2","keytag":"2371","public_key":null,"created_at":"2017-03-03T15:24:00Z","updated_at":"2017-03-03T15:24:00Z"}}
@@ -1,18 +1,18 @@
1
1
  HTTP/1.1 400 Bad Request
2
- Server: nginx
3
- Date: Fri, 03 Mar 2017 15:20:28 GMT
4
- Content-Type: application/json; charset=utf-8
5
- Connection: keep-alive
6
- X-RateLimit-Limit: 2400
7
- X-RateLimit-Remaining: 2395
8
- X-RateLimit-Reset: 1488554574
9
- Cache-Control: no-cache
10
- X-Request-Id: bf652af9-54cd-42c7-8fd3-2f52e2baea4b
11
- X-Runtime: 0.350846
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: Fri, 03 Mar 2017 15:20:28 GMT
4
+ content-type: application/json; charset=utf-8
5
+ connection: keep-alive
6
+ x-ratelimit-limit: 2400
7
+ x-ratelimit-remaining: 2395
8
+ x-ratelimit-reset: 1488554574
9
+ cache-control: no-cache
10
+ x-request-id: bf652af9-54cd-42c7-8fd3-2f52e2baea4b
11
+ x-runtime: 0.350846
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":{"algorithm":["can't be blank"],"digest":["can't be blank"],"digest_type":["can't be blank"],"keytag":["can't be blank"]}}