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.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +10 -5
- data/.github/workflows/release.yml +44 -13
- data/.github/workflows/sync-test-fixtures.yml +1 -1
- data/.rubocop.yml +4 -1
- data/.rubocop_dnsimple.yml +14 -42
- data/.rubocop_todo.yml +4 -9
- data/CHANGELOG.md +287 -181
- data/CONTRIBUTING.md +6 -40
- data/Gemfile +1 -1
- data/LICENSE.txt +1 -1
- data/README.md +49 -40
- data/RELEASING.md +67 -0
- data/dnsimple.gemspec +1 -1
- data/lib/dnsimple/client/accounts.rb +1 -3
- data/lib/dnsimple/client/billing.rb +2 -4
- data/lib/dnsimple/client/certificates.rb +0 -2
- data/lib/dnsimple/client/clients.rb +2 -40
- data/lib/dnsimple/client/contacts.rb +17 -19
- data/lib/dnsimple/client/dns_analytics.rb +2 -4
- data/lib/dnsimple/client/domains.rb +13 -15
- data/lib/dnsimple/client/domains_delegation_signer_records.rb +18 -20
- data/lib/dnsimple/client/domains_dnssec.rb +9 -11
- data/lib/dnsimple/client/domains_email_forwards.rb +18 -20
- data/lib/dnsimple/client/domains_pushes.rb +13 -15
- data/lib/dnsimple/client/identity.rb +4 -9
- data/lib/dnsimple/client/oauth.rb +1 -3
- data/lib/dnsimple/client/registrar.rb +45 -47
- data/lib/dnsimple/client/registrar_auto_renewal.rb +6 -8
- data/lib/dnsimple/client/registrar_delegation.rb +14 -16
- data/lib/dnsimple/client/registrar_registrant_changes.rb +14 -16
- data/lib/dnsimple/client/registrar_transfer_lock.rb +9 -11
- data/lib/dnsimple/client/registrar_whois_privacy.rb +6 -48
- data/lib/dnsimple/client/services.rb +4 -6
- data/lib/dnsimple/client/services_domains.rb +12 -14
- data/lib/dnsimple/client/templates.rb +17 -19
- data/lib/dnsimple/client/templates_domains.rb +4 -6
- data/lib/dnsimple/client/templates_records.rb +18 -20
- data/lib/dnsimple/client/tlds.rb +6 -8
- data/lib/dnsimple/client/vanity_name_servers.rb +0 -2
- data/lib/dnsimple/client/webhooks.rb +11 -13
- data/lib/dnsimple/client/zones.rb +16 -18
- data/lib/dnsimple/client/zones_distributions.rb +4 -6
- data/lib/dnsimple/client/zones_records.rb +57 -26
- data/lib/dnsimple/client.rb +22 -24
- data/lib/dnsimple/default.rb +0 -4
- data/lib/dnsimple/error.rb +0 -6
- data/lib/dnsimple/extra.rb +4 -6
- data/lib/dnsimple/options.rb +1 -7
- data/lib/dnsimple/response.rb +4 -13
- data/lib/dnsimple/struct/account.rb +0 -2
- data/lib/dnsimple/struct/certificate.rb +0 -2
- data/lib/dnsimple/struct/certificate_bundle.rb +0 -2
- data/lib/dnsimple/struct/certificate_purchase.rb +0 -2
- data/lib/dnsimple/struct/certificate_renewal.rb +0 -2
- data/lib/dnsimple/struct/charge.rb +4 -8
- data/lib/dnsimple/struct/collaborator.rb +0 -2
- data/lib/dnsimple/struct/contact.rb +0 -2
- data/lib/dnsimple/struct/delegation_signer_record.rb +0 -2
- data/lib/dnsimple/struct/dns_analytics.rb +0 -2
- data/lib/dnsimple/struct/dnssec.rb +0 -2
- data/lib/dnsimple/struct/domain.rb +0 -2
- data/lib/dnsimple/struct/domain_check.rb +0 -2
- data/lib/dnsimple/struct/domain_premium_price.rb +0 -2
- data/lib/dnsimple/struct/domain_price.rb +0 -2
- data/lib/dnsimple/struct/domain_push.rb +0 -2
- data/lib/dnsimple/struct/domain_registration.rb +0 -2
- data/lib/dnsimple/struct/domain_renewal.rb +0 -2
- data/lib/dnsimple/struct/domain_restore.rb +0 -2
- data/lib/dnsimple/struct/domain_transfer.rb +0 -2
- data/lib/dnsimple/struct/email_forward.rb +0 -2
- data/lib/dnsimple/struct/extended_attribute.rb +0 -4
- data/lib/dnsimple/struct/oauth_token.rb +0 -2
- data/lib/dnsimple/struct/registrant_change.rb +0 -2
- data/lib/dnsimple/struct/registrant_change_check.rb +0 -2
- data/lib/dnsimple/struct/service.rb +0 -4
- data/lib/dnsimple/struct/template.rb +0 -2
- data/lib/dnsimple/struct/template_record.rb +0 -2
- data/lib/dnsimple/struct/tld.rb +0 -2
- data/lib/dnsimple/struct/transfer_lock.rb +0 -2
- data/lib/dnsimple/struct/user.rb +0 -2
- data/lib/dnsimple/struct/vanity_name_server.rb +0 -2
- data/lib/dnsimple/struct/webhook.rb +0 -2
- data/lib/dnsimple/struct/whoami.rb +2 -4
- data/lib/dnsimple/struct/whois_privacy.rb +0 -2
- data/lib/dnsimple/struct/zone.rb +0 -2
- data/lib/dnsimple/struct/zone_distribution.rb +0 -2
- data/lib/dnsimple/struct/zone_file.rb +0 -2
- data/lib/dnsimple/struct/zone_record.rb +0 -2
- data/lib/dnsimple/struct/zone_record_id.rb +10 -0
- data/lib/dnsimple/struct/zone_records_batch_change.rb +16 -0
- data/lib/dnsimple/struct.rb +2 -3
- data/lib/dnsimple/version.rb +1 -3
- data/lib/dnsimple.rb +1 -3
- data/spec/dnsimple/client/client_service_spec.rb +12 -10
- data/spec/dnsimple/client/domains_delegation_signer_records_spec.rb +2 -2
- data/spec/dnsimple/client/oauth_spec.rb +6 -6
- data/spec/dnsimple/client/registrar_whois_privacy_spec.rb +0 -82
- data/spec/dnsimple/client/zones_records_spec.rb +95 -0
- data/spec/fixtures.http/acceptPush/success.http +15 -15
- data/spec/fixtures.http/accounts/success-account.http +20 -20
- data/spec/fixtures.http/accounts/success-user.http +21 -21
- data/spec/fixtures.http/activateZoneService/success.http +16 -16
- data/spec/fixtures.http/appliedServices/success.http +19 -19
- data/spec/fixtures.http/applyService/success.http +15 -15
- data/spec/fixtures.http/applyTemplate/success.http +13 -13
- data/spec/fixtures.http/authorizeDomainTransferOut/success.http +13 -13
- data/spec/fixtures.http/badgateway.http +5 -5
- data/spec/fixtures.http/batchChangeZoneRecords/error_400_create_validation_failed.http +16 -0
- data/spec/fixtures.http/batchChangeZoneRecords/error_400_delete_validation_failed.http +15 -0
- data/spec/fixtures.http/batchChangeZoneRecords/error_400_update_validation_failed.http +15 -0
- data/spec/fixtures.http/batchChangeZoneRecords/success.http +16 -0
- data/spec/fixtures.http/cancelDomainTransfer/success.http +17 -17
- data/spec/fixtures.http/changeDomainDelegation/success.http +15 -15
- data/spec/fixtures.http/changeDomainDelegationFromVanity/success.http +15 -15
- data/spec/fixtures.http/changeDomainDelegationToVanity/success.http +17 -17
- data/spec/fixtures.http/checkDomain/success.http +15 -15
- data/spec/fixtures.http/checkRegistrantChange/error-contactnotfound.http +3 -3
- data/spec/fixtures.http/checkRegistrantChange/error-domainnotfound.http +3 -3
- data/spec/fixtures.http/checkRegistrantChange/success.http +15 -15
- data/spec/fixtures.http/checkZoneDistribution/error.http +17 -17
- data/spec/fixtures.http/checkZoneDistribution/failure.http +17 -17
- data/spec/fixtures.http/checkZoneDistribution/success.http +17 -17
- data/spec/fixtures.http/checkZoneRecordDistribution/error.http +17 -17
- data/spec/fixtures.http/checkZoneRecordDistribution/failure.http +17 -17
- data/spec/fixtures.http/checkZoneRecordDistribution/success.http +17 -17
- data/spec/fixtures.http/createContact/created.http +16 -16
- data/spec/fixtures.http/createContact/error-validation-errors.http +15 -15
- data/spec/fixtures.http/createDelegationSignerRecord/created.http +17 -17
- data/spec/fixtures.http/createDelegationSignerRecord/validation-error.http +15 -15
- data/spec/fixtures.http/createDomain/created.http +19 -19
- data/spec/fixtures.http/createEmailForward/created.http +21 -21
- data/spec/fixtures.http/createPrimaryServer/created.http +20 -20
- data/spec/fixtures.http/createRegistrantChange/success.http +14 -14
- data/spec/fixtures.http/createSecondaryZone/created.http +20 -20
- data/spec/fixtures.http/createTemplate/created.http +15 -15
- data/spec/fixtures.http/createTemplateRecord/created.http +16 -16
- data/spec/fixtures.http/createWebhook/created.http +13 -13
- data/spec/fixtures.http/createZoneRecord/created-apex.http +13 -13
- data/spec/fixtures.http/createZoneRecord/created.http +13 -13
- data/spec/fixtures.http/deactivateZoneService/success.http +16 -16
- data/spec/fixtures.http/deleteContact/error-contact-in-use.http +15 -15
- data/spec/fixtures.http/deleteContact/success.http +13 -13
- data/spec/fixtures.http/deleteDelegationSignerRecord/success.http +15 -15
- data/spec/fixtures.http/deleteDomain/success.http +11 -11
- data/spec/fixtures.http/deleteEmailForward/success.http +18 -18
- data/spec/fixtures.http/deleteRegistrantChange/success.http +13 -13
- data/spec/fixtures.http/deleteRegistrantChange/success_async.http +3 -3
- data/spec/fixtures.http/deleteTemplate/success.http +13 -13
- data/spec/fixtures.http/deleteTemplateRecord/success.http +13 -13
- data/spec/fixtures.http/deleteWebhook/success.http +13 -13
- data/spec/fixtures.http/deleteZoneRecord/success.http +11 -11
- data/spec/fixtures.http/disableDnssec/not-enabled.http +15 -15
- data/spec/fixtures.http/disableDnssec/success.http +15 -15
- data/spec/fixtures.http/disableDomainAutoRenewal/success.http +13 -13
- data/spec/fixtures.http/disableDomainTransferLock/success.http +17 -17
- data/spec/fixtures.http/disableVanityNameServers/success.http +15 -15
- data/spec/fixtures.http/disableWhoisPrivacy/success.http +16 -16
- data/spec/fixtures.http/dnsAnalytics/success.http +17 -17
- data/spec/fixtures.http/downloadCertificate/success.http +19 -19
- data/spec/fixtures.http/enableDnssec/success.http +17 -17
- data/spec/fixtures.http/enableDomainAutoRenewal/success.http +13 -13
- data/spec/fixtures.http/enableDomainTransferLock/success.http +17 -17
- data/spec/fixtures.http/enableVanityNameServers/success.http +17 -17
- data/spec/fixtures.http/enableWhoisPrivacy/created.http +16 -16
- data/spec/fixtures.http/enableWhoisPrivacy/success.http +16 -16
- data/spec/fixtures.http/getCertificate/success.http +19 -19
- data/spec/fixtures.http/getCertificatePrivateKey/success.http +20 -20
- data/spec/fixtures.http/getContact/success.http +16 -16
- data/spec/fixtures.http/getDelegationSignerRecord/success.http +17 -17
- data/spec/fixtures.http/getDnssec/success.http +17 -17
- data/spec/fixtures.http/getDomain/success.http +19 -19
- data/spec/fixtures.http/getDomainDelegation/success-empty.http +15 -15
- data/spec/fixtures.http/getDomainDelegation/success.http +15 -15
- data/spec/fixtures.http/getDomainPrices/failure.http +18 -18
- data/spec/fixtures.http/getDomainPrices/success.http +21 -21
- data/spec/fixtures.http/getDomainRegistration/success.http +20 -20
- data/spec/fixtures.http/getDomainRenewal/success.http +20 -20
- data/spec/fixtures.http/getDomainRestore/success.http +22 -19
- data/spec/fixtures.http/getDomainTransfer/success.http +19 -19
- data/spec/fixtures.http/getDomainTransferLock/success.http +17 -17
- data/spec/fixtures.http/getEmailForward/success.http +21 -21
- data/spec/fixtures.http/getPrimaryServer/success.http +20 -20
- data/spec/fixtures.http/getRegistrantChange/success.http +15 -15
- data/spec/fixtures.http/getService/success.http +16 -16
- data/spec/fixtures.http/getTemplate/success.http +15 -15
- data/spec/fixtures.http/getTemplateRecord/success.http +16 -16
- data/spec/fixtures.http/getTld/success.http +20 -20
- data/spec/fixtures.http/getTldExtendedAttributes/success-attributes.http +15 -15
- data/spec/fixtures.http/getTldExtendedAttributes/success-noattributes.http +15 -15
- data/spec/fixtures.http/getTldExtendedAttributes/success.http +15 -15
- data/spec/fixtures.http/getWebhook/success.http +13 -13
- data/spec/fixtures.http/getZone/success.http +16 -16
- data/spec/fixtures.http/getZoneFile/success.http +17 -17
- data/spec/fixtures.http/getZoneRecord/success.http +17 -17
- data/spec/fixtures.http/initiatePush/success.http +17 -17
- data/spec/fixtures.http/issueLetsencryptCertificate/success.http +17 -17
- data/spec/fixtures.http/issueRenewalLetsencryptCertificate/success.http +17 -17
- data/spec/fixtures.http/linkPrimaryServer/success.http +20 -20
- data/spec/fixtures.http/listAccounts/success-account.http +20 -20
- data/spec/fixtures.http/listAccounts/success-user.http +20 -20
- data/spec/fixtures.http/listCertificates/success.http +19 -19
- data/spec/fixtures.http/listCharges/fail-400-bad-filter.http +9 -9
- data/spec/fixtures.http/listCharges/fail-403.http +9 -9
- data/spec/fixtures.http/listCharges/success.http +9 -9
- data/spec/fixtures.http/listContacts/success.http +16 -16
- data/spec/fixtures.http/listDelegationSignerRecords/success.http +17 -17
- data/spec/fixtures.http/listDomains/success.http +19 -19
- data/spec/fixtures.http/listEmailForwards/success.http +13 -13
- data/spec/fixtures.http/listPrimaryServers/success.http +20 -20
- data/spec/fixtures.http/listPushes/success.http +17 -17
- data/spec/fixtures.http/listRegistrantChanges/success.http +15 -15
- data/spec/fixtures.http/listServices/success.http +17 -17
- data/spec/fixtures.http/listTemplateRecords/success.http +16 -16
- data/spec/fixtures.http/listTemplates/success.http +15 -15
- data/spec/fixtures.http/listTlds/success.http +20 -20
- data/spec/fixtures.http/listWebhooks/success.http +13 -13
- data/spec/fixtures.http/listZoneRecords/success.http +17 -17
- data/spec/fixtures.http/listZones/success.http +16 -16
- data/spec/fixtures.http/method-not-allowed.http +8 -8
- data/spec/fixtures.http/notfound-certificate.http +12 -12
- data/spec/fixtures.http/notfound-contact.http +10 -10
- data/spec/fixtures.http/notfound-delegationSignerRecord.http +11 -0
- data/spec/fixtures.http/notfound-domain.http +8 -8
- data/spec/fixtures.http/notfound-domainpush.http +8 -8
- data/spec/fixtures.http/notfound-emailforward.http +8 -8
- data/spec/fixtures.http/notfound-record.http +10 -10
- data/spec/fixtures.http/notfound-template.http +10 -10
- data/spec/fixtures.http/notfound-webhook.http +8 -8
- data/spec/fixtures.http/notfound-whoisprivacy.http +10 -10
- data/spec/fixtures.http/notfound-zone.http +10 -10
- data/spec/fixtures.http/oauthAccessToken/error-invalid-request.http +12 -12
- data/spec/fixtures.http/oauthAccessToken/success.http +16 -16
- data/spec/fixtures.http/pages-1of3.http +12 -12
- data/spec/fixtures.http/pages-2of3.http +12 -12
- data/spec/fixtures.http/pages-3of3.http +12 -12
- data/spec/fixtures.http/purchaseLetsencryptCertificate/success.http +19 -19
- data/spec/fixtures.http/purchaseRenewalLetsencryptCertificate/success.http +19 -19
- data/spec/fixtures.http/registerDomain/error-extended-attributes.http +15 -15
- data/spec/fixtures.http/registerDomain/success.http +20 -20
- data/spec/fixtures.http/rejectPush/success.http +15 -15
- data/spec/fixtures.http/renewDomain/error-tooearly.http +14 -14
- data/spec/fixtures.http/renewDomain/success.http +20 -20
- data/spec/fixtures.http/response.http +12 -12
- data/spec/fixtures.http/restoreDomain/success.http +22 -19
- data/spec/fixtures.http/success-with-malformed-json.http +4 -4
- data/spec/fixtures.http/transferDomain/error-indnsimple.http +13 -13
- data/spec/fixtures.http/transferDomain/error-missing-authcode.http +13 -13
- data/spec/fixtures.http/transferDomain/success.http +20 -20
- data/spec/fixtures.http/unapplyService/success.http +15 -15
- data/spec/fixtures.http/unlinkPrimaryServer/success.http +20 -20
- data/spec/fixtures.http/updateContact/success.http +16 -16
- data/spec/fixtures.http/updateTemplate/success.http +15 -15
- data/spec/fixtures.http/updateZoneNsRecords/success.http +16 -16
- data/spec/fixtures.http/updateZoneRecord/success.http +17 -17
- data/spec/fixtures.http/validation-error.http +15 -15
- data/spec/fixtures.http/whoami/success-account.http +15 -15
- data/spec/fixtures.http/whoami/success-user.http +15 -15
- data/spec/fixtures.http/whoami/success.http +15 -15
- data/spec/support/helpers.rb +0 -2
- metadata +14 -14
- data/lib/dnsimple/struct/whois_privacy_renewal.rb +0 -30
- data/spec/fixtures.http/checkDomainPremiumPrice/error_400_not_a_premium_domain.http +0 -18
- data/spec/fixtures.http/checkDomainPremiumPrice/error_400_tld_not_supported.http +0 -18
- data/spec/fixtures.http/checkDomainPremiumPrice/success.http +0 -20
- data/spec/fixtures.http/getDomainPremiumPrice/failure.http +0 -15
- data/spec/fixtures.http/getDomainPremiumPrice/success.http +0 -20
- data/spec/fixtures.http/getWhoisPrivacy/success.http +0 -16
- data/spec/fixtures.http/notfound-delegationsignerrecord.http +0 -11
- data/spec/fixtures.http/renewWhoisPrivacy/success.http +0 -20
- data/spec/fixtures.http/renewWhoisPrivacy/whois-privacy-duplicated-order.http +0 -18
- data/spec/fixtures.http/renewWhoisPrivacy/whois-privacy-not-found.http +0 -18
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
HTTP/1.1 200 OK
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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"}}}
|
data/spec/support/helpers.rb
CHANGED
|
@@ -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:
|
|
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:
|
|
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-
|
|
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
|
|
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"}
|