|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: grant_type=client_credentials |
| 4 | + headers: |
| 5 | + Accept: |
| 6 | + - '*/*' |
| 7 | + Accept-Encoding: |
| 8 | + - gzip, deflate |
| 9 | + Connection: |
| 10 | + - keep-alive |
| 11 | + Content-Length: |
| 12 | + - '29' |
| 13 | + Content-Type: |
| 14 | + - application/x-www-form-urlencoded |
| 15 | + User-Agent: |
| 16 | + - mati-python/0.2.9 |
| 17 | + method: POST |
| 18 | + uri: https://api.getmati.com/oauth |
| 19 | + response: |
| 20 | + body: |
| 21 | + string: '{"access_token": "ACCESS_TOKEN", "expiresIn": 3600, "payload": {"user": |
| 22 | + {"_id": "ID", "firstName": "FIRST_NAME", "lastName": "LAST_NAME"}}}' |
| 23 | + headers: |
| 24 | + Connection: |
| 25 | + - keep-alive |
| 26 | + Content-Length: |
| 27 | + - '504' |
| 28 | + Content-Type: |
| 29 | + - application/json; charset=utf-8 |
| 30 | + Date: |
| 31 | + - Mon, 06 Jan 2020 19:28:48 GMT |
| 32 | + X-Request-Id: |
| 33 | + - fba06368-b340-4386-8174-77cf8a1d428c |
| 34 | + status: |
| 35 | + code: 200 |
| 36 | + message: OK |
| 37 | +- request: |
| 38 | + body: '{"metadata": {"nombres": "Georg Wilhelm", "primer_apellido": "Friedrich", |
| 39 | + "segundo_apellido": "Hegel", "dob": "1770-08-27"}}' |
| 40 | + headers: |
| 41 | + Accept: |
| 42 | + - '*/*' |
| 43 | + Accept-Encoding: |
| 44 | + - gzip, deflate |
| 45 | + Connection: |
| 46 | + - keep-alive |
| 47 | + Content-Length: |
| 48 | + - '124' |
| 49 | + Content-Type: |
| 50 | + - application/json |
| 51 | + User-Agent: |
| 52 | + - mati-python/0.2.9 |
| 53 | + method: POST |
| 54 | + uri: https://api.getmati.com/v2/identities |
| 55 | + response: |
| 56 | + body: |
| 57 | + string: '{"_id":"5e138a7016dc68001b379e13","alive":null,"dateCreated":"2020-01-06T19:28:48.248Z","dateUpdated":"2020-01-06T19:28:48.248Z","metadata":{"nombres":"Georg |
| 58 | + Wilhelm","primer_apellido":"Friedrich","segundo_apellido":"Hegel","dob":"1770-08-27"},"status":"pending","user":"5cec5d4e69eb4d001b8544ce"}' |
| 59 | + headers: |
| 60 | + Connection: |
| 61 | + - keep-alive |
| 62 | + Content-Length: |
| 63 | + - '297' |
| 64 | + Content-Type: |
| 65 | + - application/json; charset=utf-8 |
| 66 | + Date: |
| 67 | + - Mon, 06 Jan 2020 19:28:48 GMT |
| 68 | + X-Request-Id: |
| 69 | + - 5d621f09-0bae-4678-bcf6-e24f2b6f6aa1 |
| 70 | + status: |
| 71 | + code: 200 |
| 72 | + message: OK |
| 73 | +- request: |
| 74 | + body: grant_type=client_credentials |
| 75 | + headers: |
| 76 | + Accept: |
| 77 | + - '*/*' |
| 78 | + Accept-Encoding: |
| 79 | + - gzip, deflate |
| 80 | + Connection: |
| 81 | + - keep-alive |
| 82 | + Content-Length: |
| 83 | + - '29' |
| 84 | + Content-Type: |
| 85 | + - application/x-www-form-urlencoded |
| 86 | + User-Agent: |
| 87 | + - mati-python/0.2.9 |
| 88 | + method: POST |
| 89 | + uri: https://api.getmati.com/oauth |
| 90 | + response: |
| 91 | + body: |
| 92 | + string: '{"access_token": "ACCESS_TOKEN", "expiresIn": 3600, "payload": {"user": |
| 93 | + {"_id": "ID", "firstName": "FIRST_NAME", "lastName": "LAST_NAME"}}}' |
| 94 | + headers: |
| 95 | + Connection: |
| 96 | + - keep-alive |
| 97 | + Content-Length: |
| 98 | + - '413' |
| 99 | + Content-Type: |
| 100 | + - application/json; charset=utf-8 |
| 101 | + Date: |
| 102 | + - Mon, 06 Jan 2020 19:28:48 GMT |
| 103 | + X-Request-Id: |
| 104 | + - 78a64d42-ea9a-4216-9abb-64f93aef5f72 |
| 105 | + status: |
| 106 | + code: 200 |
| 107 | + message: OK |
| 108 | +- request: |
| 109 | + body: '{"metadata": {"nombres": "Georg Wilhelm", "primer_apellido": "Friedrich", |
| 110 | + "segundo_apellido": "Hegel", "dob": "1770-08-27"}}' |
| 111 | + headers: |
| 112 | + Accept: |
| 113 | + - '*/*' |
| 114 | + Accept-Encoding: |
| 115 | + - gzip, deflate |
| 116 | + Connection: |
| 117 | + - keep-alive |
| 118 | + Content-Length: |
| 119 | + - '124' |
| 120 | + Content-Type: |
| 121 | + - application/json |
| 122 | + User-Agent: |
| 123 | + - mati-python/0.2.9 |
| 124 | + method: POST |
| 125 | + uri: https://api.getmati.com/v2/identities |
| 126 | + response: |
| 127 | + body: |
| 128 | + string: '{"_id":"5e138a7016dc68001b379e1a","alive":null,"dateCreated":"2020-01-06T19:28:48.778Z","dateUpdated":"2020-01-06T19:28:48.778Z","metadata":{"nombres":"Georg |
| 129 | + Wilhelm","primer_apellido":"Friedrich","segundo_apellido":"Hegel","dob":"1770-08-27"},"status":"pending","user":"5e00fdf522f92f001b69993c"}' |
| 130 | + headers: |
| 131 | + Connection: |
| 132 | + - keep-alive |
| 133 | + Content-Length: |
| 134 | + - '297' |
| 135 | + Content-Type: |
| 136 | + - application/json; charset=utf-8 |
| 137 | + Date: |
| 138 | + - Mon, 06 Jan 2020 19:28:48 GMT |
| 139 | + X-Request-Id: |
| 140 | + - ef550cc0-6d92-464c-88b4-6bc860292634 |
| 141 | + status: |
| 142 | + code: 200 |
| 143 | + message: OK |
| 144 | +- request: |
| 145 | + body: null |
| 146 | + headers: |
| 147 | + Accept: |
| 148 | + - '*/*' |
| 149 | + Accept-Encoding: |
| 150 | + - gzip, deflate |
| 151 | + Connection: |
| 152 | + - keep-alive |
| 153 | + User-Agent: |
| 154 | + - mati-python/0.2.9 |
| 155 | + method: GET |
| 156 | + uri: https://api.getmati.com/v2/identities/5e138a7016dc68001b379e13 |
| 157 | + response: |
| 158 | + body: |
| 159 | + string: '{"_id":"5e138a7016dc68001b379e13","alive":null,"dateCreated":"2020-01-06T19:28:48.248Z","dateUpdated":"2020-01-06T19:28:48.248Z","metadata":{"nombres":"Georg |
| 160 | + Wilhelm","primer_apellido":"Friedrich","segundo_apellido":"Hegel","dob":"1770-08-27"},"status":"pending","user":"5cec5d4e69eb4d001b8544ce"}' |
| 161 | + headers: |
| 162 | + Connection: |
| 163 | + - keep-alive |
| 164 | + Content-Length: |
| 165 | + - '297' |
| 166 | + Content-Type: |
| 167 | + - application/json; charset=utf-8 |
| 168 | + Date: |
| 169 | + - Mon, 06 Jan 2020 19:28:48 GMT |
| 170 | + X-Request-Id: |
| 171 | + - f003a554-315f-4a72-9a27-5c475e6b7b9a |
| 172 | + status: |
| 173 | + code: 200 |
| 174 | + message: OK |
| 175 | +- request: |
| 176 | + body: null |
| 177 | + headers: |
| 178 | + Accept: |
| 179 | + - '*/*' |
| 180 | + Accept-Encoding: |
| 181 | + - gzip, deflate |
| 182 | + Connection: |
| 183 | + - keep-alive |
| 184 | + User-Agent: |
| 185 | + - mati-python/0.2.9 |
| 186 | + method: GET |
| 187 | + uri: https://api.getmati.com/v2/identities/5e138a7016dc68001b379e1a |
| 188 | + response: |
| 189 | + body: |
| 190 | + string: '{"_id":"5e138a7016dc68001b379e1a","alive":null,"dateCreated":"2020-01-06T19:28:48.778Z","dateUpdated":"2020-01-06T19:28:48.778Z","metadata":{"nombres":"Georg |
| 191 | + Wilhelm","primer_apellido":"Friedrich","segundo_apellido":"Hegel","dob":"1770-08-27"},"status":"pending","user":"5e00fdf522f92f001b69993c"}' |
| 192 | + headers: |
| 193 | + Connection: |
| 194 | + - keep-alive |
| 195 | + Content-Length: |
| 196 | + - '297' |
| 197 | + Content-Type: |
| 198 | + - application/json; charset=utf-8 |
| 199 | + Date: |
| 200 | + - Mon, 06 Jan 2020 19:28:49 GMT |
| 201 | + X-Request-Id: |
| 202 | + - 3369b285-4e7a-42f0-a75b-19c1ab3f9ae7 |
| 203 | + status: |
| 204 | + code: 200 |
| 205 | + message: OK |
| 206 | +version: 1 |
0 commit comments