--- http_interactions: - request: method: post uri: https://api-free.deepl.com/v2/glossaries body: encoding: US-ASCII string: name=Mi+Glosario&source_lang=EN&target_lang=ES&entries=Hello%09Hola%0AWorld%09Mundo%0A&entries_format=tsv headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Content-Type: - application/x-www-form-urlencoded response: status: code: 201 message: Created headers: Server: - nginx Date: - Mon, 24 Jan 2022 01:32:33 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive body: encoding: UTF-8 string: '{"glossary_id":"3d12b7d8-012d-47b8-8378-c7085644026d","name":"Mi Glosario","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2022-01-24T01:32:33.045005+00:00","entry_count":2}' recorded_at: Mon, 24 Jan 2022 01:32:33 GMT - request: method: get uri: https://api-free.deepl.com/v2/glossaries/d9ad833f-c818-430c-a3c9-47071384fa3e body: encoding: US-ASCII string: '' headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Server: - nginx Date: - Mon, 24 Jan 2022 01:32:36 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive body: encoding: UTF-8 string: '{"glossary_id":"d9ad833f-c818-430c-a3c9-47071384fa3e","name":"Mi Glosario","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2022-01-23T23:01:10.073429+00:00","entry_count":2}' recorded_at: Mon, 24 Jan 2022 01:32:36 GMT - request: method: get uri: https://api-free.deepl.com/v2/glossaries/a0af40e1-d81b-4aab-a95c-7cafbcfd1eb1 body: encoding: US-ASCII string: '' headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 404 message: Not Found headers: Server: - nginx Date: - Mon, 24 Jan 2022 01:32:36 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive body: encoding: UTF-8 string: '{"message":"Not found"}' recorded_at: Mon, 24 Jan 2022 01:32:36 GMT - request: method: get uri: https://api-free.deepl.com/v2/glossaries/invalid-uuid body: encoding: US-ASCII string: '' headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 400 message: Bad Request headers: Server: - nginx Date: - Mon, 24 Jan 2022 01:32:36 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive body: encoding: UTF-8 string: '{"message":"Invalid or missing glossary id"}' recorded_at: Mon, 24 Jan 2022 01:32:36 GMT - request: method: get uri: https://api-free.deepl.com/v2/glossaries body: encoding: US-ASCII string: '' headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Server: - nginx Date: - Mon, 24 Jan 2022 02:22:25 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive body: encoding: UTF-8 string: '{"glossaries":[{"glossary_id":"012a5576-b551-4d4c-b917-ce01bc8debb6","name":"Mi Glosario","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2022-01-24T02:21:43.300323+00:00","entry_count":2}]}' recorded_at: Mon, 24 Jan 2022 02:22:25 GMT - request: method: get uri: https://api-free.deepl.com/v2/glossaries body: encoding: US-ASCII string: '' headers: Authorization: - DeepL-Auth-Key invalid Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 401 message: Unauthorized headers: Server: - nginx Date: - Mon, 24 Jan 2022 02:22:26 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive body: encoding: UTF-8 string: '{"message":"Unauthorized"}' recorded_at: Mon, 24 Jan 2022 02:22:26 GMT - request: method: delete uri: https://api-free.deepl.com/v2/glossaries/00000000-0000-0000-0000-000000000000 body: encoding: US-ASCII string: '' headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 404 message: Not Found headers: Server: - nginx Date: - Mon, 24 Jan 2022 02:37:52 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive body: encoding: UTF-8 string: '{"message":"Not found"}' recorded_at: Mon, 24 Jan 2022 02:37:52 GMT - request: method: delete uri: https://api-free.deepl.com/v2/glossaries/invalid-uuid body: encoding: US-ASCII string: '' headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 400 message: Bad Request headers: Server: - nginx Date: - Mon, 24 Jan 2022 02:37:53 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive body: encoding: UTF-8 string: '{"message":"Invalid or missing glossary id"}' recorded_at: Mon, 24 Jan 2022 02:37:53 GMT - request: method: get uri: https://api-free.deepl.com/v2/glossaries/012a5576-b551-4d4c-b917-ce01bc8debb6/entries body: encoding: US-ASCII string: '' headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Server: - nginx Date: - Mon, 24 Jan 2022 02:46:13 GMT Content-Type: - text/tab-separated-values; charset=UTF-8 Content-Length: - '22' Connection: - keep-alive body: encoding: UTF-8 string: "Hello\tHola\nWorld\tMundo" recorded_at: Mon, 24 Jan 2022 02:46:13 GMT - request: method: get uri: https://api-free.deepl.com/v2/glossaries/00000000-0000-0000-0000-000000000000/entries body: encoding: US-ASCII string: '' headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 404 message: Not Found headers: Server: - nginx Date: - Mon, 24 Jan 2022 02:46:13 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive body: encoding: UTF-8 string: '{"message":"Not found"}' recorded_at: Mon, 24 Jan 2022 02:46:13 GMT - request: method: get uri: https://api-free.deepl.com/v2/glossaries/invalid-uuid/entries body: encoding: US-ASCII string: '' headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 400 message: Bad Request headers: Server: - nginx Date: - Mon, 24 Jan 2022 02:46:14 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive body: encoding: UTF-8 string: '{"message":"Invalid or missing glossary id"}' recorded_at: Mon, 24 Jan 2022 02:46:14 GMT - request: method: get uri: https://api-free.deepl.com/v2/glossary-language-pairs body: encoding: US-ASCII string: '' headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Server: - nginx Date: - Mon, 24 Jan 2022 02:57:52 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive body: encoding: UTF-8 string: '{"supported_languages":[{"source_lang":"de","target_lang":"en"},{"source_lang":"en","target_lang":"de"},{"source_lang":"en","target_lang":"es"},{"source_lang":"en","target_lang":"fr"},{"source_lang":"es","target_lang":"en"},{"source_lang":"fr","target_lang":"en"}]}' recorded_at: Mon, 24 Jan 2022 02:57:52 GMT - request: method: post uri: https://api-free.deepl.com/v2/glossaries body: encoding: US-ASCII string: name=fixture&source_lang=EN&target_lang=ES&entries=Hello%09Hola%0A&entries_format=tsv headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Content-Type: - application/x-www-form-urlencoded response: status: code: 201 message: Created headers: Server: - nginx Date: - Tue, 25 Jan 2022 00:56:19 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive body: encoding: UTF-8 string: '{"glossary_id":"0d893a5f-a841-439b-8a25-ee7d67cb0451","name":"fixture","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2022-01-25T00:56:18.944299+00:00","entry_count":1}' recorded_at: Tue, 25 Jan 2022 00:56:19 GMT - request: method: delete uri: https://api-free.deepl.com/v2/glossaries/0d893a5f-a841-439b-8a25-ee7d67cb0451 body: encoding: US-ASCII string: '' headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 204 message: No Content headers: Server: - nginx Date: - Tue, 25 Jan 2022 00:56:19 GMT Connection: - keep-alive body: encoding: UTF-8 string: '' recorded_at: Tue, 25 Jan 2022 00:56:19 GMT recorded_with: VCR 6.0.0