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