dnsimple 2.0.0.alpha2 → 2.0.0.alpha3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.markdown +6 -2
  3. data/README.markdown +32 -30
  4. data/dnsimple.gemspec +1 -2
  5. data/lib/dnsimple.rb +2 -13
  6. data/lib/dnsimple/client.rb +164 -53
  7. data/lib/dnsimple/client/certificates_service.rb +98 -0
  8. data/lib/dnsimple/client/client_service.rb +8 -0
  9. data/lib/dnsimple/client/contacts_service.rb +82 -0
  10. data/lib/dnsimple/client/domains_service.rb +333 -0
  11. data/lib/dnsimple/client/name_servers_service.rb +69 -0
  12. data/lib/dnsimple/client/registrars_service.rb +105 -0
  13. data/lib/dnsimple/client/services_service.rb +95 -0
  14. data/lib/dnsimple/client/templates_service.rb +180 -0
  15. data/lib/dnsimple/client/users_service.rb +37 -0
  16. data/lib/dnsimple/compatibility.rb +46 -0
  17. data/lib/dnsimple/default.rb +86 -0
  18. data/lib/dnsimple/error.rb +7 -11
  19. data/lib/dnsimple/extra.rb +54 -0
  20. data/lib/dnsimple/struct.rb +29 -0
  21. data/lib/dnsimple/struct/certificate.rb +56 -0
  22. data/lib/dnsimple/struct/contact.rb +61 -0
  23. data/lib/dnsimple/struct/domain.rb +40 -0
  24. data/lib/dnsimple/struct/email_forward.rb +14 -0
  25. data/lib/dnsimple/struct/extended_attribute.rb +39 -0
  26. data/lib/dnsimple/struct/membership.rb +22 -0
  27. data/lib/dnsimple/struct/price.rb +16 -0
  28. data/lib/dnsimple/struct/record.rb +22 -0
  29. data/lib/dnsimple/struct/service.rb +19 -0
  30. data/lib/dnsimple/struct/template.rb +19 -0
  31. data/lib/dnsimple/struct/template_record.rb +24 -0
  32. data/lib/dnsimple/struct/transfer_order.rb +10 -0
  33. data/lib/dnsimple/struct/user.rb +17 -0
  34. data/lib/dnsimple/struct/whois_privacy.rb +19 -0
  35. data/lib/dnsimple/version.rb +1 -1
  36. data/spec/dnsimple/client/certificates_service_spec.rb +196 -0
  37. data/spec/dnsimple/client/contacts_service_spec.rb +179 -0
  38. data/spec/dnsimple/client/domains_service_spec.rb +662 -0
  39. data/spec/dnsimple/client/name_servers_service_spec.rb +131 -0
  40. data/spec/dnsimple/client/registrars_service_spec.rb +160 -0
  41. data/spec/dnsimple/client/services_service_spec.rb +162 -0
  42. data/spec/dnsimple/client/templates_service_spec.rb +371 -0
  43. data/spec/dnsimple/client/users_service_spec.rb +70 -0
  44. data/spec/dnsimple/client_spec.rb +108 -99
  45. data/spec/dnsimple/compatibility_spec.rb +57 -0
  46. data/spec/files/2fa/exchange-token.http +8 -11
  47. data/spec/files/badgateway.http +14 -0
  48. data/spec/files/certificates/configure/success.http +19 -0
  49. data/spec/files/certificates/index/success.http +1 -1
  50. data/spec/files/certificates/notfound.http +19 -0
  51. data/spec/files/certificates/purchase/success.http +19 -0
  52. data/spec/files/certificates/show/success.http +1 -1
  53. data/spec/files/certificates/submit/success.http +19 -0
  54. data/spec/files/contacts/create/badrequest-missingcontact.http +19 -0
  55. data/spec/files/contacts/create/badrequest-validationerror.http +19 -0
  56. data/spec/files/contacts/create/created.http +22 -0
  57. data/spec/files/contacts/delete/success-204.http +18 -0
  58. data/spec/files/{extended_attributes/com.http → contacts/delete/success.http} +5 -5
  59. data/spec/files/{domains/auto_renewal_enable → contacts/index}/success.http +6 -6
  60. data/spec/files/contacts/notfound.http +19 -0
  61. data/spec/files/contacts/update/success.http +21 -0
  62. data/spec/files/domains/create/created.http +21 -0
  63. data/spec/files/domains/index/success.http +11 -9
  64. data/spec/files/domains/notfound.http +11 -9
  65. data/spec/files/domains/show/success.http +12 -10
  66. data/spec/files/domains_autorenewal/disable/success.http +21 -0
  67. data/spec/files/domains_autorenewal/enable/success.http +21 -0
  68. data/spec/files/domains_autorenewal/notfound-domain.http +19 -0
  69. data/spec/files/domains_forwards/create/created.http +22 -0
  70. data/spec/files/domains_forwards/delete/success.http +17 -0
  71. data/spec/files/domains_forwards/get/success.http +21 -0
  72. data/spec/files/domains_forwards/list/success.http +21 -0
  73. data/spec/files/domains_forwards/notfound-domain.http +19 -0
  74. data/spec/files/domains_forwards/notfound.http +19 -0
  75. data/spec/files/domains_records/create/created.http +21 -0
  76. data/spec/files/domains_records/delete/success-204.http +18 -0
  77. data/spec/files/{contacts/show/notfound.http → domains_records/delete/success.http} +9 -7
  78. data/spec/files/{records → domains_records}/index/success.http +0 -0
  79. data/spec/files/{records/show → domains_records}/notfound.http +1 -1
  80. data/spec/files/{records → domains_records}/show/success.http +0 -0
  81. data/spec/files/domains_records/update/success.http +21 -0
  82. data/spec/files/domains_sharing/create/success.http +21 -0
  83. data/spec/files/domains_sharing/delete/success.http +17 -0
  84. data/spec/files/domains_sharing/list/success.http +21 -0
  85. data/spec/files/domains_sharing/notfound-domain.http +19 -0
  86. data/spec/files/domains_sharing/notfound.http +19 -0
  87. data/spec/files/domains_whois_privacy/disable/success.http +21 -0
  88. data/spec/files/domains_whois_privacy/enable/success.http +22 -0
  89. data/spec/files/domains_zones/get/success.http +21 -0
  90. data/spec/files/domains_zones/notfound-domain.http +19 -0
  91. data/spec/files/{domains/auto_renewal_disable/notfound.http → nameservers/change/success.http} +23 -21
  92. data/spec/files/nameservers/deregister/success.http +17 -0
  93. data/spec/files/{domains/auto_renewal_enable/notfound.http → nameservers/list/success.http} +23 -21
  94. data/spec/files/nameservers/notfound-domain.http +19 -0
  95. data/spec/files/nameservers/register/badrequest-valueerror.http +19 -0
  96. data/spec/files/nameservers/register/success.http +21 -0
  97. data/spec/files/registrars/check/available.http +19 -0
  98. data/spec/files/registrars/check/registered.http +21 -0
  99. data/spec/files/registrars/register/badrequest-missingdomain.http +19 -0
  100. data/spec/files/registrars/register/badrequest-missingregistrant.http +19 -0
  101. data/spec/files/registrars/register/success.http +21 -0
  102. data/spec/files/registrars/renew/badrequest-missingrenewal.http +19 -0
  103. data/spec/files/registrars/renew/badrequest-unable.http +19 -0
  104. data/spec/files/registrars/renew/success.http +21 -0
  105. data/spec/files/registrars/transfer/success.http +21 -0
  106. data/spec/files/registrars_extended_attributes/list/success.http +21 -0
  107. data/spec/files/registrars_prices/list/success.http +21 -0
  108. data/spec/files/services/applied/success.http +21 -0
  109. data/spec/files/services/apply/success.http +21 -0
  110. data/spec/files/services/available/success.http +21 -0
  111. data/spec/files/services/index/success.http +21 -0
  112. data/spec/files/services/notfound.http +19 -0
  113. data/spec/files/services/show/success.http +21 -0
  114. data/spec/files/services/unapply/success.http +21 -0
  115. data/spec/files/subscription/show/success.http +21 -0
  116. data/spec/files/templates/apply/success.http +21 -0
  117. data/spec/files/templates/create/created.http +22 -0
  118. data/spec/files/templates/delete/success-204.http +21 -0
  119. data/spec/files/templates/delete/success.http +21 -0
  120. data/spec/files/templates/index/success.http +21 -0
  121. data/spec/files/templates/notfound.http +19 -0
  122. data/spec/files/templates/show/success.http +12 -10
  123. data/spec/files/templates/update/success.http +21 -0
  124. data/spec/files/templates_records/create/created.http +22 -0
  125. data/spec/files/templates_records/delete/success-204.http +19 -0
  126. data/spec/files/templates_records/delete/success.http +21 -0
  127. data/spec/files/templates_records/index/success.http +21 -0
  128. data/spec/files/templates_records/notfound.http +19 -0
  129. data/spec/files/templates_records/show/success.http +21 -0
  130. data/spec/files/templates_records/update/success.http +21 -0
  131. data/spec/files/users/user/success.http +21 -0
  132. data/spec/spec_helper.rb +0 -2
  133. metadata +206 -73
  134. data/lib/dnsimple/base.rb +0 -10
  135. data/lib/dnsimple/certificate.rb +0 -143
  136. data/lib/dnsimple/contact.rb +0 -157
  137. data/lib/dnsimple/domain.rb +0 -252
  138. data/lib/dnsimple/extended_attribute.rb +0 -52
  139. data/lib/dnsimple/record.rb +0 -94
  140. data/lib/dnsimple/service.rb +0 -42
  141. data/lib/dnsimple/template.rb +0 -65
  142. data/lib/dnsimple/template_record.rb +0 -80
  143. data/lib/dnsimple/transfer_order.rb +0 -34
  144. data/lib/dnsimple/user.rb +0 -50
  145. data/spec/dnsimple/certificate_spec.rb +0 -59
  146. data/spec/dnsimple/contact_spec.rb +0 -45
  147. data/spec/dnsimple/domain_spec.rb +0 -241
  148. data/spec/dnsimple/extended_attributes_spec.rb +0 -54
  149. data/spec/dnsimple/record_spec.rb +0 -51
  150. data/spec/dnsimple/template_spec.rb +0 -31
  151. data/spec/dnsimple/user_spec.rb +0 -70
  152. data/spec/files/account/user/success.http +0 -19
  153. data/spec/files/certificates/show/notfound.http +0 -17
  154. data/spec/files/domains/auto_renewal_disable/success.http +0 -23
  155. data/spec/files/domains/create/success.http +0 -19
  156. data/spec/files/extended_attributes/ca.http +0 -19
  157. data/spec/files/extended_attributes/success.http +0 -19
  158. data/spec/files/templates/show/notfound.http +0 -17
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Mon, 22 Dec 2014 17:47:43 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: "b98ac40d972551d502b401ce5e19d1c3"
16
+ Cache-Control: max-age=0, private, must-revalidate
17
+ X-Request-Id: 81a48039-3a15-4f52-8dde-2f30cf4bc2b8
18
+ X-Runtime: 0.081422
19
+ Strict-Transport-Security: max-age=315360000
20
+
21
+ [{"price":{"tld":"com","minimum_registration":1,"registration_price":"14.00","registration_enabled":true,"transfer_price":"14.00","transfer_enabled":true,"renewal_price":"14.00","renewal_enabled":true}},{"price":{"tld":"net","minimum_registration":1,"registration_price":"14.00","registration_enabled":true,"transfer_price":"14.00","transfer_enabled":true,"renewal_price":"14.00","renewal_enabled":true}},{"price":{"tld":"org","minimum_registration":1,"registration_price":"14.00","registration_enabled":true,"transfer_price":"14.00","transfer_enabled":true,"renewal_price":"14.00","renewal_enabled":true}},{"price":{"tld":"me","minimum_registration":1,"registration_price":"25.00","registration_enabled":true,"transfer_price":"25.00","transfer_enabled":true,"renewal_price":"25.00","renewal_enabled":true}},{"price":{"tld":"us","minimum_registration":1,"registration_price":"14.00","registration_enabled":true,"transfer_price":"14.00","transfer_enabled":true,"renewal_price":"14.00","renewal_enabled":true}},{"price":{"tld":"info","minimum_registration":1,"registration_price":"14.00","registration_enabled":true,"transfer_price":"14.00","transfer_enabled":true,"renewal_price":"14.00","renewal_enabled":true}},{"price":{"tld":"mobi","minimum_registration":1,"registration_price":"25.00","registration_enabled":true,"transfer_price":"25.00","transfer_enabled":true,"renewal_price":"25.00","renewal_enabled":true}},{"price":{"tld":"la","minimum_registration":1,"registration_price":"60.00","registration_enabled":true,"transfer_price":"60.00","transfer_enabled":true,"renewal_price":"60.00","renewal_enabled":true}},{"price":{"tld":"asia","minimum_registration":1,"registration_price":"25.00","registration_enabled":true,"transfer_price":"0.00","transfer_enabled":false,"renewal_price":"25.00","renewal_enabled":true}},{"price":{"tld":"biz","minimum_registration":1,"registration_price":"14.00","registration_enabled":true,"transfer_price":"14.00","transfer_enabled":true,"renewal_price":"14.00","renewal_enabled":true}},{"price":{"tld":"co.uk","minimum_registration":2,"registration_price":"8.00","registration_enabled":true,"transfer_price":"8.00","transfer_enabled":true,"renewal_price":"8.00","renewal_enabled":true}},{"price":{"tld":"uk","minimum_registration":1,"registration_price":"8.00","registration_enabled":true,"transfer_price":"8.00","transfer_enabled":true,"renewal_price":"8.00","renewal_enabled":true}},{"price":{"tld":"org.uk","minimum_registration":2,"registration_price":"8.00","registration_enabled":true,"transfer_price":"8.00","transfer_enabled":true,"renewal_price":"8.00","renewal_enabled":true}},{"price":{"tld":"me.uk","minimum_registration":2,"registration_price":"8.00","registration_enabled":true,"transfer_price":"8.00","transfer_enabled":true,"renewal_price":"8.00","renewal_enabled":true}},{"price":{"tld":"tw","minimum_registration":1,"registration_price":"50.00","registration_enabled":true,"transfer_price":"50.00","transfer_enabled":true,"renewal_price":"50.00","renewal_enabled":true}},{"price":{"tld":"com.tw","minimum_registration":1,"registration_price":"50.00","registration_enabled":true,"transfer_price":"50.00","transfer_enabled":true,"renewal_price":"50.00","renewal_enabled":true}},{"price":{"tld":"org.tw","minimum_registration":1,"registration_price":"50.00","registration_enabled":true,"transfer_price":"50.00","transfer_enabled":true,"renewal_price":"50.00","renewal_enabled":true}},{"price":{"tld":"idv.tw","minimum_registration":1,"registration_price":"50.00","registration_enabled":true,"transfer_price":"50.00","transfer_enabled":true,"renewal_price":"50.00","renewal_enabled":true}},{"price":{"tld":"ca","minimum_registration":1,"registration_price":"16.00","registration_enabled":true,"transfer_price":"16.00","transfer_enabled":true,"renewal_price":"16.00","renewal_enabled":true}},{"price":{"tld":"eu","minimum_registration":1,"registration_price":"16.00","registration_enabled":true,"transfer_price":"16.00","transfer_enabled":true,"renewal_price":"16.00","renewal_enabled":true}},{"price":{"tld":"name","minimum_registration":1,"registration_price":"14.00","registration_enabled":true,"transfer_price":"14.00","transfer_enabled":true,"renewal_price":"14.00","renewal_enabled":true}},{"price":{"tld":"cc","minimum_registration":1,"registration_price":"30.00","registration_enabled":true,"transfer_price":"30.00","transfer_enabled":true,"renewal_price":"30.00","renewal_enabled":true}},{"price":{"tld":"ac","minimum_registration":1,"registration_price":"70.00","registration_enabled":true,"transfer_price":"95.00","transfer_enabled":false,"renewal_price":"70.00","renewal_enabled":true}},{"price":{"tld":"io","minimum_registration":1,"registration_price":"70.00","registration_enabled":true,"transfer_price":"95.00","transfer_enabled":false,"renewal_price":"70.00","renewal_enabled":true}},{"price":{"tld":"sh","minimum_registration":1,"registration_price":"70.00","registration_enabled":true,"transfer_price":"95.00","transfer_enabled":false,"renewal_price":"70.00","renewal_enabled":true}},{"price":{"tld":"tv","minimum_registration":1,"registration_price":"50.00","registration_enabled":true,"transfer_price":"50.00","transfer_enabled":true,"renewal_price":"50.00","renewal_enabled":true}},{"price":{"tld":"bz","minimum_registration":1,"registration_price":"35.00","registration_enabled":true,"transfer_price":"49.95","transfer_enabled":false,"renewal_price":"35.00","renewal_enabled":true}},{"price":{"tld":"nu","minimum_registration":2,"registration_price":"35.00","registration_enabled":true,"transfer_price":"49.95","transfer_enabled":false,"renewal_price":"35.00","renewal_enabled":true}},{"price":{"tld":"ws","minimum_registration":1,"registration_price":"35.00","registration_enabled":true,"transfer_price":"29.95","transfer_enabled":false,"renewal_price":"35.00","renewal_enabled":true}},{"price":{"tld":"pw","minimum_registration":1,"registration_price":"20.00","registration_enabled":true,"transfer_price":"20.00","transfer_enabled":true,"renewal_price":"20.00","renewal_enabled":true}},{"price":{"tld":"sg","minimum_registration":1,"registration_price":"50.00","registration_enabled":true,"transfer_price":"50.00","transfer_enabled":true,"renewal_price":"50.00","renewal_enabled":true}},{"price":{"tld":"de","minimum_registration":1,"registration_price":"20.00","registration_enabled":true,"transfer_price":"20.00","transfer_enabled":true,"renewal_price":"20.00","renewal_enabled":true}},{"price":{"tld":"be","minimum_registration":1,"registration_price":"25.00","registration_enabled":true,"transfer_price":"29.95","transfer_enabled":false,"renewal_price":"25.00","renewal_enabled":true}},{"price":{"tld":"tc","minimum_registration":1,"registration_price":"88.00","registration_enabled":true,"transfer_price":"88.00","transfer_enabled":false,"renewal_price":"88.00","renewal_enabled":true}},{"price":{"tld":"vg","minimum_registration":1,"registration_price":"70.00","registration_enabled":true,"transfer_price":"85.00","transfer_enabled":false,"renewal_price":"70.00","renewal_enabled":true}},{"price":{"tld":"ms","minimum_registration":1,"registration_price":"70.00","registration_enabled":true,"transfer_price":"85.00","transfer_enabled":false,"renewal_price":"70.00","renewal_enabled":true}},{"price":{"tld":"cm","minimum_registration":1,"registration_price":"130.00","registration_enabled":true,"transfer_price":"139.95","transfer_enabled":false,"renewal_price":"130.00","renewal_enabled":true}},{"price":{"tld":"gs","minimum_registration":1,"registration_price":"70.00","registration_enabled":true,"transfer_price":"85.00","transfer_enabled":false,"renewal_price":"70.00","renewal_enabled":true}},{"price":{"tld":"jp","minimum_registration":1,"registration_price":"100.00","registration_enabled":true,"transfer_price":"0.00","transfer_enabled":false,"renewal_price":"100.00","renewal_enabled":true}},{"price":{"tld":"net.nz","minimum_registration":1,"registration_price":"60.00","registration_enabled":true,"transfer_price":"69.95","transfer_enabled":false,"renewal_price":"60.00","renewal_enabled":true}},{"price":{"tld":"co.nz","minimum_registration":1,"registration_price":"60.00","registration_enabled":true,"transfer_price":"69.95","transfer_enabled":false,"renewal_price":"60.00","renewal_enabled":true}},{"price":{"tld":"org.nz","minimum_registration":1,"registration_price":"60.00","registration_enabled":true,"transfer_price":"69.95","transfer_enabled":false,"renewal_price":"60.00","renewal_enabled":true}},{"price":{"tld":"com.de","minimum_registration":1,"registration_price":"20.00","registration_enabled":true,"transfer_price":"20.00","transfer_enabled":true,"renewal_price":"20.00","renewal_enabled":true}},{"price":{"tld":"in","minimum_registration":1,"registration_price":"25.00","registration_enabled":true,"transfer_price":"25.00","transfer_enabled":true,"renewal_price":"25.00","renewal_enabled":true}},{"price":{"tld":"at","minimum_registration":1,"registration_price":"100.00","registration_enabled":true,"transfer_price":"99.95","transfer_enabled":false,"renewal_price":"100.00","renewal_enabled":true}},{"price":{"tld":"am","minimum_registration":1,"registration_price":"125.00","registration_enabled":true,"transfer_price":"0.00","transfer_enabled":false,"renewal_price":"125.00","renewal_enabled":true}},{"price":{"tld":"nl","minimum_registration":1,"registration_price":"12.00","registration_enabled":true,"transfer_price":"12.00","transfer_enabled":false,"renewal_price":"12.00","renewal_enabled":true}},{"price":{"tld":"it","minimum_registration":1,"registration_price":"40.00","registration_enabled":true,"transfer_price":"39.95","transfer_enabled":false,"renewal_price":"40.00","renewal_enabled":true}},{"price":{"tld":"fm","minimum_registration":1,"registration_price":"120.00","registration_enabled":true,"transfer_price":"0.00","transfer_enabled":false,"renewal_price":"120.00","renewal_enabled":true}},{"price":{"tld":"tel","minimum_registration":1,"registration_price":"15.00","registration_enabled":true,"transfer_price":"15.00","transfer_enabled":true,"renewal_price":"15.00","renewal_enabled":true}},{"price":{"tld":"co","minimum_registration":1,"registration_price":"30.00","registration_enabled":true,"transfer_price":"30.00","transfer_enabled":true,"renewal_price":"30.00","renewal_enabled":true}},{"price":{"tld":"pro","minimum_registration":1,"registration_price":"30.00","registration_enabled":true,"transfer_price":"30.00","transfer_enabled":true,"renewal_price":"30.00","renewal_enabled":true}},{"price":{"tld":"xxx","minimum_registration":1,"registration_price":"100.00","registration_enabled":true,"transfer_price":"100.00","transfer_enabled":true,"renewal_price":"100.00","renewal_enabled":true}},{"price":{"tld":"com.au","minimum_registration":2,"registration_price":"18.00","registration_enabled":true,"transfer_price":"18.00","transfer_enabled":false,"renewal_price":"18.00","renewal_enabled":true}},{"price":{"tld":"org.au","minimum_registration":2,"registration_price":"14.00","registration_enabled":true,"transfer_price":"14.00","transfer_enabled":false,"renewal_price":"14.00","renewal_enabled":true}},{"price":{"tld":"net.au","minimum_registration":2,"registration_price":"18.00","registration_enabled":true,"transfer_price":"18.00","transfer_enabled":false,"renewal_price":"18.00","renewal_enabled":true}},{"price":{"tld":"es","minimum_registration":1,"registration_price":"14.00","registration_enabled":true,"transfer_price":"14.00","transfer_enabled":true,"renewal_price":"14.00","renewal_enabled":true}},{"price":{"tld":"com.es","minimum_registration":1,"registration_price":"10.00","registration_enabled":true,"transfer_price":"10.00","transfer_enabled":true,"renewal_price":"10.00","renewal_enabled":true}},{"price":{"tld":"org.es","minimum_registration":1,"registration_price":"10.00","registration_enabled":true,"transfer_price":"10.00","transfer_enabled":true,"renewal_price":"10.00","renewal_enabled":true}},{"price":{"tld":"nom.es","minimum_registration":1,"registration_price":"10.00","registration_enabled":true,"transfer_price":"10.00","transfer_enabled":true,"renewal_price":"10.00","renewal_enabled":true}},{"price":{"tld":"ch","minimum_registration":1,"registration_price":"16.00","registration_enabled":true,"transfer_price":"16.00","transfer_enabled":true,"renewal_price":"16.00","renewal_enabled":true}},{"price":{"tld":"li","minimum_registration":1,"registration_price":"16.00","registration_enabled":true,"transfer_price":"16.00","transfer_enabled":false,"renewal_price":"16.00","renewal_enabled":true}},{"price":{"tld":"fr","minimum_registration":1,"registration_price":"14.00","registration_enabled":true,"transfer_price":"14.00","transfer_enabled":false,"renewal_price":"14.00","renewal_enabled":true}},{"price":{"tld":"pe","minimum_registration":1,"registration_price":"65.00","registration_enabled":true,"transfer_price":"65.00","transfer_enabled":true,"renewal_price":"65.00","renewal_enabled":true}},{"price":{"tld":"org.pe","minimum_registration":1,"registration_price":"65.00","registration_enabled":true,"transfer_price":"65.00","transfer_enabled":true,"renewal_price":"65.00","renewal_enabled":true}},{"price":{"tld":"nom.pe","minimum_registration":1,"registration_price":"65.00","registration_enabled":true,"transfer_price":"65.00","transfer_enabled":true,"renewal_price":"65.00","renewal_enabled":true}},{"price":{"tld":"com.pe","minimum_registration":1,"registration_price":"65.00","registration_enabled":true,"transfer_price":"65.00","transfer_enabled":true,"renewal_price":"65.00","renewal_enabled":true}},{"price":{"tld":"net.pe","minimum_registration":1,"registration_price":"65.00","registration_enabled":true,"transfer_price":"65.00","transfer_enabled":true,"renewal_price":"65.00","renewal_enabled":true}},{"price":{"tld":"sexy","minimum_registration":1,"registration_price":"30.00","registration_enabled":true,"transfer_price":"30.00","transfer_enabled":true,"renewal_price":"30.00","renewal_enabled":true}},{"price":{"tld":"domains","minimum_registration":1,"registration_price":"40.00","registration_enabled":true,"transfer_price":"40.00","transfer_enabled":true,"renewal_price":"40.00","renewal_enabled":true}},{"price":{"tld":"tips","minimum_registration":1,"registration_price":"25.00","registration_enabled":true,"transfer_price":"25.00","transfer_enabled":true,"renewal_price":"25.00","renewal_enabled":true}},{"price":{"tld":"today","minimum_registration":1,"registration_price":"25.00","registration_enabled":true,"transfer_price":"25.00","transfer_enabled":true,"renewal_price":"25.00","renewal_enabled":true}},{"price":{"tld":"technology","minimum_registration":1,"registration_price":"25.00","registration_enabled":true,"transfer_price":"25.00","transfer_enabled":true,"renewal_price":"25.00","renewal_enabled":true}},{"price":{"tld":"systems","minimum_registration":1,"registration_price":"25.00","registration_enabled":true,"transfer_price":"25.00","transfer_enabled":true,"renewal_price":"25.00","renewal_enabled":true}},{"price":{"tld":"guru","minimum_registration":1,"registration_price":"40.00","registration_enabled":true,"transfer_price":"40.00","transfer_enabled":true,"renewal_price":"40.00","renewal_enabled":true}},{"price":{"tld":"builders","minimum_registration":1,"registration_price":"40.00","registration_enabled":true,"transfer_price":"40.00","transfer_enabled":true,"renewal_price":"40.00","renewal_enabled":true}},{"price":{"tld":"email","minimum_registration":1,"registration_price":"25.00","registration_enabled":true,"transfer_price":"25.00","transfer_enabled":true,"renewal_price":"25.00","renewal_enabled":true}},{"price":{"tld":"solutions","minimum_registration":1,"registration_price":"25.00","registration_enabled":true,"transfer_price":"25.00","transfer_enabled":true,"renewal_price":"25.00","renewal_enabled":true}},{"price":{"tld":"support","minimum_registration":1,"registration_price":"25.00","registration_enabled":true,"transfer_price":"25.00","transfer_enabled":true,"renewal_price":"25.00","renewal_enabled":true}},{"price":{"tld":"coffee","minimum_registration":1,"registration_price":"45.00","registration_enabled":true,"transfer_price":"45.00","transfer_enabled":true,"renewal_price":"45.00","renewal_enabled":true}},{"price":{"tld":"zone","minimum_registration":1,"registration_price":"40.00","registration_enabled":true,"transfer_price":"40.00","transfer_enabled":true,"renewal_price":"40.00","renewal_enabled":true}},{"price":{"tld":"expert","minimum_registration":1,"registration_price":"70.00","registration_enabled":true,"transfer_price":"70.00","transfer_enabled":true,"renewal_price":"70.00","renewal_enabled":true}},{"price":{"tld":"report","minimum_registration":1,"registration_price":"25.00","registration_enabled":true,"transfer_price":"25.00","transfer_enabled":true,"renewal_price":"25.00","renewal_enabled":true}},{"price":{"tld":"ink","minimum_registration":1,"registration_price":"40.00","registration_enabled":true,"transfer_price":"40.00","transfer_enabled":true,"renewal_price":"40.00","renewal_enabled":true}},{"price":{"tld":"social","minimum_registration":1,"registration_price":"40.00","registration_enabled":true,"transfer_price":"40.00","transfer_enabled":true,"renewal_price":"40.00","renewal_enabled":true}},{"price":{"tld":"reviews","minimum_registration":1,"registration_price":"30.00","registration_enabled":true,"transfer_price":"30.00","transfer_enabled":true,"renewal_price":"30.00","renewal_enabled":true}},{"price":{"tld":"exchange","minimum_registration":1,"registration_price":"40.00","registration_enabled":true,"transfer_price":"40.00","transfer_enabled":true,"renewal_price":"40.00","renewal_enabled":true}},{"price":{"tld":"services","minimum_registration":1,"registration_price":"40.00","registration_enabled":true,"transfer_price":"40.00","transfer_enabled":true,"renewal_price":"40.00","renewal_enabled":true}},{"price":{"tld":"wiki","minimum_registration":1,"registration_price":"35.00","registration_enabled":true,"transfer_price":"35.00","transfer_enabled":true,"renewal_price":"35.00","renewal_enabled":true}},{"price":{"tld":"club","minimum_registration":1,"registration_price":"15.00","registration_enabled":true,"transfer_price":"15.00","transfer_enabled":true,"renewal_price":"15.00","renewal_enabled":true}},{"price":{"tld":"berlin","minimum_registration":1,"registration_price":"50.00","registration_enabled":true,"transfer_price":"50.00","transfer_enabled":true,"renewal_price":"50.00","renewal_enabled":true}},{"price":{"tld":"computer","minimum_registration":1,"registration_price":"30.00","registration_enabled":true,"transfer_price":"30.00","transfer_enabled":true,"renewal_price":"30.00","renewal_enabled":true}},{"price":{"tld":"pictures","minimum_registration":1,"registration_price":"14.00","registration_enabled":true,"transfer_price":"14.00","transfer_enabled":true,"renewal_price":"14.00","renewal_enabled":true}},{"price":{"tld":"wtf","minimum_registration":1,"registration_price":"30.00","registration_enabled":true,"transfer_price":"30.00","transfer_enabled":true,"renewal_price":"30.00","renewal_enabled":true}},{"price":{"tld":"fail","minimum_registration":1,"registration_price":"30.00","registration_enabled":true,"transfer_price":"30.00","transfer_enabled":true,"renewal_price":"30.00","renewal_enabled":true}},{"price":{"tld":"industries","minimum_registration":1,"registration_price":"40.00","registration_enabled":true,"transfer_price":"40.00","transfer_enabled":true,"renewal_price":"40.00","renewal_enabled":true}},{"price":{"tld":"codes","minimum_registration":1,"registration_price":"60.00","registration_enabled":true,"transfer_price":"60.00","transfer_enabled":true,"renewal_price":"60.00","renewal_enabled":true}},{"price":{"tld":"watch","minimum_registration":1,"registration_price":"40.00","registration_enabled":true,"transfer_price":"40.00","transfer_enabled":true,"renewal_price":"40.00","renewal_enabled":true}},{"price":{"tld":"digital","minimum_registration":1,"registration_price":"40.00","registration_enabled":true,"transfer_price":"40.00","transfer_enabled":true,"renewal_price":"40.00","renewal_enabled":true}},{"price":{"tld":"media","minimum_registration":1,"registration_price":"40.00","registration_enabled":true,"transfer_price":"40.00","transfer_enabled":true,"renewal_price":"40.00","renewal_enabled":true}},{"price":{"tld":"software","minimum_registration":1,"registration_price":"30.00","registration_enabled":true,"transfer_price":"30.00","transfer_enabled":true,"renewal_price":"30.00","renewal_enabled":true}}]
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 10:15:05 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: "adea7f581d55ab3c236dc2db73a8e21a"
16
+ Cache-Control: max-age=0, private, must-revalidate
17
+ X-Request-Id: 78c0b218-05d2-4883-bbf4-658702bc4a72
18
+ X-Runtime: 0.067607
19
+ Strict-Transport-Security: max-age=315360000
20
+
21
+ [{"service":{"id":1,"name":"Google Apps","short_name":"google-apps","description":"All the records you need for Google Apps to function.","created_at":"2014-01-29T12:33:07.214Z","updated_at":"2014-01-29T12:33:07.229Z"}}]
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 10:33:00 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: "206f6d03d86451f437439ba32f7f7ff7"
16
+ Cache-Control: max-age=0, private, must-revalidate
17
+ X-Request-Id: 0ea557bf-a2a0-42c7-b196-1ae6ce55904c
18
+ X-Runtime: 0.323113
19
+ Strict-Transport-Security: max-age=315360000
20
+
21
+ [{"service":{"id":1,"name":"Google Apps","short_name":"google-apps","description":"All the records you need for Google Apps to function.","created_at":"2014-01-29T12:33:07.214Z","updated_at":"2014-01-29T12:33:07.229Z"}},{"service":{"id":7,"name":"Tender","short_name":"tender","description":"Use Tender for your customer support","created_at":"2010-12-15T08:08:02.853Z","updated_at":"2013-09-12T21:36:32.932Z"}}]
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 10:15:05 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: "adea7f581d55ab3c236dc2db73a8e21a"
16
+ Cache-Control: max-age=0, private, must-revalidate
17
+ X-Request-Id: 78c0b218-05d2-4883-bbf4-658702bc4a72
18
+ X-Runtime: 0.067607
19
+ Strict-Transport-Security: max-age=315360000
20
+
21
+ [{"service":{"id":1,"name":"Google Apps","short_name":"google-apps","description":"All the records you need for Google Apps to function.","created_at":"2014-01-29T12:33:07.214Z","updated_at":"2014-01-29T12:33:07.229Z"}}]
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 10:00:47 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: "b84bfca93cf0fc431600cdc344fcf0b4"
16
+ Cache-Control: max-age=0, private, must-revalidate
17
+ X-Request-Id: 7912346f-8b87-4c6d-94c6-57f43a3f77a1
18
+ X-Runtime: 0.051441
19
+ Strict-Transport-Security: max-age=315360000
20
+
21
+ [{"service":{"id":1,"name":"Google Apps","short_name":"google-apps","description":"All the records you need for Google Apps to function.","created_at":"2014-01-29T12:33:07.214Z","updated_at":"2014-01-29T12:33:07.229Z"}},{"service":{"id":2,"name":"Heroku","short_name":"heroku","description":"Use Heroku as your web host.","created_at":"2010-12-15T08:08:02.792Z","updated_at":"2013-05-04T06:38:30.860Z"}},{"service":{"id":35,"name":"Heroku SSL","short_name":"heroku-ssl","description":"Use Heroku as your web host, with SSL support.","created_at":"2014-02-17T09:43:55.219Z","updated_at":"2014-02-17T09:43:55.233Z"}}]
@@ -0,0 +1,19 @@
1
+ HTTP/1.1 404 Not Found
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 10:08:27 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: fc00856e-1044-4ce7-b244-f1669931efa0
17
+ X-Runtime: 0.033433
18
+
19
+ {"message":"Service `0' not found"}
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 10:07:51 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: "44ebf8f9a5640a00c6a8ce4f1a827712"
16
+ Cache-Control: max-age=0, private, must-revalidate
17
+ X-Request-Id: fdae1bd3-bbb9-42f4-9d0d-75d56ce95fea
18
+ X-Runtime: 0.048314
19
+ Strict-Transport-Security: max-age=315360000
20
+
21
+ {"service":{"id":1,"name":"Google Apps","short_name":"google-apps","description":"All the records you need for Google Apps to function.","created_at":"2014-01-29T12:33:07.214Z","updated_at":"2014-01-29T12:33:07.229Z"}}
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 10:33:56 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: "6bdbf603809e0847d57208b71f4ea116"
16
+ Cache-Control: max-age=0, private, must-revalidate
17
+ X-Request-Id: 496c0212-0e61-4bc5-b3eb-94222fef21d3
18
+ X-Runtime: 0.470952
19
+ Strict-Transport-Security: max-age=315360000
20
+
21
+ {"id":7,"status":"deleted"}
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Tue, 16 Dec 2014 12:59:43 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: "49b889276a103ada8c1a1585dcdce7c6"
16
+ Cache-Control: max-age=0, private, must-revalidate
17
+ X-Request-Id: 14ad790f-a743-4e0b-9b96-76f1723bf153
18
+ X-Runtime: 0.064047
19
+ Strict-Transport-Security: max-age=315360000
20
+
21
+ {"subscription":{"id":147,"user_id":null,"plan_name":"Gold","state":"subscribed","domain_limit":50,"created_at":"2014-12-06T15:55:07.494Z","updated_at":"2014-12-15T15:44:45.429Z"}}
@@ -0,0 +1,21 @@
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"}}
@@ -0,0 +1,22 @@
1
+ HTTP/1.1 201 Created
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 14:27:51 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: /templates/2946
16
+ ETag: "5ac7df35c5efb57fd52458429f945a97"
17
+ Cache-Control: max-age=0, private, must-revalidate
18
+ X-Request-Id: 437773da-9d5a-4eaf-b8c8-a8d032bddeac
19
+ X-Runtime: 0.127665
20
+ Strict-Transport-Security: max-age=315360000
21
+
22
+ {"dns_template":{"id":2946,"user_id":null,"name":"foo","short_name":"bar","description":null,"created_at":"2014-12-15T14:27:51.896Z","updated_at":"2014-12-15T14:27:51.896Z"}}
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 204 No Content
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 14:29:45 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Status: 204 No Content
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: "99914b932bd37a50b983c5e7c90ae93b"
16
+ Cache-Control: max-age=0, private, must-revalidate
17
+ X-Request-Id: eb63e99b-2aa3-4c40-a60f-6b3203026eff
18
+ X-Runtime: 0.136152
19
+ Strict-Transport-Security: max-age=315360000
20
+
21
+
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 14:29:45 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: "99914b932bd37a50b983c5e7c90ae93b"
16
+ Cache-Control: max-age=0, private, must-revalidate
17
+ X-Request-Id: eb63e99b-2aa3-4c40-a60f-6b3203026eff
18
+ X-Runtime: 0.136152
19
+ Strict-Transport-Security: max-age=315360000
20
+
21
+ {}
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 14:02:38 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: "44c42183525b49d84e8075628d6650b3"
16
+ Cache-Control: max-age=0, private, must-revalidate
17
+ X-Request-Id: e687b0bc-5bdf-45bd-9db5-0108c87ecfac
18
+ X-Runtime: 0.075776
19
+ Strict-Transport-Security: max-age=315360000
20
+
21
+ [{"dns_template":{"id":2651,"user_id":1120,"name":"Localhost","short_name":"localhost","description":"This is a test.","created_at":"2014-09-30T12:41:17.169Z","updated_at":"2014-09-30T12:44:20.101Z"}}]
@@ -0,0 +1,19 @@
1
+ HTTP/1.1 404 Not Found
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 14:04:34 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: 8f6cc303-7094-423d-952a-0068a40ec191
17
+ X-Runtime: 0.085962
18
+
19
+ {"message":"Template `0' not found"}
@@ -1,19 +1,21 @@
1
1
  HTTP/1.1 200 OK
2
- Server: nginx/1.5.8
3
- Date: Tue, 14 Jan 2014 17:53:21 GMT
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 14:02:38 GMT
4
4
  Content-Type: application/json; charset=utf-8
5
5
  Transfer-Encoding: chunked
6
- Connection: close
6
+ Connection: keep-alive
7
7
  Status: 200 OK
8
- X-Dnsimple-API-Version: 1.0.0
8
+ Strict-Transport-Security: max-age=631138519
9
+ X-Frame-Options: SAMEORIGIN
10
+ X-XSS-Protection: 1
11
+ X-Content-Type-Options: nosniff
9
12
  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
13
+ Access-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with
11
14
  Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
12
- X-UA-Compatible: IE=Edge,chrome=1
13
- ETag: "10b0cf9b0739e857322f4a7fce8f66a8"
15
+ ETag: "44c42183525b49d84e8075628d6650b3"
14
16
  Cache-Control: max-age=0, private, must-revalidate
15
- X-Request-Id: b70969199a7f50224e1f5ed08f765692
16
- X-Runtime: 0.032644
17
+ X-Request-Id: e687b0bc-5bdf-45bd-9db5-0108c87ecfac
18
+ X-Runtime: 0.075776
17
19
  Strict-Transport-Security: max-age=315360000
18
20
 
19
- {"dns_template":{"id":63,"user_id":null,"name":"Google Apps","short_name":"google-apps","description":"The Google Mail Servers and Google Apps CNAME records in a single template.","created_at":"2010-12-15T08:08:02Z","updated_at":"2013-09-02T07:16:53Z"}}
21
+ {"dns_template":{"id":2651,"user_id":1120,"name":"Localhost","short_name":"localhost","description":"This is a test.","created_at":"2014-09-30T12:41:17.169Z","updated_at":"2014-09-30T12:44:20.101Z"}}
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 14:02:38 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: "44c42183525b49d84e8075628d6650b3"
16
+ Cache-Control: max-age=0, private, must-revalidate
17
+ X-Request-Id: e687b0bc-5bdf-45bd-9db5-0108c87ecfac
18
+ X-Runtime: 0.075776
19
+ Strict-Transport-Security: max-age=315360000
20
+
21
+ {"dns_template":{"id":2651,"user_id":1120,"name":"Localhost","short_name":"localhost","description":"This is a test.","created_at":"2014-09-30T12:41:17.169Z","updated_at":"2014-09-30T12:44:20.101Z"}}
@@ -0,0 +1,22 @@
1
+ HTTP/1.1 201 Created
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 17:25:20 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: /templates/2947/records/8868
16
+ ETag: "8b6a002b2d4d8eecfd1c9a3bdd70bec1"
17
+ Cache-Control: max-age=0, private, must-revalidate
18
+ X-Request-Id: dba82208-ba76-47ee-9570-b8e35d7cd335
19
+ X-Runtime: 0.073547
20
+ Strict-Transport-Security: max-age=315360000
21
+
22
+ {"dns_template_record":{"id":8868,"dns_template_id":2947,"name":"ww1","content":"127.0.0.1","ttl":3600,"prio":null,"record_type":"ALIAS","created_at":"2014-12-15T17:25:20.431Z","updated_at":"2014-12-15T17:25:20.431Z"}}
@@ -0,0 +1,19 @@
1
+ HTTP/1.1 204 No Content
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 17:50:33 GMT
4
+ Content-Type: application/json; charset=utf-8
5
+ Transfer-Encoding: chunked
6
+ Connection: keep-alive
7
+ Status: 204 No Content
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: "99914b932bd37a50b983c5e7c90ae93b"
16
+ Cache-Control: max-age=0, private, must-revalidate
17
+ X-Request-Id: f0e66104-0010-4119-b726-9d8c38228c0a
18
+ X-Runtime: 0.126578
19
+ Strict-Transport-Security: max-age=315360000
@@ -0,0 +1,21 @@
1
+ HTTP/1.1 200 OK
2
+ Server: nginx
3
+ Date: Mon, 15 Dec 2014 17:50:33 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: "99914b932bd37a50b983c5e7c90ae93b"
16
+ Cache-Control: max-age=0, private, must-revalidate
17
+ X-Request-Id: f0e66104-0010-4119-b726-9d8c38228c0a
18
+ X-Runtime: 0.126578
19
+ Strict-Transport-Security: max-age=315360000
20
+
21
+ {}