dnsimple 2.2.0 → 3.0.0.pre.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +3 -1
- data/CHANGELOG.md +13 -2
- data/CONTRIBUTING.md +35 -0
- data/Gemfile +2 -0
- data/LICENSE.txt +1 -1
- data/README.md +30 -82
- data/dnsimple.gemspec +2 -1
- data/lib/dnsimple.rb +0 -2
- data/lib/dnsimple/client.rb +64 -64
- data/lib/dnsimple/client/clients.rb +82 -58
- data/lib/dnsimple/client/contacts.rb +74 -37
- data/lib/dnsimple/client/domains.rb +82 -28
- data/lib/dnsimple/client/domains_email_forwards.rb +107 -0
- data/lib/dnsimple/client/identity.rb +38 -0
- data/lib/dnsimple/client/oauth.rb +42 -0
- data/lib/dnsimple/client/registrar.rb +64 -72
- data/lib/dnsimple/client/registrar_auto_renewal.rb +41 -0
- data/lib/dnsimple/client/registrar_whois_privacy.rb +74 -0
- data/lib/dnsimple/client/tlds.rb +88 -0
- data/lib/dnsimple/client/webhooks.rb +82 -0
- data/lib/dnsimple/client/zones.rb +68 -0
- data/lib/dnsimple/client/zones_records.rb +127 -0
- data/lib/dnsimple/default.rb +10 -17
- data/lib/dnsimple/error.rb +5 -8
- data/lib/dnsimple/extra.rb +1 -1
- data/lib/dnsimple/response.rb +80 -0
- data/lib/dnsimple/struct.rb +13 -14
- data/lib/dnsimple/struct/account.rb +13 -0
- data/lib/dnsimple/struct/contact.rb +6 -3
- data/lib/dnsimple/struct/domain.rb +10 -10
- data/lib/dnsimple/struct/domain_check.rb +16 -0
- data/lib/dnsimple/struct/email_forward.rb +11 -1
- data/lib/dnsimple/struct/oauth_token.rb +19 -0
- data/lib/dnsimple/struct/record.rb +25 -7
- data/lib/dnsimple/struct/tld.rb +22 -0
- data/lib/dnsimple/struct/user.rb +3 -7
- data/lib/dnsimple/struct/webhook.rb +13 -0
- data/lib/dnsimple/struct/whois_privacy.rb +8 -5
- data/lib/dnsimple/struct/zone.rb +25 -0
- data/lib/dnsimple/version.rb +1 -1
- data/spec/dnsimple/client/client_service_spec.rb +37 -0
- data/spec/dnsimple/client/contacts_spec.rb +108 -78
- data/spec/dnsimple/client/domains_email_forwards_spec.rb +190 -0
- data/spec/dnsimple/client/domains_spec.rb +121 -58
- data/spec/dnsimple/client/identity_spec.rb +56 -0
- data/spec/dnsimple/client/oauth_spec.rb +48 -0
- data/spec/dnsimple/client/registrar_auto_renewal_spec.rb +80 -0
- data/spec/dnsimple/client/registrar_spec.rb +109 -122
- data/spec/dnsimple/client/registrar_whois_privacy_spec.rb +119 -0
- data/spec/dnsimple/client/tlds_spec.rb +139 -0
- data/spec/dnsimple/client/webhooks_spec.rb +142 -0
- data/spec/dnsimple/client/zones_records_spec.rb +277 -0
- data/spec/dnsimple/client/zones_spec.rb +109 -0
- data/spec/dnsimple/client_spec.rb +34 -46
- data/spec/dnsimple/extra_spec.rb +22 -0
- data/spec/{files → fixtures.http}/badgateway.http +14 -14
- data/spec/fixtures.http/checkDomain/success.http +17 -0
- data/spec/fixtures.http/createContact/created.http +17 -0
- data/spec/fixtures.http/createDomain/created.http +16 -0
- data/spec/fixtures.http/createEmailForward/created.http +17 -0
- data/spec/fixtures.http/createWebhook/created.http +17 -0
- data/spec/fixtures.http/createZoneRecord/created.http +17 -0
- data/spec/fixtures.http/deleteContact/success.http +13 -0
- data/spec/fixtures.http/deleteDomain/success.http +13 -0
- data/spec/fixtures.http/deleteEmailForward/success.http +12 -0
- data/spec/fixtures.http/deleteWebhook/success.http +13 -0
- data/spec/fixtures.http/deleteZoneRecord/success.http +13 -0
- data/spec/fixtures.http/disableAutoRenewal/success.http +12 -0
- data/spec/fixtures.http/disableWhoisPrivacy/success.http +17 -0
- data/spec/fixtures.http/enableAutoRenewal/success.http +12 -0
- data/spec/fixtures.http/enableWhoisPrivacy/created.http +17 -0
- data/spec/fixtures.http/enableWhoisPrivacy/success.http +17 -0
- data/spec/fixtures.http/getContact/success.http +17 -0
- data/spec/fixtures.http/getDomain/success.http +16 -0
- data/spec/fixtures.http/getEmailForward/success.http +17 -0
- data/spec/fixtures.http/getTld/success.http +17 -0
- data/spec/fixtures.http/getTldExtendedAttributes/success-noattributes.http +17 -0
- data/spec/fixtures.http/getTldExtendedAttributes/success.http +17 -0
- data/spec/fixtures.http/getWebhook/success.http +17 -0
- data/spec/fixtures.http/getWhoisPrivacy/success.http +17 -0
- data/spec/fixtures.http/getZone/success.http +17 -0
- data/spec/fixtures.http/getZoneRecord/success.http +17 -0
- data/spec/fixtures.http/listContacts/success.http +17 -0
- data/spec/fixtures.http/listDomains/success.http +16 -0
- data/spec/fixtures.http/listEmailForwards/success.http +17 -0
- data/spec/fixtures.http/listTlds/success.http +17 -0
- data/spec/fixtures.http/listWebhooks/success.http +17 -0
- data/spec/fixtures.http/listZoneRecords/success.http +17 -0
- data/spec/fixtures.http/listZones/success.http +17 -0
- data/spec/fixtures.http/notfound-contact.http +12 -0
- data/spec/fixtures.http/notfound-domain.http +12 -0
- data/spec/fixtures.http/notfound-emailforward.http +12 -0
- data/spec/fixtures.http/notfound-record.http +12 -0
- data/spec/fixtures.http/notfound-webhook.http +12 -0
- data/spec/fixtures.http/notfound-zone.http +12 -0
- data/spec/fixtures.http/oauthAccessToken/success.http +17 -0
- data/spec/fixtures.http/pages-1of3.http +16 -0
- data/spec/fixtures.http/pages-2of3.http +16 -0
- data/spec/fixtures.http/pages-3of3.http +16 -0
- data/spec/fixtures.http/registerDomain/success.http +17 -0
- data/spec/fixtures.http/renewDomain/error-tooearly.http +15 -0
- data/spec/fixtures.http/renewDomain/success.http +17 -0
- data/spec/fixtures.http/resetDomainToken/success.http +17 -0
- data/spec/fixtures.http/response.http +16 -0
- data/spec/fixtures.http/transferDomain/error-indnsimple.http +15 -0
- data/spec/fixtures.http/transferDomain/error-missing-authcode.http +15 -0
- data/spec/fixtures.http/transferDomain/success.http +17 -0
- data/spec/fixtures.http/transferDomainOut/success.http +13 -0
- data/spec/fixtures.http/updateContact/success.http +17 -0
- data/spec/fixtures.http/updateZoneRecord/success.http +17 -0
- data/spec/fixtures.http/whoami/success.http +16 -0
- data/spec/fixtures.http/whoami/success_account.http +16 -0
- data/spec/fixtures.http/whoami/success_user.http +16 -0
- data/spec/spec_helper.rb +0 -6
- data/spec/support/helpers.rb +4 -4
- metadata +161 -238
- data/lib/dnsimple/client/certificates.rb +0 -100
- data/lib/dnsimple/client/domains_autorenewal.rb +0 -35
- data/lib/dnsimple/client/domains_forwards.rb +0 -71
- data/lib/dnsimple/client/domains_privacy.rb +0 -35
- data/lib/dnsimple/client/domains_records.rb +0 -90
- data/lib/dnsimple/client/domains_sharing.rb +0 -54
- data/lib/dnsimple/client/domains_zones.rb +0 -22
- data/lib/dnsimple/client/name_servers.rb +0 -71
- data/lib/dnsimple/client/services.rb +0 -37
- data/lib/dnsimple/client/services_domains.rb +0 -68
- data/lib/dnsimple/client/templates.rb +0 -88
- data/lib/dnsimple/client/templates_domains.rb +0 -23
- data/lib/dnsimple/client/templates_records.rb +0 -88
- data/lib/dnsimple/client/users.rb +0 -39
- data/lib/dnsimple/client/vanity_name_servers.rb +0 -39
- data/lib/dnsimple/compatibility.rb +0 -46
- data/lib/dnsimple/struct/certificate.rb +0 -56
- data/lib/dnsimple/struct/membership.rb +0 -22
- data/lib/dnsimple/struct/price.rb +0 -16
- data/lib/dnsimple/struct/service.rb +0 -19
- data/lib/dnsimple/struct/template.rb +0 -19
- data/lib/dnsimple/struct/template_record.rb +0 -24
- data/lib/dnsimple/struct/transfer_order.rb +0 -10
- data/spec/dnsimple/client/certificates_spec.rb +0 -196
- data/spec/dnsimple/client/domains_autorenewals_spec.rb +0 -72
- data/spec/dnsimple/client/domains_forwards_spec.rb +0 -146
- data/spec/dnsimple/client/domains_privacy_spec.rb +0 -74
- data/spec/dnsimple/client/domains_records_spec.rb +0 -191
- data/spec/dnsimple/client/domains_sharing_spec.rb +0 -109
- data/spec/dnsimple/client/domains_zones_spec.rb +0 -40
- data/spec/dnsimple/client/name_servers_spec.rb +0 -131
- data/spec/dnsimple/client/services_domains_spec.rb +0 -101
- data/spec/dnsimple/client/services_spec.rb +0 -69
- data/spec/dnsimple/client/templates_domains_spec.rb +0 -38
- data/spec/dnsimple/client/templates_records_spec.rb +0 -180
- data/spec/dnsimple/client/templates_spec.rb +0 -166
- data/spec/dnsimple/client/users_spec.rb +0 -70
- data/spec/dnsimple/client/vanity_name_servers_spec.rb +0 -61
- data/spec/dnsimple/compatibility_spec.rb +0 -57
- data/spec/files/2fa/error-badtoken.http +0 -22
- data/spec/files/2fa/error-required.http +0 -23
- data/spec/files/2fa/exchange-token.http +0 -22
- data/spec/files/certificates/configure/success.http +0 -19
- data/spec/files/certificates/get/success.http +0 -19
- data/spec/files/certificates/list/success.http +0 -19
- data/spec/files/certificates/notfound.http +0 -19
- data/spec/files/certificates/purchase/success.http +0 -19
- data/spec/files/certificates/submit/success.http +0 -19
- data/spec/files/contacts/contact/success.http +0 -19
- data/spec/files/contacts/contacts/success.http +0 -23
- data/spec/files/contacts/create_contact/badrequest-missingcontact.http +0 -19
- data/spec/files/contacts/create_contact/badrequest-validationerror.http +0 -19
- data/spec/files/contacts/create_contact/created.http +0 -22
- data/spec/files/contacts/delete_contact/success-204.http +0 -18
- data/spec/files/contacts/delete_contact/success.http +0 -19
- data/spec/files/contacts/notfound-contact.http +0 -19
- data/spec/files/contacts/update_contact/success.http +0 -21
- data/spec/files/domains/create_domain/created.http +0 -21
- data/spec/files/domains/create_forward/created.http +0 -22
- data/spec/files/domains/create_membership/success.http +0 -21
- data/spec/files/domains/create_record/created.http +0 -21
- data/spec/files/domains/delete_domain/success-204.http +0 -18
- data/spec/files/domains/delete_domain/success.http +0 -19
- data/spec/files/domains/delete_forward/success.http +0 -17
- data/spec/files/domains/delete_membership/success.http +0 -17
- data/spec/files/domains/delete_record/success-204.http +0 -18
- data/spec/files/domains/delete_record/success.http +0 -19
- data/spec/files/domains/disable_auto_renewal/success.http +0 -21
- data/spec/files/domains/disable_whois_privacy/success.http +0 -21
- data/spec/files/domains/domain/success.http +0 -21
- data/spec/files/domains/domains/success.http +0 -21
- data/spec/files/domains/enable_auto_renewal/success.http +0 -21
- data/spec/files/domains/enable_whois_privacy/success.http +0 -22
- data/spec/files/domains/forward/success.http +0 -21
- data/spec/files/domains/forwards/success.http +0 -21
- data/spec/files/domains/memberships/success.http +0 -21
- data/spec/files/domains/notfound-domain.http +0 -19
- data/spec/files/domains/notfound-forward.http +0 -19
- data/spec/files/domains/notfound-membership.http +0 -19
- data/spec/files/domains/record/success.http +0 -19
- data/spec/files/domains/records/success.http +0 -19
- data/spec/files/domains/update_record/success.http +0 -21
- data/spec/files/domains/zone/success.http +0 -21
- data/spec/files/nameservers/change/success.http +0 -23
- data/spec/files/nameservers/deregister/success.http +0 -17
- data/spec/files/nameservers/name_servers/success.http +0 -23
- data/spec/files/nameservers/notfound-domain.http +0 -19
- data/spec/files/nameservers/register/badrequest-valueerror.http +0 -19
- data/spec/files/nameservers/register/success.http +0 -21
- data/spec/files/nameservers/vanity_name_servers/disabled.http +0 -23
- data/spec/files/nameservers/vanity_name_servers/enabled.http +0 -23
- data/spec/files/registrar/check/available.http +0 -19
- data/spec/files/registrar/check/registered.http +0 -21
- data/spec/files/registrar/extended_attributes/success.http +0 -21
- data/spec/files/registrar/prices/success.http +0 -21
- data/spec/files/registrar/register/badrequest-missingdomain.http +0 -19
- data/spec/files/registrar/register/badrequest-missingregistrant.http +0 -19
- data/spec/files/registrar/register/success.http +0 -21
- data/spec/files/registrar/renew/badrequest-missingrenewal.http +0 -19
- data/spec/files/registrar/renew/badrequest-unable.http +0 -19
- data/spec/files/registrar/renew/success.http +0 -21
- data/spec/files/registrar/transfer/success.http +0 -21
- data/spec/files/services/applied/success.http +0 -21
- data/spec/files/services/apply/success.http +0 -21
- data/spec/files/services/available/success.http +0 -21
- data/spec/files/services/notfound-service.http +0 -19
- data/spec/files/services/service/success.http +0 -21
- data/spec/files/services/services/success.http +0 -21
- data/spec/files/services/unapply/success.http +0 -21
- data/spec/files/subscriptions/subscription/success.http +0 -21
- data/spec/files/templates/apply_template/success.http +0 -21
- data/spec/files/templates/create_template/created.http +0 -22
- data/spec/files/templates/delete_template/success-204.http +0 -21
- data/spec/files/templates/delete_template/success.http +0 -21
- data/spec/files/templates/notfound-template.http +0 -19
- data/spec/files/templates/template/success.http +0 -21
- data/spec/files/templates/templates/success.http +0 -21
- data/spec/files/templates/update_template/success.http +0 -21
- data/spec/files/templates_records/create_record/created.http +0 -22
- data/spec/files/templates_records/delete_record/success-204.http +0 -19
- data/spec/files/templates_records/delete_record/success.http +0 -21
- data/spec/files/templates_records/notfound-template-record.http +0 -19
- data/spec/files/templates_records/record/success.http +0 -21
- data/spec/files/templates_records/records/success.http +0 -21
- data/spec/files/templates_records/update_record/success.http +0 -21
- data/spec/files/users/user/success.http +0 -21
@@ -1,19 +0,0 @@
|
|
1
|
-
HTTP/1.1 400 Bad Request
|
2
|
-
Server: nginx
|
3
|
-
Date: Sun, 14 Dec 2014 23:28:59 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: keep-alive
|
7
|
-
Status: 400 Bad Request
|
8
|
-
Strict-Transport-Security: max-age=631138519
|
9
|
-
X-Frame-Options: SAMEORIGIN
|
10
|
-
X-XSS-Protection: 1
|
11
|
-
X-Content-Type-Options: nosniff
|
12
|
-
Access-Control-Allow-Origin: *
|
13
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
-
Cache-Control: no-cache
|
16
|
-
X-Request-Id: 8f5813e3-33ad-4024-bff9-8da2fad15c33
|
17
|
-
X-Runtime: 0.041768
|
18
|
-
|
19
|
-
{"errors":{"phone":["is probably not a phone number"],"fax":["is probably not a phone number"]}}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
HTTP/1.1 201 Created
|
2
|
-
Server: nginx
|
3
|
-
Date: Sun, 14 Dec 2014 23:30:15 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: keep-alive
|
7
|
-
Status: 201 Created
|
8
|
-
Strict-Transport-Security: max-age=631138519
|
9
|
-
X-Frame-Options: SAMEORIGIN
|
10
|
-
X-XSS-Protection: 1
|
11
|
-
X-Content-Type-Options: nosniff
|
12
|
-
Access-Control-Allow-Origin: *
|
13
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
-
Location: https://api.dnsimple.com/contacts/22968
|
16
|
-
ETag: "ca2737f80fe8f50f9d769c3217f1a4f6"
|
17
|
-
Cache-Control: max-age=0, private, must-revalidate
|
18
|
-
X-Request-Id: 3656ad24-0fc1-4f1a-99ad-1cc930224bcb
|
19
|
-
X-Runtime: 0.061358
|
20
|
-
Strict-Transport-Security: max-age=315360000
|
21
|
-
|
22
|
-
{"contact":{"id":22968,"user_id":null,"label":"Test","first_name":"Simone","last_name":"Carletti","job_title":"Underwater Programmer","organization_name":"Dnsimple","email_address":"example@example.com","phone":"+39 339 000000","fax":"+39 339 000000","address1":"Awesome Street","address2":"c/o Someone","city":"Rome","state_province":"RM","postal_code":"00171","country":"IT","created_at":"2014-12-14T23:30:15.096Z","updated_at":"2014-12-14T23:30:15.096Z"}}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
HTTP/1.1 204 No Content
|
2
|
-
Server: nginx/1.4.4
|
3
|
-
Date: Tue, 14 Jan 2014 19:03:37 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: close
|
7
|
-
Status: 204 No Content
|
8
|
-
X-Dnsimple-API-Version: 1.0.0
|
9
|
-
Access-Control-Allow-Origin: *
|
10
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-Dnsimple-Token,X-Dnsimple-Domain-Token,X-CSRF-Token,x-requested-with
|
11
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
12
|
-
X-UA-Compatible: IE=Edge,chrome=1
|
13
|
-
ETag: "3f9496912d04f422c7f083b93bd6e9e3"
|
14
|
-
Cache-Control: max-age=0, private, must-revalidate
|
15
|
-
X-Request-Id: eec6552de5a2aa5ae570139b388ffb9b
|
16
|
-
X-Runtime: 0.046892
|
17
|
-
Strict-Transport-Security: max-age=315360000
|
18
|
-
|
@@ -1,19 +0,0 @@
|
|
1
|
-
HTTP/1.1 200 OK
|
2
|
-
Server: nginx/1.4.4
|
3
|
-
Date: Tue, 14 Jan 2014 19:03:37 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: close
|
7
|
-
Status: 200 OK
|
8
|
-
X-Dnsimple-API-Version: 1.0.0
|
9
|
-
Access-Control-Allow-Origin: *
|
10
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-Dnsimple-Token,X-Dnsimple-Domain-Token,X-CSRF-Token,x-requested-with
|
11
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
12
|
-
X-UA-Compatible: IE=Edge,chrome=1
|
13
|
-
ETag: "3f9496912d04f422c7f083b93bd6e9e3"
|
14
|
-
Cache-Control: max-age=0, private, must-revalidate
|
15
|
-
X-Request-Id: eec6552de5a2aa5ae570139b388ffb9b
|
16
|
-
X-Runtime: 0.046892
|
17
|
-
Strict-Transport-Security: max-age=315360000
|
18
|
-
|
19
|
-
{}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
HTTP/1.1 404 Not Found
|
2
|
-
Server: nginx
|
3
|
-
Date: Sun, 14 Dec 2014 21:01:05 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: keep-alive
|
7
|
-
Status: 404 Not Found
|
8
|
-
Strict-Transport-Security: max-age=631138519
|
9
|
-
X-Frame-Options: SAMEORIGIN
|
10
|
-
X-XSS-Protection: 1
|
11
|
-
X-Content-Type-Options: nosniff
|
12
|
-
Access-Control-Allow-Origin: *
|
13
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
-
Cache-Control: no-cache
|
16
|
-
X-Request-Id: 34138912-6358-4ef9-8838-c0852137b5b9
|
17
|
-
X-Runtime: 0.046436
|
18
|
-
|
19
|
-
{"message":"Contact `0' not found"}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
HTTP/1.1 200 OK
|
2
|
-
Server: nginx
|
3
|
-
Date: Sun, 14 Dec 2014 23:40:28 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: keep-alive
|
7
|
-
Status: 200 OK
|
8
|
-
Strict-Transport-Security: max-age=631138519
|
9
|
-
X-Frame-Options: SAMEORIGIN
|
10
|
-
X-XSS-Protection: 1
|
11
|
-
X-Content-Type-Options: nosniff
|
12
|
-
Access-Control-Allow-Origin: *
|
13
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
-
ETag: "ca2737f80fe8f50f9d769c3217f1a4f6"
|
16
|
-
Cache-Control: max-age=0, private, must-revalidate
|
17
|
-
X-Request-Id: 5873272b-59a5-47d9-ae8c-c0393fe9b242
|
18
|
-
X-Runtime: 0.089584
|
19
|
-
Strict-Transport-Security: max-age=315360000
|
20
|
-
|
21
|
-
{"contact":{"id":22968,"user_id":null,"label":"Test","first_name":"Simone","last_name":"Carletti","job_title":"Underwater Programmer","organization_name":"Dnsimple","email_address":"example@example.com","phone":"+39 339 000000","fax":"+39 339 000000","address1":"Awesome Street","address2":"c/o Someone","city":"Rome","state_province":"RM","postal_code":"00171","country":"IT","created_at":"2014-12-14T23:30:15.096Z","updated_at":"2014-12-14T23:30:15.096Z"}}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
HTTP/1.1 201 Created
|
2
|
-
Server: nginx
|
3
|
-
Date: Mon, 15 Dec 2014 20:27:04 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: keep-alive
|
7
|
-
Status: 201 Created
|
8
|
-
Strict-Transport-Security: max-age=631138519
|
9
|
-
X-Frame-Options: SAMEORIGIN
|
10
|
-
X-XSS-Protection: 1
|
11
|
-
X-Content-Type-Options: nosniff
|
12
|
-
Access-Control-Allow-Origin: *
|
13
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
-
ETag: "882c85c0756e35625681ceb5262b0fe6"
|
16
|
-
Cache-Control: max-age=0, private, must-revalidate
|
17
|
-
X-Request-Id: 9a8e4510-d956-4a94-8a76-dd86669afef4
|
18
|
-
X-Runtime: 0.395985
|
19
|
-
Strict-Transport-Security: max-age=315360000
|
20
|
-
|
21
|
-
{"domain":{"id":1,"user_id":21,"registrant_id":321,"name":"example.com","unicode_name":"example.com","token":"domain-token","state":"registered","language":null,"lockable":false,"auto_renew":true,"whois_protected":false,"record_count":5,"service_count":1,"expires_on":"2015-09-27","created_at":"2012-09-27T14:25:57.646Z","updated_at":"2014-12-15T20:27:04.552Z"}}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
HTTP/1.1 201 Created
|
2
|
-
Server: nginx
|
3
|
-
Date: Tue, 16 Dec 2014 12:55:13 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: close
|
7
|
-
Status: 201 Created
|
8
|
-
Strict-Transport-Security: max-age=631138519
|
9
|
-
X-Frame-Options: SAMEORIGIN
|
10
|
-
X-XSS-Protection: 1
|
11
|
-
X-Content-Type-Options: nosniff
|
12
|
-
Access-Control-Allow-Origin: *
|
13
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
-
Location: https://api.sandbox.dnsimple.com/domains/dnsimple-sandbox.com/email_forwards/1
|
16
|
-
ETag: "4a3d3e2701d5863b915865b06fb5ddfb"
|
17
|
-
Cache-Control: max-age=0, private, must-revalidate
|
18
|
-
X-Request-Id: 043cfaab-ba96-4902-92de-e38cb2538a45
|
19
|
-
X-Runtime: 4.962496
|
20
|
-
Strict-Transport-Security: max-age=315360000
|
21
|
-
|
22
|
-
{"email_forward":{"id":1,"domain_id":1111,"from":"sender@dnsimple-sandbox.com","to":"receiver@example.com","created_at":"2014-12-16T12:55:13.697Z","updated_at":"2014-12-16T12:55:13.697Z"}}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
HTTP/1.1 201 Created
|
2
|
-
Server: nginx
|
3
|
-
Date: Mon, 22 Dec 2014 15:41:06 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: close
|
7
|
-
Status: 201 Created
|
8
|
-
Strict-Transport-Security: max-age=631138519
|
9
|
-
X-Frame-Options: SAMEORIGIN
|
10
|
-
X-XSS-Protection: 1
|
11
|
-
X-Content-Type-Options: nosniff
|
12
|
-
Access-Control-Allow-Origin: *
|
13
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
-
ETag: "68a79533ae7de9375f2393a71f958b5f"
|
16
|
-
Cache-Control: max-age=0, private, must-revalidate
|
17
|
-
X-Request-Id: fe4517ca-69fd-4afe-b3f8-daab765314f4
|
18
|
-
X-Runtime: 0.055286
|
19
|
-
Strict-Transport-Security: max-age=315360000
|
20
|
-
|
21
|
-
{"membership":{"id":155,"domain_id":1744,"user_id":19,"created_at":"2014-12-22T15:41:06.505Z","updated_at":"2014-12-22T15:41:06.505Z"}}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
HTTP/1.1 201 Created
|
2
|
-
Server: nginx
|
3
|
-
Date: Sun, 14 Dec 2014 16:11:02 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: keep-alive
|
7
|
-
Status: 201 Created
|
8
|
-
Strict-Transport-Security: max-age=631138519
|
9
|
-
X-Frame-Options: SAMEORIGIN
|
10
|
-
X-XSS-Protection: 1
|
11
|
-
X-Content-Type-Options: nosniff
|
12
|
-
Access-Control-Allow-Origin: *
|
13
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
-
ETag: "45fbc90e793bde6153366ce961c88e73"
|
16
|
-
Cache-Control: max-age=0, private, must-revalidate
|
17
|
-
X-Request-Id: a34ae657-4810-4b1f-9f4c-39714aac7507
|
18
|
-
X-Runtime: 0.234750
|
19
|
-
Strict-Transport-Security: max-age=315360000
|
20
|
-
|
21
|
-
{"record":{"id":3554751,"domain_id":41571,"parent_id":null,"name":"0001","content":"127.0.0.1","ttl":3600,"prio":null,"record_type":"A","system_record":null,"created_at":"2014-12-14T16:11:02.771Z","updated_at":"2014-12-14T16:11:02.771Z"}}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
HTTP/1.1 204 No Content
|
2
|
-
Server: nginx/1.4.4
|
3
|
-
Date: Tue, 14 Jan 2014 19:03:37 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: close
|
7
|
-
Status: 204 No Content
|
8
|
-
X-Dnsimple-API-Version: 1.0.0
|
9
|
-
Access-Control-Allow-Origin: *
|
10
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-Dnsimple-Token,X-Dnsimple-Domain-Token,X-CSRF-Token,x-requested-with
|
11
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
12
|
-
X-UA-Compatible: IE=Edge,chrome=1
|
13
|
-
ETag: "3f9496912d04f422c7f083b93bd6e9e3"
|
14
|
-
Cache-Control: max-age=0, private, must-revalidate
|
15
|
-
X-Request-Id: eec6552de5a2aa5ae570139b388ffb9b
|
16
|
-
X-Runtime: 0.046892
|
17
|
-
Strict-Transport-Security: max-age=315360000
|
18
|
-
|
@@ -1,19 +0,0 @@
|
|
1
|
-
HTTP/1.1 200 OK
|
2
|
-
Server: nginx/1.4.4
|
3
|
-
Date: Tue, 14 Jan 2014 19:03:37 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: close
|
7
|
-
Status: 200 OK
|
8
|
-
X-Dnsimple-API-Version: 1.0.0
|
9
|
-
Access-Control-Allow-Origin: *
|
10
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-Dnsimple-Token,X-Dnsimple-Domain-Token,X-CSRF-Token,x-requested-with
|
11
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
12
|
-
X-UA-Compatible: IE=Edge,chrome=1
|
13
|
-
ETag: "3f9496912d04f422c7f083b93bd6e9e3"
|
14
|
-
Cache-Control: max-age=0, private, must-revalidate
|
15
|
-
X-Request-Id: eec6552de5a2aa5ae570139b388ffb9b
|
16
|
-
X-Runtime: 0.046892
|
17
|
-
Strict-Transport-Security: max-age=315360000
|
18
|
-
|
19
|
-
{}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
HTTP/1.1 204 No Content
|
2
|
-
Server: nginx
|
3
|
-
Date: Tue, 16 Dec 2014 12:58:36 GMT
|
4
|
-
Connection: close
|
5
|
-
Status: 204 No Content
|
6
|
-
Strict-Transport-Security: max-age=631138519
|
7
|
-
X-Frame-Options: SAMEORIGIN
|
8
|
-
X-XSS-Protection: 1
|
9
|
-
X-Content-Type-Options: nosniff
|
10
|
-
Access-Control-Allow-Origin: *
|
11
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
12
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
13
|
-
Cache-Control: no-cache
|
14
|
-
X-Request-Id: edba9357-649d-4bc3-a5aa-236123e53667
|
15
|
-
X-Runtime: 0.503655
|
16
|
-
Strict-Transport-Security: max-age=315360000
|
17
|
-
|
@@ -1,17 +0,0 @@
|
|
1
|
-
HTTP/1.1 204 No Content
|
2
|
-
Server: nginx
|
3
|
-
Date: Mon, 22 Dec 2014 15:45:43 GMT
|
4
|
-
Connection: close
|
5
|
-
Status: 204 No Content
|
6
|
-
Strict-Transport-Security: max-age=631138519
|
7
|
-
X-Frame-Options: SAMEORIGIN
|
8
|
-
X-XSS-Protection: 1
|
9
|
-
X-Content-Type-Options: nosniff
|
10
|
-
Access-Control-Allow-Origin: *
|
11
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
12
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
13
|
-
Cache-Control: no-cache
|
14
|
-
X-Request-Id: 4d6a3dec-6e12-4335-aaf6-378bafa4eb73
|
15
|
-
X-Runtime: 0.037958
|
16
|
-
Strict-Transport-Security: max-age=315360000
|
17
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
HTTP/1.1 204 No Content
|
2
|
-
Server: nginx/1.4.4
|
3
|
-
Date: Tue, 14 Jan 2014 19:03:37 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: close
|
7
|
-
Status: 204 No Content
|
8
|
-
X-Dnsimple-API-Version: 1.0.0
|
9
|
-
Access-Control-Allow-Origin: *
|
10
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-Dnsimple-Token,X-Dnsimple-Domain-Token,X-CSRF-Token,x-requested-with
|
11
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
12
|
-
X-UA-Compatible: IE=Edge,chrome=1
|
13
|
-
ETag: "3f9496912d04f422c7f083b93bd6e9e3"
|
14
|
-
Cache-Control: max-age=0, private, must-revalidate
|
15
|
-
X-Request-Id: eec6552de5a2aa5ae570139b388ffb9b
|
16
|
-
X-Runtime: 0.046892
|
17
|
-
Strict-Transport-Security: max-age=315360000
|
18
|
-
|
@@ -1,19 +0,0 @@
|
|
1
|
-
HTTP/1.1 200 OK
|
2
|
-
Server: nginx/1.4.4
|
3
|
-
Date: Tue, 14 Jan 2014 19:03:37 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: close
|
7
|
-
Status: 200 OK
|
8
|
-
X-Dnsimple-API-Version: 1.0.0
|
9
|
-
Access-Control-Allow-Origin: *
|
10
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-Dnsimple-Token,X-Dnsimple-Domain-Token,X-CSRF-Token,x-requested-with
|
11
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
12
|
-
X-UA-Compatible: IE=Edge,chrome=1
|
13
|
-
ETag: "3f9496912d04f422c7f083b93bd6e9e3"
|
14
|
-
Cache-Control: max-age=0, private, must-revalidate
|
15
|
-
X-Request-Id: eec6552de5a2aa5ae570139b388ffb9b
|
16
|
-
X-Runtime: 0.046892
|
17
|
-
Strict-Transport-Security: max-age=315360000
|
18
|
-
|
19
|
-
{}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
HTTP/1.1 200 OK
|
2
|
-
Server: nginx
|
3
|
-
Date: Mon, 15 Dec 2014 20:27:04 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: keep-alive
|
7
|
-
Status: 200 OK
|
8
|
-
Strict-Transport-Security: max-age=631138519
|
9
|
-
X-Frame-Options: SAMEORIGIN
|
10
|
-
X-XSS-Protection: 1
|
11
|
-
X-Content-Type-Options: nosniff
|
12
|
-
Access-Control-Allow-Origin: *
|
13
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
-
ETag: "882c85c0756e35625681ceb5262b0fe6"
|
16
|
-
Cache-Control: max-age=0, private, must-revalidate
|
17
|
-
X-Request-Id: 9a8e4510-d956-4a94-8a76-dd86669afef4
|
18
|
-
X-Runtime: 0.395985
|
19
|
-
Strict-Transport-Security: max-age=315360000
|
20
|
-
|
21
|
-
{"domain":{"id":1,"user_id":21,"registrant_id":321,"name":"example.com","unicode_name":"example.com","token":"domain-token","state":"registered","language":null,"lockable":false,"auto_renew":false,"whois_protected":false,"record_count":5,"service_count":1,"expires_on":"2015-09-27","created_at":"2012-09-27T14:25:57.646Z","updated_at":"2014-12-15T20:27:04.552Z"}}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
HTTP/1.1 200 OK
|
2
|
-
Server: nginx
|
3
|
-
Date: Mon, 22 Dec 2014 14:35:41 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: close
|
7
|
-
Status: 200 OK
|
8
|
-
Strict-Transport-Security: max-age=631138519
|
9
|
-
X-Frame-Options: SAMEORIGIN
|
10
|
-
X-XSS-Protection: 1
|
11
|
-
X-Content-Type-Options: nosniff
|
12
|
-
Access-Control-Allow-Origin: *
|
13
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
-
ETag: "d1f31d26c6ffb7c15a8b8b7660fee8c2"
|
16
|
-
Cache-Control: max-age=0, private, must-revalidate
|
17
|
-
X-Request-Id: 262e95da-b783-4328-973a-b71ee9d03552
|
18
|
-
X-Runtime: 2.595319
|
19
|
-
Strict-Transport-Security: max-age=315360000
|
20
|
-
|
21
|
-
{"whois_privacy":{"id":30,"domain_id":1744,"enabled":false,"expires_on":"2015-12-22"}}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
HTTP/1.1 200 OK
|
2
|
-
Server: nginx
|
3
|
-
Date: Mon, 15 Dec 2014 20:27:04 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: keep-alive
|
7
|
-
Status: 200 OK
|
8
|
-
Strict-Transport-Security: max-age=631138519
|
9
|
-
X-Frame-Options: SAMEORIGIN
|
10
|
-
X-XSS-Protection: 1
|
11
|
-
X-Content-Type-Options: nosniff
|
12
|
-
Access-Control-Allow-Origin: *
|
13
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
-
ETag: "882c85c0756e35625681ceb5262b0fe6"
|
16
|
-
Cache-Control: max-age=0, private, must-revalidate
|
17
|
-
X-Request-Id: 9a8e4510-d956-4a94-8a76-dd86669afef4
|
18
|
-
X-Runtime: 0.395985
|
19
|
-
Strict-Transport-Security: max-age=315360000
|
20
|
-
|
21
|
-
{"domain":{"id":1,"user_id":21,"registrant_id":321,"name":"example.com","unicode_name":"example.com","token":"domain-token","state":"registered","language":null,"lockable":false,"auto_renew":true,"whois_protected":false,"record_count":5,"service_count":1,"expires_on":"2015-09-27","created_at":"2012-09-27T14:25:57.646Z","updated_at":"2014-12-15T20:27:04.552Z"}}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
HTTP/1.1 200 OK
|
2
|
-
Server: nginx
|
3
|
-
Date: Mon, 15 Dec 2014 20:27:04 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: keep-alive
|
7
|
-
Status: 200 OK
|
8
|
-
Strict-Transport-Security: max-age=631138519
|
9
|
-
X-Frame-Options: SAMEORIGIN
|
10
|
-
X-XSS-Protection: 1
|
11
|
-
X-Content-Type-Options: nosniff
|
12
|
-
Access-Control-Allow-Origin: *
|
13
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
-
ETag: "882c85c0756e35625681ceb5262b0fe6"
|
16
|
-
Cache-Control: max-age=0, private, must-revalidate
|
17
|
-
X-Request-Id: 9a8e4510-d956-4a94-8a76-dd86669afef4
|
18
|
-
X-Runtime: 0.395985
|
19
|
-
Strict-Transport-Security: max-age=315360000
|
20
|
-
|
21
|
-
[{"domain":{"id":1,"user_id":21,"registrant_id":321,"name":"example.com","unicode_name":"example.com","token":"domain-token","state":"registered","language":null,"lockable":false,"auto_renew":true,"whois_protected":false,"record_count":5,"service_count":1,"expires_on":"2015-09-27","created_at":"2012-09-27T14:25:57.646Z","updated_at":"2014-12-15T20:27:04.552Z"}},{"domain":{"id":2,"user_id":21,"registrant_id":321,"name":"example.com","unicode_name":"example.it","token":"domain-token","state":"hosted","language":null,"lockable":false,"auto_renew":true,"whois_protected":false,"record_count":5,"service_count":1,"expires_on":null,"created_at":"2012-09-27T14:25:57.646Z","updated_at":"2014-12-15T20:27:04.552Z"}}]
|
@@ -1,21 +0,0 @@
|
|
1
|
-
HTTP/1.1 200 OK
|
2
|
-
Server: nginx
|
3
|
-
Date: Mon, 15 Dec 2014 20:27:04 GMT
|
4
|
-
Content-Type: application/json; charset=utf-8
|
5
|
-
Transfer-Encoding: chunked
|
6
|
-
Connection: keep-alive
|
7
|
-
Status: 200 OK
|
8
|
-
Strict-Transport-Security: max-age=631138519
|
9
|
-
X-Frame-Options: SAMEORIGIN
|
10
|
-
X-XSS-Protection: 1
|
11
|
-
X-Content-Type-Options: nosniff
|
12
|
-
Access-Control-Allow-Origin: *
|
13
|
-
Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
|
14
|
-
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
|
15
|
-
ETag: "882c85c0756e35625681ceb5262b0fe6"
|
16
|
-
Cache-Control: max-age=0, private, must-revalidate
|
17
|
-
X-Request-Id: 9a8e4510-d956-4a94-8a76-dd86669afef4
|
18
|
-
X-Runtime: 0.395985
|
19
|
-
Strict-Transport-Security: max-age=315360000
|
20
|
-
|
21
|
-
{"domain":{"id":1,"user_id":21,"registrant_id":321,"name":"example.com","unicode_name":"example.com","token":"domain-token","state":"registered","language":null,"lockable":false,"auto_renew":true,"whois_protected":false,"record_count":5,"service_count":1,"expires_on":"2015-09-27","created_at":"2012-09-27T14:25:57.646Z","updated_at":"2014-12-15T20:27:04.552Z"}}
|