deepl-rb 2.5.3 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/add_issues_to_kanban.yml +16 -0
- data/.gitlab-ci.yml +135 -0
- data/.rubocop.yml +27 -0
- data/CHANGELOG.md +39 -0
- data/CODE_OF_CONDUCT.md +132 -0
- data/CONTRIBUTING.md +37 -0
- data/Gemfile +3 -1
- data/LICENSE.md +1 -0
- data/README.md +115 -5
- data/Rakefile +7 -5
- data/SECURITY.md +58 -0
- data/VERSION +1 -1
- data/deepl-rb.gemspec +36 -20
- data/lib/deepl/api.rb +11 -1
- data/lib/deepl/configuration.rb +34 -3
- data/lib/deepl/document_api.rb +121 -0
- data/lib/deepl/exceptions/authorization_failed.rb +3 -0
- data/lib/deepl/exceptions/bad_request.rb +3 -0
- data/lib/deepl/exceptions/document_translation_error.rb +15 -0
- data/lib/deepl/exceptions/error.rb +6 -0
- data/lib/deepl/exceptions/limit_exceeded.rb +7 -0
- data/lib/deepl/exceptions/not_found.rb +3 -0
- data/lib/deepl/exceptions/not_supported.rb +3 -0
- data/lib/deepl/exceptions/quota_exceeded.rb +3 -0
- data/lib/deepl/exceptions/request_entity_too_large.rb +3 -0
- data/lib/deepl/exceptions/request_error.rb +4 -2
- data/lib/deepl/exceptions/server_error.rb +18 -0
- data/lib/deepl/glossary_api.rb +3 -0
- data/lib/deepl/requests/base.rb +89 -34
- data/lib/deepl/requests/document/download.rb +44 -0
- data/lib/deepl/requests/document/get_status.rb +44 -0
- data/lib/deepl/requests/document/upload.rb +64 -0
- data/lib/deepl/requests/glossary/create.rb +15 -1
- data/lib/deepl/requests/glossary/destroy.rb +8 -1
- data/lib/deepl/requests/glossary/entries.rb +8 -1
- data/lib/deepl/requests/glossary/find.rb +8 -1
- data/lib/deepl/requests/glossary/language_pairs.rb +9 -2
- data/lib/deepl/requests/glossary/list.rb +9 -2
- data/lib/deepl/requests/languages.rb +9 -2
- data/lib/deepl/requests/translate.rb +33 -11
- data/lib/deepl/requests/usage.rb +9 -2
- data/lib/deepl/resources/base.rb +3 -0
- data/lib/deepl/resources/document_handle.rb +57 -0
- data/lib/deepl/resources/document_translation_status.rb +54 -0
- data/lib/deepl/resources/glossary.rb +3 -0
- data/lib/deepl/resources/language.rb +3 -0
- data/lib/deepl/resources/language_pair.rb +3 -0
- data/lib/deepl/resources/text.rb +3 -0
- data/lib/deepl/resources/usage.rb +3 -0
- data/lib/deepl/utils/backoff_timer.rb +46 -0
- data/lib/deepl/utils/exception_builder.rb +18 -13
- data/lib/deepl.rb +47 -0
- data/lib/http_client_options.rb +22 -0
- data/license_checker.sh +8 -0
- data/spec/api/api_spec.rb +8 -4
- data/spec/api/configuration_spec.rb +92 -18
- data/spec/api/deepl_spec.rb +225 -86
- data/spec/fixtures/vcr_cassettes/deepl_document.yml +95 -0
- data/spec/fixtures/vcr_cassettes/deepl_document_download.yml +1214 -0
- data/spec/fixtures/vcr_cassettes/deepl_glossaries.yml +812 -23
- data/spec/fixtures/vcr_cassettes/deepl_languages.yml +28 -17
- data/spec/fixtures/vcr_cassettes/deepl_translate.yml +161 -53
- data/spec/fixtures/vcr_cassettes/deepl_usage.yml +93 -3
- data/spec/fixtures/vcr_cassettes/glossaries.yml +1237 -15
- data/spec/fixtures/vcr_cassettes/languages.yml +159 -44
- data/spec/fixtures/vcr_cassettes/translate_texts.yml +9742 -12
- data/spec/fixtures/vcr_cassettes/usage.yml +134 -2
- data/spec/integration_tests/document_api_spec.rb +155 -0
- data/spec/integration_tests/integration_test_utils.rb +170 -0
- data/spec/requests/glossary/create_spec.rb +23 -13
- data/spec/requests/glossary/destroy_spec.rb +33 -17
- data/spec/requests/glossary/entries_spec.rb +31 -17
- data/spec/requests/glossary/find_spec.rb +31 -17
- data/spec/requests/glossary/language_pairs_spec.rb +17 -7
- data/spec/requests/glossary/list_spec.rb +21 -11
- data/spec/requests/languages_spec.rb +31 -21
- data/spec/requests/translate_spec.rb +125 -131
- data/spec/requests/usage_spec.rb +17 -7
- data/spec/resources/glossary_spec.rb +15 -12
- data/spec/resources/language_pair_spec.rb +10 -7
- data/spec/resources/language_spec.rb +21 -18
- data/spec/resources/text_spec.rb +10 -7
- data/spec/resources/usage_spec.rb +16 -13
- data/spec/spec_helper.rb +63 -6
- metadata +32 -9
@@ -14,7 +14,7 @@ http_interactions:
|
|
14
14
|
Accept:
|
15
15
|
- "*/*"
|
16
16
|
User-Agent:
|
17
|
-
-
|
17
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
18
18
|
Content-Type:
|
19
19
|
- application/x-www-form-urlencoded
|
20
20
|
response:
|
@@ -50,7 +50,7 @@ http_interactions:
|
|
50
50
|
Accept:
|
51
51
|
- "*/*"
|
52
52
|
User-Agent:
|
53
|
-
-
|
53
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
54
54
|
response:
|
55
55
|
status:
|
56
56
|
code: 200
|
@@ -84,7 +84,7 @@ http_interactions:
|
|
84
84
|
Accept:
|
85
85
|
- "*/*"
|
86
86
|
User-Agent:
|
87
|
-
-
|
87
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
88
88
|
response:
|
89
89
|
status:
|
90
90
|
code: 404
|
@@ -118,7 +118,7 @@ http_interactions:
|
|
118
118
|
Accept:
|
119
119
|
- "*/*"
|
120
120
|
User-Agent:
|
121
|
-
-
|
121
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
122
122
|
response:
|
123
123
|
status:
|
124
124
|
code: 400
|
@@ -152,7 +152,7 @@ http_interactions:
|
|
152
152
|
Accept:
|
153
153
|
- "*/*"
|
154
154
|
User-Agent:
|
155
|
-
-
|
155
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
156
156
|
response:
|
157
157
|
status:
|
158
158
|
code: 200
|
@@ -187,7 +187,7 @@ http_interactions:
|
|
187
187
|
Accept:
|
188
188
|
- "*/*"
|
189
189
|
User-Agent:
|
190
|
-
-
|
190
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
191
191
|
response:
|
192
192
|
status:
|
193
193
|
code: 401
|
@@ -221,7 +221,7 @@ http_interactions:
|
|
221
221
|
Accept:
|
222
222
|
- "*/*"
|
223
223
|
User-Agent:
|
224
|
-
-
|
224
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
225
225
|
response:
|
226
226
|
status:
|
227
227
|
code: 404
|
@@ -255,7 +255,7 @@ http_interactions:
|
|
255
255
|
Accept:
|
256
256
|
- "*/*"
|
257
257
|
User-Agent:
|
258
|
-
-
|
258
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
259
259
|
response:
|
260
260
|
status:
|
261
261
|
code: 400
|
@@ -289,7 +289,7 @@ http_interactions:
|
|
289
289
|
Accept:
|
290
290
|
- "*/*"
|
291
291
|
User-Agent:
|
292
|
-
-
|
292
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
293
293
|
response:
|
294
294
|
status:
|
295
295
|
code: 200
|
@@ -323,7 +323,7 @@ http_interactions:
|
|
323
323
|
Accept:
|
324
324
|
- "*/*"
|
325
325
|
User-Agent:
|
326
|
-
-
|
326
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
327
327
|
response:
|
328
328
|
status:
|
329
329
|
code: 404
|
@@ -357,7 +357,7 @@ http_interactions:
|
|
357
357
|
Accept:
|
358
358
|
- "*/*"
|
359
359
|
User-Agent:
|
360
|
-
-
|
360
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
361
361
|
response:
|
362
362
|
status:
|
363
363
|
code: 400
|
@@ -391,7 +391,7 @@ http_interactions:
|
|
391
391
|
Accept:
|
392
392
|
- "*/*"
|
393
393
|
User-Agent:
|
394
|
-
-
|
394
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
395
395
|
response:
|
396
396
|
status:
|
397
397
|
code: 200
|
@@ -425,7 +425,7 @@ http_interactions:
|
|
425
425
|
Accept:
|
426
426
|
- "*/*"
|
427
427
|
User-Agent:
|
428
|
-
-
|
428
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
429
429
|
Content-Type:
|
430
430
|
- application/x-www-form-urlencoded
|
431
431
|
response:
|
@@ -461,7 +461,7 @@ http_interactions:
|
|
461
461
|
Accept:
|
462
462
|
- "*/*"
|
463
463
|
User-Agent:
|
464
|
-
-
|
464
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
465
465
|
response:
|
466
466
|
status:
|
467
467
|
code: 204
|
@@ -477,4 +477,1226 @@ http_interactions:
|
|
477
477
|
encoding: UTF-8
|
478
478
|
string: ''
|
479
479
|
recorded_at: Tue, 25 Jan 2022 00:56:19 GMT
|
480
|
-
|
480
|
+
- request:
|
481
|
+
method: get
|
482
|
+
uri: https://api-free.deepl.com/v2/glossaries
|
483
|
+
body:
|
484
|
+
encoding: US-ASCII
|
485
|
+
string: ''
|
486
|
+
headers:
|
487
|
+
Authorization:
|
488
|
+
- DeepL-Auth-Key invalid
|
489
|
+
User-Agent:
|
490
|
+
- deepl-ruby/2.5.3(darwin23) ruby/3.3.3
|
491
|
+
Accept-Encoding:
|
492
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
493
|
+
Accept:
|
494
|
+
- "*/*"
|
495
|
+
response:
|
496
|
+
status:
|
497
|
+
code: 401
|
498
|
+
message: Unauthorized
|
499
|
+
headers:
|
500
|
+
Date:
|
501
|
+
- Tue, 02 Jul 2024 13:54:06 GMT
|
502
|
+
Content-Type:
|
503
|
+
- application/json; charset=utf-8
|
504
|
+
Transfer-Encoding:
|
505
|
+
- chunked
|
506
|
+
X-Trace-Id:
|
507
|
+
- 67992b0faeb74a78bd240f91794c7aa4
|
508
|
+
Strict-Transport-Security:
|
509
|
+
- max-age=63072000; includeSubDomains; preload
|
510
|
+
Server-Timing:
|
511
|
+
- l7_lb_tls;dur=106, l7_lb_idle;dur=3, l7_lb_receive;dur=0, l7_lb_total;dur=111
|
512
|
+
Access-Control-Expose-Headers:
|
513
|
+
- Server-Timing, X-Trace-ID
|
514
|
+
body:
|
515
|
+
encoding: UTF-8
|
516
|
+
string: '{"message":"Unauthorized"}'
|
517
|
+
recorded_at: Tue, 02 Jul 2024 13:54:06 GMT
|
518
|
+
- request:
|
519
|
+
method: post
|
520
|
+
uri: https://api.deepl.com/v2/glossaries
|
521
|
+
body:
|
522
|
+
encoding: UTF-8
|
523
|
+
string: '{"name":"Mi Glosario","source_lang":"EN","target_lang":"ES","entries":"Hello\tHola\nWorld\tMundo\n","entries_format":"tsv"}'
|
524
|
+
headers:
|
525
|
+
Authorization:
|
526
|
+
- DeepL-Auth-Key VALID_TOKEN
|
527
|
+
User-Agent:
|
528
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
529
|
+
Content-Type:
|
530
|
+
- application/json
|
531
|
+
Accept-Encoding:
|
532
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
533
|
+
Accept:
|
534
|
+
- "*/*"
|
535
|
+
response:
|
536
|
+
status:
|
537
|
+
code: 201
|
538
|
+
message: Created
|
539
|
+
headers:
|
540
|
+
Date:
|
541
|
+
- Tue, 02 Jul 2024 15:04:50 GMT
|
542
|
+
Content-Type:
|
543
|
+
- application/json; charset=utf-8
|
544
|
+
Transfer-Encoding:
|
545
|
+
- chunked
|
546
|
+
X-Trace-Id:
|
547
|
+
- cd39089c800c4100838fd995e796fc03
|
548
|
+
Strict-Transport-Security:
|
549
|
+
- max-age=63072000; includeSubDomains; preload
|
550
|
+
Server-Timing:
|
551
|
+
- l7_lb_tls;dur=111, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=136
|
552
|
+
Access-Control-Expose-Headers:
|
553
|
+
- Server-Timing, X-Trace-ID
|
554
|
+
body:
|
555
|
+
encoding: UTF-8
|
556
|
+
string: '{"glossary_id":"9ab5dac2-b7b2-4b4a-808a-e8e305df5ecb","name":"Mi Glosario","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2024-07-02T15:04:50.832836Z","entry_count":2}'
|
557
|
+
recorded_at: Tue, 02 Jul 2024 15:04:50 GMT
|
558
|
+
- request:
|
559
|
+
method: delete
|
560
|
+
uri: https://api.deepl.com/v2/glossaries/00000000-0000-0000-0000-000000000000
|
561
|
+
body:
|
562
|
+
encoding: US-ASCII
|
563
|
+
string: ''
|
564
|
+
headers:
|
565
|
+
Authorization:
|
566
|
+
- DeepL-Auth-Key VALID_TOKEN
|
567
|
+
User-Agent:
|
568
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
569
|
+
Accept-Encoding:
|
570
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
571
|
+
Accept:
|
572
|
+
- "*/*"
|
573
|
+
response:
|
574
|
+
status:
|
575
|
+
code: 404
|
576
|
+
message: Not Found
|
577
|
+
headers:
|
578
|
+
Date:
|
579
|
+
- Tue, 02 Jul 2024 15:04:52 GMT
|
580
|
+
Content-Type:
|
581
|
+
- application/json; charset=utf-8
|
582
|
+
Transfer-Encoding:
|
583
|
+
- chunked
|
584
|
+
Vary:
|
585
|
+
- Accept-Encoding
|
586
|
+
X-Trace-Id:
|
587
|
+
- 2d69f738aa284353b0f2eb58d9a033f9
|
588
|
+
Strict-Transport-Security:
|
589
|
+
- max-age=63072000; includeSubDomains; preload
|
590
|
+
Server-Timing:
|
591
|
+
- l7_lb_tls;dur=103, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=119
|
592
|
+
Access-Control-Expose-Headers:
|
593
|
+
- Server-Timing, X-Trace-ID
|
594
|
+
body:
|
595
|
+
encoding: ASCII-8BIT
|
596
|
+
string: '{"message":"Not found"}'
|
597
|
+
recorded_at: Tue, 02 Jul 2024 15:04:52 GMT
|
598
|
+
- request:
|
599
|
+
method: delete
|
600
|
+
uri: https://api.deepl.com/v2/glossaries/invalid-uuid
|
601
|
+
body:
|
602
|
+
encoding: US-ASCII
|
603
|
+
string: ''
|
604
|
+
headers:
|
605
|
+
Authorization:
|
606
|
+
- DeepL-Auth-Key VALID_TOKEN
|
607
|
+
User-Agent:
|
608
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
609
|
+
Accept-Encoding:
|
610
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
611
|
+
Accept:
|
612
|
+
- "*/*"
|
613
|
+
response:
|
614
|
+
status:
|
615
|
+
code: 400
|
616
|
+
message: Bad Request
|
617
|
+
headers:
|
618
|
+
Date:
|
619
|
+
- Tue, 02 Jul 2024 15:04:52 GMT
|
620
|
+
Content-Type:
|
621
|
+
- application/json; charset=utf-8
|
622
|
+
Transfer-Encoding:
|
623
|
+
- chunked
|
624
|
+
X-Trace-Id:
|
625
|
+
- 015d984f05c8472787f92c1af0481f63
|
626
|
+
Strict-Transport-Security:
|
627
|
+
- max-age=63072000; includeSubDomains; preload
|
628
|
+
Server-Timing:
|
629
|
+
- l7_lb_tls;dur=114, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=127
|
630
|
+
Access-Control-Expose-Headers:
|
631
|
+
- Server-Timing, X-Trace-ID
|
632
|
+
body:
|
633
|
+
encoding: UTF-8
|
634
|
+
string: '{"message":"Invalid or missing glossary id"}'
|
635
|
+
recorded_at: Tue, 02 Jul 2024 15:04:52 GMT
|
636
|
+
- request:
|
637
|
+
method: get
|
638
|
+
uri: https://api.deepl.com/v2/glossaries/012a5576-b551-4d4c-b917-ce01bc8debb6/entries
|
639
|
+
body:
|
640
|
+
encoding: US-ASCII
|
641
|
+
string: ''
|
642
|
+
headers:
|
643
|
+
Authorization:
|
644
|
+
- DeepL-Auth-Key VALID_TOKEN
|
645
|
+
User-Agent:
|
646
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
647
|
+
Accept-Encoding:
|
648
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
649
|
+
Accept:
|
650
|
+
- "*/*"
|
651
|
+
response:
|
652
|
+
status:
|
653
|
+
code: 404
|
654
|
+
message: Not Found
|
655
|
+
headers:
|
656
|
+
Date:
|
657
|
+
- Tue, 02 Jul 2024 15:04:52 GMT
|
658
|
+
Content-Type:
|
659
|
+
- application/json; charset=utf-8
|
660
|
+
Transfer-Encoding:
|
661
|
+
- chunked
|
662
|
+
Vary:
|
663
|
+
- Accept-Encoding
|
664
|
+
X-Trace-Id:
|
665
|
+
- b5db58d025374b7783e866dbcf579dd9
|
666
|
+
Strict-Transport-Security:
|
667
|
+
- max-age=63072000; includeSubDomains; preload
|
668
|
+
Server-Timing:
|
669
|
+
- l7_lb_tls;dur=123, l7_lb_idle;dur=0, l7_lb_receive;dur=0, l7_lb_total;dur=139
|
670
|
+
Access-Control-Expose-Headers:
|
671
|
+
- Server-Timing, X-Trace-ID
|
672
|
+
body:
|
673
|
+
encoding: ASCII-8BIT
|
674
|
+
string: '{"message":"Not found"}'
|
675
|
+
recorded_at: Tue, 02 Jul 2024 15:04:52 GMT
|
676
|
+
- request:
|
677
|
+
method: get
|
678
|
+
uri: https://api.deepl.com/v2/glossaries/00000000-0000-0000-0000-000000000000/entries
|
679
|
+
body:
|
680
|
+
encoding: US-ASCII
|
681
|
+
string: ''
|
682
|
+
headers:
|
683
|
+
Authorization:
|
684
|
+
- DeepL-Auth-Key VALID_TOKEN
|
685
|
+
User-Agent:
|
686
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
687
|
+
Accept-Encoding:
|
688
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
689
|
+
Accept:
|
690
|
+
- "*/*"
|
691
|
+
response:
|
692
|
+
status:
|
693
|
+
code: 404
|
694
|
+
message: Not Found
|
695
|
+
headers:
|
696
|
+
Date:
|
697
|
+
- Tue, 02 Jul 2024 15:04:53 GMT
|
698
|
+
Content-Type:
|
699
|
+
- application/json; charset=utf-8
|
700
|
+
Transfer-Encoding:
|
701
|
+
- chunked
|
702
|
+
Vary:
|
703
|
+
- Accept-Encoding
|
704
|
+
X-Trace-Id:
|
705
|
+
- 632a206d5a0245569da50830bfb12ca2
|
706
|
+
Strict-Transport-Security:
|
707
|
+
- max-age=63072000; includeSubDomains; preload
|
708
|
+
Server-Timing:
|
709
|
+
- l7_lb_tls;dur=117, l7_lb_idle;dur=1, l7_lb_receive;dur=0, l7_lb_total;dur=138
|
710
|
+
Access-Control-Expose-Headers:
|
711
|
+
- Server-Timing, X-Trace-ID
|
712
|
+
body:
|
713
|
+
encoding: ASCII-8BIT
|
714
|
+
string: '{"message":"Not found"}'
|
715
|
+
recorded_at: Tue, 02 Jul 2024 15:04:53 GMT
|
716
|
+
- request:
|
717
|
+
method: get
|
718
|
+
uri: https://api.deepl.com/v2/glossaries/invalid-uuid/entries
|
719
|
+
body:
|
720
|
+
encoding: US-ASCII
|
721
|
+
string: ''
|
722
|
+
headers:
|
723
|
+
Authorization:
|
724
|
+
- DeepL-Auth-Key VALID_TOKEN
|
725
|
+
User-Agent:
|
726
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
727
|
+
Accept-Encoding:
|
728
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
729
|
+
Accept:
|
730
|
+
- "*/*"
|
731
|
+
response:
|
732
|
+
status:
|
733
|
+
code: 400
|
734
|
+
message: Bad Request
|
735
|
+
headers:
|
736
|
+
Date:
|
737
|
+
- Tue, 02 Jul 2024 15:04:53 GMT
|
738
|
+
Content-Type:
|
739
|
+
- application/json; charset=utf-8
|
740
|
+
Transfer-Encoding:
|
741
|
+
- chunked
|
742
|
+
X-Trace-Id:
|
743
|
+
- 792c3fec4bf94dca9364027f7784407b
|
744
|
+
Strict-Transport-Security:
|
745
|
+
- max-age=63072000; includeSubDomains; preload
|
746
|
+
Server-Timing:
|
747
|
+
- l7_lb_tls;dur=102, l7_lb_idle;dur=3, l7_lb_receive;dur=0, l7_lb_total;dur=114
|
748
|
+
Access-Control-Expose-Headers:
|
749
|
+
- Server-Timing, X-Trace-ID
|
750
|
+
body:
|
751
|
+
encoding: UTF-8
|
752
|
+
string: '{"message":"Invalid or missing glossary id"}'
|
753
|
+
recorded_at: Tue, 02 Jul 2024 15:04:53 GMT
|
754
|
+
- request:
|
755
|
+
method: get
|
756
|
+
uri: https://api.deepl.com/v2/glossaries/d9ad833f-c818-430c-a3c9-47071384fa3e
|
757
|
+
body:
|
758
|
+
encoding: US-ASCII
|
759
|
+
string: ''
|
760
|
+
headers:
|
761
|
+
Authorization:
|
762
|
+
- DeepL-Auth-Key VALID_TOKEN
|
763
|
+
User-Agent:
|
764
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
765
|
+
Accept-Encoding:
|
766
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
767
|
+
Accept:
|
768
|
+
- "*/*"
|
769
|
+
response:
|
770
|
+
status:
|
771
|
+
code: 404
|
772
|
+
message: Not Found
|
773
|
+
headers:
|
774
|
+
Date:
|
775
|
+
- Tue, 02 Jul 2024 15:04:53 GMT
|
776
|
+
Content-Type:
|
777
|
+
- application/json; charset=utf-8
|
778
|
+
Transfer-Encoding:
|
779
|
+
- chunked
|
780
|
+
Vary:
|
781
|
+
- Accept-Encoding
|
782
|
+
X-Trace-Id:
|
783
|
+
- 7f77a7ef2b78458798ccad59f7abf48c
|
784
|
+
Strict-Transport-Security:
|
785
|
+
- max-age=63072000; includeSubDomains; preload
|
786
|
+
Server-Timing:
|
787
|
+
- l7_lb_tls;dur=102, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=117
|
788
|
+
Access-Control-Expose-Headers:
|
789
|
+
- Server-Timing, X-Trace-ID
|
790
|
+
body:
|
791
|
+
encoding: ASCII-8BIT
|
792
|
+
string: '{"message":"Not found"}'
|
793
|
+
recorded_at: Tue, 02 Jul 2024 15:04:53 GMT
|
794
|
+
- request:
|
795
|
+
method: get
|
796
|
+
uri: https://api.deepl.com/v2/glossaries/a0af40e1-d81b-4aab-a95c-7cafbcfd1eb1
|
797
|
+
body:
|
798
|
+
encoding: US-ASCII
|
799
|
+
string: ''
|
800
|
+
headers:
|
801
|
+
Authorization:
|
802
|
+
- DeepL-Auth-Key VALID_TOKEN
|
803
|
+
User-Agent:
|
804
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
805
|
+
Accept-Encoding:
|
806
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
807
|
+
Accept:
|
808
|
+
- "*/*"
|
809
|
+
response:
|
810
|
+
status:
|
811
|
+
code: 404
|
812
|
+
message: Not Found
|
813
|
+
headers:
|
814
|
+
Date:
|
815
|
+
- Tue, 02 Jul 2024 15:04:53 GMT
|
816
|
+
Content-Type:
|
817
|
+
- application/json; charset=utf-8
|
818
|
+
Transfer-Encoding:
|
819
|
+
- chunked
|
820
|
+
Vary:
|
821
|
+
- Accept-Encoding
|
822
|
+
X-Trace-Id:
|
823
|
+
- aa36353d3214428093f41e6177f79cf5
|
824
|
+
Strict-Transport-Security:
|
825
|
+
- max-age=63072000; includeSubDomains; preload
|
826
|
+
Server-Timing:
|
827
|
+
- l7_lb_tls;dur=101, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=118
|
828
|
+
Access-Control-Expose-Headers:
|
829
|
+
- Server-Timing, X-Trace-ID
|
830
|
+
body:
|
831
|
+
encoding: ASCII-8BIT
|
832
|
+
string: '{"message":"Not found"}'
|
833
|
+
recorded_at: Tue, 02 Jul 2024 15:04:53 GMT
|
834
|
+
- request:
|
835
|
+
method: get
|
836
|
+
uri: https://api.deepl.com/v2/glossaries/invalid-uuid
|
837
|
+
body:
|
838
|
+
encoding: US-ASCII
|
839
|
+
string: ''
|
840
|
+
headers:
|
841
|
+
Authorization:
|
842
|
+
- DeepL-Auth-Key VALID_TOKEN
|
843
|
+
User-Agent:
|
844
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
845
|
+
Accept-Encoding:
|
846
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
847
|
+
Accept:
|
848
|
+
- "*/*"
|
849
|
+
response:
|
850
|
+
status:
|
851
|
+
code: 400
|
852
|
+
message: Bad Request
|
853
|
+
headers:
|
854
|
+
Date:
|
855
|
+
- Tue, 02 Jul 2024 15:04:54 GMT
|
856
|
+
Content-Type:
|
857
|
+
- application/json; charset=utf-8
|
858
|
+
Transfer-Encoding:
|
859
|
+
- chunked
|
860
|
+
X-Trace-Id:
|
861
|
+
- 224aecec11cd43ebbcbd6e479d180855
|
862
|
+
Strict-Transport-Security:
|
863
|
+
- max-age=63072000; includeSubDomains; preload
|
864
|
+
Server-Timing:
|
865
|
+
- l7_lb_tls;dur=103, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=115
|
866
|
+
Access-Control-Expose-Headers:
|
867
|
+
- Server-Timing, X-Trace-ID
|
868
|
+
body:
|
869
|
+
encoding: UTF-8
|
870
|
+
string: '{"message":"Invalid or missing glossary id"}'
|
871
|
+
recorded_at: Tue, 02 Jul 2024 15:04:54 GMT
|
872
|
+
- request:
|
873
|
+
method: get
|
874
|
+
uri: https://api.deepl.com/v2/glossary-language-pairs
|
875
|
+
body:
|
876
|
+
encoding: US-ASCII
|
877
|
+
string: ''
|
878
|
+
headers:
|
879
|
+
Authorization:
|
880
|
+
- DeepL-Auth-Key VALID_TOKEN
|
881
|
+
User-Agent:
|
882
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
883
|
+
Accept-Encoding:
|
884
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
885
|
+
Accept:
|
886
|
+
- "*/*"
|
887
|
+
response:
|
888
|
+
status:
|
889
|
+
code: 200
|
890
|
+
message: OK
|
891
|
+
headers:
|
892
|
+
Date:
|
893
|
+
- Tue, 02 Jul 2024 15:04:54 GMT
|
894
|
+
Content-Type:
|
895
|
+
- application/json; charset=utf-8
|
896
|
+
Transfer-Encoding:
|
897
|
+
- chunked
|
898
|
+
Vary:
|
899
|
+
- Accept-Encoding
|
900
|
+
X-Trace-Id:
|
901
|
+
- ace8596e7ffa4a09a9fd4dfacf740a3c
|
902
|
+
X-Cache-Status:
|
903
|
+
- MISS
|
904
|
+
Strict-Transport-Security:
|
905
|
+
- max-age=63072000; includeSubDomains; preload
|
906
|
+
Server-Timing:
|
907
|
+
- l7_lb_tls;dur=111, l7_lb_idle;dur=3, l7_lb_receive;dur=0, l7_lb_total;dur=128
|
908
|
+
Access-Control-Expose-Headers:
|
909
|
+
- Server-Timing, X-Trace-ID
|
910
|
+
body:
|
911
|
+
encoding: ASCII-8BIT
|
912
|
+
string: '{"supported_languages":[{"source_lang":"de","target_lang":"en"},{"source_lang":"de","target_lang":"es"},{"source_lang":"de","target_lang":"fr"},{"source_lang":"de","target_lang":"ja"},{"source_lang":"de","target_lang":"it"},{"source_lang":"de","target_lang":"pl"},{"source_lang":"de","target_lang":"nl"},{"source_lang":"de","target_lang":"zh"},{"source_lang":"de","target_lang":"ru"},{"source_lang":"de","target_lang":"pt"},{"source_lang":"de","target_lang":"ko"},{"source_lang":"de","target_lang":"da"},{"source_lang":"de","target_lang":"sv"},{"source_lang":"de","target_lang":"nb"},{"source_lang":"en","target_lang":"de"},{"source_lang":"en","target_lang":"es"},{"source_lang":"en","target_lang":"fr"},{"source_lang":"en","target_lang":"ja"},{"source_lang":"en","target_lang":"it"},{"source_lang":"en","target_lang":"pl"},{"source_lang":"en","target_lang":"nl"},{"source_lang":"en","target_lang":"zh"},{"source_lang":"en","target_lang":"ru"},{"source_lang":"en","target_lang":"pt"},{"source_lang":"en","target_lang":"ko"},{"source_lang":"en","target_lang":"da"},{"source_lang":"en","target_lang":"sv"},{"source_lang":"en","target_lang":"nb"},{"source_lang":"es","target_lang":"de"},{"source_lang":"es","target_lang":"en"},{"source_lang":"es","target_lang":"fr"},{"source_lang":"es","target_lang":"ja"},{"source_lang":"es","target_lang":"it"},{"source_lang":"es","target_lang":"pl"},{"source_lang":"es","target_lang":"nl"},{"source_lang":"es","target_lang":"zh"},{"source_lang":"es","target_lang":"ru"},{"source_lang":"es","target_lang":"pt"},{"source_lang":"es","target_lang":"ko"},{"source_lang":"es","target_lang":"da"},{"source_lang":"es","target_lang":"sv"},{"source_lang":"es","target_lang":"nb"},{"source_lang":"fr","target_lang":"de"},{"source_lang":"fr","target_lang":"en"},{"source_lang":"fr","target_lang":"es"},{"source_lang":"fr","target_lang":"ja"},{"source_lang":"fr","target_lang":"it"},{"source_lang":"fr","target_lang":"pl"},{"source_lang":"fr","target_lang":"nl"},{"source_lang":"fr","target_lang":"zh"},{"source_lang":"fr","target_lang":"ru"},{"source_lang":"fr","target_lang":"pt"},{"source_lang":"fr","target_lang":"ko"},{"source_lang":"fr","target_lang":"da"},{"source_lang":"fr","target_lang":"sv"},{"source_lang":"fr","target_lang":"nb"},{"source_lang":"ja","target_lang":"de"},{"source_lang":"ja","target_lang":"en"},{"source_lang":"ja","target_lang":"es"},{"source_lang":"ja","target_lang":"fr"},{"source_lang":"ja","target_lang":"it"},{"source_lang":"ja","target_lang":"pl"},{"source_lang":"ja","target_lang":"nl"},{"source_lang":"ja","target_lang":"zh"},{"source_lang":"ja","target_lang":"ru"},{"source_lang":"ja","target_lang":"pt"},{"source_lang":"ja","target_lang":"ko"},{"source_lang":"ja","target_lang":"da"},{"source_lang":"ja","target_lang":"sv"},{"source_lang":"ja","target_lang":"nb"},{"source_lang":"it","target_lang":"de"},{"source_lang":"it","target_lang":"en"},{"source_lang":"it","target_lang":"es"},{"source_lang":"it","target_lang":"fr"},{"source_lang":"it","target_lang":"ja"},{"source_lang":"it","target_lang":"pl"},{"source_lang":"it","target_lang":"nl"},{"source_lang":"it","target_lang":"zh"},{"source_lang":"it","target_lang":"ru"},{"source_lang":"it","target_lang":"pt"},{"source_lang":"it","target_lang":"ko"},{"source_lang":"it","target_lang":"da"},{"source_lang":"it","target_lang":"sv"},{"source_lang":"it","target_lang":"nb"},{"source_lang":"pl","target_lang":"de"},{"source_lang":"pl","target_lang":"en"},{"source_lang":"pl","target_lang":"es"},{"source_lang":"pl","target_lang":"fr"},{"source_lang":"pl","target_lang":"ja"},{"source_lang":"pl","target_lang":"it"},{"source_lang":"pl","target_lang":"nl"},{"source_lang":"pl","target_lang":"zh"},{"source_lang":"pl","target_lang":"ru"},{"source_lang":"pl","target_lang":"pt"},{"source_lang":"pl","target_lang":"ko"},{"source_lang":"pl","target_lang":"da"},{"source_lang":"pl","target_lang":"sv"},{"source_lang":"pl","target_lang":"nb"},{"source_lang":"nl","target_lang":"de"},{"source_lang":"nl","target_lang":"en"},{"source_lang":"nl","target_lang":"es"},{"source_lang":"nl","target_lang":"fr"},{"source_lang":"nl","target_lang":"ja"},{"source_lang":"nl","target_lang":"it"},{"source_lang":"nl","target_lang":"pl"},{"source_lang":"nl","target_lang":"zh"},{"source_lang":"nl","target_lang":"ru"},{"source_lang":"nl","target_lang":"pt"},{"source_lang":"nl","target_lang":"ko"},{"source_lang":"nl","target_lang":"da"},{"source_lang":"nl","target_lang":"sv"},{"source_lang":"nl","target_lang":"nb"},{"source_lang":"zh","target_lang":"de"},{"source_lang":"zh","target_lang":"en"},{"source_lang":"zh","target_lang":"es"},{"source_lang":"zh","target_lang":"fr"},{"source_lang":"zh","target_lang":"ja"},{"source_lang":"zh","target_lang":"it"},{"source_lang":"zh","target_lang":"pl"},{"source_lang":"zh","target_lang":"nl"},{"source_lang":"zh","target_lang":"ru"},{"source_lang":"zh","target_lang":"pt"},{"source_lang":"zh","target_lang":"ko"},{"source_lang":"zh","target_lang":"da"},{"source_lang":"zh","target_lang":"sv"},{"source_lang":"zh","target_lang":"nb"},{"source_lang":"ru","target_lang":"de"},{"source_lang":"ru","target_lang":"en"},{"source_lang":"ru","target_lang":"es"},{"source_lang":"ru","target_lang":"fr"},{"source_lang":"ru","target_lang":"ja"},{"source_lang":"ru","target_lang":"it"},{"source_lang":"ru","target_lang":"pl"},{"source_lang":"ru","target_lang":"nl"},{"source_lang":"ru","target_lang":"zh"},{"source_lang":"ru","target_lang":"pt"},{"source_lang":"ru","target_lang":"ko"},{"source_lang":"ru","target_lang":"da"},{"source_lang":"ru","target_lang":"sv"},{"source_lang":"ru","target_lang":"nb"},{"source_lang":"pt","target_lang":"de"},{"source_lang":"pt","target_lang":"en"},{"source_lang":"pt","target_lang":"es"},{"source_lang":"pt","target_lang":"fr"},{"source_lang":"pt","target_lang":"ja"},{"source_lang":"pt","target_lang":"it"},{"source_lang":"pt","target_lang":"pl"},{"source_lang":"pt","target_lang":"nl"},{"source_lang":"pt","target_lang":"zh"},{"source_lang":"pt","target_lang":"ru"},{"source_lang":"pt","target_lang":"ko"},{"source_lang":"pt","target_lang":"da"},{"source_lang":"pt","target_lang":"sv"},{"source_lang":"pt","target_lang":"nb"},{"source_lang":"ko","target_lang":"de"},{"source_lang":"ko","target_lang":"en"},{"source_lang":"ko","target_lang":"es"},{"source_lang":"ko","target_lang":"fr"},{"source_lang":"ko","target_lang":"ja"},{"source_lang":"ko","target_lang":"it"},{"source_lang":"ko","target_lang":"pl"},{"source_lang":"ko","target_lang":"nl"},{"source_lang":"ko","target_lang":"zh"},{"source_lang":"ko","target_lang":"ru"},{"source_lang":"ko","target_lang":"pt"},{"source_lang":"ko","target_lang":"da"},{"source_lang":"ko","target_lang":"sv"},{"source_lang":"ko","target_lang":"nb"},{"source_lang":"da","target_lang":"de"},{"source_lang":"da","target_lang":"en"},{"source_lang":"da","target_lang":"es"},{"source_lang":"da","target_lang":"fr"},{"source_lang":"da","target_lang":"ja"},{"source_lang":"da","target_lang":"it"},{"source_lang":"da","target_lang":"pl"},{"source_lang":"da","target_lang":"nl"},{"source_lang":"da","target_lang":"zh"},{"source_lang":"da","target_lang":"ru"},{"source_lang":"da","target_lang":"pt"},{"source_lang":"da","target_lang":"ko"},{"source_lang":"da","target_lang":"sv"},{"source_lang":"da","target_lang":"nb"},{"source_lang":"sv","target_lang":"de"},{"source_lang":"sv","target_lang":"en"},{"source_lang":"sv","target_lang":"es"},{"source_lang":"sv","target_lang":"fr"},{"source_lang":"sv","target_lang":"ja"},{"source_lang":"sv","target_lang":"it"},{"source_lang":"sv","target_lang":"pl"},{"source_lang":"sv","target_lang":"nl"},{"source_lang":"sv","target_lang":"zh"},{"source_lang":"sv","target_lang":"ru"},{"source_lang":"sv","target_lang":"pt"},{"source_lang":"sv","target_lang":"ko"},{"source_lang":"sv","target_lang":"da"},{"source_lang":"sv","target_lang":"nb"},{"source_lang":"nb","target_lang":"de"},{"source_lang":"nb","target_lang":"en"},{"source_lang":"nb","target_lang":"es"},{"source_lang":"nb","target_lang":"fr"},{"source_lang":"nb","target_lang":"ja"},{"source_lang":"nb","target_lang":"it"},{"source_lang":"nb","target_lang":"pl"},{"source_lang":"nb","target_lang":"nl"},{"source_lang":"nb","target_lang":"zh"},{"source_lang":"nb","target_lang":"ru"},{"source_lang":"nb","target_lang":"pt"},{"source_lang":"nb","target_lang":"ko"},{"source_lang":"nb","target_lang":"da"},{"source_lang":"nb","target_lang":"sv"}]}'
|
913
|
+
recorded_at: Tue, 02 Jul 2024 15:04:54 GMT
|
914
|
+
- request:
|
915
|
+
method: get
|
916
|
+
uri: https://api.deepl.com/v2/glossaries
|
917
|
+
body:
|
918
|
+
encoding: US-ASCII
|
919
|
+
string: ''
|
920
|
+
headers:
|
921
|
+
Authorization:
|
922
|
+
- DeepL-Auth-Key VALID_TOKEN
|
923
|
+
User-Agent:
|
924
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
925
|
+
Accept-Encoding:
|
926
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
927
|
+
Accept:
|
928
|
+
- "*/*"
|
929
|
+
response:
|
930
|
+
status:
|
931
|
+
code: 200
|
932
|
+
message: OK
|
933
|
+
headers:
|
934
|
+
Date:
|
935
|
+
- Tue, 02 Jul 2024 15:04:54 GMT
|
936
|
+
Content-Type:
|
937
|
+
- application/json; charset=utf-8
|
938
|
+
Transfer-Encoding:
|
939
|
+
- chunked
|
940
|
+
Vary:
|
941
|
+
- Accept-Encoding
|
942
|
+
X-Trace-Id:
|
943
|
+
- da0bbb205a4a4535aa02fad10a603b08
|
944
|
+
X-Cache-Status:
|
945
|
+
- MISS
|
946
|
+
Strict-Transport-Security:
|
947
|
+
- max-age=63072000; includeSubDomains; preload
|
948
|
+
Server-Timing:
|
949
|
+
- l7_lb_tls;dur=111, l7_lb_idle;dur=3, l7_lb_receive;dur=0, l7_lb_total;dur=127
|
950
|
+
Access-Control-Expose-Headers:
|
951
|
+
- Server-Timing, X-Trace-ID
|
952
|
+
body:
|
953
|
+
encoding: ASCII-8BIT
|
954
|
+
string: '{"glossaries":[{"glossary_id":"6a507253-97bd-4c58-af74-ad44cb9b29bd","name":"TestGlossar","ready":true,"source_lang":"en","target_lang":"ja","creation_time":"2024-03-27T08:47:11.406903Z","entry_count":2},{"glossary_id":"5ed6cb7c-7d55-4fc9-8e6d-a8c88996dab3","name":"TestGlossar","ready":true,"source_lang":"de","target_lang":"en","creation_time":"2024-04-22T11:53:34.461272Z","entry_count":9958},{"glossary_id":"22b9e3f1-df87-471a-b947-8e974194e4df","name":"My
|
955
|
+
Glossary","ready":true,"source_lang":"en","target_lang":"sv","creation_time":"2024-05-03T13:54:03.920701Z","entry_count":1},{"glossary_id":"9ab5dac2-b7b2-4b4a-808a-e8e305df5ecb","name":"Mi
|
956
|
+
Glosario","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2024-07-02T15:04:50.832836Z","entry_count":2},{"glossary_id":"e7a62637-7ef4-4959-a355-09ba61dd0126","name":"Mi
|
957
|
+
Glosario","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2024-07-02T15:04:46.016123Z","entry_count":2}]}'
|
958
|
+
recorded_at: Tue, 02 Jul 2024 15:04:54 GMT
|
959
|
+
- request:
|
960
|
+
method: get
|
961
|
+
uri: https://api.deepl.com/v2/glossaries
|
962
|
+
body:
|
963
|
+
encoding: US-ASCII
|
964
|
+
string: ''
|
965
|
+
headers:
|
966
|
+
Authorization:
|
967
|
+
- DeepL-Auth-Key invalid
|
968
|
+
User-Agent:
|
969
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
970
|
+
Accept-Encoding:
|
971
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
972
|
+
Accept:
|
973
|
+
- "*/*"
|
974
|
+
response:
|
975
|
+
status:
|
976
|
+
code: 401
|
977
|
+
message: Unauthorized
|
978
|
+
headers:
|
979
|
+
Date:
|
980
|
+
- Tue, 02 Jul 2024 15:04:54 GMT
|
981
|
+
Content-Type:
|
982
|
+
- application/json; charset=utf-8
|
983
|
+
Transfer-Encoding:
|
984
|
+
- chunked
|
985
|
+
X-Trace-Id:
|
986
|
+
- 606d9b8ed2fb4a78b4f2595ce6c3e79e
|
987
|
+
Strict-Transport-Security:
|
988
|
+
- max-age=63072000; includeSubDomains; preload
|
989
|
+
Server-Timing:
|
990
|
+
- l7_lb_tls;dur=107, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=113
|
991
|
+
Access-Control-Expose-Headers:
|
992
|
+
- Server-Timing, X-Trace-ID
|
993
|
+
body:
|
994
|
+
encoding: UTF-8
|
995
|
+
string: '{"message":"Unauthorized"}'
|
996
|
+
recorded_at: Tue, 02 Jul 2024 15:04:54 GMT
|
997
|
+
- request:
|
998
|
+
method: delete
|
999
|
+
uri: https://api.deepl.com/v2/glossaries/00000000-0000-0000-0000-000000000000
|
1000
|
+
body:
|
1001
|
+
encoding: UTF-8
|
1002
|
+
string: "{}"
|
1003
|
+
headers:
|
1004
|
+
Authorization:
|
1005
|
+
- DeepL-Auth-Key VALID_TOKEN
|
1006
|
+
User-Agent:
|
1007
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
1008
|
+
Content-Type:
|
1009
|
+
- application/json
|
1010
|
+
Accept-Encoding:
|
1011
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1012
|
+
Accept:
|
1013
|
+
- "*/*"
|
1014
|
+
response:
|
1015
|
+
status:
|
1016
|
+
code: 404
|
1017
|
+
message: Not Found
|
1018
|
+
headers:
|
1019
|
+
Date:
|
1020
|
+
- Tue, 09 Jul 2024 01:36:08 GMT
|
1021
|
+
Content-Type:
|
1022
|
+
- application/json; charset=utf-8
|
1023
|
+
Transfer-Encoding:
|
1024
|
+
- chunked
|
1025
|
+
Vary:
|
1026
|
+
- Accept-Encoding
|
1027
|
+
X-Trace-Id:
|
1028
|
+
- 0db4a8a4daf2441e919a9492fe58ae40
|
1029
|
+
Strict-Transport-Security:
|
1030
|
+
- max-age=63072000; includeSubDomains; preload
|
1031
|
+
Server-Timing:
|
1032
|
+
- l7_lb_tls;dur=109, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=123
|
1033
|
+
Access-Control-Expose-Headers:
|
1034
|
+
- Server-Timing, X-Trace-ID
|
1035
|
+
body:
|
1036
|
+
encoding: ASCII-8BIT
|
1037
|
+
string: '{"message":"Not found"}'
|
1038
|
+
recorded_at: Tue, 09 Jul 2024 01:36:08 GMT
|
1039
|
+
- request:
|
1040
|
+
method: delete
|
1041
|
+
uri: https://api.deepl.com/v2/glossaries/invalid-uuid
|
1042
|
+
body:
|
1043
|
+
encoding: UTF-8
|
1044
|
+
string: "{}"
|
1045
|
+
headers:
|
1046
|
+
Authorization:
|
1047
|
+
- DeepL-Auth-Key VALID_TOKEN
|
1048
|
+
User-Agent:
|
1049
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
1050
|
+
Content-Type:
|
1051
|
+
- application/json
|
1052
|
+
Accept-Encoding:
|
1053
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1054
|
+
Accept:
|
1055
|
+
- "*/*"
|
1056
|
+
response:
|
1057
|
+
status:
|
1058
|
+
code: 400
|
1059
|
+
message: Bad Request
|
1060
|
+
headers:
|
1061
|
+
Date:
|
1062
|
+
- Tue, 09 Jul 2024 01:36:08 GMT
|
1063
|
+
Content-Type:
|
1064
|
+
- application/json; charset=utf-8
|
1065
|
+
Transfer-Encoding:
|
1066
|
+
- chunked
|
1067
|
+
X-Trace-Id:
|
1068
|
+
- b97f50352495442e82c43b27d50be2d5
|
1069
|
+
Strict-Transport-Security:
|
1070
|
+
- max-age=63072000; includeSubDomains; preload
|
1071
|
+
Server-Timing:
|
1072
|
+
- l7_lb_tls;dur=107, l7_lb_idle;dur=1, l7_lb_receive;dur=0, l7_lb_total;dur=121
|
1073
|
+
Access-Control-Expose-Headers:
|
1074
|
+
- Server-Timing, X-Trace-ID
|
1075
|
+
body:
|
1076
|
+
encoding: UTF-8
|
1077
|
+
string: '{"message":"Invalid or missing glossary id"}'
|
1078
|
+
recorded_at: Tue, 09 Jul 2024 01:36:08 GMT
|
1079
|
+
- request:
|
1080
|
+
method: get
|
1081
|
+
uri: https://api.deepl.com/v2/glossaries/9ab5dac2-b7b2-4b4a-808a-e8e305df5ecb/entries
|
1082
|
+
body:
|
1083
|
+
encoding: UTF-8
|
1084
|
+
string: "{}"
|
1085
|
+
headers:
|
1086
|
+
Authorization:
|
1087
|
+
- DeepL-Auth-Key VALID_TOKEN
|
1088
|
+
User-Agent:
|
1089
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
1090
|
+
Content-Type:
|
1091
|
+
- application/json
|
1092
|
+
Accept-Encoding:
|
1093
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1094
|
+
Accept:
|
1095
|
+
- "*/*"
|
1096
|
+
response:
|
1097
|
+
status:
|
1098
|
+
code: 200
|
1099
|
+
message: OK
|
1100
|
+
headers:
|
1101
|
+
Date:
|
1102
|
+
- Tue, 09 Jul 2024 01:38:02 GMT
|
1103
|
+
Content-Type:
|
1104
|
+
- text/tab-separated-values; charset=UTF-8
|
1105
|
+
Content-Length:
|
1106
|
+
- '22'
|
1107
|
+
X-Trace-Id:
|
1108
|
+
- 35a1e6a266a042baa8885957d6d3feff
|
1109
|
+
X-Cache-Status:
|
1110
|
+
- MISS
|
1111
|
+
Strict-Transport-Security:
|
1112
|
+
- max-age=63072000; includeSubDomains; preload
|
1113
|
+
Server-Timing:
|
1114
|
+
- l7_lb_tls;dur=211, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=230
|
1115
|
+
Access-Control-Expose-Headers:
|
1116
|
+
- Server-Timing, X-Trace-ID
|
1117
|
+
body:
|
1118
|
+
encoding: UTF-8
|
1119
|
+
string: "Hello\tHola\nWorld\tMundo"
|
1120
|
+
recorded_at: Tue, 09 Jul 2024 01:38:02 GMT
|
1121
|
+
- request:
|
1122
|
+
method: get
|
1123
|
+
uri: https://api.deepl.com/v2/glossaries/00000000-0000-0000-0000-000000000000/entries
|
1124
|
+
body:
|
1125
|
+
encoding: UTF-8
|
1126
|
+
string: "{}"
|
1127
|
+
headers:
|
1128
|
+
Authorization:
|
1129
|
+
- DeepL-Auth-Key VALID_TOKEN
|
1130
|
+
User-Agent:
|
1131
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
1132
|
+
Content-Type:
|
1133
|
+
- application/json
|
1134
|
+
Accept-Encoding:
|
1135
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1136
|
+
Accept:
|
1137
|
+
- "*/*"
|
1138
|
+
response:
|
1139
|
+
status:
|
1140
|
+
code: 404
|
1141
|
+
message: Not Found
|
1142
|
+
headers:
|
1143
|
+
Date:
|
1144
|
+
- Tue, 09 Jul 2024 01:38:02 GMT
|
1145
|
+
Content-Type:
|
1146
|
+
- application/json; charset=utf-8
|
1147
|
+
Transfer-Encoding:
|
1148
|
+
- chunked
|
1149
|
+
Vary:
|
1150
|
+
- Accept-Encoding
|
1151
|
+
X-Trace-Id:
|
1152
|
+
- 44f16e89c2c24d199c886f96fc246793
|
1153
|
+
Strict-Transport-Security:
|
1154
|
+
- max-age=63072000; includeSubDomains; preload
|
1155
|
+
Server-Timing:
|
1156
|
+
- l7_lb_tls;dur=146, l7_lb_idle;dur=1, l7_lb_receive;dur=0, l7_lb_total;dur=157
|
1157
|
+
Access-Control-Expose-Headers:
|
1158
|
+
- Server-Timing, X-Trace-ID
|
1159
|
+
body:
|
1160
|
+
encoding: ASCII-8BIT
|
1161
|
+
string: '{"message":"Not found"}'
|
1162
|
+
recorded_at: Tue, 09 Jul 2024 01:38:02 GMT
|
1163
|
+
- request:
|
1164
|
+
method: get
|
1165
|
+
uri: https://api.deepl.com/v2/glossaries/invalid-uuid/entries
|
1166
|
+
body:
|
1167
|
+
encoding: UTF-8
|
1168
|
+
string: "{}"
|
1169
|
+
headers:
|
1170
|
+
Authorization:
|
1171
|
+
- DeepL-Auth-Key VALID_TOKEN
|
1172
|
+
User-Agent:
|
1173
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
1174
|
+
Content-Type:
|
1175
|
+
- application/json
|
1176
|
+
Accept-Encoding:
|
1177
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1178
|
+
Accept:
|
1179
|
+
- "*/*"
|
1180
|
+
response:
|
1181
|
+
status:
|
1182
|
+
code: 400
|
1183
|
+
message: Bad Request
|
1184
|
+
headers:
|
1185
|
+
Date:
|
1186
|
+
- Tue, 09 Jul 2024 01:38:03 GMT
|
1187
|
+
Content-Type:
|
1188
|
+
- application/json; charset=utf-8
|
1189
|
+
Transfer-Encoding:
|
1190
|
+
- chunked
|
1191
|
+
X-Trace-Id:
|
1192
|
+
- 45a064d4cbe74dd9b3798a9cf9228ef0
|
1193
|
+
Strict-Transport-Security:
|
1194
|
+
- max-age=63072000; includeSubDomains; preload
|
1195
|
+
Server-Timing:
|
1196
|
+
- l7_lb_tls;dur=132, l7_lb_idle;dur=0, l7_lb_receive;dur=0, l7_lb_total;dur=144
|
1197
|
+
Access-Control-Expose-Headers:
|
1198
|
+
- Server-Timing, X-Trace-ID
|
1199
|
+
body:
|
1200
|
+
encoding: UTF-8
|
1201
|
+
string: '{"message":"Invalid or missing glossary id"}'
|
1202
|
+
recorded_at: Tue, 09 Jul 2024 01:38:03 GMT
|
1203
|
+
- request:
|
1204
|
+
method: get
|
1205
|
+
uri: https://api.deepl.com/v2/glossaries/9ab5dac2-b7b2-4b4a-808a-e8e305df5ecb
|
1206
|
+
body:
|
1207
|
+
encoding: UTF-8
|
1208
|
+
string: "{}"
|
1209
|
+
headers:
|
1210
|
+
Authorization:
|
1211
|
+
- DeepL-Auth-Key VALID_TOKEN
|
1212
|
+
User-Agent:
|
1213
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
1214
|
+
Content-Type:
|
1215
|
+
- application/json
|
1216
|
+
Accept-Encoding:
|
1217
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1218
|
+
Accept:
|
1219
|
+
- "*/*"
|
1220
|
+
response:
|
1221
|
+
status:
|
1222
|
+
code: 200
|
1223
|
+
message: OK
|
1224
|
+
headers:
|
1225
|
+
Date:
|
1226
|
+
- Tue, 09 Jul 2024 01:38:35 GMT
|
1227
|
+
Content-Type:
|
1228
|
+
- application/json; charset=utf-8
|
1229
|
+
Transfer-Encoding:
|
1230
|
+
- chunked
|
1231
|
+
Vary:
|
1232
|
+
- Accept-Encoding
|
1233
|
+
X-Trace-Id:
|
1234
|
+
- 6fccdc02fea14204bb458f814c96641b
|
1235
|
+
X-Cache-Status:
|
1236
|
+
- MISS
|
1237
|
+
Strict-Transport-Security:
|
1238
|
+
- max-age=63072000; includeSubDomains; preload
|
1239
|
+
Server-Timing:
|
1240
|
+
- l7_lb_tls;dur=114, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=126
|
1241
|
+
Access-Control-Expose-Headers:
|
1242
|
+
- Server-Timing, X-Trace-ID
|
1243
|
+
body:
|
1244
|
+
encoding: ASCII-8BIT
|
1245
|
+
string: '{"glossary_id":"9ab5dac2-b7b2-4b4a-808a-e8e305df5ecb","name":"Mi Glosario","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2024-07-02T15:04:50.832836Z","entry_count":2}'
|
1246
|
+
recorded_at: Tue, 09 Jul 2024 01:38:35 GMT
|
1247
|
+
- request:
|
1248
|
+
method: get
|
1249
|
+
uri: https://api.deepl.com/v2/glossaries/a0af40e1-d81b-4aab-a95c-7cafbcfd1eb1
|
1250
|
+
body:
|
1251
|
+
encoding: UTF-8
|
1252
|
+
string: "{}"
|
1253
|
+
headers:
|
1254
|
+
Authorization:
|
1255
|
+
- DeepL-Auth-Key VALID_TOKEN
|
1256
|
+
User-Agent:
|
1257
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
1258
|
+
Content-Type:
|
1259
|
+
- application/json
|
1260
|
+
Accept-Encoding:
|
1261
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1262
|
+
Accept:
|
1263
|
+
- "*/*"
|
1264
|
+
response:
|
1265
|
+
status:
|
1266
|
+
code: 404
|
1267
|
+
message: Not Found
|
1268
|
+
headers:
|
1269
|
+
Date:
|
1270
|
+
- Tue, 09 Jul 2024 01:38:35 GMT
|
1271
|
+
Content-Type:
|
1272
|
+
- application/json; charset=utf-8
|
1273
|
+
Transfer-Encoding:
|
1274
|
+
- chunked
|
1275
|
+
Vary:
|
1276
|
+
- Accept-Encoding
|
1277
|
+
X-Trace-Id:
|
1278
|
+
- 927a34c4f7f64ff4bb595b4e7f94b7c1
|
1279
|
+
Strict-Transport-Security:
|
1280
|
+
- max-age=63072000; includeSubDomains; preload
|
1281
|
+
Server-Timing:
|
1282
|
+
- l7_lb_tls;dur=141, l7_lb_idle;dur=0, l7_lb_receive;dur=0, l7_lb_total;dur=157
|
1283
|
+
Access-Control-Expose-Headers:
|
1284
|
+
- Server-Timing, X-Trace-ID
|
1285
|
+
body:
|
1286
|
+
encoding: ASCII-8BIT
|
1287
|
+
string: '{"message":"Not found"}'
|
1288
|
+
recorded_at: Tue, 09 Jul 2024 01:38:35 GMT
|
1289
|
+
- request:
|
1290
|
+
method: get
|
1291
|
+
uri: https://api.deepl.com/v2/glossaries/invalid-uuid
|
1292
|
+
body:
|
1293
|
+
encoding: UTF-8
|
1294
|
+
string: "{}"
|
1295
|
+
headers:
|
1296
|
+
Authorization:
|
1297
|
+
- DeepL-Auth-Key VALID_TOKEN
|
1298
|
+
User-Agent:
|
1299
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
1300
|
+
Content-Type:
|
1301
|
+
- application/json
|
1302
|
+
Accept-Encoding:
|
1303
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1304
|
+
Accept:
|
1305
|
+
- "*/*"
|
1306
|
+
response:
|
1307
|
+
status:
|
1308
|
+
code: 400
|
1309
|
+
message: Bad Request
|
1310
|
+
headers:
|
1311
|
+
Date:
|
1312
|
+
- Tue, 09 Jul 2024 01:38:35 GMT
|
1313
|
+
Content-Type:
|
1314
|
+
- application/json; charset=utf-8
|
1315
|
+
Transfer-Encoding:
|
1316
|
+
- chunked
|
1317
|
+
X-Trace-Id:
|
1318
|
+
- 31f23ffabcd149beb3029eb85a3fae74
|
1319
|
+
Strict-Transport-Security:
|
1320
|
+
- max-age=63072000; includeSubDomains; preload
|
1321
|
+
Server-Timing:
|
1322
|
+
- l7_lb_tls;dur=126, l7_lb_idle;dur=1, l7_lb_receive;dur=0, l7_lb_total;dur=140
|
1323
|
+
Access-Control-Expose-Headers:
|
1324
|
+
- Server-Timing, X-Trace-ID
|
1325
|
+
body:
|
1326
|
+
encoding: UTF-8
|
1327
|
+
string: '{"message":"Invalid or missing glossary id"}'
|
1328
|
+
recorded_at: Tue, 09 Jul 2024 01:38:35 GMT
|
1329
|
+
- request:
|
1330
|
+
method: get
|
1331
|
+
uri: https://api.deepl.com/v2/glossary-language-pairs
|
1332
|
+
body:
|
1333
|
+
encoding: UTF-8
|
1334
|
+
string: "{}"
|
1335
|
+
headers:
|
1336
|
+
Authorization:
|
1337
|
+
- DeepL-Auth-Key VALID_TOKEN
|
1338
|
+
User-Agent:
|
1339
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
1340
|
+
Content-Type:
|
1341
|
+
- application/json
|
1342
|
+
Accept-Encoding:
|
1343
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1344
|
+
Accept:
|
1345
|
+
- "*/*"
|
1346
|
+
response:
|
1347
|
+
status:
|
1348
|
+
code: 200
|
1349
|
+
message: OK
|
1350
|
+
headers:
|
1351
|
+
Date:
|
1352
|
+
- Tue, 09 Jul 2024 01:39:15 GMT
|
1353
|
+
Content-Type:
|
1354
|
+
- application/json; charset=utf-8
|
1355
|
+
Transfer-Encoding:
|
1356
|
+
- chunked
|
1357
|
+
Vary:
|
1358
|
+
- Accept-Encoding
|
1359
|
+
X-Trace-Id:
|
1360
|
+
- f8138a6e475a4a02a897f1ee734178a0
|
1361
|
+
X-Cache-Status:
|
1362
|
+
- MISS
|
1363
|
+
Strict-Transport-Security:
|
1364
|
+
- max-age=63072000; includeSubDomains; preload
|
1365
|
+
Server-Timing:
|
1366
|
+
- l7_lb_tls;dur=57, l7_lb_idle;dur=0, l7_lb_receive;dur=0, l7_lb_total;dur=70
|
1367
|
+
Access-Control-Expose-Headers:
|
1368
|
+
- Server-Timing, X-Trace-ID
|
1369
|
+
body:
|
1370
|
+
encoding: ASCII-8BIT
|
1371
|
+
string: '{"supported_languages":[{"source_lang":"de","target_lang":"en"},{"source_lang":"de","target_lang":"es"},{"source_lang":"de","target_lang":"fr"},{"source_lang":"de","target_lang":"ja"},{"source_lang":"de","target_lang":"it"},{"source_lang":"de","target_lang":"pl"},{"source_lang":"de","target_lang":"nl"},{"source_lang":"de","target_lang":"zh"},{"source_lang":"de","target_lang":"ru"},{"source_lang":"de","target_lang":"pt"},{"source_lang":"de","target_lang":"ko"},{"source_lang":"de","target_lang":"da"},{"source_lang":"de","target_lang":"sv"},{"source_lang":"de","target_lang":"nb"},{"source_lang":"de","target_lang":"ro"},{"source_lang":"en","target_lang":"de"},{"source_lang":"en","target_lang":"es"},{"source_lang":"en","target_lang":"fr"},{"source_lang":"en","target_lang":"ja"},{"source_lang":"en","target_lang":"it"},{"source_lang":"en","target_lang":"pl"},{"source_lang":"en","target_lang":"nl"},{"source_lang":"en","target_lang":"zh"},{"source_lang":"en","target_lang":"ru"},{"source_lang":"en","target_lang":"pt"},{"source_lang":"en","target_lang":"ko"},{"source_lang":"en","target_lang":"da"},{"source_lang":"en","target_lang":"sv"},{"source_lang":"en","target_lang":"nb"},{"source_lang":"en","target_lang":"ro"},{"source_lang":"es","target_lang":"de"},{"source_lang":"es","target_lang":"en"},{"source_lang":"es","target_lang":"fr"},{"source_lang":"es","target_lang":"ja"},{"source_lang":"es","target_lang":"it"},{"source_lang":"es","target_lang":"pl"},{"source_lang":"es","target_lang":"nl"},{"source_lang":"es","target_lang":"zh"},{"source_lang":"es","target_lang":"ru"},{"source_lang":"es","target_lang":"pt"},{"source_lang":"es","target_lang":"ko"},{"source_lang":"es","target_lang":"da"},{"source_lang":"es","target_lang":"sv"},{"source_lang":"es","target_lang":"nb"},{"source_lang":"es","target_lang":"ro"},{"source_lang":"fr","target_lang":"de"},{"source_lang":"fr","target_lang":"en"},{"source_lang":"fr","target_lang":"es"},{"source_lang":"fr","target_lang":"ja"},{"source_lang":"fr","target_lang":"it"},{"source_lang":"fr","target_lang":"pl"},{"source_lang":"fr","target_lang":"nl"},{"source_lang":"fr","target_lang":"zh"},{"source_lang":"fr","target_lang":"ru"},{"source_lang":"fr","target_lang":"pt"},{"source_lang":"fr","target_lang":"ko"},{"source_lang":"fr","target_lang":"da"},{"source_lang":"fr","target_lang":"sv"},{"source_lang":"fr","target_lang":"nb"},{"source_lang":"fr","target_lang":"ro"},{"source_lang":"ja","target_lang":"de"},{"source_lang":"ja","target_lang":"en"},{"source_lang":"ja","target_lang":"es"},{"source_lang":"ja","target_lang":"fr"},{"source_lang":"ja","target_lang":"it"},{"source_lang":"ja","target_lang":"pl"},{"source_lang":"ja","target_lang":"nl"},{"source_lang":"ja","target_lang":"zh"},{"source_lang":"ja","target_lang":"ru"},{"source_lang":"ja","target_lang":"pt"},{"source_lang":"ja","target_lang":"ko"},{"source_lang":"ja","target_lang":"da"},{"source_lang":"ja","target_lang":"sv"},{"source_lang":"ja","target_lang":"nb"},{"source_lang":"ja","target_lang":"ro"},{"source_lang":"it","target_lang":"de"},{"source_lang":"it","target_lang":"en"},{"source_lang":"it","target_lang":"es"},{"source_lang":"it","target_lang":"fr"},{"source_lang":"it","target_lang":"ja"},{"source_lang":"it","target_lang":"pl"},{"source_lang":"it","target_lang":"nl"},{"source_lang":"it","target_lang":"zh"},{"source_lang":"it","target_lang":"ru"},{"source_lang":"it","target_lang":"pt"},{"source_lang":"it","target_lang":"ko"},{"source_lang":"it","target_lang":"da"},{"source_lang":"it","target_lang":"sv"},{"source_lang":"it","target_lang":"nb"},{"source_lang":"it","target_lang":"ro"},{"source_lang":"pl","target_lang":"de"},{"source_lang":"pl","target_lang":"en"},{"source_lang":"pl","target_lang":"es"},{"source_lang":"pl","target_lang":"fr"},{"source_lang":"pl","target_lang":"ja"},{"source_lang":"pl","target_lang":"it"},{"source_lang":"pl","target_lang":"nl"},{"source_lang":"pl","target_lang":"zh"},{"source_lang":"pl","target_lang":"ru"},{"source_lang":"pl","target_lang":"pt"},{"source_lang":"pl","target_lang":"ko"},{"source_lang":"pl","target_lang":"da"},{"source_lang":"pl","target_lang":"sv"},{"source_lang":"pl","target_lang":"nb"},{"source_lang":"pl","target_lang":"ro"},{"source_lang":"nl","target_lang":"de"},{"source_lang":"nl","target_lang":"en"},{"source_lang":"nl","target_lang":"es"},{"source_lang":"nl","target_lang":"fr"},{"source_lang":"nl","target_lang":"ja"},{"source_lang":"nl","target_lang":"it"},{"source_lang":"nl","target_lang":"pl"},{"source_lang":"nl","target_lang":"zh"},{"source_lang":"nl","target_lang":"ru"},{"source_lang":"nl","target_lang":"pt"},{"source_lang":"nl","target_lang":"ko"},{"source_lang":"nl","target_lang":"da"},{"source_lang":"nl","target_lang":"sv"},{"source_lang":"nl","target_lang":"nb"},{"source_lang":"nl","target_lang":"ro"},{"source_lang":"zh","target_lang":"de"},{"source_lang":"zh","target_lang":"en"},{"source_lang":"zh","target_lang":"es"},{"source_lang":"zh","target_lang":"fr"},{"source_lang":"zh","target_lang":"ja"},{"source_lang":"zh","target_lang":"it"},{"source_lang":"zh","target_lang":"pl"},{"source_lang":"zh","target_lang":"nl"},{"source_lang":"zh","target_lang":"ru"},{"source_lang":"zh","target_lang":"pt"},{"source_lang":"zh","target_lang":"ko"},{"source_lang":"zh","target_lang":"da"},{"source_lang":"zh","target_lang":"sv"},{"source_lang":"zh","target_lang":"nb"},{"source_lang":"zh","target_lang":"ro"},{"source_lang":"ru","target_lang":"de"},{"source_lang":"ru","target_lang":"en"},{"source_lang":"ru","target_lang":"es"},{"source_lang":"ru","target_lang":"fr"},{"source_lang":"ru","target_lang":"ja"},{"source_lang":"ru","target_lang":"it"},{"source_lang":"ru","target_lang":"pl"},{"source_lang":"ru","target_lang":"nl"},{"source_lang":"ru","target_lang":"zh"},{"source_lang":"ru","target_lang":"pt"},{"source_lang":"ru","target_lang":"ko"},{"source_lang":"ru","target_lang":"da"},{"source_lang":"ru","target_lang":"sv"},{"source_lang":"ru","target_lang":"nb"},{"source_lang":"ru","target_lang":"ro"},{"source_lang":"pt","target_lang":"de"},{"source_lang":"pt","target_lang":"en"},{"source_lang":"pt","target_lang":"es"},{"source_lang":"pt","target_lang":"fr"},{"source_lang":"pt","target_lang":"ja"},{"source_lang":"pt","target_lang":"it"},{"source_lang":"pt","target_lang":"pl"},{"source_lang":"pt","target_lang":"nl"},{"source_lang":"pt","target_lang":"zh"},{"source_lang":"pt","target_lang":"ru"},{"source_lang":"pt","target_lang":"ko"},{"source_lang":"pt","target_lang":"da"},{"source_lang":"pt","target_lang":"sv"},{"source_lang":"pt","target_lang":"nb"},{"source_lang":"pt","target_lang":"ro"},{"source_lang":"ko","target_lang":"de"},{"source_lang":"ko","target_lang":"en"},{"source_lang":"ko","target_lang":"es"},{"source_lang":"ko","target_lang":"fr"},{"source_lang":"ko","target_lang":"ja"},{"source_lang":"ko","target_lang":"it"},{"source_lang":"ko","target_lang":"pl"},{"source_lang":"ko","target_lang":"nl"},{"source_lang":"ko","target_lang":"zh"},{"source_lang":"ko","target_lang":"ru"},{"source_lang":"ko","target_lang":"pt"},{"source_lang":"ko","target_lang":"da"},{"source_lang":"ko","target_lang":"sv"},{"source_lang":"ko","target_lang":"nb"},{"source_lang":"ko","target_lang":"ro"},{"source_lang":"da","target_lang":"de"},{"source_lang":"da","target_lang":"en"},{"source_lang":"da","target_lang":"es"},{"source_lang":"da","target_lang":"fr"},{"source_lang":"da","target_lang":"ja"},{"source_lang":"da","target_lang":"it"},{"source_lang":"da","target_lang":"pl"},{"source_lang":"da","target_lang":"nl"},{"source_lang":"da","target_lang":"zh"},{"source_lang":"da","target_lang":"ru"},{"source_lang":"da","target_lang":"pt"},{"source_lang":"da","target_lang":"ko"},{"source_lang":"da","target_lang":"sv"},{"source_lang":"da","target_lang":"nb"},{"source_lang":"da","target_lang":"ro"},{"source_lang":"sv","target_lang":"de"},{"source_lang":"sv","target_lang":"en"},{"source_lang":"sv","target_lang":"es"},{"source_lang":"sv","target_lang":"fr"},{"source_lang":"sv","target_lang":"ja"},{"source_lang":"sv","target_lang":"it"},{"source_lang":"sv","target_lang":"pl"},{"source_lang":"sv","target_lang":"nl"},{"source_lang":"sv","target_lang":"zh"},{"source_lang":"sv","target_lang":"ru"},{"source_lang":"sv","target_lang":"pt"},{"source_lang":"sv","target_lang":"ko"},{"source_lang":"sv","target_lang":"da"},{"source_lang":"sv","target_lang":"nb"},{"source_lang":"sv","target_lang":"ro"},{"source_lang":"nb","target_lang":"de"},{"source_lang":"nb","target_lang":"en"},{"source_lang":"nb","target_lang":"es"},{"source_lang":"nb","target_lang":"fr"},{"source_lang":"nb","target_lang":"ja"},{"source_lang":"nb","target_lang":"it"},{"source_lang":"nb","target_lang":"pl"},{"source_lang":"nb","target_lang":"nl"},{"source_lang":"nb","target_lang":"zh"},{"source_lang":"nb","target_lang":"ru"},{"source_lang":"nb","target_lang":"pt"},{"source_lang":"nb","target_lang":"ko"},{"source_lang":"nb","target_lang":"da"},{"source_lang":"nb","target_lang":"sv"},{"source_lang":"nb","target_lang":"ro"},{"source_lang":"ro","target_lang":"de"},{"source_lang":"ro","target_lang":"en"},{"source_lang":"ro","target_lang":"es"},{"source_lang":"ro","target_lang":"fr"},{"source_lang":"ro","target_lang":"ja"},{"source_lang":"ro","target_lang":"it"},{"source_lang":"ro","target_lang":"pl"},{"source_lang":"ro","target_lang":"nl"},{"source_lang":"ro","target_lang":"zh"},{"source_lang":"ro","target_lang":"ru"},{"source_lang":"ro","target_lang":"pt"},{"source_lang":"ro","target_lang":"ko"},{"source_lang":"ro","target_lang":"da"},{"source_lang":"ro","target_lang":"sv"},{"source_lang":"ro","target_lang":"nb"}]}'
|
1372
|
+
recorded_at: Tue, 09 Jul 2024 01:39:15 GMT
|
1373
|
+
- request:
|
1374
|
+
method: get
|
1375
|
+
uri: https://api.deepl.com/v2/glossaries
|
1376
|
+
body:
|
1377
|
+
encoding: UTF-8
|
1378
|
+
string: "{}"
|
1379
|
+
headers:
|
1380
|
+
Authorization:
|
1381
|
+
- DeepL-Auth-Key VALID_TOKEN
|
1382
|
+
Content-Type:
|
1383
|
+
- application/json
|
1384
|
+
Accept-Encoding:
|
1385
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1386
|
+
Accept:
|
1387
|
+
- "*/*"
|
1388
|
+
response:
|
1389
|
+
status:
|
1390
|
+
code: 200
|
1391
|
+
message: OK
|
1392
|
+
headers:
|
1393
|
+
Date:
|
1394
|
+
- Tue, 09 Jul 2024 01:39:28 GMT
|
1395
|
+
Content-Type:
|
1396
|
+
- application/json; charset=utf-8
|
1397
|
+
Transfer-Encoding:
|
1398
|
+
- chunked
|
1399
|
+
Vary:
|
1400
|
+
- Accept-Encoding
|
1401
|
+
X-Trace-Id:
|
1402
|
+
- e61239757a64492f961d1557aa8c9be0
|
1403
|
+
X-Cache-Status:
|
1404
|
+
- MISS
|
1405
|
+
Strict-Transport-Security:
|
1406
|
+
- max-age=63072000; includeSubDomains; preload
|
1407
|
+
Server-Timing:
|
1408
|
+
- l7_lb_tls;dur=106, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=117
|
1409
|
+
Access-Control-Expose-Headers:
|
1410
|
+
- Server-Timing, X-Trace-ID
|
1411
|
+
body:
|
1412
|
+
encoding: ASCII-8BIT
|
1413
|
+
string: '{"glossaries":[{"glossary_id":"6a507253-97bd-4c58-af74-ad44cb9b29bd","name":"TestGlossar","ready":true,"source_lang":"en","target_lang":"ja","creation_time":"2024-03-27T08:47:11.406903Z","entry_count":2},{"glossary_id":"5ed6cb7c-7d55-4fc9-8e6d-a8c88996dab3","name":"TestGlossar","ready":true,"source_lang":"de","target_lang":"en","creation_time":"2024-04-22T11:53:34.461272Z","entry_count":9958},{"glossary_id":"22b9e3f1-df87-471a-b947-8e974194e4df","name":"My
|
1414
|
+
Glossary","ready":true,"source_lang":"en","target_lang":"sv","creation_time":"2024-05-03T13:54:03.920701Z","entry_count":1},{"glossary_id":"9ab5dac2-b7b2-4b4a-808a-e8e305df5ecb","name":"Mi
|
1415
|
+
Glosario","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2024-07-02T15:04:50.832836Z","entry_count":2},{"glossary_id":"e7a62637-7ef4-4959-a355-09ba61dd0126","name":"Mi
|
1416
|
+
Glosario","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2024-07-02T15:04:46.016123Z","entry_count":2}]}'
|
1417
|
+
recorded_at: Tue, 09 Jul 2024 01:39:28 GMT
|
1418
|
+
- request:
|
1419
|
+
method: get
|
1420
|
+
uri: https://api.deepl.com/v2/glossaries
|
1421
|
+
body:
|
1422
|
+
encoding: UTF-8
|
1423
|
+
string: "{}"
|
1424
|
+
headers:
|
1425
|
+
Authorization:
|
1426
|
+
- DeepL-Auth-Key invalid
|
1427
|
+
Content-Type:
|
1428
|
+
- application/json
|
1429
|
+
Accept-Encoding:
|
1430
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1431
|
+
Accept:
|
1432
|
+
- "*/*"
|
1433
|
+
response:
|
1434
|
+
status:
|
1435
|
+
code: 401
|
1436
|
+
message: Unauthorized
|
1437
|
+
headers:
|
1438
|
+
Date:
|
1439
|
+
- Tue, 09 Jul 2024 01:39:28 GMT
|
1440
|
+
Content-Type:
|
1441
|
+
- application/json; charset=utf-8
|
1442
|
+
Transfer-Encoding:
|
1443
|
+
- chunked
|
1444
|
+
X-Trace-Id:
|
1445
|
+
- '09e9bdf2e75b4c65a4246b0e36f569f6'
|
1446
|
+
Strict-Transport-Security:
|
1447
|
+
- max-age=63072000; includeSubDomains; preload
|
1448
|
+
Server-Timing:
|
1449
|
+
- l7_lb_tls;dur=105, l7_lb_idle;dur=0, l7_lb_receive;dur=0, l7_lb_total;dur=110
|
1450
|
+
Access-Control-Expose-Headers:
|
1451
|
+
- Server-Timing, X-Trace-ID
|
1452
|
+
body:
|
1453
|
+
encoding: UTF-8
|
1454
|
+
string: '{"message":"Unauthorized"}'
|
1455
|
+
recorded_at: Tue, 09 Jul 2024 01:39:28 GMT
|
1456
|
+
- request:
|
1457
|
+
method: post
|
1458
|
+
uri: https://api.deepl.com/v2/glossaries
|
1459
|
+
body:
|
1460
|
+
encoding: UTF-8
|
1461
|
+
string: '{"name":"fixture","source_lang":"EN","target_lang":"ES","entries":"Hello\tHola\n","entries_format":"tsv"}'
|
1462
|
+
headers:
|
1463
|
+
Authorization:
|
1464
|
+
- DeepL-Auth-Key VALID_TOKEN
|
1465
|
+
User-Agent:
|
1466
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
1467
|
+
Content-Type:
|
1468
|
+
- application/json
|
1469
|
+
Accept-Encoding:
|
1470
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1471
|
+
Accept:
|
1472
|
+
- "*/*"
|
1473
|
+
response:
|
1474
|
+
status:
|
1475
|
+
code: 201
|
1476
|
+
message: Created
|
1477
|
+
headers:
|
1478
|
+
Date:
|
1479
|
+
- Tue, 09 Jul 2024 01:44:30 GMT
|
1480
|
+
Content-Type:
|
1481
|
+
- application/json; charset=utf-8
|
1482
|
+
Transfer-Encoding:
|
1483
|
+
- chunked
|
1484
|
+
X-Trace-Id:
|
1485
|
+
- aacd2cf177c04eac8cbaf72b7bb8bb81
|
1486
|
+
Strict-Transport-Security:
|
1487
|
+
- max-age=63072000; includeSubDomains; preload
|
1488
|
+
Server-Timing:
|
1489
|
+
- l7_lb_tls;dur=107, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=134
|
1490
|
+
Access-Control-Expose-Headers:
|
1491
|
+
- Server-Timing, X-Trace-ID
|
1492
|
+
body:
|
1493
|
+
encoding: UTF-8
|
1494
|
+
string: '{"glossary_id":"8daf880c-f9e5-4de5-9711-3e1f9534a0fa","name":"fixture","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2024-07-09T01:44:30.175739Z","entry_count":1}'
|
1495
|
+
recorded_at: Tue, 09 Jul 2024 01:44:30 GMT
|
1496
|
+
- request:
|
1497
|
+
method: delete
|
1498
|
+
uri: https://api.deepl.com/v2/glossaries/8daf880c-f9e5-4de5-9711-3e1f9534a0fa
|
1499
|
+
body:
|
1500
|
+
encoding: UTF-8
|
1501
|
+
string: "{}"
|
1502
|
+
headers:
|
1503
|
+
Authorization:
|
1504
|
+
- DeepL-Auth-Key VALID_TOKEN
|
1505
|
+
User-Agent:
|
1506
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
1507
|
+
Content-Type:
|
1508
|
+
- application/json
|
1509
|
+
Accept-Encoding:
|
1510
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1511
|
+
Accept:
|
1512
|
+
- "*/*"
|
1513
|
+
response:
|
1514
|
+
status:
|
1515
|
+
code: 204
|
1516
|
+
message: No Content
|
1517
|
+
headers:
|
1518
|
+
Date:
|
1519
|
+
- Tue, 09 Jul 2024 01:44:31 GMT
|
1520
|
+
X-Trace-Id:
|
1521
|
+
- 9f7d59c4d11f4f038d00adcba2671cdd
|
1522
|
+
Strict-Transport-Security:
|
1523
|
+
- max-age=63072000; includeSubDomains; preload
|
1524
|
+
Server-Timing:
|
1525
|
+
- l7_lb_tls;dur=112, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=986
|
1526
|
+
Access-Control-Expose-Headers:
|
1527
|
+
- Server-Timing, X-Trace-ID
|
1528
|
+
body:
|
1529
|
+
encoding: UTF-8
|
1530
|
+
string: ''
|
1531
|
+
recorded_at: Tue, 09 Jul 2024 01:44:31 GMT
|
1532
|
+
- request:
|
1533
|
+
method: get
|
1534
|
+
uri: https://api.deepl.com/v2/glossaries
|
1535
|
+
body:
|
1536
|
+
encoding: UTF-8
|
1537
|
+
string: "{}"
|
1538
|
+
headers:
|
1539
|
+
Authorization:
|
1540
|
+
- DeepL-Auth-Key invalid
|
1541
|
+
Content-Type:
|
1542
|
+
- application/json
|
1543
|
+
Accept-Encoding:
|
1544
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1545
|
+
Accept:
|
1546
|
+
- "*/*"
|
1547
|
+
response:
|
1548
|
+
status:
|
1549
|
+
code: 401
|
1550
|
+
message: Unauthorized
|
1551
|
+
headers:
|
1552
|
+
Date:
|
1553
|
+
- Tue, 09 Jul 2024 09:32:28 GMT
|
1554
|
+
Content-Type:
|
1555
|
+
- application/json; charset=utf-8
|
1556
|
+
Transfer-Encoding:
|
1557
|
+
- chunked
|
1558
|
+
X-Trace-Id:
|
1559
|
+
- a4b05362154c4864a945a5eec5cbaae6
|
1560
|
+
Strict-Transport-Security:
|
1561
|
+
- max-age=63072000; includeSubDomains; preload
|
1562
|
+
Server-Timing:
|
1563
|
+
- l7_lb_tls;dur=103, l7_lb_idle;dur=1, l7_lb_receive;dur=0, l7_lb_total;dur=120
|
1564
|
+
Access-Control-Expose-Headers:
|
1565
|
+
- Server-Timing, X-Trace-ID
|
1566
|
+
body:
|
1567
|
+
encoding: UTF-8
|
1568
|
+
string: '{"message":"Unauthorized"}'
|
1569
|
+
recorded_at: Tue, 09 Jul 2024 09:32:28 GMT
|
1570
|
+
- request:
|
1571
|
+
method: get
|
1572
|
+
uri: https://api.deepl.com/v2/glossaries
|
1573
|
+
body:
|
1574
|
+
encoding: UTF-8
|
1575
|
+
string: "{}"
|
1576
|
+
headers:
|
1577
|
+
Authorization:
|
1578
|
+
- DeepL-Auth-Key VALID_TOKEN
|
1579
|
+
Content-Type:
|
1580
|
+
- application/json
|
1581
|
+
Accept-Encoding:
|
1582
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1583
|
+
Accept:
|
1584
|
+
- "*/*"
|
1585
|
+
response:
|
1586
|
+
status:
|
1587
|
+
code: 200
|
1588
|
+
message: OK
|
1589
|
+
headers:
|
1590
|
+
Date:
|
1591
|
+
- Tue, 09 Jul 2024 09:57:48 GMT
|
1592
|
+
Content-Type:
|
1593
|
+
- application/json; charset=utf-8
|
1594
|
+
Transfer-Encoding:
|
1595
|
+
- chunked
|
1596
|
+
Vary:
|
1597
|
+
- Accept-Encoding
|
1598
|
+
X-Trace-Id:
|
1599
|
+
- 315e904c95804eabb456486d0f24992c
|
1600
|
+
X-Cache-Status:
|
1601
|
+
- MISS
|
1602
|
+
Strict-Transport-Security:
|
1603
|
+
- max-age=63072000; includeSubDomains; preload
|
1604
|
+
Server-Timing:
|
1605
|
+
- l7_lb_tls;dur=111, l7_lb_idle;dur=0, l7_lb_receive;dur=0, l7_lb_total;dur=124
|
1606
|
+
Access-Control-Expose-Headers:
|
1607
|
+
- Server-Timing, X-Trace-ID
|
1608
|
+
body:
|
1609
|
+
encoding: ASCII-8BIT
|
1610
|
+
string: '{"glossaries":[{"glossary_id":"6a507253-97bd-4c58-af74-ad44cb9b29bd","name":"TestGlossar","ready":true,"source_lang":"en","target_lang":"ja","creation_time":"2024-03-27T08:47:11.406903Z","entry_count":2},{"glossary_id":"5ed6cb7c-7d55-4fc9-8e6d-a8c88996dab3","name":"TestGlossar","ready":true,"source_lang":"de","target_lang":"en","creation_time":"2024-04-22T11:53:34.461272Z","entry_count":9958},{"glossary_id":"22b9e3f1-df87-471a-b947-8e974194e4df","name":"My
|
1611
|
+
Glossary","ready":true,"source_lang":"en","target_lang":"sv","creation_time":"2024-05-03T13:54:03.920701Z","entry_count":1},{"glossary_id":"9ab5dac2-b7b2-4b4a-808a-e8e305df5ecb","name":"Mi
|
1612
|
+
Glosario","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2024-07-02T15:04:50.832836Z","entry_count":2},{"glossary_id":"e7a62637-7ef4-4959-a355-09ba61dd0126","name":"Mi
|
1613
|
+
Glosario","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2024-07-02T15:04:46.016123Z","entry_count":2}]}'
|
1614
|
+
recorded_at: Tue, 09 Jul 2024 09:57:48 GMT
|
1615
|
+
- request:
|
1616
|
+
method: get
|
1617
|
+
uri: https://api.deepl.com/v2/glossaries
|
1618
|
+
body:
|
1619
|
+
encoding: UTF-8
|
1620
|
+
string: "{}"
|
1621
|
+
headers:
|
1622
|
+
Authorization:
|
1623
|
+
- DeepL-Auth-Key VALID_TOKEN
|
1624
|
+
User-Agent:
|
1625
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
1626
|
+
Content-Type:
|
1627
|
+
- application/json
|
1628
|
+
Accept-Encoding:
|
1629
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1630
|
+
Accept:
|
1631
|
+
- "*/*"
|
1632
|
+
response:
|
1633
|
+
status:
|
1634
|
+
code: 200
|
1635
|
+
message: OK
|
1636
|
+
headers:
|
1637
|
+
Date:
|
1638
|
+
- Tue, 09 Jul 2024 10:04:17 GMT
|
1639
|
+
Content-Type:
|
1640
|
+
- application/json; charset=utf-8
|
1641
|
+
Transfer-Encoding:
|
1642
|
+
- chunked
|
1643
|
+
Vary:
|
1644
|
+
- Accept-Encoding
|
1645
|
+
X-Trace-Id:
|
1646
|
+
- 0a0f2605f2ca4050a454e74bfd37b498
|
1647
|
+
X-Cache-Status:
|
1648
|
+
- MISS
|
1649
|
+
Strict-Transport-Security:
|
1650
|
+
- max-age=63072000; includeSubDomains; preload
|
1651
|
+
Server-Timing:
|
1652
|
+
- l7_lb_tls;dur=62, l7_lb_idle;dur=1, l7_lb_receive;dur=0, l7_lb_total;dur=75
|
1653
|
+
Access-Control-Expose-Headers:
|
1654
|
+
- Server-Timing, X-Trace-ID
|
1655
|
+
body:
|
1656
|
+
encoding: ASCII-8BIT
|
1657
|
+
string: '{"glossaries":[{"glossary_id":"6a507253-97bd-4c58-af74-ad44cb9b29bd","name":"TestGlossar","ready":true,"source_lang":"en","target_lang":"ja","creation_time":"2024-03-27T08:47:11.406903Z","entry_count":2},{"glossary_id":"5ed6cb7c-7d55-4fc9-8e6d-a8c88996dab3","name":"TestGlossar","ready":true,"source_lang":"de","target_lang":"en","creation_time":"2024-04-22T11:53:34.461272Z","entry_count":9958},{"glossary_id":"22b9e3f1-df87-471a-b947-8e974194e4df","name":"My
|
1658
|
+
Glossary","ready":true,"source_lang":"en","target_lang":"sv","creation_time":"2024-05-03T13:54:03.920701Z","entry_count":1},{"glossary_id":"9ab5dac2-b7b2-4b4a-808a-e8e305df5ecb","name":"Mi
|
1659
|
+
Glosario","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2024-07-02T15:04:50.832836Z","entry_count":2},{"glossary_id":"e7a62637-7ef4-4959-a355-09ba61dd0126","name":"Mi
|
1660
|
+
Glosario","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2024-07-02T15:04:46.016123Z","entry_count":2}]}'
|
1661
|
+
recorded_at: Tue, 09 Jul 2024 10:04:17 GMT
|
1662
|
+
- request:
|
1663
|
+
method: get
|
1664
|
+
uri: https://api.deepl.com/v2/glossaries
|
1665
|
+
body:
|
1666
|
+
encoding: UTF-8
|
1667
|
+
string: "{}"
|
1668
|
+
headers:
|
1669
|
+
Authorization:
|
1670
|
+
- DeepL-Auth-Key invalid
|
1671
|
+
User-Agent:
|
1672
|
+
- deepl-ruby/2.5.3 (darwin23) ruby/3.3.3
|
1673
|
+
Content-Type:
|
1674
|
+
- application/json
|
1675
|
+
Accept-Encoding:
|
1676
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1677
|
+
Accept:
|
1678
|
+
- "*/*"
|
1679
|
+
response:
|
1680
|
+
status:
|
1681
|
+
code: 401
|
1682
|
+
message: Unauthorized
|
1683
|
+
headers:
|
1684
|
+
Date:
|
1685
|
+
- Tue, 09 Jul 2024 10:04:23 GMT
|
1686
|
+
Content-Type:
|
1687
|
+
- application/json; charset=utf-8
|
1688
|
+
Transfer-Encoding:
|
1689
|
+
- chunked
|
1690
|
+
X-Trace-Id:
|
1691
|
+
- fb2937f8608b4245976cf5a301177068
|
1692
|
+
Strict-Transport-Security:
|
1693
|
+
- max-age=63072000; includeSubDomains; preload
|
1694
|
+
Server-Timing:
|
1695
|
+
- l7_lb_tls;dur=106, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=112
|
1696
|
+
Access-Control-Expose-Headers:
|
1697
|
+
- Server-Timing, X-Trace-ID
|
1698
|
+
body:
|
1699
|
+
encoding: UTF-8
|
1700
|
+
string: '{"message":"Unauthorized"}'
|
1701
|
+
recorded_at: Tue, 09 Jul 2024 10:04:23 GMT
|
1702
|
+
recorded_with: VCR 6.2.0
|