@apifreaks/openapi-specs 0.4.12 → 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 +599 -9
- package/dist/index.js +599 -9
- package/dist/specs/email-validation/bulk-email-validation.yaml +5 -5
- 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/email-validation/bulk-email-validation.json +5 -5
- package/specs/screenshot/bulk-screenshot.json +255 -0
- package/specs/screenshot/website-screenshot.json +336 -1
|
@@ -108,6 +108,261 @@
|
|
|
108
108
|
}
|
|
109
109
|
]
|
|
110
110
|
}
|
|
111
|
+
},
|
|
112
|
+
"perUrlCaptureErrors": {
|
|
113
|
+
"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.",
|
|
114
|
+
"value": {
|
|
115
|
+
"status": "success",
|
|
116
|
+
"meta_data": {
|
|
117
|
+
"total_urls": 22,
|
|
118
|
+
"successful_urls": 0,
|
|
119
|
+
"failed_urls": 22
|
|
120
|
+
},
|
|
121
|
+
"results": [
|
|
122
|
+
{
|
|
123
|
+
"url": {
|
|
124
|
+
"timestamp": "2026-07-27T10:19:12.100Z",
|
|
125
|
+
"status": 310,
|
|
126
|
+
"error": "too_many_redirects",
|
|
127
|
+
"message": "The target URL redirected too many times (redirect loop), so a final page could not be reached.",
|
|
128
|
+
"path": "/v3/screenshot"
|
|
129
|
+
},
|
|
130
|
+
"status": "fulfilled",
|
|
131
|
+
"error_message": null
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"url": {
|
|
135
|
+
"timestamp": "2026-07-27T10:19:12.200Z",
|
|
136
|
+
"status": 400,
|
|
137
|
+
"error": "url_required",
|
|
138
|
+
"message": "The url parameter is required but was not provided.",
|
|
139
|
+
"path": "/v3/screenshot"
|
|
140
|
+
},
|
|
141
|
+
"status": "fulfilled",
|
|
142
|
+
"error_message": null
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"url": {
|
|
146
|
+
"timestamp": "2026-07-27T10:19:12.300Z",
|
|
147
|
+
"status": 400,
|
|
148
|
+
"error": "invalid_file_type",
|
|
149
|
+
"message": "The file_type value is not a supported output format.",
|
|
150
|
+
"path": "/v3/screenshot"
|
|
151
|
+
},
|
|
152
|
+
"status": "fulfilled",
|
|
153
|
+
"error_message": null
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"url": {
|
|
157
|
+
"timestamp": "2026-07-27T10:19:12.400Z",
|
|
158
|
+
"status": 400,
|
|
159
|
+
"error": "invalid_proxy",
|
|
160
|
+
"message": "The proxy value is malformed or invalid.",
|
|
161
|
+
"path": "/v3/screenshot"
|
|
162
|
+
},
|
|
163
|
+
"status": "fulfilled",
|
|
164
|
+
"error_message": null
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"url": {
|
|
168
|
+
"timestamp": "2026-07-27T10:19:12.500Z",
|
|
169
|
+
"status": 400,
|
|
170
|
+
"error": "Invalid_geolocation_parameter",
|
|
171
|
+
"message": "The latitude or longitude value is outside the allowed range.",
|
|
172
|
+
"path": "/v3/screenshot"
|
|
173
|
+
},
|
|
174
|
+
"status": "fulfilled",
|
|
175
|
+
"error_message": null
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"url": {
|
|
179
|
+
"timestamp": "2026-07-27T10:19:12.600Z",
|
|
180
|
+
"status": 400,
|
|
181
|
+
"error": "invalid_css_url",
|
|
182
|
+
"message": "The css_url value is not a valid URL.",
|
|
183
|
+
"path": "/v3/screenshot"
|
|
184
|
+
},
|
|
185
|
+
"status": "fulfilled",
|
|
186
|
+
"error_message": null
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"url": {
|
|
190
|
+
"timestamp": "2026-07-27T10:19:12.700Z",
|
|
191
|
+
"status": 400,
|
|
192
|
+
"error": "invalid_js_url",
|
|
193
|
+
"message": "The js_url value is not a valid URL.",
|
|
194
|
+
"path": "/v3/screenshot"
|
|
195
|
+
},
|
|
196
|
+
"status": "fulfilled",
|
|
197
|
+
"error_message": null
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"url": {
|
|
201
|
+
"timestamp": "2026-07-27T10:19:12.800Z",
|
|
202
|
+
"status": 400,
|
|
203
|
+
"error": "invalid_js_code",
|
|
204
|
+
"message": "The JavaScript passed in js is invalid and could not be executed.",
|
|
205
|
+
"path": "/v3/screenshot"
|
|
206
|
+
},
|
|
207
|
+
"status": "fulfilled",
|
|
208
|
+
"error_message": null
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"url": {
|
|
212
|
+
"timestamp": "2026-07-27T10:19:12.900Z",
|
|
213
|
+
"status": 400,
|
|
214
|
+
"error": "invalid_clipped_area",
|
|
215
|
+
"message": "The clip[x], clip[y], clip[width] or clip[height] values are invalid.",
|
|
216
|
+
"path": "/v3/screenshot"
|
|
217
|
+
},
|
|
218
|
+
"status": "fulfilled",
|
|
219
|
+
"error_message": null
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"url": {
|
|
223
|
+
"timestamp": "2026-07-27T10:19:13.000Z",
|
|
224
|
+
"status": 400,
|
|
225
|
+
"error": "invalid_input_syntax",
|
|
226
|
+
"message": "A parameter that expects an integer received an invalid value.",
|
|
227
|
+
"path": "/v3/screenshot"
|
|
228
|
+
},
|
|
229
|
+
"status": "fulfilled",
|
|
230
|
+
"error_message": null
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"url": {
|
|
234
|
+
"timestamp": "2026-07-27T10:19:13.100Z",
|
|
235
|
+
"status": 400,
|
|
236
|
+
"error": "ERR_SSL_PROTOCOL_ERROR",
|
|
237
|
+
"message": "A secure connection could not be established because of an SSL certificate problem on the target site.",
|
|
238
|
+
"path": "/v3/screenshot"
|
|
239
|
+
},
|
|
240
|
+
"status": "fulfilled",
|
|
241
|
+
"error_message": null
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"url": {
|
|
245
|
+
"timestamp": "2026-07-27T10:19:13.200Z",
|
|
246
|
+
"status": 400,
|
|
247
|
+
"error": "ERR_SSL_UNRECOGNIZED_NAME_ALERT",
|
|
248
|
+
"message": "The SSL certificate does not match the domain. The site may be down or may have moved.",
|
|
249
|
+
"path": "/v3/screenshot"
|
|
250
|
+
},
|
|
251
|
+
"status": "fulfilled",
|
|
252
|
+
"error_message": null
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"url": {
|
|
256
|
+
"timestamp": "2026-07-27T10:19:13.300Z",
|
|
257
|
+
"status": 400,
|
|
258
|
+
"error": "feature_not_supported",
|
|
259
|
+
"message": "HTML, Markdown or text extraction is not supported.",
|
|
260
|
+
"path": "/v3/screenshot"
|
|
261
|
+
},
|
|
262
|
+
"status": "fulfilled",
|
|
263
|
+
"error_message": null
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"url": {
|
|
267
|
+
"timestamp": "2026-07-27T10:19:13.400Z",
|
|
268
|
+
"status": 400,
|
|
269
|
+
"error": "invalid_scrolling_file_type",
|
|
270
|
+
"message": "PNG, JPG and WEBP are not supported for scrolling capture. Use a video format such as MP4, WEBM or GIF.",
|
|
271
|
+
"path": "/v3/screenshot"
|
|
272
|
+
},
|
|
273
|
+
"status": "fulfilled",
|
|
274
|
+
"error_message": null
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"url": {
|
|
278
|
+
"timestamp": "2026-07-27T10:19:13.500Z",
|
|
279
|
+
"status": 400,
|
|
280
|
+
"error": "request_aborted",
|
|
281
|
+
"message": "The request was aborted before it completed, for example due to a timeout or cancellation.",
|
|
282
|
+
"path": "/v3/screenshot"
|
|
283
|
+
},
|
|
284
|
+
"status": "fulfilled",
|
|
285
|
+
"error_message": null
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"url": {
|
|
289
|
+
"timestamp": "2026-07-27T10:19:20.100Z",
|
|
290
|
+
"status": 407,
|
|
291
|
+
"error": "network_connection_failed",
|
|
292
|
+
"message": "A tunnel connection to the target could not be established. Check the URL and proxy setting.",
|
|
293
|
+
"path": "/v3/screenshot"
|
|
294
|
+
},
|
|
295
|
+
"status": "fulfilled",
|
|
296
|
+
"error_message": null
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"url": {
|
|
300
|
+
"timestamp": "2026-07-27T10:19:20.200Z",
|
|
301
|
+
"status": 407,
|
|
302
|
+
"error": "ERR_TUNNEL_CONNECTION_FAILED",
|
|
303
|
+
"message": "A tunnel to the target failed. Verify the URL and proxy settings.",
|
|
304
|
+
"path": "/v3/screenshot"
|
|
305
|
+
},
|
|
306
|
+
"status": "fulfilled",
|
|
307
|
+
"error_message": null
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"url": {
|
|
311
|
+
"timestamp": "2026-07-27T10:19:30.100Z",
|
|
312
|
+
"status": 444,
|
|
313
|
+
"error": "ERR_CONNECTION_CLOSED",
|
|
314
|
+
"message": "The target site unexpectedly closed the connection.",
|
|
315
|
+
"path": "/v3/screenshot"
|
|
316
|
+
},
|
|
317
|
+
"status": "fulfilled",
|
|
318
|
+
"error_message": null
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"url": {
|
|
322
|
+
"timestamp": "2026-07-27T10:19:30.200Z",
|
|
323
|
+
"status": 444,
|
|
324
|
+
"error": "ERR_EMPTY_RESPONSE",
|
|
325
|
+
"message": "The target server closed the connection without returning any data.",
|
|
326
|
+
"path": "/v3/screenshot"
|
|
327
|
+
},
|
|
328
|
+
"status": "fulfilled",
|
|
329
|
+
"error_message": null
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"url": {
|
|
333
|
+
"timestamp": "2026-07-27T10:19:31.100Z",
|
|
334
|
+
"status": 495,
|
|
335
|
+
"error": "ssl_version_or_cipher_mismatch",
|
|
336
|
+
"message": "The browser and the target website have incompatible SSL/TLS versions or ciphers.",
|
|
337
|
+
"path": "/v3/screenshot"
|
|
338
|
+
},
|
|
339
|
+
"status": "fulfilled",
|
|
340
|
+
"error_message": null
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"url": {
|
|
344
|
+
"timestamp": "2026-07-27T10:19:32.100Z",
|
|
345
|
+
"status": 503,
|
|
346
|
+
"error": "temporary_unavailable",
|
|
347
|
+
"message": "The request could not be completed due to temporary unavailability, such as a closed browser. Retry the request.",
|
|
348
|
+
"path": "/v3/screenshot"
|
|
349
|
+
},
|
|
350
|
+
"status": "fulfilled",
|
|
351
|
+
"error_message": null
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"url": {
|
|
355
|
+
"timestamp": "2026-07-27T10:19:32.200Z",
|
|
356
|
+
"status": 503,
|
|
357
|
+
"error": "ERR_SOCKET_NOT_CONNECTED",
|
|
358
|
+
"message": "The target page may be temporarily down or may have moved permanently.",
|
|
359
|
+
"path": "/v3/screenshot"
|
|
360
|
+
},
|
|
361
|
+
"status": "fulfilled",
|
|
362
|
+
"error_message": null
|
|
363
|
+
}
|
|
364
|
+
]
|
|
365
|
+
}
|
|
111
366
|
}
|
|
112
367
|
}
|
|
113
368
|
}
|
|
@@ -754,8 +754,41 @@
|
|
|
754
754
|
}
|
|
755
755
|
}
|
|
756
756
|
},
|
|
757
|
+
"310": {
|
|
758
|
+
"description": "Too Many Redirects. The target URL redirected too many times for a final page to be reached.",
|
|
759
|
+
"content": {
|
|
760
|
+
"application/json": {
|
|
761
|
+
"examples": {
|
|
762
|
+
"tooManyRedirects": {
|
|
763
|
+
"summary": "Redirect loop",
|
|
764
|
+
"value": {
|
|
765
|
+
"timestamp": "2026-07-27T10:19:12.100Z",
|
|
766
|
+
"status": 310,
|
|
767
|
+
"error": "too_many_redirects",
|
|
768
|
+
"message": "The target URL redirected too many times (redirect loop), so a final page could not be reached.",
|
|
769
|
+
"path": "/v3/screenshot"
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
"schema": {
|
|
774
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
},
|
|
778
|
+
"headers": {
|
|
779
|
+
"X-AF-Credits-Cost": {
|
|
780
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
781
|
+
},
|
|
782
|
+
"X-Concurrent-Threads": {
|
|
783
|
+
"$ref": "#/components/headers/X-Concurrent-Threads"
|
|
784
|
+
},
|
|
785
|
+
"X-Concurrent-Threads-Active": {
|
|
786
|
+
"$ref": "#/components/headers/X-Concurrent-Threads-Active"
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
},
|
|
757
790
|
"400": {
|
|
758
|
-
"description": "Bad Request
|
|
791
|
+
"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.",
|
|
759
792
|
"content": {
|
|
760
793
|
"application/json": {
|
|
761
794
|
"examples": {
|
|
@@ -778,6 +811,189 @@
|
|
|
778
811
|
"status": 400,
|
|
779
812
|
"timestamp": "2026-07-27T10:19:11.922Z"
|
|
780
813
|
}
|
|
814
|
+
},
|
|
815
|
+
"urlRequired": {
|
|
816
|
+
"summary": "url parameter not provided",
|
|
817
|
+
"value": {
|
|
818
|
+
"timestamp": "2026-07-27T10:19:12.200Z",
|
|
819
|
+
"status": 400,
|
|
820
|
+
"error": "url_required",
|
|
821
|
+
"message": "The url parameter is required but was not provided.",
|
|
822
|
+
"path": "/v3/screenshot"
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
"invalidFileType": {
|
|
826
|
+
"summary": "Unsupported file_type value",
|
|
827
|
+
"value": {
|
|
828
|
+
"timestamp": "2026-07-27T10:19:12.300Z",
|
|
829
|
+
"status": 400,
|
|
830
|
+
"error": "invalid_file_type",
|
|
831
|
+
"message": "The file_type value is not a supported output format.",
|
|
832
|
+
"path": "/v3/screenshot"
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
"invalidProxy": {
|
|
836
|
+
"summary": "Malformed proxy value",
|
|
837
|
+
"value": {
|
|
838
|
+
"timestamp": "2026-07-27T10:19:12.400Z",
|
|
839
|
+
"status": 400,
|
|
840
|
+
"error": "invalid_proxy",
|
|
841
|
+
"message": "The proxy value is malformed or invalid.",
|
|
842
|
+
"path": "/v3/screenshot"
|
|
843
|
+
}
|
|
844
|
+
},
|
|
845
|
+
"invalidGeolocationParameter": {
|
|
846
|
+
"summary": "Latitude or longitude out of range",
|
|
847
|
+
"value": {
|
|
848
|
+
"timestamp": "2026-07-27T10:19:12.500Z",
|
|
849
|
+
"status": 400,
|
|
850
|
+
"error": "Invalid_geolocation_parameter",
|
|
851
|
+
"message": "The latitude or longitude value is outside the allowed range.",
|
|
852
|
+
"path": "/v3/screenshot"
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
"invalidCssUrl": {
|
|
856
|
+
"summary": "css_url is not a valid URL",
|
|
857
|
+
"value": {
|
|
858
|
+
"timestamp": "2026-07-27T10:19:12.600Z",
|
|
859
|
+
"status": 400,
|
|
860
|
+
"error": "invalid_css_url",
|
|
861
|
+
"message": "The css_url value is not a valid URL.",
|
|
862
|
+
"path": "/v3/screenshot"
|
|
863
|
+
}
|
|
864
|
+
},
|
|
865
|
+
"invalidJsUrl": {
|
|
866
|
+
"summary": "js_url is not a valid URL",
|
|
867
|
+
"value": {
|
|
868
|
+
"timestamp": "2026-07-27T10:19:12.700Z",
|
|
869
|
+
"status": 400,
|
|
870
|
+
"error": "invalid_js_url",
|
|
871
|
+
"message": "The js_url value is not a valid URL.",
|
|
872
|
+
"path": "/v3/screenshot"
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
"invalidJsCode": {
|
|
876
|
+
"summary": "js code is invalid",
|
|
877
|
+
"value": {
|
|
878
|
+
"timestamp": "2026-07-27T10:19:12.800Z",
|
|
879
|
+
"status": 400,
|
|
880
|
+
"error": "invalid_js_code",
|
|
881
|
+
"message": "The JavaScript passed in js is invalid and could not be executed.",
|
|
882
|
+
"path": "/v3/screenshot"
|
|
883
|
+
}
|
|
884
|
+
},
|
|
885
|
+
"invalidClippedArea": {
|
|
886
|
+
"summary": "Invalid clip dimensions",
|
|
887
|
+
"value": {
|
|
888
|
+
"timestamp": "2026-07-27T10:19:12.900Z",
|
|
889
|
+
"status": 400,
|
|
890
|
+
"error": "invalid_clipped_area",
|
|
891
|
+
"message": "The clip[x], clip[y], clip[width] or clip[height] values are invalid.",
|
|
892
|
+
"path": "/v3/screenshot"
|
|
893
|
+
}
|
|
894
|
+
},
|
|
895
|
+
"invalidInputSyntax": {
|
|
896
|
+
"summary": "Non-integer value for an integer parameter",
|
|
897
|
+
"value": {
|
|
898
|
+
"timestamp": "2026-07-27T10:19:13.000Z",
|
|
899
|
+
"status": 400,
|
|
900
|
+
"error": "invalid_input_syntax",
|
|
901
|
+
"message": "A parameter that expects an integer received an invalid value.",
|
|
902
|
+
"path": "/v3/screenshot"
|
|
903
|
+
}
|
|
904
|
+
},
|
|
905
|
+
"errSslProtocolError": {
|
|
906
|
+
"summary": "SSL certificate problem on the target site",
|
|
907
|
+
"value": {
|
|
908
|
+
"timestamp": "2026-07-27T10:19:13.100Z",
|
|
909
|
+
"status": 400,
|
|
910
|
+
"error": "ERR_SSL_PROTOCOL_ERROR",
|
|
911
|
+
"message": "A secure connection could not be established because of an SSL certificate problem on the target site.",
|
|
912
|
+
"path": "/v3/screenshot"
|
|
913
|
+
}
|
|
914
|
+
},
|
|
915
|
+
"errSslUnrecognizedNameAlert": {
|
|
916
|
+
"summary": "SSL certificate does not match the domain",
|
|
917
|
+
"value": {
|
|
918
|
+
"timestamp": "2026-07-27T10:19:13.200Z",
|
|
919
|
+
"status": 400,
|
|
920
|
+
"error": "ERR_SSL_UNRECOGNIZED_NAME_ALERT",
|
|
921
|
+
"message": "The SSL certificate does not match the domain. The site may be down or may have moved.",
|
|
922
|
+
"path": "/v3/screenshot"
|
|
923
|
+
}
|
|
924
|
+
},
|
|
925
|
+
"featureNotSupported": {
|
|
926
|
+
"summary": "Extraction feature not supported",
|
|
927
|
+
"value": {
|
|
928
|
+
"timestamp": "2026-07-27T10:19:13.300Z",
|
|
929
|
+
"status": 400,
|
|
930
|
+
"error": "feature_not_supported",
|
|
931
|
+
"message": "HTML, Markdown or text extraction is not supported.",
|
|
932
|
+
"path": "/v3/screenshot"
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
"invalidScrollingFileType": {
|
|
936
|
+
"summary": "Unsupported file type for scrolling capture",
|
|
937
|
+
"value": {
|
|
938
|
+
"timestamp": "2026-07-27T10:19:13.400Z",
|
|
939
|
+
"status": 400,
|
|
940
|
+
"error": "invalid_scrolling_file_type",
|
|
941
|
+
"message": "PNG, JPG and WEBP are not supported for scrolling capture. Use a video format such as MP4, WEBM or GIF.",
|
|
942
|
+
"path": "/v3/screenshot"
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
"requestAborted": {
|
|
946
|
+
"summary": "Request aborted before completion",
|
|
947
|
+
"value": {
|
|
948
|
+
"timestamp": "2026-07-27T10:19:13.500Z",
|
|
949
|
+
"status": 400,
|
|
950
|
+
"error": "request_aborted",
|
|
951
|
+
"message": "The request was aborted before it completed, for example due to a timeout or cancellation.",
|
|
952
|
+
"path": "/v3/screenshot"
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
},
|
|
956
|
+
"schema": {
|
|
957
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
"headers": {
|
|
962
|
+
"X-AF-Credits-Cost": {
|
|
963
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
964
|
+
},
|
|
965
|
+
"X-Concurrent-Threads": {
|
|
966
|
+
"$ref": "#/components/headers/X-Concurrent-Threads"
|
|
967
|
+
},
|
|
968
|
+
"X-Concurrent-Threads-Active": {
|
|
969
|
+
"$ref": "#/components/headers/X-Concurrent-Threads-Active"
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
},
|
|
973
|
+
"407": {
|
|
974
|
+
"description": "Proxy Authentication Required. A tunnel connection to the target could not be established.",
|
|
975
|
+
"content": {
|
|
976
|
+
"application/json": {
|
|
977
|
+
"examples": {
|
|
978
|
+
"networkConnectionFailed": {
|
|
979
|
+
"summary": "Tunnel connection could not be established",
|
|
980
|
+
"value": {
|
|
981
|
+
"timestamp": "2026-07-27T10:19:20.100Z",
|
|
982
|
+
"status": 407,
|
|
983
|
+
"error": "network_connection_failed",
|
|
984
|
+
"message": "A tunnel connection to the target could not be established. Check the URL and proxy setting.",
|
|
985
|
+
"path": "/v3/screenshot"
|
|
986
|
+
}
|
|
987
|
+
},
|
|
988
|
+
"errTunnelConnectionFailed": {
|
|
989
|
+
"summary": "Tunnel connection failed",
|
|
990
|
+
"value": {
|
|
991
|
+
"timestamp": "2026-07-27T10:19:20.200Z",
|
|
992
|
+
"status": 407,
|
|
993
|
+
"error": "ERR_TUNNEL_CONNECTION_FAILED",
|
|
994
|
+
"message": "A tunnel to the target failed. Verify the URL and proxy settings.",
|
|
995
|
+
"path": "/v3/screenshot"
|
|
996
|
+
}
|
|
781
997
|
}
|
|
782
998
|
},
|
|
783
999
|
"schema": {
|
|
@@ -829,6 +1045,125 @@
|
|
|
829
1045
|
"$ref": "#/components/headers/X-Concurrent-Threads-Active"
|
|
830
1046
|
}
|
|
831
1047
|
}
|
|
1048
|
+
},
|
|
1049
|
+
"444": {
|
|
1050
|
+
"description": "Connection Closed Without Response. The target site closed the connection unexpectedly or returned no data.",
|
|
1051
|
+
"content": {
|
|
1052
|
+
"application/json": {
|
|
1053
|
+
"examples": {
|
|
1054
|
+
"errConnectionClosed": {
|
|
1055
|
+
"summary": "Target site closed the connection",
|
|
1056
|
+
"value": {
|
|
1057
|
+
"timestamp": "2026-07-27T10:19:30.100Z",
|
|
1058
|
+
"status": 444,
|
|
1059
|
+
"error": "ERR_CONNECTION_CLOSED",
|
|
1060
|
+
"message": "The target site unexpectedly closed the connection.",
|
|
1061
|
+
"path": "/v3/screenshot"
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
"errEmptyResponse": {
|
|
1065
|
+
"summary": "Target server returned no data",
|
|
1066
|
+
"value": {
|
|
1067
|
+
"timestamp": "2026-07-27T10:19:30.200Z",
|
|
1068
|
+
"status": 444,
|
|
1069
|
+
"error": "ERR_EMPTY_RESPONSE",
|
|
1070
|
+
"message": "The target server closed the connection without returning any data.",
|
|
1071
|
+
"path": "/v3/screenshot"
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
"schema": {
|
|
1076
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
},
|
|
1080
|
+
"headers": {
|
|
1081
|
+
"X-AF-Credits-Cost": {
|
|
1082
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
1083
|
+
},
|
|
1084
|
+
"X-Concurrent-Threads": {
|
|
1085
|
+
"$ref": "#/components/headers/X-Concurrent-Threads"
|
|
1086
|
+
},
|
|
1087
|
+
"X-Concurrent-Threads-Active": {
|
|
1088
|
+
"$ref": "#/components/headers/X-Concurrent-Threads-Active"
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
},
|
|
1092
|
+
"495": {
|
|
1093
|
+
"description": "SSL Certificate Error. The browser and the target website have incompatible SSL/TLS versions or ciphers.",
|
|
1094
|
+
"content": {
|
|
1095
|
+
"application/json": {
|
|
1096
|
+
"examples": {
|
|
1097
|
+
"sslVersionOrCipherMismatch": {
|
|
1098
|
+
"summary": "Incompatible SSL/TLS version or cipher",
|
|
1099
|
+
"value": {
|
|
1100
|
+
"timestamp": "2026-07-27T10:19:31.100Z",
|
|
1101
|
+
"status": 495,
|
|
1102
|
+
"error": "ssl_version_or_cipher_mismatch",
|
|
1103
|
+
"message": "The browser and the target website have incompatible SSL/TLS versions or ciphers.",
|
|
1104
|
+
"path": "/v3/screenshot"
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
},
|
|
1108
|
+
"schema": {
|
|
1109
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
},
|
|
1113
|
+
"headers": {
|
|
1114
|
+
"X-AF-Credits-Cost": {
|
|
1115
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
1116
|
+
},
|
|
1117
|
+
"X-Concurrent-Threads": {
|
|
1118
|
+
"$ref": "#/components/headers/X-Concurrent-Threads"
|
|
1119
|
+
},
|
|
1120
|
+
"X-Concurrent-Threads-Active": {
|
|
1121
|
+
"$ref": "#/components/headers/X-Concurrent-Threads-Active"
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1125
|
+
"503": {
|
|
1126
|
+
"description": "Service Unavailable. The request could not be completed due to temporary unavailability on the target or capture service.",
|
|
1127
|
+
"content": {
|
|
1128
|
+
"application/json": {
|
|
1129
|
+
"examples": {
|
|
1130
|
+
"temporaryUnavailable": {
|
|
1131
|
+
"summary": "Temporarily unavailable, retry the request",
|
|
1132
|
+
"value": {
|
|
1133
|
+
"timestamp": "2026-07-27T10:19:32.100Z",
|
|
1134
|
+
"status": 503,
|
|
1135
|
+
"error": "temporary_unavailable",
|
|
1136
|
+
"message": "The request could not be completed due to temporary unavailability, such as a closed browser. Retry the request.",
|
|
1137
|
+
"path": "/v3/screenshot"
|
|
1138
|
+
}
|
|
1139
|
+
},
|
|
1140
|
+
"errSocketNotConnected": {
|
|
1141
|
+
"summary": "Target page may be down or moved",
|
|
1142
|
+
"value": {
|
|
1143
|
+
"timestamp": "2026-07-27T10:19:32.200Z",
|
|
1144
|
+
"status": 503,
|
|
1145
|
+
"error": "ERR_SOCKET_NOT_CONNECTED",
|
|
1146
|
+
"message": "The target page may be temporarily down or may have moved permanently.",
|
|
1147
|
+
"path": "/v3/screenshot"
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
"schema": {
|
|
1152
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
},
|
|
1156
|
+
"headers": {
|
|
1157
|
+
"X-AF-Credits-Cost": {
|
|
1158
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
1159
|
+
},
|
|
1160
|
+
"X-Concurrent-Threads": {
|
|
1161
|
+
"$ref": "#/components/headers/X-Concurrent-Threads"
|
|
1162
|
+
},
|
|
1163
|
+
"X-Concurrent-Threads-Active": {
|
|
1164
|
+
"$ref": "#/components/headers/X-Concurrent-Threads-Active"
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
832
1167
|
}
|
|
833
1168
|
}
|
|
834
1169
|
}
|