Debian Codegraph @

dynect/fixtures/convenient_create_zone.yaml

raw symbols SCIP
1 ---
2 version: 1
3 rwmutex: {}
4 interactions:
5 - request:
6 body: '{"user_name":"dynect-user","password":"p@55w0rd","customer_name":"go-dynect"}'
7 form: {}
8 headers:
9 Auth-Token:
10 - ""
11 Content-Type:
12 - application/json
13 url: https://api.dynect.net/REST/Session
14 method: POST
15 response:
16 body: '{"status": "success", "data": {"token": "vTjIj83plGwG5lf+2gzYpI/JlEh8JQSM88ang3OVjUQfe8JfirVWlvl1786+nJbsg987HR6aiIcx6MuseIOvvNaeqxFwwR9xTJvP5EikWS2Cn/Xg/WVDulJ66xl1vjxusJVVlhgLY0MF0nGlBbVMjIYILxbg9pbkB7N4WL+dgu4=",
17 "version": "3.7.9"}, "job_id": 4344013458, "msgs": [{"INFO": "login: Login successful",
18 "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]}'
19 headers:
20 Connection:
21 - keep-alive
22 Content-Type:
23 - application/json
24 Date:
25 - Thu, 21 Dec 2017 00:57:07 GMT
26 Server:
27 - nginx/1.4.6 (Ubuntu)
28 status: 200 OK
29 code: 200
30 - request:
31 body: '{"rname":"[email protected]","serial_style":"day","ttl":"1800"}'
32 form: {}
33 headers:
34 Auth-Token:
35 - vTjIj83plGwG5lf+2gzYpI/JlEh8JQSM88ang3OVjUQfe8JfirVWlvl1786+nJbsg987HR6aiIcx6MuseIOvvNaeqxFwwR9xTJvP5EikWS2Cn/Xg/WVDulJ66xl1vjxusJVVlhgLY0MF0nGlBbVMjIYILxbg9pbkB7N4WL+dgu4=
36 Content-Type:
37 - application/json
38 url: https://api.dynect.net/REST/Zone/subzone.go-dynect.test/
39 method: POST
40 response:
41 body: '{"status": "success", "data": {"zone_type": "Primary", "serial_style":
42 "day", "serial": 0, "zone": "subzone.go-dynect.test"}, "job_id": 4344013466,
43 "msgs": [{"INFO": "setup: If you plan to provide your own secondary DNS for
44 the zone, allow notify requests from these IP addresses on your nameserver:
45 208.78.68.66, 2600:2003:0:1::66", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"},
46 {"INFO": "create: New zone subzone.go-dynect.test created. Publish it to put
47 it on our server.", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]}'
48 headers:
49 Connection:
50 - keep-alive
51 Content-Type:
52 - application/json
53 Date:
54 - Thu, 21 Dec 2017 00:57:09 GMT
55 Server:
56 - nginx/1.4.6 (Ubuntu)
57 status: 200 OK
58 code: 200
59 - request:
60 body: '{"publish":true}'
61 form: {}
62 headers:
63 Auth-Token:
64 - vTjIj83plGwG5lf+2gzYpI/JlEh8JQSM88ang3OVjUQfe8JfirVWlvl1786+nJbsg987HR6aiIcx6MuseIOvvNaeqxFwwR9xTJvP5EikWS2Cn/Xg/WVDulJ66xl1vjxusJVVlhgLY0MF0nGlBbVMjIYILxbg9pbkB7N4WL+dgu4=
65 Content-Type:
66 - application/json
67 url: https://api.dynect.net/REST/Zone/subzone.go-dynect.test
68 method: PUT
69 response:
70 body: '{"status": "success", "data": {"zone_type": "Primary", "task_id": "230378639",
71 "serial": 2017122100, "serial_style": "day", "zone": "subzone.go-dynect.test"},
72 "job_id": 4344013515, "msgs": [{"INFO": "publish: subzone.go-dynect.test published",
73 "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]}'
74 headers:
75 Connection:
76 - keep-alive
77 Content-Type:
78 - application/json
79 Date:
80 - Thu, 21 Dec 2017 00:57:09 GMT
81 Server:
82 - nginx/1.4.6 (Ubuntu)
83 status: 200 OK
84 code: 200
85 - request:
86 body: ""
87 form: {}
88 headers:
89 Auth-Token:
90 - vTjIj83plGwG5lf+2gzYpI/JlEh8JQSM88ang3OVjUQfe8JfirVWlvl1786+nJbsg987HR6aiIcx6MuseIOvvNaeqxFwwR9xTJvP5EikWS2Cn/Xg/WVDulJ66xl1vjxusJVVlhgLY0MF0nGlBbVMjIYILxbg9pbkB7N4WL+dgu4=
91 Content-Type:
92 - application/json
93 url: https://api.dynect.net/REST/Zone/subzone.go-dynect.test
94 method: GET
95 response:
96 body: '{"status": "success", "data": {"zone_type": "Primary", "serial_style":
97 "day", "serial": 2017122100, "zone": "subzone.go-dynect.test"}, "job_id": 4344013521,
98 "msgs": [{"INFO": "get: Your zone, subzone.go-dynect.test", "SOURCE": "BLL",
99 "ERR_CD": null, "LVL": "INFO"}]}'
100 headers:
101 Connection:
102 - keep-alive
103 Content-Type:
104 - application/json
105 Date:
106 - Thu, 21 Dec 2017 00:57:09 GMT
107 Server:
108 - nginx/1.4.6 (Ubuntu)
109 status: 200 OK
110 code: 200
111 - request:
112 body: ""
113 form: {}
114 headers:
115 Auth-Token:
116 - vTjIj83plGwG5lf+2gzYpI/JlEh8JQSM88ang3OVjUQfe8JfirVWlvl1786+nJbsg987HR6aiIcx6MuseIOvvNaeqxFwwR9xTJvP5EikWS2Cn/Xg/WVDulJ66xl1vjxusJVVlhgLY0MF0nGlBbVMjIYILxbg9pbkB7N4WL+dgu4=
117 Content-Type:
118 - application/json
119 url: https://api.dynect.net/REST/Session
120 method: DELETE
121 response:
122 body: '{"status": "success", "data": {}, "job_id": 4344013527, "msgs": [{"INFO":
123 "logout: Logout successful", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]}'
124 headers:
125 Connection:
126 - keep-alive
127 Content-Type:
128 - application/json
129 Date:
130 - Thu, 21 Dec 2017 00:57:09 GMT
131 Server:
132 - nginx/1.4.6 (Ubuntu)
133 status: 200 OK
134 code: 200