| 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": "5Trj0G1M2B0g1t1IY09yFwGpn31tjWNRNU81RhYHaUp6kxGa3UVK5F9hQqlZBu9SNLxkj6cAk6q93ndW246hIesr496yLD+eOHeJSdBtxxKgB+Gmk4ydsrR1trDIlK0Yq3l9J2XVPTT+/pKtyKmRxLWwNGHvhdJDfs92MiS3+7M=", |
| 17 | "version": "3.7.9"}, "job_id": 4342593698, "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 | - Wed, 20 Dec 2017 14:45:37 GMT |
| 26 | Server: |
| 27 | - nginx/1.4.6 (Ubuntu) |
| 28 | status: 200 OK |
| 29 | code: 200 |
| 30 | - request: |
| 31 | body: '{"rdata":{"exchange":"mx.example.com.","preference":123},"ttl":"12345"}' |
| 32 | form: {} |
| 33 | headers: |
| 34 | Auth-Token: |
| 35 | - 5Trj0G1M2B0g1t1IY09yFwGpn31tjWNRNU81RhYHaUp6kxGa3UVK5F9hQqlZBu9SNLxkj6cAk6q93ndW246hIesr496yLD+eOHeJSdBtxxKgB+Gmk4ydsrR1trDIlK0Yq3l9J2XVPTT+/pKtyKmRxLWwNGHvhdJDfs92MiS3+7M= |
| 36 | Content-Type: |
| 37 | - application/json |
| 38 | url: https://api.dynect.net/REST/MXRecord/go-dynect.test/go-dynect.test |
| 39 | method: POST |
| 40 | response: |
| 41 | body: '{"status": "success", "data": {"zone": "go-dynect.test", "ttl": 12345, |
| 42 | "fqdn": "go-dynect.test", "record_type": "MX", "rdata": {"preference": 123, |
| 43 | "exchange": "mx.example.com."}, "record_id": 0}, "job_id": 4342593703, "msgs": |
| 44 | [{"INFO": "add: Record added", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]}' |
| 45 | headers: |
| 46 | Connection: |
| 47 | - keep-alive |
| 48 | Content-Type: |
| 49 | - application/json |
| 50 | Date: |
| 51 | - Wed, 20 Dec 2017 14:45:37 GMT |
| 52 | Server: |
| 53 | - nginx/1.4.6 (Ubuntu) |
| 54 | status: 200 OK |
| 55 | code: 200 |
| 56 | - request: |
| 57 | body: '{"publish":true}' |
| 58 | form: {} |
| 59 | headers: |
| 60 | Auth-Token: |
| 61 | - 5Trj0G1M2B0g1t1IY09yFwGpn31tjWNRNU81RhYHaUp6kxGa3UVK5F9hQqlZBu9SNLxkj6cAk6q93ndW246hIesr496yLD+eOHeJSdBtxxKgB+Gmk4ydsrR1trDIlK0Yq3l9J2XVPTT+/pKtyKmRxLWwNGHvhdJDfs92MiS3+7M= |
| 62 | Content-Type: |
| 63 | - application/json |
| 64 | url: https://api.dynect.net/REST/Zone/go-dynect.test |
| 65 | method: PUT |
| 66 | response: |
| 67 | body: '{"status": "success", "data": {"zone_type": "Primary", "task_id": "230305365", |
| 68 | "serial": 2017122005, "serial_style": "day", "zone": "go-dynect.test"}, "job_id": |
| 69 | 4342593710, "msgs": [{"INFO": "publish: go-dynect.test published", "SOURCE": |
| 70 | "BLL", "ERR_CD": null, "LVL": "INFO"}]}' |
| 71 | headers: |
| 72 | Connection: |
| 73 | - keep-alive |
| 74 | Content-Type: |
| 75 | - application/json |
| 76 | Date: |
| 77 | - Wed, 20 Dec 2017 14:45:37 GMT |
| 78 | Server: |
| 79 | - nginx/1.4.6 (Ubuntu) |
| 80 | status: 200 OK |
| 81 | code: 200 |
| 82 | - request: |
| 83 | body: "" |
| 84 | form: {} |
| 85 | headers: |
| 86 | Auth-Token: |
| 87 | - 5Trj0G1M2B0g1t1IY09yFwGpn31tjWNRNU81RhYHaUp6kxGa3UVK5F9hQqlZBu9SNLxkj6cAk6q93ndW246hIesr496yLD+eOHeJSdBtxxKgB+Gmk4ydsrR1trDIlK0Yq3l9J2XVPTT+/pKtyKmRxLWwNGHvhdJDfs92MiS3+7M= |
| 88 | Content-Type: |
| 89 | - application/json |
| 90 | url: https://api.dynect.net/REST/AllRecord/go-dynect.test/go-dynect.test |
| 91 | method: GET |
| 92 | response: |
| 93 | body: '{"status": "success", "data": ["/REST/CNAMERecord/go-dynect.test/foo.go-dynect.test/318905322", |
| 94 | "/REST/SOARecord/go-dynect.test/go-dynect.test/318812133", "/REST/MXRecord/go-dynect.test/go-dynect.test/319018246", |
| 95 | "/REST/NSRecord/go-dynect.test/go-dynect.test/318812135", "/REST/NSRecord/go-dynect.test/go-dynect.test/318812136", |
| 96 | "/REST/NSRecord/go-dynect.test/go-dynect.test/318812137", "/REST/NSRecord/go-dynect.test/go-dynect.test/318812138", |
| 97 | "/REST/ARecord/go-dynect.test/foobar.go-dynect.test/319014258"], "job_id": 4342593722, |
| 98 | "msgs": [{"INFO": "get_tree: Here is your zone tree", "SOURCE": "BLL", "ERR_CD": |
| 99 | null, "LVL": "INFO"}]}' |
| 100 | headers: |
| 101 | Connection: |
| 102 | - keep-alive |
| 103 | Content-Type: |
| 104 | - application/json |
| 105 | Date: |
| 106 | - Wed, 20 Dec 2017 14:45:37 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 | - 5Trj0G1M2B0g1t1IY09yFwGpn31tjWNRNU81RhYHaUp6kxGa3UVK5F9hQqlZBu9SNLxkj6cAk6q93ndW246hIesr496yLD+eOHeJSdBtxxKgB+Gmk4ydsrR1trDIlK0Yq3l9J2XVPTT+/pKtyKmRxLWwNGHvhdJDfs92MiS3+7M= |
| 117 | Content-Type: |
| 118 | - application/json |
| 119 | url: https://api.dynect.net/REST/MXRecord/go-dynect.test/go-dynect.test/319018246 |
| 120 | method: GET |
| 121 | response: |
| 122 | body: '{"status": "success", "data": {"zone": "go-dynect.test", "ttl": 12345, |
| 123 | "fqdn": "go-dynect.test", "record_type": "MX", "rdata": {"preference": 123, |
| 124 | "exchange": "mx.example.com."}, "record_id": 319018246}, "job_id": 4342593727, |
| 125 | "msgs": [{"INFO": "get: Found the record", "SOURCE": "API-B", "ERR_CD": null, |
| 126 | "LVL": "INFO"}]}' |
| 127 | headers: |
| 128 | Connection: |
| 129 | - keep-alive |
| 130 | Content-Type: |
| 131 | - application/json |
| 132 | Date: |
| 133 | - Wed, 20 Dec 2017 14:45:37 GMT |
| 134 | Server: |
| 135 | - nginx/1.4.6 (Ubuntu) |
| 136 | status: 200 OK |
| 137 | code: 200 |
| 138 | - request: |
| 139 | body: "" |
| 140 | form: {} |
| 141 | headers: |
| 142 | Auth-Token: |
| 143 | - 5Trj0G1M2B0g1t1IY09yFwGpn31tjWNRNU81RhYHaUp6kxGa3UVK5F9hQqlZBu9SNLxkj6cAk6q93ndW246hIesr496yLD+eOHeJSdBtxxKgB+Gmk4ydsrR1trDIlK0Yq3l9J2XVPTT+/pKtyKmRxLWwNGHvhdJDfs92MiS3+7M= |
| 144 | Content-Type: |
| 145 | - application/json |
| 146 | url: https://api.dynect.net/REST/Session |
| 147 | method: DELETE |
| 148 | response: |
| 149 | body: '{"status": "success", "data": {}, "job_id": 4342593732, "msgs": [{"INFO": |
| 150 | "logout: Logout successful", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]}' |
| 151 | headers: |
| 152 | Connection: |
| 153 | - keep-alive |
| 154 | Content-Type: |
| 155 | - application/json |
| 156 | Date: |
| 157 | - Wed, 20 Dec 2017 14:45:37 GMT |
| 158 | Server: |
| 159 | - nginx/1.4.6 (Ubuntu) |
| 160 | status: 200 OK |
| 161 | code: 200 |