@apifreaks/openapi-specs 0.4.21 → 0.4.23

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.
Files changed (39) hide show
  1. package/dist/index.cjs +399 -325
  2. package/dist/index.js +399 -325
  3. package/dist/specs/dns/dns-lookup.yaml +4 -4
  4. package/dist/specs/pdf/delete-pdf-page.yaml +12 -4
  5. package/dist/specs/pdf/linearize-pdf.yaml +11 -3
  6. package/dist/specs/pdf/merge-pdf.yaml +11 -3
  7. package/dist/specs/pdf/pdf-compress.yaml +12 -4
  8. package/dist/specs/pdf/pdf-decrypt.yaml +13 -5
  9. package/dist/specs/pdf/pdf-encrypt.yaml +11 -3
  10. package/dist/specs/pdf/pdf-extract-pages.yaml +11 -3
  11. package/dist/specs/pdf/pdf-resource-upload-binary.yaml +1 -1
  12. package/dist/specs/pdf/pdf-resource-upload.yaml +3 -3
  13. package/dist/specs/pdf/pdf-restrict.yaml +13 -5
  14. package/dist/specs/pdf/pdf-to-image.yaml +130 -0
  15. package/dist/specs/pdf/pdf-unrestrict.yaml +13 -5
  16. package/dist/specs/pdf/rotate-pdf-pages.yaml +11 -3
  17. package/dist/specs/pdf/split-pdf.yaml +11 -3
  18. package/dist/specs/screenshot/bulk-screenshot.yaml +11 -10
  19. package/dist/specs/screenshot/website-screenshot.yaml +11 -10
  20. package/dist/specs/whois/whois-ip-lookup.yaml +0 -243
  21. package/package.json +1 -1
  22. package/specs/dns/dns-lookup.json +4 -4
  23. package/specs/pdf/delete-pdf-page.json +14 -4
  24. package/specs/pdf/linearize-pdf.json +13 -3
  25. package/specs/pdf/merge-pdf.json +13 -3
  26. package/specs/pdf/pdf-compress.json +14 -4
  27. package/specs/pdf/pdf-decrypt.json +16 -6
  28. package/specs/pdf/pdf-encrypt.json +13 -3
  29. package/specs/pdf/pdf-extract-pages.json +13 -3
  30. package/specs/pdf/pdf-resource-upload-binary.json +1 -1
  31. package/specs/pdf/pdf-resource-upload.json +4 -4
  32. package/specs/pdf/pdf-restrict.json +16 -6
  33. package/specs/pdf/pdf-to-image.json +185 -0
  34. package/specs/pdf/pdf-unrestrict.json +16 -6
  35. package/specs/pdf/rotate-pdf-pages.json +13 -3
  36. package/specs/pdf/split-pdf.json +13 -3
  37. package/specs/screenshot/bulk-screenshot.json +10 -10
  38. package/specs/screenshot/website-screenshot.json +10 -10
  39. package/specs/whois/whois-ip-lookup.json +3 -229
@@ -847,12 +847,13 @@ components:
847
847
  enum:
848
848
  - load
849
849
  - domcontentloaded
850
- - networkidle
851
- description: Controls when rendering starts based on page load lifecycle. `load` (all resources), `domcontentloaded` (HTML parsed), `networkidle` (no network activity for 500ms).
850
+ - networkidle0
851
+ - networkidle2
852
+ description: Controls when rendering starts based on the page load lifecycle. `load` waits for all resources, `domcontentloaded` waits for the HTML to be parsed, `networkidle0` waits until there are no network requests for 500ms, and `networkidle2` waits until no more than 2 requests are active for 500ms. Use `networkidle2` when a page keeps one or two long-running requests open, such as a polling call, that stop `networkidle0` from completing. Write the value in lowercase, exactly as listed.
852
853
  default: load
853
854
  delay:
854
855
  type: integer
855
- description: Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering.
856
+ description: Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering. A value above 30000 is cut to 30 seconds and the request still succeeds.
856
857
  default: 0
857
858
  lazy_load:
858
859
  type: boolean
@@ -860,7 +861,7 @@ components:
860
861
  default: false
861
862
  scroll_delay:
862
863
  type: integer
863
- description: Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages.
864
+ description: Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages. On a long page, a very high value can push the total time past `timeout` and fail the request.
864
865
  default: 500
865
866
  timeout:
866
867
  type: integer
@@ -1001,7 +1002,7 @@ components:
1001
1002
  default: false
1002
1003
  block_specific_requests:
1003
1004
  type: string
1004
- description: 'Fine-grained blocking of specific URLs or patterns. Separate multiple rules by comma, space, or newline. Default: empty.'
1005
+ description: 'Blocks specific requests. Separate rules by comma, space, or newline. A rule without `*` must match the full request URL exactly, including the scheme and path; a bare domain or partial path does not match. A rule with `*` is a wildcard: each `*` matches any run of characters, including dots and slashes, the whole URL must match, and matching is not case-sensitive. Use wildcards for URLs that change on every load, such as a random subdomain or port, for example `https://*.example.com:*/*`. Default: empty.'
1005
1006
  extract_text:
1006
1007
  type: boolean
1007
1008
  description: Strips all HTML and returns visible text as a .txt file. Ideal for text analysis, indexing, or AI pipelines. Only with output=json.
@@ -1042,20 +1043,20 @@ components:
1042
1043
  description: 'Two-letter country code, such as US or DE, for the exit address of classic_proxy or premium_proxy. Ignored when you send your own proxy. Any two-letter code is sent, including one that is not listed. Classic proxy countries: BG, GE, DE, HN, MD, UA, GB, US. Premium proxy countries: AF, AL, DZ, AO, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BT, BO, BQ, BA, BW, BR, BN, BG, BF, BI, CV, KH, CM, CA, KY, CF, TD, CL, CN, CO, KM, CG, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, EE, SZ, ET, FO, FJ, FI, FR, GF, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IL, IT, JM, JP, JE, JO, KZ, KE, XK, KW, KG, LA, LV, LB, LS, LR, LY, LT, MO, MG, MW, MY, MV, ML, MT, MQ, MR, MU, YT, MX, MD, MN, ME, MA, MZ, MM, NA, NP, NL, NC, NZ, NI, NE, NG, MK, NO, OM, PK, PS, PA, PG, PY, PE, PH, PL, PT, PR, QA, RE, RO, RU, RW, KN, LC, VC, WS, SA, SN, RS, SC, SL, SG, SK, SI, SB, SO, ZA, KR, SS, ES, LK, SD, SR, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TO, TT, TN, TR, TM, UG, UA, AE, GB, US, UY, UZ, VE, VN, YE, ZM, ZW.'
1043
1044
  solve_captcha:
1044
1045
  type: boolean
1045
- description: Solves a captcha made of text drawn in a picture, then takes the screenshot. Requires captcha_image and captcha_input. Adds 20 credits per request.
1046
+ description: Solves a captcha made of text drawn in a picture, then takes the screenshot. Requires captcha_image and captcha_input. It reads text inside a picture only; checkbox challenges and challenges that ask you to select pictures are not supported. Adds 20 credits per request.
1046
1047
  default: false
1047
1048
  captcha_image:
1048
1049
  type: string
1049
- description: CSS selector of the captcha picture. Required when solve_captcha is true.
1050
+ description: CSS selector of the captcha picture, for example `#captcha-img`. Required when solve_captcha is true. The solver waits up to 30 seconds for it to appear.
1050
1051
  captcha_input:
1051
1052
  type: string
1052
1053
  description: CSS selector of the box the answer is typed into. Required when solve_captcha is true.
1053
1054
  captcha_submit:
1054
1055
  type: string
1055
- description: CSS selector of the button to click after the answer is typed.
1056
+ description: CSS selector of the button to click after the answer is typed. Without it the answer is typed but no button is pressed, which works only when the page checks the answer as you type.
1056
1057
  captcha_error:
1057
1058
  type: string
1058
- description: CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again.
1059
+ description: CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again. Without it the solver cannot tell that a guess was wrong and makes one try.
1059
1060
  captcha_refresh:
1060
1061
  type: string
1061
1062
  description: CSS selector of the control that loads a new captcha picture before the next try.
@@ -1064,7 +1065,7 @@ components:
1064
1065
  minimum: 1
1065
1066
  maximum: 5
1066
1067
  default: 3
1067
- description: Number of guesses the solver makes, from 1 to 5.
1068
+ description: Number of guesses the solver makes, from 1 to 5. When every guess is rejected, the request fails.
1068
1069
  ocr_model:
1069
1070
  type: string
1070
1071
  enum:
@@ -239,16 +239,17 @@ paths:
239
239
  enum:
240
240
  - load
241
241
  - domcontentloaded
242
- - networkidle
242
+ - networkidle0
243
+ - networkidle2
243
244
  default: load
244
- description: Controls when rendering starts based on page load lifecycle. `load` (all resources), `domcontentloaded` (HTML parsed), `networkidle` (no network activity for 500ms).
245
+ description: Controls when rendering starts based on the page load lifecycle. `load` waits for all resources, `domcontentloaded` waits for the HTML to be parsed, `networkidle0` waits until there are no network requests for 500ms, and `networkidle2` waits until no more than 2 requests are active for 500ms. Use `networkidle2` when a page keeps one or two long-running requests open, such as a polling call, that stop `networkidle0` from completing. Write the value in lowercase, exactly as listed.
245
246
  - name: delay
246
247
  in: query
247
248
  required: false
248
249
  schema:
249
250
  type: integer
250
251
  default: 0
251
- description: Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering.
252
+ description: Wait period in milliseconds before capture. Allows animations, API responses, and dynamic elements to finish rendering. A value above 30000 is cut to 30 seconds and the request still succeeds.
252
253
  - name: lazy_load
253
254
  in: query
254
255
  required: false
@@ -262,7 +263,7 @@ paths:
262
263
  schema:
263
264
  type: integer
264
265
  default: 500
265
- description: Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages.
266
+ description: Delay in milliseconds between scroll steps when `lazy_load` is enabled. Use higher values for heavy pages. On a long page, a very high value can push the total time past `timeout` and fail the request.
266
267
  - name: timeout
267
268
  in: query
268
269
  required: false
@@ -521,7 +522,7 @@ paths:
521
522
  required: false
522
523
  schema:
523
524
  type: string
524
- description: 'Fine-grained blocking of specific URLs or patterns. Separate multiple rules by comma, space, or newline. Default: empty.'
525
+ description: 'Blocks specific requests. Separate rules by comma, space, or newline. A rule without `*` must match the full request URL exactly, including the scheme and path; a bare domain or partial path does not match. A rule with `*` is a wildcard: each `*` matches any run of characters, including dots and slashes, the whole URL must match, and matching is not case-sensitive. Use wildcards for URLs that change on every load, such as a random subdomain or port, for example `https://*.example.com:*/*`. Default: empty.'
525
526
  - name: extract_text
526
527
  in: query
527
528
  required: false
@@ -596,13 +597,13 @@ paths:
596
597
  schema:
597
598
  type: boolean
598
599
  default: false
599
- description: Solves a captcha made of text drawn in a picture, then takes the screenshot. Requires captcha_image and captcha_input. Adds 20 credits per request.
600
+ description: Solves a captcha made of text drawn in a picture, then takes the screenshot. Requires captcha_image and captcha_input. It reads text inside a picture only; checkbox challenges and challenges that ask you to select pictures are not supported. Adds 20 credits per request.
600
601
  - name: captcha_image
601
602
  in: query
602
603
  required: false
603
604
  schema:
604
605
  type: string
605
- description: CSS selector of the captcha picture. Required when solve_captcha is true.
606
+ description: CSS selector of the captcha picture, for example `#captcha-img`. Required when solve_captcha is true. The solver waits up to 30 seconds for it to appear.
606
607
  - name: captcha_input
607
608
  in: query
608
609
  required: false
@@ -614,13 +615,13 @@ paths:
614
615
  required: false
615
616
  schema:
616
617
  type: string
617
- description: CSS selector of the button to click after the answer is typed.
618
+ description: CSS selector of the button to click after the answer is typed. Without it the answer is typed but no button is pressed, which works only when the page checks the answer as you type.
618
619
  - name: captcha_error
619
620
  in: query
620
621
  required: false
621
622
  schema:
622
623
  type: string
623
- description: CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again.
624
+ description: CSS selector of the message shown for a wrong answer. While it is visible, the solver tries again. Without it the solver cannot tell that a guess was wrong and makes one try.
624
625
  - name: captcha_refresh
625
626
  in: query
626
627
  required: false
@@ -635,7 +636,7 @@ paths:
635
636
  minimum: 1
636
637
  maximum: 5
637
638
  default: 3
638
- description: Number of guesses the solver makes, from 1 to 5.
639
+ description: Number of guesses the solver makes, from 1 to 5. When every guess is rejected, the request fails.
639
640
  - name: ocr_model
640
641
  in: query
641
642
  required: false
@@ -592,11 +592,6 @@ components:
592
592
  whois_raw_response:
593
593
  type: string
594
594
  description: Unparsed WHOIS response from the WHOIS server.
595
- r_whois_raw_response:
596
- type:
597
- - string
598
- - 'null'
599
- description: WHOIS response from the rwhois server, if available.
600
595
  InetNum:
601
596
  type: object
602
597
  description: IP range allocation record (inetnum object) containing the allocated block, network name, status, and organizational linkage.
@@ -645,30 +640,6 @@ components:
645
640
  - string
646
641
  - 'null'
647
642
  description: URL to the geofeed (RFC 8805) for this prefix.
648
- latitude:
649
- type:
650
- - number
651
- - 'null'
652
- format: float
653
- description: Latitude parsed from the geoloc field.
654
- longitude:
655
- type:
656
- - number
657
- - 'null'
658
- format: float
659
- description: Longitude parsed from the geoloc field.
660
- city:
661
- type:
662
- - string
663
- - 'null'
664
- description: City of allocation, primarily from LACNIC responses.
665
- languages:
666
- type:
667
- - array
668
- - 'null'
669
- description: Regional languages in countries of allocation.
670
- items:
671
- type: string
672
643
  status:
673
644
  type:
674
645
  - string
@@ -679,32 +650,6 @@ components:
679
650
  - string
680
651
  - 'null'
681
652
  description: Handle (unique ID) of the organization managing this inetnum.
682
- sponsoring_organization:
683
- type:
684
- - string
685
- - 'null'
686
- description: Handle of the sponsoring organization for this inetnum.
687
- admin_contacts:
688
- type:
689
- - array
690
- - 'null'
691
- description: Handles of admin persons or roles in WHOIS data.
692
- items:
693
- type: string
694
- tech_contacts:
695
- type:
696
- - array
697
- - 'null'
698
- description: Handles of technical persons or roles in WHOIS data.
699
- items:
700
- type: string
701
- abuse_contacts:
702
- type:
703
- - array
704
- - 'null'
705
- description: Handles of abuse persons or roles in WHOIS data.
706
- items:
707
- type: string
708
653
  remarks:
709
654
  type:
710
655
  - array
@@ -811,11 +756,6 @@ components:
811
756
  - string
812
757
  - 'null'
813
758
  description: Parsed city from the address field.
814
- district:
815
- type:
816
- - string
817
- - 'null'
818
- description: Parsed district from the address field.
819
759
  state:
820
760
  type:
821
761
  - string
@@ -855,13 +795,6 @@ components:
855
795
  description: Fax numbers for the IRT.
856
796
  items:
857
797
  type: string
858
- organizations:
859
- type:
860
- - array
861
- - 'null'
862
- description: Handles of organization objects linked to this IRT.
863
- items:
864
- type: string
865
798
  admin_contacts:
866
799
  type: array
867
800
  description: Handles of admin persons or roles linked to this IRT.
@@ -879,27 +812,6 @@ components:
879
812
  description: Remarks for this IRT object.
880
813
  items:
881
814
  type: string
882
- signature:
883
- type:
884
- - array
885
- - 'null'
886
- description: Cryptographic signatures for this IRT object.
887
- items:
888
- type: string
889
- encryption:
890
- type:
891
- - array
892
- - 'null'
893
- description: Encryption keys for this IRT object.
894
- items:
895
- type: string
896
- auth:
897
- type:
898
- - array
899
- - 'null'
900
- description: Authentication methods for this IRT object.
901
- items:
902
- type: string
903
815
  notify:
904
816
  type:
905
817
  - array
@@ -921,19 +833,6 @@ components:
921
833
  description: Maintainer handles for this IRT object.
922
834
  items:
923
835
  type: string
924
- mnt_ref:
925
- type:
926
- - array
927
- - 'null'
928
- description: Referenced maintainer handles for this IRT object.
929
- items:
930
- type: string
931
- date_created:
932
- type:
933
- - string
934
- - 'null'
935
- format: date
936
- description: Registration date of this IRT object (YYYY-MM-DD).
937
836
  date_updated:
938
837
  type:
939
838
  - string
@@ -943,29 +842,6 @@ components:
943
842
  source:
944
843
  type: string
945
844
  description: WHOIS data source for this IRT object.
946
- organization:
947
- $ref: '#/components/schemas/IpWhoisOrganization'
948
- administrative_contacts:
949
- type:
950
- - array
951
- - 'null'
952
- description: Administrative contacts linked to this IRT.
953
- items:
954
- $ref: '#/components/schemas/WhoisContactRef'
955
- technical_contacts:
956
- type:
957
- - array
958
- - 'null'
959
- description: Technical contacts linked to this IRT.
960
- items:
961
- $ref: '#/components/schemas/WhoisContactRef'
962
- abuse_contacts:
963
- type:
964
- - array
965
- - 'null'
966
- description: Abuse contacts linked to this IRT.
967
- items:
968
- $ref: '#/components/schemas/WhoisContactRef'
969
845
  IpWhoisOrganization:
970
846
  type: object
971
847
  description: Organization object containing the registrant's handle, name, address, contact details, and linked admin/tech/abuse contacts.
@@ -1009,11 +885,6 @@ components:
1009
885
  - string
1010
886
  - 'null'
1011
887
  description: Parsed city from the address field.
1012
- district:
1013
- type:
1014
- - string
1015
- - 'null'
1016
- description: Parsed district from the address field.
1017
888
  state:
1018
889
  type:
1019
890
  - string
@@ -1031,18 +902,6 @@ components:
1031
902
  description: ISO 3166-1 alpha-2 country codes for the organization.
1032
903
  items:
1033
904
  type: string
1034
- latitude:
1035
- type:
1036
- - number
1037
- - 'null'
1038
- format: float
1039
- description: Latitude parsed from the geoloc field.
1040
- longitude:
1041
- type:
1042
- - number
1043
- - 'null'
1044
- format: float
1045
- description: Longitude parsed from the geoloc field.
1046
905
  email:
1047
906
  type:
1048
907
  - array
@@ -1050,13 +909,6 @@ components:
1050
909
  description: Email addresses for the organization.
1051
910
  items:
1052
911
  type: string
1053
- abuse_mailbox:
1054
- type:
1055
- - array
1056
- - 'null'
1057
- description: Abuse mailbox email addresses for the organization.
1058
- items:
1059
- type: string
1060
912
  phone:
1061
913
  type:
1062
914
  - array
@@ -1099,20 +951,6 @@ components:
1099
951
  description: Remarks for this organization object.
1100
952
  items:
1101
953
  type: string
1102
- notify:
1103
- type:
1104
- - array
1105
- - 'null'
1106
- description: Notify email addresses for this organization object.
1107
- items:
1108
- type: string
1109
- ref_nfy:
1110
- type:
1111
- - array
1112
- - 'null'
1113
- description: Reference notification email addresses for this organization object.
1114
- items:
1115
- type: string
1116
954
  mnt_by:
1117
955
  type:
1118
956
  - array
@@ -1174,11 +1012,6 @@ components:
1174
1012
  - string
1175
1013
  - 'null'
1176
1014
  description: Parsed city from the address field.
1177
- district:
1178
- type:
1179
- - string
1180
- - 'null'
1181
- description: Parsed district from the address field.
1182
1015
  state:
1183
1016
  type:
1184
1017
  - string
@@ -1314,68 +1147,6 @@ components:
1314
1147
  - string
1315
1148
  - 'null'
1316
1149
  description: Country of the organization managing this route.
1317
- pingable:
1318
- type:
1319
- - array
1320
- - 'null'
1321
- description: Pingable IP addresses in this route.
1322
- items:
1323
- type: string
1324
- ping_hdl:
1325
- type:
1326
- - array
1327
- - 'null'
1328
- description: Handles of pingable contacts for this route.
1329
- items:
1330
- type: string
1331
- holes:
1332
- type:
1333
- - array
1334
- - 'null'
1335
- description: Sub-allocation holes (more specific routes) within this route.
1336
- items:
1337
- type: string
1338
- member_of:
1339
- type:
1340
- - array
1341
- - 'null'
1342
- description: Route sets this route is a member of.
1343
- items:
1344
- type: string
1345
- inject:
1346
- type:
1347
- - array
1348
- - 'null'
1349
- description: Injection details for this route.
1350
- items:
1351
- type: string
1352
- aggr_mtd:
1353
- type:
1354
- - string
1355
- - 'null'
1356
- description: Aggregation method for this route.
1357
- aggr_bndry:
1358
- type:
1359
- - string
1360
- - 'null'
1361
- description: Aggregation boundary for this route.
1362
- export_comps:
1363
- type:
1364
- - string
1365
- - 'null'
1366
- description: Export composition for this route.
1367
- components:
1368
- type:
1369
- - string
1370
- - 'null'
1371
- description: Route components.
1372
- organizations:
1373
- type:
1374
- - array
1375
- - 'null'
1376
- description: Handles of organization objects related to this route.
1377
- items:
1378
- type: string
1379
1150
  remarks:
1380
1151
  type:
1381
1152
  - array
@@ -1383,20 +1154,6 @@ components:
1383
1154
  description: Remarks for this route object.
1384
1155
  items:
1385
1156
  type: string
1386
- notify:
1387
- type:
1388
- - array
1389
- - 'null'
1390
- description: Notify email addresses for this route object.
1391
- items:
1392
- type: string
1393
- mnt_lower:
1394
- type:
1395
- - array
1396
- - 'null'
1397
- description: Lower-level maintainer handles for this route.
1398
- items:
1399
- type: string
1400
1157
  mnt_by:
1401
1158
  type:
1402
1159
  - array
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apifreaks/openapi-specs",
3
- "version": "0.4.21",
3
+ "version": "0.4.23",
4
4
  "description": "Public OpenAPI 3.1 specifications for all APIFreaks API products.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -38,11 +38,11 @@
38
38
  {
39
39
  "name": "host-name",
40
40
  "in": "query",
41
- "required": true,
41
+ "required": false,
42
42
  "schema": {
43
43
  "type": "string"
44
44
  },
45
- "description": "Hostname or URL whose DNS records are required."
45
+ "description": "Hostname or URL whose DNS records are required. Provide either `host-name` or `ipAddress`. If neither is sent, the API returns a 400 error."
46
46
  },
47
47
  {
48
48
  "name": "ipAddress",
@@ -51,7 +51,7 @@
51
51
  "schema": {
52
52
  "type": "string"
53
53
  },
54
- "description": "The IP address for requested DNS's PTR record. 'type' parameter must be set to 'all'."
54
+ "description": "The IP address for requested DNS's PTR record. 'type' parameter must be set to 'all'. Provide either `host-name` or `ipAddress`; if neither is sent, the API returns a 400 error."
55
55
  },
56
56
  {
57
57
  "name": "type",
@@ -249,7 +249,7 @@
249
249
  },
250
250
  "examples": {
251
251
  "missingParams": {
252
- "summary": "Missing required parameter",
252
+ "summary": "Neither host-name nor ipAddress provided (or another required parameter missing)",
253
253
  "value": {
254
254
  "error": "Invalid Param Exception",
255
255
  "message": "please pass correct parameters",
@@ -172,19 +172,29 @@
172
172
  }
173
173
  },
174
174
  "415": {
175
- "description": "Unsupported Media Type — File type not supported",
175
+ "description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
176
176
  "content": {
177
177
  "application/json": {
178
178
  "examples": {
179
- "InvalidPDF": {
180
- "summary": "Uploaded file is not a supported type",
179
+ "UnsupportedFileType": {
180
+ "summary": "Unsupported file type (file uploaded in the request)",
181
181
  "value": {
182
- "timestamp": "2026-07-27T10:52:14.649Z",
182
+ "timestamp": "2026-11-20T11:29:56.771Z",
183
183
  "path": "/v1.0/pdf/remove-pages",
184
184
  "status": 415,
185
185
  "error": "Unsupported File Type",
186
186
  "message": "The provided file type is not supported. Refer to the documentation for valid file types."
187
187
  }
188
+ },
189
+ "UnsupportedFileTypeForId": {
190
+ "summary": "Unsupported file type for the provided file ID",
191
+ "value": {
192
+ "timestamp": "2026-11-20T11:29:26.229Z",
193
+ "path": "/v1.0/pdf/remove-pages",
194
+ "status": 415,
195
+ "error": "Unsupported File Type",
196
+ "message": "The file type associated with the provided file ID is not supported for this operation. Please refer to the documentation for the list of allowed file types."
197
+ }
188
198
  }
189
199
  },
190
200
  "schema": {
@@ -163,19 +163,29 @@
163
163
  }
164
164
  },
165
165
  "415": {
166
- "description": "Unsupported Media Type — File type not supported",
166
+ "description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
167
167
  "content": {
168
168
  "application/json": {
169
169
  "examples": {
170
170
  "UnsupportedFileType": {
171
- "summary": "Uploaded file is not a supported type",
171
+ "summary": "Unsupported file type (file uploaded in the request)",
172
172
  "value": {
173
- "timestamp": "2026-07-27T10:55:08.869Z",
173
+ "timestamp": "2026-11-20T11:29:53.968Z",
174
174
  "path": "/v1.0/pdf/linearize",
175
175
  "status": 415,
176
176
  "error": "Unsupported File Type",
177
177
  "message": "The provided file type is not supported. Refer to the documentation for valid file types."
178
178
  }
179
+ },
180
+ "UnsupportedFileTypeForId": {
181
+ "summary": "Unsupported file type for the provided file ID",
182
+ "value": {
183
+ "timestamp": "2026-11-20T11:29:20.963Z",
184
+ "path": "/v1.0/pdf/linearize",
185
+ "status": 415,
186
+ "error": "Unsupported File Type",
187
+ "message": "The file type associated with the provided file ID is not supported for this operation. Please refer to the documentation for the list of allowed file types."
188
+ }
179
189
  }
180
190
  },
181
191
  "schema": {
@@ -168,19 +168,29 @@
168
168
  }
169
169
  },
170
170
  "415": {
171
- "description": "Unsupported Media Type — File type not supported",
171
+ "description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
172
172
  "content": {
173
173
  "application/json": {
174
174
  "examples": {
175
175
  "UnsupportedFileType": {
176
- "summary": "Unsupported file type",
176
+ "summary": "Unsupported file type (file uploaded in the request)",
177
177
  "value": {
178
- "timestamp": "2026-07-27T10:49:42.554Z",
178
+ "timestamp": "2026-11-20T11:28:17.071Z",
179
179
  "path": "/v1.0/pdf/merge-pdf",
180
180
  "status": 415,
181
181
  "error": "Unsupported File Type",
182
182
  "message": "The provided file type is not supported. Refer to the documentation for valid file types."
183
183
  }
184
+ },
185
+ "UnsupportedFileTypeForId": {
186
+ "summary": "Unsupported file type for the provided file ID",
187
+ "value": {
188
+ "timestamp": "2026-11-20T11:29:03.015Z",
189
+ "path": "/v1.0/pdf/merge-pdf",
190
+ "status": 415,
191
+ "error": "Unsupported File Type",
192
+ "message": "The file type associated with the provided file ID is not supported for this operation. Please refer to the documentation for the list of allowed file types."
193
+ }
184
194
  }
185
195
  },
186
196
  "schema": {
@@ -185,19 +185,29 @@
185
185
  }
186
186
  },
187
187
  "415": {
188
- "description": "Unsupported Media Type — File type not supported",
188
+ "description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
189
189
  "content": {
190
190
  "application/json": {
191
191
  "examples": {
192
- "InvalidPDF": {
193
- "summary": "Uploaded file is not a supported type",
192
+ "UnsupportedFileType": {
193
+ "summary": "Unsupported file type (file uploaded in the request)",
194
194
  "value": {
195
- "timestamp": "2026-07-27T10:50:18.409Z",
195
+ "timestamp": "2026-11-20T11:29:59.465Z",
196
196
  "path": "/v1.0/pdf/compress",
197
197
  "status": 415,
198
198
  "error": "Unsupported File Type",
199
199
  "message": "The provided file type is not supported. Refer to the documentation for valid file types."
200
200
  }
201
+ },
202
+ "UnsupportedFileTypeForId": {
203
+ "summary": "Unsupported file type for the provided file ID",
204
+ "value": {
205
+ "timestamp": "2026-11-20T11:29:27.971Z",
206
+ "path": "/v1.0/pdf/compress",
207
+ "status": 415,
208
+ "error": "Unsupported File Type",
209
+ "message": "The file type associated with the provided file ID is not supported for this operation. Please refer to the documentation for the list of allowed file types."
210
+ }
201
211
  }
202
212
  },
203
213
  "schema": {