@apifreaks/openapi-specs 0.4.13 → 0.4.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +593 -3
- package/dist/index.js +593 -3
- package/dist/specs/screenshot/bulk-screenshot.yaml +185 -0
- package/dist/specs/screenshot/website-screenshot.yaml +247 -1
- package/package.json +1 -1
- package/specs/screenshot/bulk-screenshot.json +255 -0
- package/specs/screenshot/website-screenshot.json +336 -1
|
@@ -80,6 +80,191 @@ paths:
|
|
|
80
80
|
path: /v3/screenshot
|
|
81
81
|
status: fulfilled
|
|
82
82
|
error_message: null
|
|
83
|
+
perUrlCaptureErrors:
|
|
84
|
+
summary: Each URL in the batch fails with a different per-URL capture error. The same error codes the single Website Screenshot API can return for a target URL show up here inside each item's `url` field, while the overall response stays 200/success.
|
|
85
|
+
value:
|
|
86
|
+
status: success
|
|
87
|
+
meta_data:
|
|
88
|
+
total_urls: 22
|
|
89
|
+
successful_urls: 0
|
|
90
|
+
failed_urls: 22
|
|
91
|
+
results:
|
|
92
|
+
- url:
|
|
93
|
+
timestamp: '2026-07-27T10:19:12.100Z'
|
|
94
|
+
status: 310
|
|
95
|
+
error: too_many_redirects
|
|
96
|
+
message: The target URL redirected too many times (redirect loop), so a final page could not be reached.
|
|
97
|
+
path: /v3/screenshot
|
|
98
|
+
status: fulfilled
|
|
99
|
+
error_message: null
|
|
100
|
+
- url:
|
|
101
|
+
timestamp: '2026-07-27T10:19:12.200Z'
|
|
102
|
+
status: 400
|
|
103
|
+
error: url_required
|
|
104
|
+
message: The url parameter is required but was not provided.
|
|
105
|
+
path: /v3/screenshot
|
|
106
|
+
status: fulfilled
|
|
107
|
+
error_message: null
|
|
108
|
+
- url:
|
|
109
|
+
timestamp: '2026-07-27T10:19:12.300Z'
|
|
110
|
+
status: 400
|
|
111
|
+
error: invalid_file_type
|
|
112
|
+
message: The file_type value is not a supported output format.
|
|
113
|
+
path: /v3/screenshot
|
|
114
|
+
status: fulfilled
|
|
115
|
+
error_message: null
|
|
116
|
+
- url:
|
|
117
|
+
timestamp: '2026-07-27T10:19:12.400Z'
|
|
118
|
+
status: 400
|
|
119
|
+
error: invalid_proxy
|
|
120
|
+
message: The proxy value is malformed or invalid.
|
|
121
|
+
path: /v3/screenshot
|
|
122
|
+
status: fulfilled
|
|
123
|
+
error_message: null
|
|
124
|
+
- url:
|
|
125
|
+
timestamp: '2026-07-27T10:19:12.500Z'
|
|
126
|
+
status: 400
|
|
127
|
+
error: Invalid_geolocation_parameter
|
|
128
|
+
message: The latitude or longitude value is outside the allowed range.
|
|
129
|
+
path: /v3/screenshot
|
|
130
|
+
status: fulfilled
|
|
131
|
+
error_message: null
|
|
132
|
+
- url:
|
|
133
|
+
timestamp: '2026-07-27T10:19:12.600Z'
|
|
134
|
+
status: 400
|
|
135
|
+
error: invalid_css_url
|
|
136
|
+
message: The css_url value is not a valid URL.
|
|
137
|
+
path: /v3/screenshot
|
|
138
|
+
status: fulfilled
|
|
139
|
+
error_message: null
|
|
140
|
+
- url:
|
|
141
|
+
timestamp: '2026-07-27T10:19:12.700Z'
|
|
142
|
+
status: 400
|
|
143
|
+
error: invalid_js_url
|
|
144
|
+
message: The js_url value is not a valid URL.
|
|
145
|
+
path: /v3/screenshot
|
|
146
|
+
status: fulfilled
|
|
147
|
+
error_message: null
|
|
148
|
+
- url:
|
|
149
|
+
timestamp: '2026-07-27T10:19:12.800Z'
|
|
150
|
+
status: 400
|
|
151
|
+
error: invalid_js_code
|
|
152
|
+
message: The JavaScript passed in js is invalid and could not be executed.
|
|
153
|
+
path: /v3/screenshot
|
|
154
|
+
status: fulfilled
|
|
155
|
+
error_message: null
|
|
156
|
+
- url:
|
|
157
|
+
timestamp: '2026-07-27T10:19:12.900Z'
|
|
158
|
+
status: 400
|
|
159
|
+
error: invalid_clipped_area
|
|
160
|
+
message: The clip[x], clip[y], clip[width] or clip[height] values are invalid.
|
|
161
|
+
path: /v3/screenshot
|
|
162
|
+
status: fulfilled
|
|
163
|
+
error_message: null
|
|
164
|
+
- url:
|
|
165
|
+
timestamp: '2026-07-27T10:19:13.000Z'
|
|
166
|
+
status: 400
|
|
167
|
+
error: invalid_input_syntax
|
|
168
|
+
message: A parameter that expects an integer received an invalid value.
|
|
169
|
+
path: /v3/screenshot
|
|
170
|
+
status: fulfilled
|
|
171
|
+
error_message: null
|
|
172
|
+
- url:
|
|
173
|
+
timestamp: '2026-07-27T10:19:13.100Z'
|
|
174
|
+
status: 400
|
|
175
|
+
error: ERR_SSL_PROTOCOL_ERROR
|
|
176
|
+
message: A secure connection could not be established because of an SSL certificate problem on the target site.
|
|
177
|
+
path: /v3/screenshot
|
|
178
|
+
status: fulfilled
|
|
179
|
+
error_message: null
|
|
180
|
+
- url:
|
|
181
|
+
timestamp: '2026-07-27T10:19:13.200Z'
|
|
182
|
+
status: 400
|
|
183
|
+
error: ERR_SSL_UNRECOGNIZED_NAME_ALERT
|
|
184
|
+
message: The SSL certificate does not match the domain. The site may be down or may have moved.
|
|
185
|
+
path: /v3/screenshot
|
|
186
|
+
status: fulfilled
|
|
187
|
+
error_message: null
|
|
188
|
+
- url:
|
|
189
|
+
timestamp: '2026-07-27T10:19:13.300Z'
|
|
190
|
+
status: 400
|
|
191
|
+
error: feature_not_supported
|
|
192
|
+
message: HTML, Markdown or text extraction is not supported.
|
|
193
|
+
path: /v3/screenshot
|
|
194
|
+
status: fulfilled
|
|
195
|
+
error_message: null
|
|
196
|
+
- url:
|
|
197
|
+
timestamp: '2026-07-27T10:19:13.400Z'
|
|
198
|
+
status: 400
|
|
199
|
+
error: invalid_scrolling_file_type
|
|
200
|
+
message: PNG, JPG and WEBP are not supported for scrolling capture. Use a video format such as MP4, WEBM or GIF.
|
|
201
|
+
path: /v3/screenshot
|
|
202
|
+
status: fulfilled
|
|
203
|
+
error_message: null
|
|
204
|
+
- url:
|
|
205
|
+
timestamp: '2026-07-27T10:19:13.500Z'
|
|
206
|
+
status: 400
|
|
207
|
+
error: request_aborted
|
|
208
|
+
message: The request was aborted before it completed, for example due to a timeout or cancellation.
|
|
209
|
+
path: /v3/screenshot
|
|
210
|
+
status: fulfilled
|
|
211
|
+
error_message: null
|
|
212
|
+
- url:
|
|
213
|
+
timestamp: '2026-07-27T10:19:20.100Z'
|
|
214
|
+
status: 407
|
|
215
|
+
error: network_connection_failed
|
|
216
|
+
message: A tunnel connection to the target could not be established. Check the URL and proxy setting.
|
|
217
|
+
path: /v3/screenshot
|
|
218
|
+
status: fulfilled
|
|
219
|
+
error_message: null
|
|
220
|
+
- url:
|
|
221
|
+
timestamp: '2026-07-27T10:19:20.200Z'
|
|
222
|
+
status: 407
|
|
223
|
+
error: ERR_TUNNEL_CONNECTION_FAILED
|
|
224
|
+
message: A tunnel to the target failed. Verify the URL and proxy settings.
|
|
225
|
+
path: /v3/screenshot
|
|
226
|
+
status: fulfilled
|
|
227
|
+
error_message: null
|
|
228
|
+
- url:
|
|
229
|
+
timestamp: '2026-07-27T10:19:30.100Z'
|
|
230
|
+
status: 444
|
|
231
|
+
error: ERR_CONNECTION_CLOSED
|
|
232
|
+
message: The target site unexpectedly closed the connection.
|
|
233
|
+
path: /v3/screenshot
|
|
234
|
+
status: fulfilled
|
|
235
|
+
error_message: null
|
|
236
|
+
- url:
|
|
237
|
+
timestamp: '2026-07-27T10:19:30.200Z'
|
|
238
|
+
status: 444
|
|
239
|
+
error: ERR_EMPTY_RESPONSE
|
|
240
|
+
message: The target server closed the connection without returning any data.
|
|
241
|
+
path: /v3/screenshot
|
|
242
|
+
status: fulfilled
|
|
243
|
+
error_message: null
|
|
244
|
+
- url:
|
|
245
|
+
timestamp: '2026-07-27T10:19:31.100Z'
|
|
246
|
+
status: 495
|
|
247
|
+
error: ssl_version_or_cipher_mismatch
|
|
248
|
+
message: The browser and the target website have incompatible SSL/TLS versions or ciphers.
|
|
249
|
+
path: /v3/screenshot
|
|
250
|
+
status: fulfilled
|
|
251
|
+
error_message: null
|
|
252
|
+
- url:
|
|
253
|
+
timestamp: '2026-07-27T10:19:32.100Z'
|
|
254
|
+
status: 503
|
|
255
|
+
error: temporary_unavailable
|
|
256
|
+
message: The request could not be completed due to temporary unavailability, such as a closed browser. Retry the request.
|
|
257
|
+
path: /v3/screenshot
|
|
258
|
+
status: fulfilled
|
|
259
|
+
error_message: null
|
|
260
|
+
- url:
|
|
261
|
+
timestamp: '2026-07-27T10:19:32.200Z'
|
|
262
|
+
status: 503
|
|
263
|
+
error: ERR_SOCKET_NOT_CONNECTED
|
|
264
|
+
message: The target page may be temporarily down or may have moved permanently.
|
|
265
|
+
path: /v3/screenshot
|
|
266
|
+
status: fulfilled
|
|
267
|
+
error_message: null
|
|
83
268
|
headers:
|
|
84
269
|
X-AF-Credits-Cost:
|
|
85
270
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
@@ -528,8 +528,30 @@ paths:
|
|
|
528
528
|
$ref: '#/components/headers/X-Concurrent-Threads'
|
|
529
529
|
X-Concurrent-Threads-Active:
|
|
530
530
|
$ref: '#/components/headers/X-Concurrent-Threads-Active'
|
|
531
|
+
'310':
|
|
532
|
+
description: Too Many Redirects. The target URL redirected too many times for a final page to be reached.
|
|
533
|
+
content:
|
|
534
|
+
application/json:
|
|
535
|
+
examples:
|
|
536
|
+
tooManyRedirects:
|
|
537
|
+
summary: Redirect loop
|
|
538
|
+
value:
|
|
539
|
+
timestamp: '2026-07-27T10:19:12.100Z'
|
|
540
|
+
status: 310
|
|
541
|
+
error: too_many_redirects
|
|
542
|
+
message: The target URL redirected too many times (redirect loop), so a final page could not be reached.
|
|
543
|
+
path: /v3/screenshot
|
|
544
|
+
schema:
|
|
545
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
546
|
+
headers:
|
|
547
|
+
X-AF-Credits-Cost:
|
|
548
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
549
|
+
X-Concurrent-Threads:
|
|
550
|
+
$ref: '#/components/headers/X-Concurrent-Threads'
|
|
551
|
+
X-Concurrent-Threads-Active:
|
|
552
|
+
$ref: '#/components/headers/X-Concurrent-Threads-Active'
|
|
531
553
|
'400':
|
|
532
|
-
description: Bad Request
|
|
554
|
+
description: Bad Request. Missing, invalid, or malformed request parameters, SSL certificate problems on the target site, unsupported output or extraction options, or a request that was aborted before completion.
|
|
533
555
|
content:
|
|
534
556
|
application/json:
|
|
535
557
|
examples:
|
|
@@ -549,6 +571,148 @@ paths:
|
|
|
549
571
|
path: /v1.0/screenshot
|
|
550
572
|
status: 400
|
|
551
573
|
timestamp: '2026-07-27T10:19:11.922Z'
|
|
574
|
+
urlRequired:
|
|
575
|
+
summary: url parameter not provided
|
|
576
|
+
value:
|
|
577
|
+
timestamp: '2026-07-27T10:19:12.200Z'
|
|
578
|
+
status: 400
|
|
579
|
+
error: url_required
|
|
580
|
+
message: The url parameter is required but was not provided.
|
|
581
|
+
path: /v3/screenshot
|
|
582
|
+
invalidFileType:
|
|
583
|
+
summary: Unsupported file_type value
|
|
584
|
+
value:
|
|
585
|
+
timestamp: '2026-07-27T10:19:12.300Z'
|
|
586
|
+
status: 400
|
|
587
|
+
error: invalid_file_type
|
|
588
|
+
message: The file_type value is not a supported output format.
|
|
589
|
+
path: /v3/screenshot
|
|
590
|
+
invalidProxy:
|
|
591
|
+
summary: Malformed proxy value
|
|
592
|
+
value:
|
|
593
|
+
timestamp: '2026-07-27T10:19:12.400Z'
|
|
594
|
+
status: 400
|
|
595
|
+
error: invalid_proxy
|
|
596
|
+
message: The proxy value is malformed or invalid.
|
|
597
|
+
path: /v3/screenshot
|
|
598
|
+
invalidGeolocationParameter:
|
|
599
|
+
summary: Latitude or longitude out of range
|
|
600
|
+
value:
|
|
601
|
+
timestamp: '2026-07-27T10:19:12.500Z'
|
|
602
|
+
status: 400
|
|
603
|
+
error: Invalid_geolocation_parameter
|
|
604
|
+
message: The latitude or longitude value is outside the allowed range.
|
|
605
|
+
path: /v3/screenshot
|
|
606
|
+
invalidCssUrl:
|
|
607
|
+
summary: css_url is not a valid URL
|
|
608
|
+
value:
|
|
609
|
+
timestamp: '2026-07-27T10:19:12.600Z'
|
|
610
|
+
status: 400
|
|
611
|
+
error: invalid_css_url
|
|
612
|
+
message: The css_url value is not a valid URL.
|
|
613
|
+
path: /v3/screenshot
|
|
614
|
+
invalidJsUrl:
|
|
615
|
+
summary: js_url is not a valid URL
|
|
616
|
+
value:
|
|
617
|
+
timestamp: '2026-07-27T10:19:12.700Z'
|
|
618
|
+
status: 400
|
|
619
|
+
error: invalid_js_url
|
|
620
|
+
message: The js_url value is not a valid URL.
|
|
621
|
+
path: /v3/screenshot
|
|
622
|
+
invalidJsCode:
|
|
623
|
+
summary: js code is invalid
|
|
624
|
+
value:
|
|
625
|
+
timestamp: '2026-07-27T10:19:12.800Z'
|
|
626
|
+
status: 400
|
|
627
|
+
error: invalid_js_code
|
|
628
|
+
message: The JavaScript passed in js is invalid and could not be executed.
|
|
629
|
+
path: /v3/screenshot
|
|
630
|
+
invalidClippedArea:
|
|
631
|
+
summary: Invalid clip dimensions
|
|
632
|
+
value:
|
|
633
|
+
timestamp: '2026-07-27T10:19:12.900Z'
|
|
634
|
+
status: 400
|
|
635
|
+
error: invalid_clipped_area
|
|
636
|
+
message: The clip[x], clip[y], clip[width] or clip[height] values are invalid.
|
|
637
|
+
path: /v3/screenshot
|
|
638
|
+
invalidInputSyntax:
|
|
639
|
+
summary: Non-integer value for an integer parameter
|
|
640
|
+
value:
|
|
641
|
+
timestamp: '2026-07-27T10:19:13.000Z'
|
|
642
|
+
status: 400
|
|
643
|
+
error: invalid_input_syntax
|
|
644
|
+
message: A parameter that expects an integer received an invalid value.
|
|
645
|
+
path: /v3/screenshot
|
|
646
|
+
errSslProtocolError:
|
|
647
|
+
summary: SSL certificate problem on the target site
|
|
648
|
+
value:
|
|
649
|
+
timestamp: '2026-07-27T10:19:13.100Z'
|
|
650
|
+
status: 400
|
|
651
|
+
error: ERR_SSL_PROTOCOL_ERROR
|
|
652
|
+
message: A secure connection could not be established because of an SSL certificate problem on the target site.
|
|
653
|
+
path: /v3/screenshot
|
|
654
|
+
errSslUnrecognizedNameAlert:
|
|
655
|
+
summary: SSL certificate does not match the domain
|
|
656
|
+
value:
|
|
657
|
+
timestamp: '2026-07-27T10:19:13.200Z'
|
|
658
|
+
status: 400
|
|
659
|
+
error: ERR_SSL_UNRECOGNIZED_NAME_ALERT
|
|
660
|
+
message: The SSL certificate does not match the domain. The site may be down or may have moved.
|
|
661
|
+
path: /v3/screenshot
|
|
662
|
+
featureNotSupported:
|
|
663
|
+
summary: Extraction feature not supported
|
|
664
|
+
value:
|
|
665
|
+
timestamp: '2026-07-27T10:19:13.300Z'
|
|
666
|
+
status: 400
|
|
667
|
+
error: feature_not_supported
|
|
668
|
+
message: HTML, Markdown or text extraction is not supported.
|
|
669
|
+
path: /v3/screenshot
|
|
670
|
+
invalidScrollingFileType:
|
|
671
|
+
summary: Unsupported file type for scrolling capture
|
|
672
|
+
value:
|
|
673
|
+
timestamp: '2026-07-27T10:19:13.400Z'
|
|
674
|
+
status: 400
|
|
675
|
+
error: invalid_scrolling_file_type
|
|
676
|
+
message: PNG, JPG and WEBP are not supported for scrolling capture. Use a video format such as MP4, WEBM or GIF.
|
|
677
|
+
path: /v3/screenshot
|
|
678
|
+
requestAborted:
|
|
679
|
+
summary: Request aborted before completion
|
|
680
|
+
value:
|
|
681
|
+
timestamp: '2026-07-27T10:19:13.500Z'
|
|
682
|
+
status: 400
|
|
683
|
+
error: request_aborted
|
|
684
|
+
message: The request was aborted before it completed, for example due to a timeout or cancellation.
|
|
685
|
+
path: /v3/screenshot
|
|
686
|
+
schema:
|
|
687
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
688
|
+
headers:
|
|
689
|
+
X-AF-Credits-Cost:
|
|
690
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
691
|
+
X-Concurrent-Threads:
|
|
692
|
+
$ref: '#/components/headers/X-Concurrent-Threads'
|
|
693
|
+
X-Concurrent-Threads-Active:
|
|
694
|
+
$ref: '#/components/headers/X-Concurrent-Threads-Active'
|
|
695
|
+
'407':
|
|
696
|
+
description: Proxy Authentication Required. A tunnel connection to the target could not be established.
|
|
697
|
+
content:
|
|
698
|
+
application/json:
|
|
699
|
+
examples:
|
|
700
|
+
networkConnectionFailed:
|
|
701
|
+
summary: Tunnel connection could not be established
|
|
702
|
+
value:
|
|
703
|
+
timestamp: '2026-07-27T10:19:20.100Z'
|
|
704
|
+
status: 407
|
|
705
|
+
error: network_connection_failed
|
|
706
|
+
message: A tunnel connection to the target could not be established. Check the URL and proxy setting.
|
|
707
|
+
path: /v3/screenshot
|
|
708
|
+
errTunnelConnectionFailed:
|
|
709
|
+
summary: Tunnel connection failed
|
|
710
|
+
value:
|
|
711
|
+
timestamp: '2026-07-27T10:19:20.200Z'
|
|
712
|
+
status: 407
|
|
713
|
+
error: ERR_TUNNEL_CONNECTION_FAILED
|
|
714
|
+
message: A tunnel to the target failed. Verify the URL and proxy settings.
|
|
715
|
+
path: /v3/screenshot
|
|
552
716
|
schema:
|
|
553
717
|
$ref: '#/components/schemas/ErrorResponse'
|
|
554
718
|
headers:
|
|
@@ -580,6 +744,88 @@ paths:
|
|
|
580
744
|
$ref: '#/components/headers/X-Concurrent-Threads'
|
|
581
745
|
X-Concurrent-Threads-Active:
|
|
582
746
|
$ref: '#/components/headers/X-Concurrent-Threads-Active'
|
|
747
|
+
'444':
|
|
748
|
+
description: Connection Closed Without Response. The target site closed the connection unexpectedly or returned no data.
|
|
749
|
+
content:
|
|
750
|
+
application/json:
|
|
751
|
+
examples:
|
|
752
|
+
errConnectionClosed:
|
|
753
|
+
summary: Target site closed the connection
|
|
754
|
+
value:
|
|
755
|
+
timestamp: '2026-07-27T10:19:30.100Z'
|
|
756
|
+
status: 444
|
|
757
|
+
error: ERR_CONNECTION_CLOSED
|
|
758
|
+
message: The target site unexpectedly closed the connection.
|
|
759
|
+
path: /v3/screenshot
|
|
760
|
+
errEmptyResponse:
|
|
761
|
+
summary: Target server returned no data
|
|
762
|
+
value:
|
|
763
|
+
timestamp: '2026-07-27T10:19:30.200Z'
|
|
764
|
+
status: 444
|
|
765
|
+
error: ERR_EMPTY_RESPONSE
|
|
766
|
+
message: The target server closed the connection without returning any data.
|
|
767
|
+
path: /v3/screenshot
|
|
768
|
+
schema:
|
|
769
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
770
|
+
headers:
|
|
771
|
+
X-AF-Credits-Cost:
|
|
772
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
773
|
+
X-Concurrent-Threads:
|
|
774
|
+
$ref: '#/components/headers/X-Concurrent-Threads'
|
|
775
|
+
X-Concurrent-Threads-Active:
|
|
776
|
+
$ref: '#/components/headers/X-Concurrent-Threads-Active'
|
|
777
|
+
'495':
|
|
778
|
+
description: SSL Certificate Error. The browser and the target website have incompatible SSL/TLS versions or ciphers.
|
|
779
|
+
content:
|
|
780
|
+
application/json:
|
|
781
|
+
examples:
|
|
782
|
+
sslVersionOrCipherMismatch:
|
|
783
|
+
summary: Incompatible SSL/TLS version or cipher
|
|
784
|
+
value:
|
|
785
|
+
timestamp: '2026-07-27T10:19:31.100Z'
|
|
786
|
+
status: 495
|
|
787
|
+
error: ssl_version_or_cipher_mismatch
|
|
788
|
+
message: The browser and the target website have incompatible SSL/TLS versions or ciphers.
|
|
789
|
+
path: /v3/screenshot
|
|
790
|
+
schema:
|
|
791
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
792
|
+
headers:
|
|
793
|
+
X-AF-Credits-Cost:
|
|
794
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
795
|
+
X-Concurrent-Threads:
|
|
796
|
+
$ref: '#/components/headers/X-Concurrent-Threads'
|
|
797
|
+
X-Concurrent-Threads-Active:
|
|
798
|
+
$ref: '#/components/headers/X-Concurrent-Threads-Active'
|
|
799
|
+
'503':
|
|
800
|
+
description: Service Unavailable. The request could not be completed due to temporary unavailability on the target or capture service.
|
|
801
|
+
content:
|
|
802
|
+
application/json:
|
|
803
|
+
examples:
|
|
804
|
+
temporaryUnavailable:
|
|
805
|
+
summary: Temporarily unavailable, retry the request
|
|
806
|
+
value:
|
|
807
|
+
timestamp: '2026-07-27T10:19:32.100Z'
|
|
808
|
+
status: 503
|
|
809
|
+
error: temporary_unavailable
|
|
810
|
+
message: The request could not be completed due to temporary unavailability, such as a closed browser. Retry the request.
|
|
811
|
+
path: /v3/screenshot
|
|
812
|
+
errSocketNotConnected:
|
|
813
|
+
summary: Target page may be down or moved
|
|
814
|
+
value:
|
|
815
|
+
timestamp: '2026-07-27T10:19:32.200Z'
|
|
816
|
+
status: 503
|
|
817
|
+
error: ERR_SOCKET_NOT_CONNECTED
|
|
818
|
+
message: The target page may be temporarily down or may have moved permanently.
|
|
819
|
+
path: /v3/screenshot
|
|
820
|
+
schema:
|
|
821
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
822
|
+
headers:
|
|
823
|
+
X-AF-Credits-Cost:
|
|
824
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
825
|
+
X-Concurrent-Threads:
|
|
826
|
+
$ref: '#/components/headers/X-Concurrent-Threads'
|
|
827
|
+
X-Concurrent-Threads-Active:
|
|
828
|
+
$ref: '#/components/headers/X-Concurrent-Threads-Active'
|
|
583
829
|
components:
|
|
584
830
|
securitySchemes:
|
|
585
831
|
ApiKeyAuthHeader:
|