dnsimple-ruby 1.0.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.bundle/config +3 -2
- data/Gemfile +1 -0
- data/Gemfile.lock +38 -30
- data/README +5 -0
- data/README.rdoc +5 -0
- data/README.textile +18 -0
- data/VERSION +1 -1
- data/bin/dnsimple.rb +2 -0
- data/dnsimple-ruby.gemspec +64 -10
- data/fixtures/vcr_cassettes/DNSimple_Certificate/_all.yml +44 -0
- data/fixtures/vcr_cassettes/DNSimple_Certificate/_purchase.yml +44 -0
- data/fixtures/vcr_cassettes/DNSimple_Certificate/_submit.yml +44 -0
- data/fixtures/vcr_cassettes/DNSimple_Contact/a_new_contact.yml +16 -18
- data/fixtures/vcr_cassettes/DNSimple_Contact/an_existing_contact.yml +15 -17
- data/fixtures/vcr_cassettes/DNSimple_Domain/_all.yml +45 -96
- data/fixtures/vcr_cassettes/DNSimple_Domain/applying_templates.yml +69 -169
- data/fixtures/vcr_cassettes/DNSimple_Domain/creating_a_new_domain.yml +16 -18
- data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain/by_id.yml +15 -17
- data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain/by_name.yml +15 -17
- data/fixtures/vcr_cassettes/DNSimple_Domain/registration/with_a_new_registrant_contact.yml +16 -18
- data/fixtures/vcr_cassettes/DNSimple_Domain/registration/with_an_existing_contact.yml +16 -18
- data/fixtures/vcr_cassettes/DNSimple_ExtendedAttribute/list_extended_attributes/for_ca.yml +12 -14
- data/fixtures/vcr_cassettes/DNSimple_ExtendedAttribute/list_extended_attributes/for_com.yml +12 -14
- data/fixtures/vcr_cassettes/DNSimple_Record/_all.yml +59 -247
- data/fixtures/vcr_cassettes/DNSimple_Record/creating_a_new_record.yml +16 -63
- data/fixtures/vcr_cassettes/DNSimple_Record/find_a_record.yml +13 -60
- data/fixtures/vcr_cassettes/DNSimple_Template/a_template.yml +15 -17
- data/fixtures/vcr_cassettes/DNSimple_User/_me.yml +15 -17
- data/lib/dnsimple/certificate.rb +49 -6
- data/lib/dnsimple/command.rb +10 -0
- data/lib/dnsimple/commands/add_service.rb +4 -2
- data/lib/dnsimple/commands/purchase_certificate.rb +4 -2
- data/lib/dnsimple/commands/submit_certificate.rb +19 -0
- data/lib/dnsimple/domain.rb +5 -4
- data/lib/dnsimple/record.rb +11 -15
- data/spec/certificate_spec.rb +31 -3
- data/spec/command_spec.rb +19 -0
- data/spec/commands/add_service_spec.rb +29 -0
- data/spec/commands/purchase_certificate_spec.rb +14 -0
- data/spec/commands/submit_certificate_spec.rb +19 -0
- data/spec/contact_spec.rb +1 -1
- data/spec/domain_spec.rb +21 -19
- data/spec/record_spec.rb +10 -9
- data/spec/spec_helper.rb +1 -0
- data/spec/user_spec.rb +12 -12
- metadata +38 -12
- data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain.yml +0 -46
@@ -2,8 +2,8 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :post
|
5
|
-
uri:
|
6
|
-
body: domain[name]=
|
5
|
+
uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains
|
6
|
+
body: domain[name]=example.com
|
7
7
|
headers:
|
8
8
|
accept:
|
9
9
|
- application/json
|
@@ -15,32 +15,30 @@
|
|
15
15
|
message: Created
|
16
16
|
headers:
|
17
17
|
x-ua-compatible:
|
18
|
-
- IE=Edge
|
18
|
+
- IE=Edge
|
19
19
|
access-control-allow-headers:
|
20
|
-
- Authorization
|
20
|
+
- Authorization,Accepts,Content-Type
|
21
21
|
x-dnsimple-api-version:
|
22
22
|
- 1.0.0
|
23
23
|
location:
|
24
|
-
- /domains/
|
24
|
+
- http://localhost:3000/domains/example.com
|
25
25
|
access-control-allow-methods:
|
26
|
-
-
|
27
|
-
access-control-allow-origin:
|
28
|
-
- "*"
|
26
|
+
- OPTIONS
|
29
27
|
content-type:
|
30
28
|
- application/json; charset=utf-8
|
31
|
-
|
32
|
-
- "
|
29
|
+
access-control-allow-origin:
|
30
|
+
- "*"
|
33
31
|
date:
|
34
|
-
-
|
32
|
+
- Fri, 11 Nov 2011 20:05:13 GMT
|
35
33
|
server:
|
36
|
-
-
|
34
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
|
35
|
+
x-runtime:
|
36
|
+
- "6.596858"
|
37
|
+
content-length:
|
38
|
+
- "412"
|
37
39
|
set-cookie:
|
38
|
-
- _dnsimple_session=
|
40
|
+
- _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlODY3M2E1Yzc3ODk2MmVkNjIwZDZhMjkzYjM4OWNhMmZJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--e7964c7a1589861bc35bdf8ebd826172d98be6d9; path=/; HttpOnly
|
39
41
|
cache-control:
|
40
42
|
- no-cache
|
41
|
-
|
42
|
-
- 201 Created
|
43
|
-
transfer-encoding:
|
44
|
-
- chunked
|
45
|
-
body: "{\"domain\":{\"created_at\":\"2011-05-22T18:40:47Z\",\"expires_at\":null,\"id\":141,\"lockable\":true,\"name\":\"testdomain.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T18:40:47Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}}"
|
43
|
+
body: "{\"domain\":{\"auto_renew\":null,\"created_at\":\"2011-11-11T20:05:07Z\",\"expires_at\":null,\"id\":39,\"last_name_server_status_check\":null,\"lockable\":true,\"name\":\"example.com\",\"name_server_status\":\"unknown\",\"parsed_expiration_date\":null,\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"state\":\"hosted\",\"updated_at\":\"2011-11-11T20:05:07Z\",\"user_id\":1,\"uses_external_name_servers\":null,\"record_count\":0}}"
|
46
44
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri:
|
5
|
+
uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/39
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -15,32 +15,30 @@
|
|
15
15
|
message: OK
|
16
16
|
headers:
|
17
17
|
x-ua-compatible:
|
18
|
-
- IE=Edge
|
18
|
+
- IE=Edge
|
19
19
|
access-control-allow-headers:
|
20
|
-
- Authorization
|
20
|
+
- Authorization,Accepts,Content-Type
|
21
21
|
x-dnsimple-api-version:
|
22
22
|
- 1.0.0
|
23
23
|
etag:
|
24
|
-
- "\"
|
24
|
+
- "\"24f073eea7b01a97c81f7582b82bed62\""
|
25
25
|
access-control-allow-methods:
|
26
|
-
-
|
27
|
-
access-control-allow-origin:
|
28
|
-
- "*"
|
26
|
+
- OPTIONS
|
29
27
|
content-type:
|
30
28
|
- application/json; charset=utf-8
|
31
|
-
|
32
|
-
- "
|
29
|
+
access-control-allow-origin:
|
30
|
+
- "*"
|
33
31
|
date:
|
34
|
-
-
|
32
|
+
- Fri, 11 Nov 2011 20:07:03 GMT
|
35
33
|
server:
|
36
|
-
-
|
34
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
|
35
|
+
x-runtime:
|
36
|
+
- "0.714568"
|
37
|
+
content-length:
|
38
|
+
- "412"
|
37
39
|
set-cookie:
|
38
|
-
- _dnsimple_session=
|
40
|
+
- _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYTAzNTZkNWM4ODA0NWJiNDEzNDc5M2NhZWZlNWI3NzNJIg5yZXR1cm5fdG8GOwBGSSIQL2RvbWFpbnMvMzkGOwBGSSIVdXNlcl9jcmVkZW50aWFscwY7AEZJIgGANWMyNGU2MzhmMDYxZGVkZjdmOWEzYmI2NzE3YmY1MTI5YmZlMGI3Yzg4OThmZGU1YTZhMzRjMWQ5MDllMjJjZTZiMzE3ODM0ZWU3ZmNkZGI5ZWI0Nzg3YWI2ZTAzNWNhNGZhMmJmNDFlZGMyYjljMWRhMDc2MGQ3YzM4Zjc2NTgGOwBUSSIYdXNlcl9jcmVkZW50aWFsc19pZAY7AEZpBg%3D%3D--bafce1f4bc906d8a8f284b6ab762ab40d51c3bf2; path=/; HttpOnly
|
39
41
|
cache-control:
|
40
42
|
- max-age=0, private, must-revalidate
|
41
|
-
|
42
|
-
- 200 OK
|
43
|
-
transfer-encoding:
|
44
|
-
- chunked
|
45
|
-
body: "{\"domain\":{\"created_at\":\"2011-05-22T18:40:47Z\",\"expires_at\":null,\"id\":141,\"lockable\":true,\"name\":\"testdomain.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T18:40:51Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}}"
|
43
|
+
body: "{\"domain\":{\"auto_renew\":null,\"created_at\":\"2011-11-11T20:05:07Z\",\"expires_at\":null,\"id\":39,\"last_name_server_status_check\":null,\"lockable\":true,\"name\":\"example.com\",\"name_server_status\":\"unknown\",\"parsed_expiration_date\":null,\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"state\":\"hosted\",\"updated_at\":\"2011-11-11T20:05:07Z\",\"user_id\":1,\"uses_external_name_servers\":null,\"record_count\":0}}"
|
46
44
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri:
|
5
|
+
uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/example.com
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -15,32 +15,30 @@
|
|
15
15
|
message: OK
|
16
16
|
headers:
|
17
17
|
x-ua-compatible:
|
18
|
-
- IE=Edge
|
18
|
+
- IE=Edge
|
19
19
|
access-control-allow-headers:
|
20
|
-
- Authorization
|
20
|
+
- Authorization,Accepts,Content-Type
|
21
21
|
x-dnsimple-api-version:
|
22
22
|
- 1.0.0
|
23
23
|
etag:
|
24
|
-
- "\"
|
24
|
+
- "\"24f073eea7b01a97c81f7582b82bed62\""
|
25
25
|
access-control-allow-methods:
|
26
|
-
-
|
27
|
-
access-control-allow-origin:
|
28
|
-
- "*"
|
26
|
+
- OPTIONS
|
29
27
|
content-type:
|
30
28
|
- application/json; charset=utf-8
|
31
|
-
|
32
|
-
- "
|
29
|
+
access-control-allow-origin:
|
30
|
+
- "*"
|
33
31
|
date:
|
34
|
-
-
|
32
|
+
- Fri, 11 Nov 2011 20:07:04 GMT
|
35
33
|
server:
|
36
|
-
-
|
34
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
|
35
|
+
x-runtime:
|
36
|
+
- "0.750983"
|
37
|
+
content-length:
|
38
|
+
- "412"
|
37
39
|
set-cookie:
|
38
|
-
- _dnsimple_session=
|
40
|
+
- _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYWE0MWY3YTU3MGUwYzI4Njg5MjY4M2EzOTI1NGIxZTNJIg5yZXR1cm5fdG8GOwBGSSIZL2RvbWFpbnMvZXhhbXBsZS5jb20GOwBGSSIVdXNlcl9jcmVkZW50aWFscwY7AEZJIgGANWMyNGU2MzhmMDYxZGVkZjdmOWEzYmI2NzE3YmY1MTI5YmZlMGI3Yzg4OThmZGU1YTZhMzRjMWQ5MDllMjJjZTZiMzE3ODM0ZWU3ZmNkZGI5ZWI0Nzg3YWI2ZTAzNWNhNGZhMmJmNDFlZGMyYjljMWRhMDc2MGQ3YzM4Zjc2NTgGOwBUSSIYdXNlcl9jcmVkZW50aWFsc19pZAY7AEZpBg%3D%3D--bf2ced8c665b5c9e93ec8a2e94d0db86a960235c; path=/; HttpOnly
|
39
41
|
cache-control:
|
40
42
|
- max-age=0, private, must-revalidate
|
41
|
-
|
42
|
-
- 200 OK
|
43
|
-
transfer-encoding:
|
44
|
-
- chunked
|
45
|
-
body: "{\"domain\":{\"created_at\":\"2011-05-22T18:40:47Z\",\"expires_at\":null,\"id\":141,\"lockable\":true,\"name\":\"testdomain.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T18:40:51Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}}"
|
43
|
+
body: "{\"domain\":{\"auto_renew\":null,\"created_at\":\"2011-11-11T20:05:07Z\",\"expires_at\":null,\"id\":39,\"last_name_server_status_check\":null,\"lockable\":true,\"name\":\"example.com\",\"name_server_status\":\"unknown\",\"parsed_expiration_date\":null,\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"state\":\"hosted\",\"updated_at\":\"2011-11-11T20:05:07Z\",\"user_id\":1,\"uses_external_name_servers\":null,\"record_count\":0}}"
|
46
44
|
http_version: "1.1"
|
@@ -2,8 +2,8 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :post
|
5
|
-
uri:
|
6
|
-
body: domain[name]=
|
5
|
+
uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domain_registrations
|
6
|
+
body: domain[name]=dnsimple-example-1321042288.com&contact[last_name]=Smith&contact[state_province]=FL&contact[phone]=321%20555%201212&contact[address1]=123%20SW%201st%20Street&contact[city]=Miami&contact[country]=US&contact[first_name]=John&contact[postal_code]=33143
|
7
7
|
headers:
|
8
8
|
accept:
|
9
9
|
- application/json
|
@@ -15,32 +15,30 @@
|
|
15
15
|
message: Created
|
16
16
|
headers:
|
17
17
|
x-ua-compatible:
|
18
|
-
- IE=Edge
|
18
|
+
- IE=Edge
|
19
19
|
access-control-allow-headers:
|
20
|
-
- Authorization
|
20
|
+
- Authorization,Accepts,Content-Type
|
21
21
|
x-dnsimple-api-version:
|
22
22
|
- 1.0.0
|
23
23
|
location:
|
24
|
-
- /domains/
|
24
|
+
- http://localhost:3000/domains/dnsimple-example-1321042288.com
|
25
25
|
access-control-allow-methods:
|
26
|
-
-
|
27
|
-
access-control-allow-origin:
|
28
|
-
- "*"
|
26
|
+
- OPTIONS
|
29
27
|
content-type:
|
30
28
|
- application/json; charset=utf-8
|
31
|
-
|
32
|
-
- "
|
29
|
+
access-control-allow-origin:
|
30
|
+
- "*"
|
33
31
|
date:
|
34
|
-
-
|
32
|
+
- Fri, 11 Nov 2011 20:12:00 GMT
|
35
33
|
server:
|
36
|
-
-
|
34
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
|
35
|
+
x-runtime:
|
36
|
+
- "32.052851"
|
37
|
+
content-length:
|
38
|
+
- "531"
|
37
39
|
set-cookie:
|
38
|
-
- _dnsimple_session=
|
40
|
+
- _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlMmIxNzg4ODcxYmM0ODgwMWY5ZDcxYTUxM2Y2NThhZTdJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkGSSIJbmFtZQY7AEZJIiRkbnNpbXBsZS1leGFtcGxlLTEzMjEwNDIyODguY29tBjsAVA%3D%3D--e314feed5f06252ed43bc76f7a38dcf564468e4f; path=/; HttpOnly
|
39
41
|
cache-control:
|
40
42
|
- no-cache
|
41
|
-
|
42
|
-
- 201 Created
|
43
|
-
transfer-encoding:
|
44
|
-
- chunked
|
45
|
-
body: "{\"domain\":{\"created_at\":\"2011-05-22T18:51:30Z\",\"expires_at\":\"5/22/2012 2:51:00 PM\",\"id\":142,\"last_enom_order_id\":\"157715708\",\"lockable\":true,\"name\":\"testdomain.net\",\"name_server_status\":\"unknown\",\"pdns_identifier\":null,\"real_time\":true,\"registrant_id\":30,\"registration_status\":\"registered\",\"updated_at\":\"2011-05-22T18:51:34Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}}"
|
43
|
+
body: "{\"domain\":{\"auto_renew\":null,\"created_at\":\"2011-11-11T20:11:34Z\",\"expires_at\":\"11/11/2012 12:11:00 PM\",\"id\":41,\"last_enom_order_id\":\"157773080\",\"last_name_server_status_check\":null,\"lockable\":true,\"name\":\"dnsimple-example-1321042288.com\",\"name_server_status\":\"unknown\",\"parsed_expiration_date\":\"2012-11-11T12:11:00Z\",\"pdns_identifier\":null,\"real_time\":true,\"registrant_id\":3,\"registration_status\":\"registered\",\"state\":\"registered\",\"updated_at\":\"2011-11-11T20:12:00Z\",\"user_id\":1,\"uses_external_name_servers\":null,\"record_count\":0}}"
|
46
44
|
http_version: "1.1"
|
@@ -2,8 +2,8 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :post
|
5
|
-
uri:
|
6
|
-
body: domain[registrant_id]=
|
5
|
+
uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domain_registrations
|
6
|
+
body: domain[registrant_id]=1&domain[name]=dnsimple-example-1321042237.com
|
7
7
|
headers:
|
8
8
|
accept:
|
9
9
|
- application/json
|
@@ -15,32 +15,30 @@
|
|
15
15
|
message: Created
|
16
16
|
headers:
|
17
17
|
x-ua-compatible:
|
18
|
-
- IE=Edge
|
18
|
+
- IE=Edge
|
19
19
|
access-control-allow-headers:
|
20
|
-
- Authorization
|
20
|
+
- Authorization,Accepts,Content-Type
|
21
21
|
x-dnsimple-api-version:
|
22
22
|
- 1.0.0
|
23
23
|
location:
|
24
|
-
- /domains/
|
24
|
+
- http://localhost:3000/domains/dnsimple-example-1321042237.com
|
25
25
|
access-control-allow-methods:
|
26
|
-
-
|
27
|
-
access-control-allow-origin:
|
28
|
-
- "*"
|
26
|
+
- OPTIONS
|
29
27
|
content-type:
|
30
28
|
- application/json; charset=utf-8
|
31
|
-
|
32
|
-
- "
|
29
|
+
access-control-allow-origin:
|
30
|
+
- "*"
|
33
31
|
date:
|
34
|
-
-
|
32
|
+
- Fri, 11 Nov 2011 20:11:09 GMT
|
35
33
|
server:
|
36
|
-
-
|
34
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
|
35
|
+
x-runtime:
|
36
|
+
- "31.776131"
|
37
|
+
content-length:
|
38
|
+
- "531"
|
37
39
|
set-cookie:
|
38
|
-
- _dnsimple_session=
|
40
|
+
- _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlMzA0NzU5OThhM2Q5MmYwMGM4MGQzNzkxNWQ3ZThhNzFJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkGSSIJbmFtZQY7AEZJIiRkbnNpbXBsZS1leGFtcGxlLTEzMjEwNDIyMzcuY29tBjsAVA%3D%3D--557950d7421074c1db19f6b637c603cd90a185ec; path=/; HttpOnly
|
39
41
|
cache-control:
|
40
42
|
- no-cache
|
41
|
-
|
42
|
-
- 201 Created
|
43
|
-
transfer-encoding:
|
44
|
-
- chunked
|
45
|
-
body: "{\"domain\":{\"created_at\":\"2011-05-22T18:53:30Z\",\"expires_at\":\"5/22/2012 2:53:00 PM\",\"id\":143,\"last_enom_order_id\":\"157715709\",\"lockable\":true,\"name\":\"testdomain.net\",\"name_server_status\":\"unknown\",\"pdns_identifier\":null,\"real_time\":true,\"registrant_id\":2,\"registration_status\":\"registered\",\"updated_at\":\"2011-05-22T18:53:34Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}}"
|
43
|
+
body: "{\"domain\":{\"auto_renew\":null,\"created_at\":\"2011-11-11T20:10:46Z\",\"expires_at\":\"11/11/2012 12:10:00 PM\",\"id\":40,\"last_enom_order_id\":\"157773079\",\"last_name_server_status_check\":null,\"lockable\":true,\"name\":\"dnsimple-example-1321042237.com\",\"name_server_status\":\"unknown\",\"parsed_expiration_date\":\"2012-11-11T12:10:00Z\",\"pdns_identifier\":null,\"real_time\":true,\"registrant_id\":1,\"registration_status\":\"registered\",\"state\":\"registered\",\"updated_at\":\"2011-11-11T20:11:09Z\",\"user_id\":1,\"uses_external_name_servers\":null,\"record_count\":0}}"
|
46
44
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri:
|
5
|
+
uri: http://<USERNAME>:<PASSWORD>@localhost:3000/extended_attributes/ca.json
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
authorization:
|
@@ -13,30 +13,28 @@
|
|
13
13
|
message: OK
|
14
14
|
headers:
|
15
15
|
x-ua-compatible:
|
16
|
-
- IE=Edge
|
16
|
+
- IE=Edge
|
17
17
|
access-control-allow-headers:
|
18
|
-
- Authorization
|
18
|
+
- Authorization,Accepts,Content-Type
|
19
19
|
x-dnsimple-api-version:
|
20
20
|
- 1.0.0
|
21
21
|
etag:
|
22
22
|
- "\"b4b5d46d690d56a070c696851b300f22\""
|
23
23
|
access-control-allow-methods:
|
24
|
-
-
|
25
|
-
access-control-allow-origin:
|
26
|
-
- "*"
|
24
|
+
- OPTIONS
|
27
25
|
content-type:
|
28
26
|
- application/json; charset=utf-8
|
29
|
-
|
30
|
-
- "
|
27
|
+
access-control-allow-origin:
|
28
|
+
- "*"
|
31
29
|
date:
|
32
|
-
-
|
30
|
+
- Fri, 11 Nov 2011 20:33:29 GMT
|
33
31
|
server:
|
34
|
-
-
|
32
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
|
33
|
+
x-runtime:
|
34
|
+
- "2.158712"
|
35
|
+
content-length:
|
36
|
+
- "18621"
|
35
37
|
cache-control:
|
36
38
|
- max-age=0, private, must-revalidate
|
37
|
-
status:
|
38
|
-
- 200 OK
|
39
|
-
transfer-encoding:
|
40
|
-
- chunked
|
41
39
|
body: "[{\"name\":\"cira_legal_type\",\"description\":\"Legal type of registrant contact\",\"child\":false,\"required\":true,\"application\":\"2\",\"user_defined\":false,\"options\":[{\"title\":\"Corporation\",\"value\":\"CCO\",\"description\":\"A corporation under the laws of Canada or any province or territory of Canada, Charities, Cooperative, Council.<br/>Requirements: Registrant name must be the full legal name of the corporation and must be followed by the jurisdiction of incorporation (eg. Canada, Ontario, NWT...), unless it is obvious from the corporation's name. Canadian Internet Registration Authority (Canada). For Charities, the NFP should be included in the organization name. If this is a not-for-profit organization, you are also required to submit the registration number i.e.: 123456789 RR0001\"},{\"title\":\"Canadian Citizen\",\"value\":\"CCT\",\"description\":\"A Canadian citizen of the age of majority under the laws of the province or territory in Canada in which he or she resides or last resided.<br/>Requirements: The Registrant's name must be the full legal name of the Canadian Citizen who will hold the domain name registration as the name would appear on a passport, driver's license or other identification document issued by a government. The name can be followed by a space and \\\"o/a xxxx\\\" where \\\"o/a\\\" stands for \\\"Operating As\\\" and \\\"xxxx\\\" can be any alpha-numeric string designated by the applicant and subject to applicable rules and length restrictions (e.g. \\\"John Doe o/a Doe Consulting Group\\\"). The name may also be followed by a space and a degree granted to the registrant (eg. PhD.) Full legal names of individuals may only consist of alphabetic characters and the special characters: single quote mark('), hyphen(-), period(.).\"},{\"title\":\"Canadian Resident\",\"value\":\"RES\",\"description\":\"A permanent resident as defined in the Immigration and Refugee Protection Act (Canada) S.C. 2001, c.27, as amended from time to time, who is \\\"ordinarily resident\\\" (as defined below) in Canada and of the age of majority under the laws of the province or territory in Canada in which he or she resides or last resided. \\\"Ordinarily resident in Canada\\\" means an individual who resides in Canada for more than 183 days in the twelve month period immediately preceding the date of the applicable request for registration of the .ca domain name or sub-domain name and in each twelve month period thereafter for the duration of the domain name registration.<br/>Requirements: The Registrant's name must be the full legal name of the Permanent Resident who will hold the domain name registration as the name would appear on a driver's license or other identification document issued by a government. The full legal name may be followed by a space and \\\"o/a xxxx\\\" where \\\"o/a\\\" stands for \\\"Operating As\\\" and \\\"xxxx\\\" can be any alpha-numeric string designated by the applicant and subject to applicable rules and length restrictions (e.g. \\\"John Doe o/a Doe Consulting Group\\\"). The name may also be followed by a space and a degree granted to the registrant by a recognized degree granting institution or a recognized professional designation which the registrant has the right to use (eg. PhD, MD, DDS.) Full legal names of individuals may only consist of alphabetic characters and the special characters: single quote mark('), hyphen(-), period(.).\"},{\"title\":\"Government Entity\",\"value\":\"GOV\",\"description\":\"Her Majesty the Queen in right of Canada, a province or a territory; an agent of Her Majesty the Queen in right of Canada, of a province or of a territory; a federal, provincial or territorial Crown corporation, government agency or government entity; or a regional, municipal or local area government.<br />Requirements: The Registrant's name must be the complete official name of the entity that will hold the domain name registration, without any abbreviations. (A common abbreviation may follow the official name in parentheses). If the Registrant is not a government, the Registrant's name must be followed by the name of the jurisdiction (eg. Canada, province, territory, municipality, etc) to which the Registrant is related.\"},{\"title\":\"Educational\",\"value\":\"EDU\",\"description\":\"(i) A university or college which is located in Canada and which is authorized or recognized as a university or college under an Act of the legislature of a province or territory of Canada; or<br />(ii) A college, post-secondary school, vocational school, secondary school, pre-school or other school or educational institution which is located in Canada and which is recognized by the educational authorities of a province or territory of Canada or licensed under or maintained by an Act of Parliament of Canada or of the legislature of a province or territory of Canada.<br />Requirements: The Registrant's name must be the complete official name of the institution that will hold the domain name registration, without any abbreviations. A common abbreviation may follow the official name in parentheses. The Registrant name must be followed by the jurisdiction (e.g. name of province, municipality) in which the institution is accredited if not obvious from the Registrant's name.\"},{\"title\":\"Unincorporated Association\",\"value\":\"ASS\",\"description\":\"This Registrant Type is principally intended for religious congregations, social and sports clubs and community groups, council (not registered) or society (not registered) which are based and operating in Canada. An unincorporated organization, association or club:<br />(i) At least 80% of whose members: (A) are ordinarily resident in Canada (if such members are individuals); or (B) meet the requirements of any one of the following Registrant Types: Corporation (Canada or Canadian province or territory), Canadian citizen, Permanent Resident of Canada, Partnership Registered in Canada, Trust established in Canada, Legal Representative of a Canadian Citizen or Permanent Resident; and<br />(ii) At least 80% of whose directors, officers, employees, managers, administrators or other representatives are ordinarily resident in Canada.<br />Requirements: The Registrant's name must be the complete name of the association that will hold the domain name registration, without any abbreviations. (A common abbreviation may follow the complete name in parentheses).\"},{\"title\":\"Hospital\",\"value\":\"HOP\",\"description\":\"A hospital which is located in Canada and which is licensed, authorized or approved to operate as a hospital under an Act of the legislature of a province or territory of Canada<br />Requirements: The Registrant's name must be the complete official name of the hospital that will hold the domain name registration, without any abbreviations. (A common abbreviation may follow the complete name in parentheses.) The Registrant's name must be followed by the jurisdiction (eg. name of province) which accredited the hospital if not obvious from the Registrant's name.\"},{\"title\":\"Partnership\",\"value\":\"PRT\",\"description\":\"A partnership, more than 66 2/3 per cent of whose partners meet the requirements of one of the following Registrant Types: Corporation (Canada or Canadian province or territory), Canadian citizen, Permanent Resident of Canada, Trust established in Canada or a Legal Representative of a Canadian Citizen or Permanent Resident, which is registered as a partnership under the laws of any province or territory of Canada.<br />Requirements: The Registrant's name must be the registered name of the partnership that will hold the domain name registration. The Registrant name must be followed by the jurisdiction of registration (eg. Alberta) and the registration number.\"},{\"title\":\"Trade-mark\",\"value\":\"TDM\",\"description\":\"A Person which does not fall under any other registrant type, but which is the owner of a trade-mark which is the subject of a registration under the Trade-marks Act (Canada) R.S.C. 1985, c.T-13 as amended from time to time, but in this case such permission is limited to a request to register a .ca domain name consisting of or including the exact word component of that registered trade-mark.<br />This Registrant Type is only intended for Registrants which do not meet the requirements associated with any other registrant type but which have a trade-mark registered in Canada. (Trade-marks subject of trade-mark applications and trade-marks registered in other jurisdictions, such as the United States, do not qualify.)<br />The domain name to be registered must include the trade-mark. (eg. If the trade-mark is AVEA this type of registrant can register avea.ca or aveaisus.ca but not xyz.ca).\"},{\"title\":\"Trade Union\",\"value\":\"TRD\",\"description\":\"A trade union which is recognized by a labour board under the laws of Canada or any province or territory of Canada and which has its head office in Canada.<br />Requirements: The Registrant's name must be the complete official name of the trade union that will hold the domain name registration, without abbreviations. (A common abbreviation may follow the official name in parentheses.) The Registrant name must be followed by the jurisdiction in Canada which recognizes it (if it is not obvious from the Registrant's name.)\"},{\"title\":\"Political Party\",\"value\":\"PLT\",\"description\":\"A political party registered under a relevant electoral law of Canada or any province or territory of Canada<br />Requirements: The Registrant's name must be the complete official name of the political party holding the domain name registration, without abbreviations. (A common abbreviation may follow the official name in parentheses.) The Registrant name must also by followed by the jurisdiction in Canada in which it is registered (if it is not obvious from the official name).\"},{\"title\":\"Library, Archive or Museum\",\"value\":\"LAM\",\"description\":\"An institution, whether or not incorporated, that:<br />(i) is located in Canada; and<br />(ii) is not established or conducted for profit or does not form part of, or is not administered or directly or indirectly controlled by, a body that is established or conducted for profit in which is held and maintained a collection of documents and other materials that is open to the public or to researchers.<br />Requirements: The Registrant's name must be the complete legal name of the institution which will hold the domain name registration without abbreviations. (A common abbreviation may follow the complete name in parentheses.)\"},{\"title\":\"Trust\",\"value\":\"TRS\",\"description\":\"A trust established and subsisting under the laws of a province or territory of Canada, more than 66 2/3 % of whose trustees meet the requirements of one of the following Registrant Types: Corporation (Canada or Canadian province or territory), Canadian citizen, Permanent Resident of Canada, or a Legal Representative of a Canadian Citizen or Permanent Resident.<br />Requirements: The Registrant's name must be the complete official name of the trust, without any abbreviations. (A common abbreviation may follow the official name in parentheses.) The Registrant name must also indicate the total percentage of the trustees that meet one or more of the following requirements: Canadian citizen, permanent resident, Canadian corporation, legal representative.\"},{\"title\":\"Aboriginal Peoples\",\"value\":\"ABO\",\"description\":\"Any individual belonging to any Inuit, First Nation, Metis or other people indigenous to Canada.<br />Requirements: The Registrant's name must be the full legal name of the Aboriginal Person applying for the Registration as it would appear on a driver's license or other identification document issued by government.<br />The Registrant may enter its full legal name followed by a space and \\\"o/a xxxx\\\" where \\\"o/a\\\" stands for \\\"Operating As\\\" and \\\"xxxx\\\" can be any alpha-numeric string designated by the applicant and subject to applicable rules and length restrictions (e.g. \\\"John Doe o/a Doe Consulting Group\\\"). The name may also be followed by a space and a degree granted to the registrant by a recognized degree granting institution or a recognized professional designation which the registrant has the right to use (eg. PhD, MD, DDS.)<br />Full legal names of individuals may only consist of alphabetic characters and the special characters: single quote mark(''), hyphen(-), period(.).<br/>Groups: Any Inuit, First Nation, Metis or other people indigenous to Canada, and any collectivity of such Aboriginal peoples.<br />Requirements: The Registrant's name must be the complete official name of the indigenous people a collectivity of Aboriginal Persons or, if there is no official name, the name by which the collectivity is commonly known.\"},{\"title\":\"Indian Band\",\"value\":\"INB\",\"description\":\"Any Indian band as defined in the Indian Act, R.S.C. 1985, c. I-5, as amended from time to time, and any group of Indian bands;<br />Requirements: The name of Registrant must be the Indian Band Name as registered with the Department of Indian and Northern Affairs, Canada.\"},{\"title\":\"Legal Representative\",\"value\":\"LGR\",\"description\":\"An executor, administrator or other legal representative of a Person listed as a Canadian Citizen or Permanent Resident of Canada.<br />Note: This registrant type is only available to a person or entity that has been appointed by legal process to represent an individual who is not competent to represent him or herself. It is not available to anyone who represents a Canadian or foreign corporation in any capacity.<br />Requirements: The Registrant's name must be the full legal name of the Canadian Citizen or Permanent Resident of Canada who is being represented as it would appear on a passport, driver's license or other government identification document. This must be followed by the full legal name and capacity of at least one of the official representatives. The representative should be identified as the administrative contact for these registrations.\"},{\"title\":\"Official Mark\",\"value\":\"OMK\",\"description\":\"A Person which does not meet the requirements for any other Registrant Type, but which is a Person intended to be protected by Subsection 9(1) of the Trade-Marks Act (Canada) at whose request the Registrar of Trade-marks has published notice of adoption of any badge, crest, emblem, official mark or other mark pursuant to Subsection 9(1), but in this case such permission is limited to a request to register a .ca domain name consisting of or including the exact word component of such badge, crest, emblem, official mark or other mark in respect of which such Person requested publications.<br />Notes: This registrant type is only intended for Registrants which do not meet the requirements associated with any other registrant type but which have an Official Mark registered in Canada. The domain name must include the official mark (eg. If the official mark is WIPO, the registrant can register wipo.ca but not intellectual-property.ca)<br />Requirements: The Registrant's name must be the complete official name of the entity holding the domain name registration without any abbreviations. (A common abbreviation may follow the complete name in parentheses.) The registration number of the official mark must follow the Registrant Name.\"},{\"title\":\"The Queen\",\"value\":\"MAJ\",\"description\":\"Her Majesty Queen Elizabeth the Second and her successors. Requirements: The Registrant's name must be that of Her Majesty the Queen or, after a succession, the name of her successor.\"}]},{\"name\":\"cira_whois_display\",\"description\":\"Hide registrant data in CIRA WHOIS\",\"child\":true,\"required\":false,\"application\":\"2\",\"user_defined\":false,\"options\":[{\"title\":\"No\",\"value\":\"FULL\",\"description\":\"Do not hide the registrant contact information in CIRA WHOIS.\"},{\"title\":\"Yes\",\"value\":\"PRIVATE\",\"description\":\"Hide the registrant contact information in Cira WHOIS (only available to individuals).\"}]},{\"name\":\"cira_language\",\"description\":\"The contact's preferred language for communication\",\"child\":false,\"required\":true,\"application\":\"2\",\"user_defined\":false,\"options\":[{\"title\":\"English\",\"value\":\"en\",\"description\":\"Use English for Registry to Registrant communication\"},{\"title\":\"French\",\"value\":\"fr\",\"description\":\"Use French for Registry to Registrant communication\"}]},{\"name\":\"cira_agreement_version\",\"description\":\"Version of the CIRA Registrant Agreement displayed and agreed to by the Registrant on the Registrar website\",\"child\":false,\"required\":true,\"application\":\"2\",\"user_defined\":false,\"options\":[{\"title\":\"2.0\",\"value\":\"2.0\",\"description\":\"Current Version of Registrant Agreement\"}]},{\"name\":\"cira_agreement_value\",\"description\":\"Registrant has agreed to CIRA's Registrant Agreement\",\"child\":false,\"required\":true,\"application\":\"2\",\"user_defined\":false,\"options\":[{\"title\":\"No\",\"value\":\"N\",\"description\":\"\\\"You have read, understood and agree to the terms and conditions of the Registrant\\nAgreement, and that CIRA may, from time to time and at its discretion, amend any or all of\\nthe terms and conditions of the Registrant Agreement, as CIRA deems appropriate, by\\nposting a notice of the changes on the CIRA website and by sending a notice of any\\nmaterial changes to Registrant.\\\"\\n\\n\\\"You meet all the requirements of the Registrant Agreement to be a Registrant, to apply for\\nthe registration of a Domain Name Registration, and to hold and maintain a Domain Name\\nRegistration, including without limitation CIRA's Canadian Presence Requirements for\\nRegistrants, at: www.cira.ca/assets/Documents/Legal/Registrants/CPR.pdf.\\\"\\n\\n\\\"CIRA will collect, use and disclose your personal information, as set out in CIRA's\\nPrivacy Policy, at: www.cira.ca/assets/Documents/Legal/Registrants/privacy.pdf.\\\"\"},{\"title\":\"Yes\",\"value\":\"Y\",\"description\":\"\\\"You have read, understood and agree to the terms and conditions of the Registrant\\nAgreement, and that CIRA may, from time to time and at its discretion, amend any or all of\\nthe terms and conditions of the Registrant Agreement, as CIRA deems appropriate, by\\nposting a notice of the changes on the CIRA website and by sending a notice of any\\nmaterial changes to Registrant.\\\"\\n\\n\\\"You meet all the requirements of the Registrant Agreement to be a Registrant, to apply for\\nthe registration of a Domain Name Registration, and to hold and maintain a Domain Name\\nRegistration, including without limitation CIRA's Canadian Presence Requirements for\\nRegistrants, at: www.cira.ca/assets/Documents/Legal/Registrants/CPR.pdf.\\\"\\n\\n\\\"CIRA will collect, use and disclose your personal information, as set out in CIRA's\\nPrivacy Policy, at: www.cira.ca/assets/Documents/Legal/Registrants/privacy.pdf.\\\"\"}]}]"
|
42
40
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri:
|
5
|
+
uri: http://<USERNAME>:<PASSWORD>@localhost:3000/extended_attributes/com.json
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
authorization:
|
@@ -13,30 +13,28 @@
|
|
13
13
|
message: OK
|
14
14
|
headers:
|
15
15
|
x-ua-compatible:
|
16
|
-
- IE=Edge
|
16
|
+
- IE=Edge
|
17
17
|
access-control-allow-headers:
|
18
|
-
- Authorization
|
18
|
+
- Authorization,Accepts,Content-Type
|
19
19
|
x-dnsimple-api-version:
|
20
20
|
- 1.0.0
|
21
21
|
etag:
|
22
22
|
- "\"d751713988987e9331980363e24189ce\""
|
23
23
|
access-control-allow-methods:
|
24
|
-
-
|
25
|
-
access-control-allow-origin:
|
26
|
-
- "*"
|
24
|
+
- OPTIONS
|
27
25
|
content-type:
|
28
26
|
- application/json; charset=utf-8
|
29
|
-
|
30
|
-
- "
|
27
|
+
access-control-allow-origin:
|
28
|
+
- "*"
|
31
29
|
date:
|
32
|
-
-
|
30
|
+
- Fri, 11 Nov 2011 20:33:27 GMT
|
33
31
|
server:
|
34
|
-
-
|
32
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
|
33
|
+
x-runtime:
|
34
|
+
- "2.685911"
|
35
|
+
content-length:
|
36
|
+
- "2"
|
35
37
|
cache-control:
|
36
38
|
- max-age=0, private, must-revalidate
|
37
|
-
status:
|
38
|
-
- 200 OK
|
39
|
-
transfer-encoding:
|
40
|
-
- chunked
|
41
39
|
body: "[]"
|
42
40
|
http_version: "1.1"
|
@@ -1,54 +1,9 @@
|
|
1
1
|
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :get
|
5
|
-
uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/domains/testdomain.com
|
6
|
-
body:
|
7
|
-
headers:
|
8
|
-
accept:
|
9
|
-
- application/json
|
10
|
-
authorization:
|
11
|
-
- Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
|
12
|
-
response: !ruby/struct:VCR::Response
|
13
|
-
status: !ruby/struct:VCR::ResponseStatus
|
14
|
-
code: 200
|
15
|
-
message: OK
|
16
|
-
headers:
|
17
|
-
x-ua-compatible:
|
18
|
-
- IE=Edge,chrome=1
|
19
|
-
access-control-allow-headers:
|
20
|
-
- Authorization
|
21
|
-
x-dnsimple-api-version:
|
22
|
-
- 1.0.0
|
23
|
-
etag:
|
24
|
-
- "\"ed7071e1643f24d485731425afd72130\""
|
25
|
-
access-control-allow-methods:
|
26
|
-
- "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
|
27
|
-
access-control-allow-origin:
|
28
|
-
- "*"
|
29
|
-
content-type:
|
30
|
-
- application/json; charset=utf-8
|
31
|
-
x-runtime:
|
32
|
-
- "0.025032"
|
33
|
-
date:
|
34
|
-
- Sun, 22 May 2011 21:01:33 GMT
|
35
|
-
server:
|
36
|
-
- nginx/1.0.2
|
37
|
-
set-cookie:
|
38
|
-
- _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYTkzYWQzN2Y3NDZiNjUzNWVjNGJmNDg3MjY2ZTgzZTdJIg5yZXR1cm5fdG8GOwBGIhwvZG9tYWlucy90ZXN0ZG9tYWluLmNvbUkiFXVzZXJfY3JlZGVudGlhbHMGOwBGSSIBgDhjN2RlMjhiNDYyZjRhYjUzMzEwMzVkNWIzZTNkNGRlNWMyNDQ1NTU1NjNiMGEzOTE1YWM4OTgyZDlmMGFkYzRiNGI4OTA1MzVkZDJjNjA0MjI0NTM1NGE5NTRiOGNkNzczYjE3N2Q3ODA0OGU0ZTk4OGQ1Y2MzNDYwZTBhOTNmBjsAVEkiGHVzZXJfY3JlZGVudGlhbHNfaWQGOwBGaQc%3D--95feb573fa48a5502548d137dc63010109b2c18d; path=/; HttpOnly
|
39
|
-
cache-control:
|
40
|
-
- max-age=0, private, must-revalidate
|
41
|
-
status:
|
42
|
-
- 200 OK
|
43
|
-
transfer-encoding:
|
44
|
-
- chunked
|
45
|
-
body: "{\"domain\":{\"created_at\":\"2011-05-22T21:01:03Z\",\"expires_at\":null,\"id\":155,\"lockable\":true,\"name\":\"testdomain.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T21:01:07Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":0}}"
|
46
|
-
http_version: "1.1"
|
47
2
|
- !ruby/struct:VCR::HTTPInteraction
|
48
3
|
request: !ruby/struct:VCR::Request
|
49
4
|
method: :post
|
50
|
-
uri:
|
51
|
-
body:
|
5
|
+
uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/example.com/records
|
6
|
+
body: record[ttl]=3600&record[prio]=&record[record_type]=A&record[name]=&record[content]=4.5.6.7
|
52
7
|
headers:
|
53
8
|
accept:
|
54
9
|
- application/json
|
@@ -60,85 +15,38 @@
|
|
60
15
|
message: Created
|
61
16
|
headers:
|
62
17
|
x-ua-compatible:
|
63
|
-
- IE=Edge
|
18
|
+
- IE=Edge
|
64
19
|
access-control-allow-headers:
|
65
|
-
- Authorization
|
20
|
+
- Authorization,Accepts,Content-Type
|
66
21
|
x-dnsimple-api-version:
|
67
22
|
- 1.0.0
|
68
23
|
location:
|
69
|
-
- /domains/
|
24
|
+
- http://localhost:3000/domains/example.com/records/71
|
70
25
|
access-control-allow-methods:
|
71
|
-
-
|
72
|
-
access-control-allow-origin:
|
73
|
-
- "*"
|
26
|
+
- OPTIONS
|
74
27
|
content-type:
|
75
28
|
- application/json; charset=utf-8
|
76
|
-
x-runtime:
|
77
|
-
- "0.133319"
|
78
|
-
date:
|
79
|
-
- Sun, 22 May 2011 21:01:34 GMT
|
80
|
-
server:
|
81
|
-
- nginx/1.0.2
|
82
|
-
set-cookie:
|
83
|
-
- _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMTcxMmQyM2Q4YzdhN2I5MTIyNzllZWUyY2Q4Mjk5MDhJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--071aa967b290fb21d17aac723b6572cc29e332c6; path=/; HttpOnly
|
84
|
-
cache-control:
|
85
|
-
- no-cache
|
86
|
-
status:
|
87
|
-
- 201 Created
|
88
|
-
transfer-encoding:
|
89
|
-
- chunked
|
90
|
-
body: "{\"record\":{\"content\":\"4.5.6.7\",\"created_at\":\"2011-05-22T21:01:34Z\",\"domain_id\":155,\"domain_service_id\":null,\"id\":197,\"name\":\"\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"A\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T21:01:34Z\"}}"
|
91
|
-
http_version: "1.1"
|
92
|
-
- !ruby/struct:VCR::HTTPInteraction
|
93
|
-
request: !ruby/struct:VCR::Request
|
94
|
-
method: :get
|
95
|
-
uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/domains/testdomain.com
|
96
|
-
body:
|
97
|
-
headers:
|
98
|
-
accept:
|
99
|
-
- application/json
|
100
|
-
authorization:
|
101
|
-
- Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
|
102
|
-
response: !ruby/struct:VCR::Response
|
103
|
-
status: !ruby/struct:VCR::ResponseStatus
|
104
|
-
code: 200
|
105
|
-
message: OK
|
106
|
-
headers:
|
107
|
-
x-ua-compatible:
|
108
|
-
- IE=Edge,chrome=1
|
109
|
-
access-control-allow-headers:
|
110
|
-
- Authorization
|
111
|
-
x-dnsimple-api-version:
|
112
|
-
- 1.0.0
|
113
|
-
etag:
|
114
|
-
- "\"5648c94e23539afe7ce706dbbed8365c\""
|
115
|
-
access-control-allow-methods:
|
116
|
-
- "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
|
117
29
|
access-control-allow-origin:
|
118
30
|
- "*"
|
119
|
-
content-type:
|
120
|
-
- application/json; charset=utf-8
|
121
|
-
x-runtime:
|
122
|
-
- "0.017271"
|
123
31
|
date:
|
124
|
-
-
|
32
|
+
- Fri, 11 Nov 2011 20:25:12 GMT
|
125
33
|
server:
|
126
|
-
-
|
34
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
|
35
|
+
x-runtime:
|
36
|
+
- "0.755786"
|
37
|
+
content-length:
|
38
|
+
- "246"
|
127
39
|
set-cookie:
|
128
|
-
- _dnsimple_session=
|
40
|
+
- _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlZDRiZTNkMzczODIxOWFjMjgwMTNkN2Q3MmMxZDAwZjVJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--571e0078375cca8c0e962c7103968d6d20174b2d; path=/; HttpOnly
|
129
41
|
cache-control:
|
130
|
-
-
|
131
|
-
|
132
|
-
- 200 OK
|
133
|
-
transfer-encoding:
|
134
|
-
- chunked
|
135
|
-
body: "{\"domain\":{\"created_at\":\"2011-05-22T21:01:03Z\",\"expires_at\":null,\"id\":155,\"lockable\":true,\"name\":\"testdomain.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T21:01:34Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":1}}"
|
42
|
+
- no-cache
|
43
|
+
body: "{\"record\":{\"content\":\"4.5.6.7\",\"created_at\":\"2011-11-11T20:25:12Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":71,\"name\":\"\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"A\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:25:12Z\"}}"
|
136
44
|
http_version: "1.1"
|
137
45
|
- !ruby/struct:VCR::HTTPInteraction
|
138
46
|
request: !ruby/struct:VCR::Request
|
139
47
|
method: :post
|
140
|
-
uri:
|
141
|
-
body:
|
48
|
+
uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/example.com/records
|
49
|
+
body: record[ttl]=3600&record[prio]=&record[record_type]=CNAME&record[name]=www&record[content]=testdomain.com
|
142
50
|
headers:
|
143
51
|
accept:
|
144
52
|
- application/json
|
@@ -150,85 +58,38 @@
|
|
150
58
|
message: Created
|
151
59
|
headers:
|
152
60
|
x-ua-compatible:
|
153
|
-
- IE=Edge
|
61
|
+
- IE=Edge
|
154
62
|
access-control-allow-headers:
|
155
|
-
- Authorization
|
63
|
+
- Authorization,Accepts,Content-Type
|
156
64
|
x-dnsimple-api-version:
|
157
65
|
- 1.0.0
|
158
66
|
location:
|
159
|
-
- /domains/
|
67
|
+
- http://localhost:3000/domains/example.com/records/72
|
160
68
|
access-control-allow-methods:
|
161
|
-
-
|
162
|
-
access-control-allow-origin:
|
163
|
-
- "*"
|
69
|
+
- OPTIONS
|
164
70
|
content-type:
|
165
71
|
- application/json; charset=utf-8
|
166
|
-
x-runtime:
|
167
|
-
- "0.035818"
|
168
|
-
date:
|
169
|
-
- Sun, 22 May 2011 21:01:35 GMT
|
170
|
-
server:
|
171
|
-
- nginx/1.0.2
|
172
|
-
set-cookie:
|
173
|
-
- _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMmE5Yzc0NjYyYzRhYzMxZGNlYjNjZWMxN2JhNmMyOTVJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA4YzdkZTI4YjQ2MmY0YWI1MzMxMDM1ZDViM2UzZDRkZTVjMjQ0NTU1NTYzYjBhMzkxNWFjODk4MmQ5ZjBhZGM0YjRiODkwNTM1ZGQyYzYwNDIyNDUzNTRhOTU0YjhjZDc3M2IxNzdkNzgwNDhlNGU5ODhkNWNjMzQ2MGUwYTkzZgY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkH--e022b693ece8f139043ce61914fede3a394f3c6c; path=/; HttpOnly
|
174
|
-
cache-control:
|
175
|
-
- no-cache
|
176
|
-
status:
|
177
|
-
- 201 Created
|
178
|
-
transfer-encoding:
|
179
|
-
- chunked
|
180
|
-
body: "{\"record\":{\"content\":\"testdomain.com\",\"created_at\":\"2011-05-22T21:01:35Z\",\"domain_id\":155,\"domain_service_id\":null,\"id\":198,\"name\":\"www\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"CNAME\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T21:01:35Z\"}}"
|
181
|
-
http_version: "1.1"
|
182
|
-
- !ruby/struct:VCR::HTTPInteraction
|
183
|
-
request: !ruby/struct:VCR::Request
|
184
|
-
method: :get
|
185
|
-
uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/domains/testdomain.com
|
186
|
-
body:
|
187
|
-
headers:
|
188
|
-
accept:
|
189
|
-
- application/json
|
190
|
-
authorization:
|
191
|
-
- Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
|
192
|
-
response: !ruby/struct:VCR::Response
|
193
|
-
status: !ruby/struct:VCR::ResponseStatus
|
194
|
-
code: 200
|
195
|
-
message: OK
|
196
|
-
headers:
|
197
|
-
x-ua-compatible:
|
198
|
-
- IE=Edge,chrome=1
|
199
|
-
access-control-allow-headers:
|
200
|
-
- Authorization
|
201
|
-
x-dnsimple-api-version:
|
202
|
-
- 1.0.0
|
203
|
-
etag:
|
204
|
-
- "\"36286e8d7684beea7dda8bf7592faf9e\""
|
205
|
-
access-control-allow-methods:
|
206
|
-
- "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
|
207
72
|
access-control-allow-origin:
|
208
73
|
- "*"
|
209
|
-
content-type:
|
210
|
-
- application/json; charset=utf-8
|
211
|
-
x-runtime:
|
212
|
-
- "0.015917"
|
213
74
|
date:
|
214
|
-
-
|
75
|
+
- Fri, 11 Nov 2011 20:25:13 GMT
|
215
76
|
server:
|
216
|
-
-
|
77
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
|
78
|
+
x-runtime:
|
79
|
+
- "0.816315"
|
80
|
+
content-length:
|
81
|
+
- "260"
|
217
82
|
set-cookie:
|
218
|
-
- _dnsimple_session=
|
83
|
+
- _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlODQzNjQzZjU4OTQxYmI5YjVlMWM3YTI1NTE3MWZkYjBJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--175b4b9da12ec818bbfee205d0a3446ba0623781; path=/; HttpOnly
|
219
84
|
cache-control:
|
220
|
-
-
|
221
|
-
|
222
|
-
- 200 OK
|
223
|
-
transfer-encoding:
|
224
|
-
- chunked
|
225
|
-
body: "{\"domain\":{\"created_at\":\"2011-05-22T21:01:03Z\",\"expires_at\":null,\"id\":155,\"lockable\":true,\"name\":\"testdomain.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T21:01:35Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":2}}"
|
85
|
+
- no-cache
|
86
|
+
body: "{\"record\":{\"content\":\"testdomain.com\",\"created_at\":\"2011-11-11T20:25:13Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":72,\"name\":\"www\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"CNAME\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:25:13Z\"}}"
|
226
87
|
http_version: "1.1"
|
227
88
|
- !ruby/struct:VCR::HTTPInteraction
|
228
89
|
request: !ruby/struct:VCR::Request
|
229
90
|
method: :post
|
230
|
-
uri:
|
231
|
-
body:
|
91
|
+
uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/example.com/records
|
92
|
+
body: record[ttl]=3600&record[prio]=10&record[record_type]=MX&record[name]=&record[content]=mail.foo.com
|
232
93
|
headers:
|
233
94
|
accept:
|
234
95
|
- application/json
|
@@ -240,39 +101,37 @@
|
|
240
101
|
message: Created
|
241
102
|
headers:
|
242
103
|
x-ua-compatible:
|
243
|
-
- IE=Edge
|
104
|
+
- IE=Edge
|
244
105
|
access-control-allow-headers:
|
245
|
-
- Authorization
|
106
|
+
- Authorization,Accepts,Content-Type
|
246
107
|
x-dnsimple-api-version:
|
247
108
|
- 1.0.0
|
248
109
|
location:
|
249
|
-
- /domains/
|
110
|
+
- http://localhost:3000/domains/example.com/records/73
|
250
111
|
access-control-allow-methods:
|
251
|
-
-
|
252
|
-
access-control-allow-origin:
|
253
|
-
- "*"
|
112
|
+
- OPTIONS
|
254
113
|
content-type:
|
255
114
|
- application/json; charset=utf-8
|
256
|
-
|
257
|
-
- "
|
115
|
+
access-control-allow-origin:
|
116
|
+
- "*"
|
258
117
|
date:
|
259
|
-
-
|
118
|
+
- Fri, 11 Nov 2011 20:25:14 GMT
|
260
119
|
server:
|
261
|
-
-
|
120
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
|
121
|
+
x-runtime:
|
122
|
+
- "0.804281"
|
123
|
+
content-length:
|
124
|
+
- "250"
|
262
125
|
set-cookie:
|
263
|
-
- _dnsimple_session=
|
126
|
+
- _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMDE3NjJhNzQyOWFmNjgwMjhlYWFiMWQ1YzIyNzhlMmNJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--01c6645c8d99e164b3b6e80ae5b70e5231defb65; path=/; HttpOnly
|
264
127
|
cache-control:
|
265
128
|
- no-cache
|
266
|
-
|
267
|
-
- 201 Created
|
268
|
-
transfer-encoding:
|
269
|
-
- chunked
|
270
|
-
body: "{\"record\":{\"content\":\"mail.foo.com\",\"created_at\":\"2011-05-22T21:01:36Z\",\"domain_id\":155,\"domain_service_id\":null,\"id\":199,\"name\":\"\",\"pdns_identifier\":null,\"prio\":10,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T21:01:36Z\"}}"
|
129
|
+
body: "{\"record\":{\"content\":\"mail.foo.com\",\"created_at\":\"2011-11-11T20:25:14Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":73,\"name\":\"\",\"pdns_identifier\":null,\"prio\":10,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:25:14Z\"}}"
|
271
130
|
http_version: "1.1"
|
272
131
|
- !ruby/struct:VCR::HTTPInteraction
|
273
132
|
request: !ruby/struct:VCR::Request
|
274
133
|
method: :get
|
275
|
-
uri:
|
134
|
+
uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/example.com/records
|
276
135
|
body:
|
277
136
|
headers:
|
278
137
|
accept:
|
@@ -285,77 +144,30 @@
|
|
285
144
|
message: OK
|
286
145
|
headers:
|
287
146
|
x-ua-compatible:
|
288
|
-
- IE=Edge
|
147
|
+
- IE=Edge
|
289
148
|
access-control-allow-headers:
|
290
|
-
- Authorization
|
149
|
+
- Authorization,Accepts,Content-Type
|
291
150
|
x-dnsimple-api-version:
|
292
151
|
- 1.0.0
|
293
152
|
etag:
|
294
|
-
- "\"
|
153
|
+
- "\"e052e8e045e0166446419cf0dc97cf36\""
|
295
154
|
access-control-allow-methods:
|
296
|
-
-
|
297
|
-
access-control-allow-origin:
|
298
|
-
- "*"
|
155
|
+
- OPTIONS
|
299
156
|
content-type:
|
300
157
|
- application/json; charset=utf-8
|
301
|
-
x-runtime:
|
302
|
-
- "0.019064"
|
303
|
-
date:
|
304
|
-
- Sun, 22 May 2011 21:01:37 GMT
|
305
|
-
server:
|
306
|
-
- nginx/1.0.2
|
307
|
-
set-cookie:
|
308
|
-
- _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlMTU2YTgwMDA3OGRjY2E2ODE1ZTZjYTc4OTY4YmY5ZjFJIg5yZXR1cm5fdG8GOwBGIhwvZG9tYWlucy90ZXN0ZG9tYWluLmNvbUkiFXVzZXJfY3JlZGVudGlhbHMGOwBGSSIBgDhjN2RlMjhiNDYyZjRhYjUzMzEwMzVkNWIzZTNkNGRlNWMyNDQ1NTU1NjNiMGEzOTE1YWM4OTgyZDlmMGFkYzRiNGI4OTA1MzVkZDJjNjA0MjI0NTM1NGE5NTRiOGNkNzczYjE3N2Q3ODA0OGU0ZTk4OGQ1Y2MzNDYwZTBhOTNmBjsAVEkiGHVzZXJfY3JlZGVudGlhbHNfaWQGOwBGaQc%3D--5a69f10d15f9525c5840444f2738cf8fbec5c6de; path=/; HttpOnly
|
309
|
-
cache-control:
|
310
|
-
- max-age=0, private, must-revalidate
|
311
|
-
status:
|
312
|
-
- 200 OK
|
313
|
-
transfer-encoding:
|
314
|
-
- chunked
|
315
|
-
body: "{\"domain\":{\"created_at\":\"2011-05-22T21:01:03Z\",\"expires_at\":null,\"id\":155,\"lockable\":true,\"name\":\"testdomain.com\",\"name_server_status\":\"unknown\",\"real_time\":true,\"registrant_id\":null,\"registration_status\":\"hosted\",\"updated_at\":\"2011-05-22T21:01:36Z\",\"user_id\":2,\"uses_external_name_servers\":null,\"record_count\":3}}"
|
316
|
-
http_version: "1.1"
|
317
|
-
- !ruby/struct:VCR::HTTPInteraction
|
318
|
-
request: !ruby/struct:VCR::Request
|
319
|
-
method: :get
|
320
|
-
uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com:443/domains/155/records
|
321
|
-
body:
|
322
|
-
headers:
|
323
|
-
accept:
|
324
|
-
- application/json
|
325
|
-
authorization:
|
326
|
-
- Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
|
327
|
-
response: !ruby/struct:VCR::Response
|
328
|
-
status: !ruby/struct:VCR::ResponseStatus
|
329
|
-
code: 200
|
330
|
-
message: OK
|
331
|
-
headers:
|
332
|
-
x-ua-compatible:
|
333
|
-
- IE=Edge,chrome=1
|
334
|
-
access-control-allow-headers:
|
335
|
-
- Authorization
|
336
|
-
x-dnsimple-api-version:
|
337
|
-
- 1.0.0
|
338
|
-
etag:
|
339
|
-
- "\"60be600e2c0da8141d4bc007c38f2234\""
|
340
|
-
access-control-allow-methods:
|
341
|
-
- "[\"GET\", \"POST\", \"PUT\", \"DELETE\"]"
|
342
158
|
access-control-allow-origin:
|
343
159
|
- "*"
|
344
|
-
content-type:
|
345
|
-
- application/json; charset=utf-8
|
346
|
-
x-runtime:
|
347
|
-
- "0.018110"
|
348
160
|
date:
|
349
|
-
-
|
161
|
+
- Fri, 11 Nov 2011 20:25:14 GMT
|
350
162
|
server:
|
351
|
-
-
|
163
|
+
- WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
|
164
|
+
x-runtime:
|
165
|
+
- "0.661836"
|
166
|
+
content-length:
|
167
|
+
- "760"
|
352
168
|
set-cookie:
|
353
|
-
- _dnsimple_session=
|
169
|
+
- _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlNDMxYTNlYjk3MTRlZTkyZTNhYWYwNTMxYzY3ZjIzOTJJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--4e3f8a898eea079fd9e05c8ea98ba2d31fc9f278; path=/; HttpOnly
|
354
170
|
cache-control:
|
355
171
|
- max-age=0, private, must-revalidate
|
356
|
-
|
357
|
-
- 200 OK
|
358
|
-
transfer-encoding:
|
359
|
-
- chunked
|
360
|
-
body: "[{\"record\":{\"content\":\"4.5.6.7\",\"created_at\":\"2011-05-22T21:01:34Z\",\"domain_id\":155,\"domain_service_id\":null,\"id\":197,\"name\":\"\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"A\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T21:01:34Z\"}},{\"record\":{\"content\":\"testdomain.com\",\"created_at\":\"2011-05-22T21:01:35Z\",\"domain_id\":155,\"domain_service_id\":null,\"id\":198,\"name\":\"www\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"CNAME\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T21:01:35Z\"}},{\"record\":{\"content\":\"mail.foo.com\",\"created_at\":\"2011-05-22T21:01:36Z\",\"domain_id\":155,\"domain_service_id\":null,\"id\":199,\"name\":\"\",\"pdns_identifier\":null,\"prio\":10,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-05-22T21:01:36Z\"}}]"
|
172
|
+
body: "[{\"record\":{\"content\":\"4.5.6.7\",\"created_at\":\"2011-11-11T20:25:12Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":71,\"name\":\"\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"A\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:25:12Z\"}},{\"record\":{\"content\":\"testdomain.com\",\"created_at\":\"2011-11-11T20:25:13Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":72,\"name\":\"www\",\"pdns_identifier\":null,\"prio\":null,\"record_type\":\"CNAME\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:25:13Z\"}},{\"record\":{\"content\":\"mail.foo.com\",\"created_at\":\"2011-11-11T20:25:14Z\",\"domain_id\":39,\"domain_service_id\":null,\"id\":73,\"name\":\"\",\"pdns_identifier\":null,\"prio\":10,\"record_type\":\"MX\",\"special_type\":null,\"ttl\":3600,\"updated_at\":\"2011-11-11T20:25:14Z\"}}]"
|
361
173
|
http_version: "1.1"
|