ultradns-sdk 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,124 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://restapi.ultradns.com/v1/authorization/token
6
+ body:
7
+ encoding: UTF-8
8
+ string: grant_type=password&password=SECRET&username=jdamick
9
+ headers:
10
+ accept:
11
+ - application/json
12
+ content-type:
13
+ - application/x-www-form-urlencoded
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ access-control-allow-credentials:
20
+ - 'true'
21
+ access-control-allow-headers:
22
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
23
+ access-control-allow-methods:
24
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
25
+ access-control-allow-origin:
26
+ - "*"
27
+ access-control-max-age:
28
+ - '3600'
29
+ content-type:
30
+ - application/json
31
+ date:
32
+ - Mon, 28 Jul 2014 02:09:11 GMT
33
+ transfer-encoding:
34
+ - chunked
35
+ connection:
36
+ - Close
37
+ body:
38
+ encoding: UTF-8
39
+ string: '{"tokenType":"","refreshToken":"0b0dad0054dc4d2082194baebc254e97","accessToken":"c35666da249746dfbb4e1eed4aede97a","expiresIn":""}'
40
+ http_version: '1.1'
41
+ recorded_at: Mon, 28 Jul 2014 02:09:11 GMT
42
+ - request:
43
+ method: get
44
+ uri: https://restapi.ultradns.com/v1/status
45
+ body:
46
+ encoding: US-ASCII
47
+ string: ''
48
+ headers:
49
+ accept:
50
+ - application/json
51
+ content-type:
52
+ - application/json
53
+ authorization:
54
+ - Bearer c35666da249746dfbb4e1eed4aede97a
55
+ response:
56
+ status:
57
+ code: 200
58
+ message: OK
59
+ headers:
60
+ access-control-allow-credentials:
61
+ - 'true'
62
+ access-control-allow-headers:
63
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
64
+ access-control-allow-methods:
65
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
66
+ access-control-allow-origin:
67
+ - "*"
68
+ access-control-max-age:
69
+ - '3600'
70
+ content-type:
71
+ - application/json
72
+ date:
73
+ - Mon, 28 Jul 2014 02:09:11 GMT
74
+ transfer-encoding:
75
+ - chunked
76
+ connection:
77
+ - Close
78
+ body:
79
+ encoding: UTF-8
80
+ string: '{"message":"Good"}'
81
+ http_version: '1.1'
82
+ recorded_at: Mon, 28 Jul 2014 02:09:11 GMT
83
+ - request:
84
+ method: get
85
+ uri: https://restapi.ultradns.com/v1/version
86
+ body:
87
+ encoding: US-ASCII
88
+ string: ''
89
+ headers:
90
+ accept:
91
+ - application/json
92
+ content-type:
93
+ - application/json
94
+ authorization:
95
+ - Bearer c35666da249746dfbb4e1eed4aede97a
96
+ response:
97
+ status:
98
+ code: 200
99
+ message: OK
100
+ headers:
101
+ access-control-allow-credentials:
102
+ - 'true'
103
+ access-control-allow-headers:
104
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
105
+ access-control-allow-methods:
106
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
107
+ access-control-allow-origin:
108
+ - "*"
109
+ access-control-max-age:
110
+ - '3600'
111
+ content-type:
112
+ - application/json
113
+ date:
114
+ - Mon, 28 Jul 2014 02:09:11 GMT
115
+ transfer-encoding:
116
+ - chunked
117
+ connection:
118
+ - Close
119
+ body:
120
+ encoding: UTF-8
121
+ string: '{"version":"1.13.0-20140717130501.5c8da50"}'
122
+ http_version: '1.1'
123
+ recorded_at: Mon, 28 Jul 2014 02:09:11 GMT
124
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,83 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://restapi.ultradns.com/v1/authorization/token
6
+ body:
7
+ encoding: UTF-8
8
+ string: grant_type=password&password=SECRET&username=jdamick
9
+ headers:
10
+ accept:
11
+ - application/json
12
+ content-type:
13
+ - application/x-www-form-urlencoded
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ access-control-allow-credentials:
20
+ - 'true'
21
+ access-control-allow-headers:
22
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
23
+ access-control-allow-methods:
24
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
25
+ access-control-allow-origin:
26
+ - "*"
27
+ access-control-max-age:
28
+ - '3600'
29
+ content-type:
30
+ - application/json
31
+ date:
32
+ - Mon, 28 Jul 2014 14:41:18 GMT
33
+ transfer-encoding:
34
+ - chunked
35
+ connection:
36
+ - Close
37
+ body:
38
+ encoding: UTF-8
39
+ string: '{"tokenType":"","refreshToken":"7488ac967f514ba1a4702d161937eb39","accessToken":"7b99326628be40cabb4b54096fc7ec2e","expiresIn":""}'
40
+ http_version: '1.1'
41
+ recorded_at: Mon, 28 Jul 2014 14:41:17 GMT
42
+ - request:
43
+ method: get
44
+ uri: https://restapi.ultradns.com/v1/tasks
45
+ body:
46
+ encoding: US-ASCII
47
+ string: ''
48
+ headers:
49
+ accept:
50
+ - application/json
51
+ content-type:
52
+ - application/json
53
+ authorization:
54
+ - Bearer 7b99326628be40cabb4b54096fc7ec2e
55
+ response:
56
+ status:
57
+ code: 404
58
+ message: Not Found
59
+ headers:
60
+ access-control-allow-credentials:
61
+ - 'true'
62
+ access-control-allow-headers:
63
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
64
+ access-control-allow-methods:
65
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
66
+ access-control-allow-origin:
67
+ - "*"
68
+ access-control-max-age:
69
+ - '3600'
70
+ content-type:
71
+ - application/json
72
+ date:
73
+ - Mon, 28 Jul 2014 14:41:18 GMT
74
+ transfer-encoding:
75
+ - chunked
76
+ connection:
77
+ - Close
78
+ body:
79
+ encoding: UTF-8
80
+ string: '[{"errorCode":70002,"errorMessage":"Data not found."}]'
81
+ http_version: '1.1'
82
+ recorded_at: Mon, 28 Jul 2014 14:41:18 GMT
83
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,124 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://restapi.ultradns.com/v1/authorization/token
6
+ body:
7
+ encoding: UTF-8
8
+ string: grant_type=password&password=SECRET&username=jdamick
9
+ headers:
10
+ accept:
11
+ - application/json
12
+ content-type:
13
+ - application/x-www-form-urlencoded
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ access-control-allow-credentials:
20
+ - 'true'
21
+ access-control-allow-headers:
22
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
23
+ access-control-allow-methods:
24
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
25
+ access-control-allow-origin:
26
+ - "*"
27
+ access-control-max-age:
28
+ - '3600'
29
+ content-type:
30
+ - application/json
31
+ date:
32
+ - Mon, 28 Jul 2014 02:11:27 GMT
33
+ transfer-encoding:
34
+ - chunked
35
+ connection:
36
+ - Close
37
+ body:
38
+ encoding: UTF-8
39
+ string: '{"tokenType":"","refreshToken":"5ae78e9c46f448fe80a447a7b75c0ef1","accessToken":"9649b0aa77ed47db9796b2daa7d2d944","expiresIn":""}'
40
+ http_version: '1.1'
41
+ recorded_at: Mon, 28 Jul 2014 02:11:27 GMT
42
+ - request:
43
+ method: get
44
+ uri: https://restapi.ultradns.com/v1/zones/nexgen.neustar.biz
45
+ body:
46
+ encoding: US-ASCII
47
+ string: ''
48
+ headers:
49
+ accept:
50
+ - application/json
51
+ content-type:
52
+ - application/json
53
+ authorization:
54
+ - Bearer 9649b0aa77ed47db9796b2daa7d2d944
55
+ response:
56
+ status:
57
+ code: 200
58
+ message: OK
59
+ headers:
60
+ access-control-allow-credentials:
61
+ - 'true'
62
+ access-control-allow-headers:
63
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
64
+ access-control-allow-methods:
65
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
66
+ access-control-allow-origin:
67
+ - "*"
68
+ access-control-max-age:
69
+ - '3600'
70
+ content-type:
71
+ - application/json
72
+ date:
73
+ - Mon, 28 Jul 2014 02:11:27 GMT
74
+ content-length:
75
+ - '394'
76
+ connection:
77
+ - Close
78
+ body:
79
+ encoding: UTF-8
80
+ string: '{"properties":{"name":"nexgen.neustar.biz.","accountName":"jdamick","type":"PRIMARY","dnssecStatus":"UNSIGNED","status":"ACTIVE","owner":"jdamick","resourceRecordCount":1480,"lastModifiedDateTime":"2014-07-15T11:24Z"},"registrarInfo":{"nameServers":{"ok":["pdns1.ultradns.net.","pdns2.ultradns.net.","pdns3.ultradns.org.","pdns4.ultradns.org.","pdns5.ultradns.info.","pdns6.ultradns.co.uk."]}}}'
81
+ http_version: '1.1'
82
+ recorded_at: Mon, 28 Jul 2014 02:11:27 GMT
83
+ - request:
84
+ method: get
85
+ uri: https://restapi.ultradns.com/v1/zones/nexgen.neustarr.biz
86
+ body:
87
+ encoding: US-ASCII
88
+ string: ''
89
+ headers:
90
+ accept:
91
+ - application/json
92
+ content-type:
93
+ - application/json
94
+ authorization:
95
+ - Bearer 9649b0aa77ed47db9796b2daa7d2d944
96
+ response:
97
+ status:
98
+ code: 404
99
+ message: Not Found
100
+ headers:
101
+ access-control-allow-credentials:
102
+ - 'true'
103
+ access-control-allow-headers:
104
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
105
+ access-control-allow-methods:
106
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
107
+ access-control-allow-origin:
108
+ - "*"
109
+ access-control-max-age:
110
+ - '3600'
111
+ content-type:
112
+ - application/json
113
+ date:
114
+ - Mon, 28 Jul 2014 02:11:27 GMT
115
+ transfer-encoding:
116
+ - chunked
117
+ connection:
118
+ - Close
119
+ body:
120
+ encoding: UTF-8
121
+ string: '[{"errorCode":1801,"errorMessage":"Zone does not exist in the system."}]'
122
+ http_version: '1.1'
123
+ recorded_at: Mon, 28 Jul 2014 02:11:27 GMT
124
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,546 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://restapi.ultradns.com/v1/authorization/token
6
+ body:
7
+ encoding: UTF-8
8
+ string: grant_type=password&password=SECRET&username=jdamick
9
+ headers:
10
+ accept:
11
+ - application/json
12
+ content-type:
13
+ - application/x-www-form-urlencoded
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ access-control-allow-credentials:
20
+ - 'true'
21
+ access-control-allow-headers:
22
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
23
+ access-control-allow-methods:
24
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
25
+ access-control-allow-origin:
26
+ - "*"
27
+ access-control-max-age:
28
+ - '3600'
29
+ content-type:
30
+ - application/json
31
+ date:
32
+ - Mon, 28 Jul 2014 02:13:48 GMT
33
+ transfer-encoding:
34
+ - chunked
35
+ connection:
36
+ - Close
37
+ body:
38
+ encoding: UTF-8
39
+ string: '{"tokenType":"","refreshToken":"6f7a896c904f4bee81186403203d45dd","accessToken":"f153ee568ec14284921188a2b0d00617","expiresIn":""}'
40
+ http_version: '1.1'
41
+ recorded_at: Mon, 28 Jul 2014 02:13:48 GMT
42
+ - request:
43
+ method: post
44
+ uri: https://restapi.ultradns.com/v1/zones
45
+ body:
46
+ encoding: UTF-8
47
+ string: '{"properties":{"name":"ultra-rest-test.ultradnstest","accountName":"jdamick","type":"PRIMARY"},"primaryCreateInfo":{"forceImport":true,"createType":"NEW"}}'
48
+ headers:
49
+ accept:
50
+ - application/json
51
+ content-type:
52
+ - application/json
53
+ authorization:
54
+ - Bearer f153ee568ec14284921188a2b0d00617
55
+ response:
56
+ status:
57
+ code: 201
58
+ message: Created
59
+ headers:
60
+ access-control-allow-credentials:
61
+ - 'true'
62
+ access-control-allow-headers:
63
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
64
+ access-control-allow-methods:
65
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
66
+ access-control-allow-origin:
67
+ - "*"
68
+ access-control-max-age:
69
+ - '3600'
70
+ content-type:
71
+ - application/json
72
+ date:
73
+ - Mon, 28 Jul 2014 02:13:48 GMT
74
+ location:
75
+ - https://restapi.ultradns.com/v1/zones/ultra-rest-test.ultradnstest.
76
+ transfer-encoding:
77
+ - chunked
78
+ connection:
79
+ - Close
80
+ body:
81
+ encoding: UTF-8
82
+ string: '{"message":"Successful"}'
83
+ http_version: '1.1'
84
+ recorded_at: Mon, 28 Jul 2014 02:13:49 GMT
85
+ - request:
86
+ method: get
87
+ uri: https://restapi.ultradns.com/v1/zones/ultra-rest-test.ultradnstest
88
+ body:
89
+ encoding: US-ASCII
90
+ string: ''
91
+ headers:
92
+ accept:
93
+ - application/json
94
+ content-type:
95
+ - application/json
96
+ authorization:
97
+ - Bearer f153ee568ec14284921188a2b0d00617
98
+ response:
99
+ status:
100
+ code: 200
101
+ message: OK
102
+ headers:
103
+ access-control-allow-credentials:
104
+ - 'true'
105
+ access-control-allow-headers:
106
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
107
+ access-control-allow-methods:
108
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
109
+ access-control-allow-origin:
110
+ - "*"
111
+ access-control-max-age:
112
+ - '3600'
113
+ content-type:
114
+ - application/json
115
+ date:
116
+ - Mon, 28 Jul 2014 02:13:49 GMT
117
+ transfer-encoding:
118
+ - chunked
119
+ connection:
120
+ - Close
121
+ body:
122
+ encoding: UTF-8
123
+ string: '{"properties":{"name":"ultra-rest-test.ultradnstest.","accountName":"jdamick","type":"PRIMARY","dnssecStatus":"UNSIGNED","status":"ACTIVE","owner":"jdamick","resourceRecordCount":7,"lastModifiedDateTime":"2014-07-28T02:13Z"},"registrarInfo":{"nameServers":{"missing":["pdns1.ultradns.net.","pdns2.ultradns.net.","pdns3.ultradns.org.","pdns4.ultradns.org.","pdns5.ultradns.info.","pdns6.ultradns.co.uk."]}}}'
124
+ http_version: '1.1'
125
+ recorded_at: Mon, 28 Jul 2014 02:13:49 GMT
126
+ - request:
127
+ method: post
128
+ uri: https://restapi.ultradns.com/v1/zones/ultra-rest-test.ultradnstest/rrsets/A/something
129
+ body:
130
+ encoding: UTF-8
131
+ string: '{"ttl":60,"rdata":["192.168.1.1"]}'
132
+ headers:
133
+ accept:
134
+ - application/json
135
+ content-type:
136
+ - application/json
137
+ authorization:
138
+ - Bearer f153ee568ec14284921188a2b0d00617
139
+ response:
140
+ status:
141
+ code: 201
142
+ message: Created
143
+ headers:
144
+ access-control-allow-credentials:
145
+ - 'true'
146
+ access-control-allow-headers:
147
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
148
+ access-control-allow-methods:
149
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
150
+ access-control-allow-origin:
151
+ - "*"
152
+ access-control-max-age:
153
+ - '3600'
154
+ content-type:
155
+ - application/json
156
+ date:
157
+ - Mon, 28 Jul 2014 02:13:49 GMT
158
+ location:
159
+ - https://restapi.ultradns.com/v1/zones/ultra-rest-test.ultradnstest/rrsets/A/something
160
+ transfer-encoding:
161
+ - chunked
162
+ connection:
163
+ - Close
164
+ body:
165
+ encoding: UTF-8
166
+ string: '{"message":"Successful"}'
167
+ http_version: '1.1'
168
+ recorded_at: Mon, 28 Jul 2014 02:13:49 GMT
169
+ - request:
170
+ method: get
171
+ uri: https://restapi.ultradns.com/v1/zones/ultra-rest-test.ultradnstest/rrsets
172
+ body:
173
+ encoding: US-ASCII
174
+ string: ''
175
+ headers:
176
+ accept:
177
+ - application/json
178
+ content-type:
179
+ - application/json
180
+ authorization:
181
+ - Bearer f153ee568ec14284921188a2b0d00617
182
+ response:
183
+ status:
184
+ code: 200
185
+ message: OK
186
+ headers:
187
+ access-control-allow-credentials:
188
+ - 'true'
189
+ access-control-allow-headers:
190
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
191
+ access-control-allow-methods:
192
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
193
+ access-control-allow-origin:
194
+ - "*"
195
+ access-control-max-age:
196
+ - '3600'
197
+ content-type:
198
+ - application/json
199
+ date:
200
+ - Mon, 28 Jul 2014 02:13:49 GMT
201
+ transfer-encoding:
202
+ - chunked
203
+ connection:
204
+ - Close
205
+ body:
206
+ encoding: UTF-8
207
+ string: '{"zoneName":"ultra-rest-test.ultradnstest","rrSets":[{"ownerName":"something.ultra-rest-test.ultradnstest.","rrtype":"A
208
+ (1)","ttl":60,"rdata":["192.168.1.1"]},{"ownerName":"ultra-rest-test.ultradnstest.","rrtype":"NS
209
+ (2)","ttl":86400,"rdata":["pdns6.ultradns.co.uk.","pdns2.ultradns.net.","pdns1.ultradns.net.","pdns4.ultradns.org.","pdns5.ultradns.info.","pdns3.ultradns.org."]},{"ownerName":"ultra-rest-test.ultradnstest.","rrtype":"SOA
210
+ (6)","ttl":86400,"rdata":["pdns1.ultradns.net. jeffrey\\.damick.neustar.biz.
211
+ 2014072802 86400 86400 86400 86400"]}],"queryInfo":{"sort":"OWNER","reverse":false,"limit":100},"resultInfo":{"totalCount":3,"offset":0,"returnedCount":3}}'
212
+ http_version: '1.1'
213
+ recorded_at: Mon, 28 Jul 2014 02:13:49 GMT
214
+ - request:
215
+ method: get
216
+ uri: https://restapi.ultradns.com/v1/zones/ultra-rest-test.ultradnstest/rrsets/A
217
+ body:
218
+ encoding: US-ASCII
219
+ string: ''
220
+ headers:
221
+ accept:
222
+ - application/json
223
+ content-type:
224
+ - application/json
225
+ authorization:
226
+ - Bearer f153ee568ec14284921188a2b0d00617
227
+ response:
228
+ status:
229
+ code: 200
230
+ message: OK
231
+ headers:
232
+ access-control-allow-credentials:
233
+ - 'true'
234
+ access-control-allow-headers:
235
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
236
+ access-control-allow-methods:
237
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
238
+ access-control-allow-origin:
239
+ - "*"
240
+ access-control-max-age:
241
+ - '3600'
242
+ content-type:
243
+ - application/json
244
+ date:
245
+ - Mon, 28 Jul 2014 02:13:50 GMT
246
+ transfer-encoding:
247
+ - chunked
248
+ connection:
249
+ - Close
250
+ body:
251
+ encoding: UTF-8
252
+ string: '{"zoneName":"ultra-rest-test.ultradnstest","rrSets":[{"ownerName":"something.ultra-rest-test.ultradnstest.","rrtype":"A
253
+ (1)","ttl":60,"rdata":["192.168.1.1"]}],"queryInfo":{"sort":"OWNER","reverse":false,"limit":100},"resultInfo":{"totalCount":1,"offset":0,"returnedCount":1}}'
254
+ http_version: '1.1'
255
+ recorded_at: Mon, 28 Jul 2014 02:13:50 GMT
256
+ - request:
257
+ method: get
258
+ uri: https://restapi.ultradns.com/v1/zones/ultra-rest-test.ultradnstest/rrsets/A/something.ultra-rest-test.ultradnstest
259
+ body:
260
+ encoding: US-ASCII
261
+ string: ''
262
+ headers:
263
+ accept:
264
+ - application/json
265
+ content-type:
266
+ - application/json
267
+ authorization:
268
+ - Bearer f153ee568ec14284921188a2b0d00617
269
+ response:
270
+ status:
271
+ code: 200
272
+ message: OK
273
+ headers:
274
+ access-control-allow-credentials:
275
+ - 'true'
276
+ access-control-allow-headers:
277
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
278
+ access-control-allow-methods:
279
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
280
+ access-control-allow-origin:
281
+ - "*"
282
+ access-control-max-age:
283
+ - '3600'
284
+ content-type:
285
+ - application/json
286
+ date:
287
+ - Mon, 28 Jul 2014 02:13:50 GMT
288
+ transfer-encoding:
289
+ - chunked
290
+ connection:
291
+ - Close
292
+ body:
293
+ encoding: UTF-8
294
+ string: '{"zoneName":"ultra-rest-test.ultradnstest","rrSets":[{"ownerName":"something.ultra-rest-test.ultradnstest.","rrtype":"A
295
+ (1)","ttl":60,"rdata":["192.168.1.1"]}],"queryInfo":{"sort":"OWNER","reverse":false,"limit":100},"resultInfo":{"totalCount":1,"offset":0,"returnedCount":1}}'
296
+ http_version: '1.1'
297
+ recorded_at: Mon, 28 Jul 2014 02:13:50 GMT
298
+ - request:
299
+ method: patch
300
+ uri: https://restapi.ultradns.com/v1/zones/ultra-rest-test.ultradnstest/rrsets/A/something.ultra-rest-test.ultradnstest
301
+ body:
302
+ encoding: UTF-8
303
+ string: '{"ttl":30}'
304
+ headers:
305
+ accept:
306
+ - application/json
307
+ content-type:
308
+ - application/json
309
+ authorization:
310
+ - Bearer f153ee568ec14284921188a2b0d00617
311
+ response:
312
+ status:
313
+ code: 200
314
+ message: OK
315
+ headers:
316
+ access-control-allow-credentials:
317
+ - 'true'
318
+ access-control-allow-headers:
319
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
320
+ access-control-allow-methods:
321
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
322
+ access-control-allow-origin:
323
+ - "*"
324
+ access-control-max-age:
325
+ - '3600'
326
+ content-type:
327
+ - application/json
328
+ date:
329
+ - Mon, 28 Jul 2014 02:13:50 GMT
330
+ transfer-encoding:
331
+ - chunked
332
+ connection:
333
+ - Close
334
+ body:
335
+ encoding: UTF-8
336
+ string: '{"message":"Successful"}'
337
+ http_version: '1.1'
338
+ recorded_at: Mon, 28 Jul 2014 02:13:50 GMT
339
+ - request:
340
+ method: get
341
+ uri: https://restapi.ultradns.com/v1/zones/ultra-rest-test.ultradnstest/rrsets/A/something.ultra-rest-test.ultradnstest
342
+ body:
343
+ encoding: US-ASCII
344
+ string: ''
345
+ headers:
346
+ accept:
347
+ - application/json
348
+ content-type:
349
+ - application/json
350
+ authorization:
351
+ - Bearer f153ee568ec14284921188a2b0d00617
352
+ response:
353
+ status:
354
+ code: 200
355
+ message: OK
356
+ headers:
357
+ access-control-allow-credentials:
358
+ - 'true'
359
+ access-control-allow-headers:
360
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
361
+ access-control-allow-methods:
362
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
363
+ access-control-allow-origin:
364
+ - "*"
365
+ access-control-max-age:
366
+ - '3600'
367
+ content-type:
368
+ - application/json
369
+ date:
370
+ - Mon, 28 Jul 2014 02:13:50 GMT
371
+ transfer-encoding:
372
+ - chunked
373
+ connection:
374
+ - Close
375
+ body:
376
+ encoding: UTF-8
377
+ string: '{"zoneName":"ultra-rest-test.ultradnstest","rrSets":[{"ownerName":"something.ultra-rest-test.ultradnstest.","rrtype":"A
378
+ (1)","ttl":30,"rdata":["192.168.1.1"]}],"queryInfo":{"sort":"OWNER","reverse":false,"limit":100},"resultInfo":{"totalCount":1,"offset":0,"returnedCount":1}}'
379
+ http_version: '1.1'
380
+ recorded_at: Mon, 28 Jul 2014 02:13:50 GMT
381
+ - request:
382
+ method: patch
383
+ uri: https://restapi.ultradns.com/v1/zones/ultra-rest-test.ultradnstest/rrsets/A/something.ultra-rest-test.ultradnstest
384
+ body:
385
+ encoding: UTF-8
386
+ string: '{"profile":{"@context":"http://schemas.ultradns.com/RDPool.jsonschema","description":"Pooled
387
+ Records Test","order":"RANDOM"}}'
388
+ headers:
389
+ accept:
390
+ - application/json
391
+ content-type:
392
+ - application/json
393
+ authorization:
394
+ - Bearer f153ee568ec14284921188a2b0d00617
395
+ response:
396
+ status:
397
+ code: 200
398
+ message: OK
399
+ headers:
400
+ access-control-allow-credentials:
401
+ - 'true'
402
+ access-control-allow-headers:
403
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
404
+ access-control-allow-methods:
405
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
406
+ access-control-allow-origin:
407
+ - "*"
408
+ access-control-max-age:
409
+ - '3600'
410
+ content-type:
411
+ - application/json
412
+ date:
413
+ - Mon, 28 Jul 2014 02:13:50 GMT
414
+ transfer-encoding:
415
+ - chunked
416
+ connection:
417
+ - Close
418
+ body:
419
+ encoding: UTF-8
420
+ string: '{"message":"Successful"}'
421
+ http_version: '1.1'
422
+ recorded_at: Mon, 28 Jul 2014 02:13:51 GMT
423
+ - request:
424
+ method: patch
425
+ uri: https://restapi.ultradns.com/v1/zones/ultra-rest-test.ultradnstest/rrsets/A/something.ultra-rest-test.ultradnstest
426
+ body:
427
+ encoding: UTF-8
428
+ string: '{"ttl":60,"rdata":["192.168.3.3"]}'
429
+ headers:
430
+ accept:
431
+ - application/json
432
+ content-type:
433
+ - application/json
434
+ authorization:
435
+ - Bearer f153ee568ec14284921188a2b0d00617
436
+ response:
437
+ status:
438
+ code: 200
439
+ message: OK
440
+ headers:
441
+ access-control-allow-credentials:
442
+ - 'true'
443
+ access-control-allow-headers:
444
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
445
+ access-control-allow-methods:
446
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
447
+ access-control-allow-origin:
448
+ - "*"
449
+ access-control-max-age:
450
+ - '3600'
451
+ content-type:
452
+ - application/json
453
+ date:
454
+ - Mon, 28 Jul 2014 02:13:51 GMT
455
+ transfer-encoding:
456
+ - chunked
457
+ connection:
458
+ - Close
459
+ body:
460
+ encoding: UTF-8
461
+ string: '{"message":"Successful"}'
462
+ http_version: '1.1'
463
+ recorded_at: Mon, 28 Jul 2014 02:13:51 GMT
464
+ - request:
465
+ method: get
466
+ uri: https://restapi.ultradns.com/v1/zones/ultra-rest-test.ultradnstest/rrsets/A/something.ultra-rest-test.ultradnstest
467
+ body:
468
+ encoding: US-ASCII
469
+ string: ''
470
+ headers:
471
+ accept:
472
+ - application/json
473
+ content-type:
474
+ - application/json
475
+ authorization:
476
+ - Bearer f153ee568ec14284921188a2b0d00617
477
+ response:
478
+ status:
479
+ code: 200
480
+ message: OK
481
+ headers:
482
+ access-control-allow-credentials:
483
+ - 'true'
484
+ access-control-allow-headers:
485
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
486
+ access-control-allow-methods:
487
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
488
+ access-control-allow-origin:
489
+ - "*"
490
+ access-control-max-age:
491
+ - '3600'
492
+ content-type:
493
+ - application/json
494
+ date:
495
+ - Mon, 28 Jul 2014 02:13:51 GMT
496
+ transfer-encoding:
497
+ - chunked
498
+ connection:
499
+ - Close
500
+ body:
501
+ encoding: UTF-8
502
+ string: '{"zoneName":"ultra-rest-test.ultradnstest","rrSets":[{"ownerName":"something.ultra-rest-test.ultradnstest.","rrtype":"A
503
+ (1)","ttl":60,"rdata":["192.168.1.1","192.168.3.3"],"profile":{"@context":"http://schemas.ultradns.com/RDPool.jsonschema","order":"RANDOM","description":"Pooled
504
+ Records Test"}}],"queryInfo":{"sort":"OWNER","reverse":false,"limit":100},"resultInfo":{"totalCount":1,"offset":0,"returnedCount":1}}'
505
+ http_version: '1.1'
506
+ recorded_at: Mon, 28 Jul 2014 02:13:51 GMT
507
+ - request:
508
+ method: delete
509
+ uri: https://restapi.ultradns.com/v1/zones/ultra-rest-test.ultradnstest
510
+ body:
511
+ encoding: US-ASCII
512
+ string: ''
513
+ headers:
514
+ accept:
515
+ - application/json
516
+ content-type:
517
+ - application/json
518
+ authorization:
519
+ - Bearer f153ee568ec14284921188a2b0d00617
520
+ response:
521
+ status:
522
+ code: 204
523
+ message: No Content
524
+ headers:
525
+ access-control-allow-credentials:
526
+ - 'true'
527
+ access-control-allow-headers:
528
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
529
+ access-control-allow-methods:
530
+ - POST, GET, OPTIONS, DELETE, PUT, PATCH
531
+ access-control-allow-origin:
532
+ - "*"
533
+ access-control-max-age:
534
+ - '3600'
535
+ content-type:
536
+ - application/json
537
+ date:
538
+ - Mon, 28 Jul 2014 02:13:51 GMT
539
+ connection:
540
+ - Close
541
+ body:
542
+ encoding: US-ASCII
543
+ string: ''
544
+ http_version: '1.1'
545
+ recorded_at: Mon, 28 Jul 2014 02:13:52 GMT
546
+ recorded_with: VCR 2.9.2