@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
@@ -31,16 +31,16 @@ paths:
31
31
  description: Format of the response.
32
32
  - name: host-name
33
33
  in: query
34
- required: true
34
+ required: false
35
35
  schema:
36
36
  type: string
37
- description: Hostname or URL whose DNS records are required.
37
+ 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.
38
38
  - name: ipAddress
39
39
  in: query
40
40
  required: false
41
41
  schema:
42
42
  type: string
43
- description: The IP address for requested DNS's PTR record. 'type' parameter must be set to 'all'.
43
+ 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.
44
44
  - name: type
45
45
  in: query
46
46
  required: true
@@ -194,7 +194,7 @@ paths:
194
194
  $ref: '#/components/schemas/ErrorResponse'
195
195
  examples:
196
196
  missingParams:
197
- summary: Missing required parameter
197
+ summary: Neither host-name nor ipAddress provided (or another required parameter missing)
198
198
  value:
199
199
  error: Invalid Param Exception
200
200
  message: please pass correct parameters
@@ -121,18 +121,26 @@ paths:
121
121
  X-AF-Credits-Cost:
122
122
  $ref: '#/components/headers/X-AF-Credits-Cost'
123
123
  '415':
124
- description: Unsupported Media Type — File type not supported
124
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
125
125
  content:
126
126
  application/json:
127
127
  examples:
128
- InvalidPDF:
129
- summary: Uploaded file is not a supported type
128
+ UnsupportedFileType:
129
+ summary: Unsupported file type (file uploaded in the request)
130
130
  value:
131
- timestamp: '2026-07-27T10:52:14.649Z'
131
+ timestamp: '2026-11-20T11:29:56.771Z'
132
132
  path: /v1.0/pdf/remove-pages
133
133
  status: 415
134
134
  error: Unsupported File Type
135
135
  message: The provided file type is not supported. Refer to the documentation for valid file types.
136
+ UnsupportedFileTypeForId:
137
+ summary: Unsupported file type for the provided file ID
138
+ value:
139
+ timestamp: '2026-11-20T11:29:26.229Z'
140
+ path: /v1.0/pdf/remove-pages
141
+ status: 415
142
+ error: Unsupported File Type
143
+ 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.
136
144
  schema:
137
145
  $ref: '#/components/schemas/ErrorResponse'
138
146
  headers:
@@ -115,18 +115,26 @@ paths:
115
115
  X-AF-Credits-Cost:
116
116
  $ref: '#/components/headers/X-AF-Credits-Cost'
117
117
  '415':
118
- description: Unsupported Media Type — File type not supported
118
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
119
119
  content:
120
120
  application/json:
121
121
  examples:
122
122
  UnsupportedFileType:
123
- summary: Uploaded file is not a supported type
123
+ summary: Unsupported file type (file uploaded in the request)
124
124
  value:
125
- timestamp: '2026-07-27T10:55:08.869Z'
125
+ timestamp: '2026-11-20T11:29:53.968Z'
126
126
  path: /v1.0/pdf/linearize
127
127
  status: 415
128
128
  error: Unsupported File Type
129
129
  message: The provided file type is not supported. Refer to the documentation for valid file types.
130
+ UnsupportedFileTypeForId:
131
+ summary: Unsupported file type for the provided file ID
132
+ value:
133
+ timestamp: '2026-11-20T11:29:20.963Z'
134
+ path: /v1.0/pdf/linearize
135
+ status: 415
136
+ error: Unsupported File Type
137
+ 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.
130
138
  schema:
131
139
  $ref: '#/components/schemas/ErrorResponse'
132
140
  headers:
@@ -119,18 +119,26 @@ paths:
119
119
  X-AF-Credits-Cost:
120
120
  $ref: '#/components/headers/X-AF-Credits-Cost'
121
121
  '415':
122
- description: Unsupported Media Type — File type not supported
122
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
123
123
  content:
124
124
  application/json:
125
125
  examples:
126
126
  UnsupportedFileType:
127
- summary: Unsupported file type
127
+ summary: Unsupported file type (file uploaded in the request)
128
128
  value:
129
- timestamp: '2026-07-27T10:49:42.554Z'
129
+ timestamp: '2026-11-20T11:28:17.071Z'
130
130
  path: /v1.0/pdf/merge-pdf
131
131
  status: 415
132
132
  error: Unsupported File Type
133
133
  message: The provided file type is not supported. Refer to the documentation for valid file types.
134
+ UnsupportedFileTypeForId:
135
+ summary: Unsupported file type for the provided file ID
136
+ value:
137
+ timestamp: '2026-11-20T11:29:03.015Z'
138
+ path: /v1.0/pdf/merge-pdf
139
+ status: 415
140
+ error: Unsupported File Type
141
+ 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.
134
142
  schema:
135
143
  $ref: '#/components/schemas/ErrorResponse'
136
144
  headers:
@@ -136,18 +136,26 @@ paths:
136
136
  X-AF-Credits-Cost:
137
137
  $ref: '#/components/headers/X-AF-Credits-Cost'
138
138
  '415':
139
- description: Unsupported Media Type — File type not supported
139
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
140
140
  content:
141
141
  application/json:
142
142
  examples:
143
- InvalidPDF:
144
- summary: Uploaded file is not a supported type
143
+ UnsupportedFileType:
144
+ summary: Unsupported file type (file uploaded in the request)
145
145
  value:
146
- timestamp: '2026-07-27T10:50:18.409Z'
146
+ timestamp: '2026-11-20T11:29:59.465Z'
147
147
  path: /v1.0/pdf/compress
148
148
  status: 415
149
149
  error: Unsupported File Type
150
150
  message: The provided file type is not supported. Refer to the documentation for valid file types.
151
+ UnsupportedFileTypeForId:
152
+ summary: Unsupported file type for the provided file ID
153
+ value:
154
+ timestamp: '2026-11-20T11:29:27.971Z'
155
+ path: /v1.0/pdf/compress
156
+ status: 415
157
+ error: Unsupported File Type
158
+ 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.
151
159
  schema:
152
160
  $ref: '#/components/schemas/ErrorResponse'
153
161
  headers:
@@ -129,20 +129,28 @@ paths:
129
129
  X-AF-Credits-Cost:
130
130
  $ref: '#/components/headers/X-AF-Credits-Cost'
131
131
  '415':
132
- description: Unsupported Media Type — File type not supported
132
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
133
133
  content:
134
134
  application/json:
135
- schema:
136
- $ref: '#/components/schemas/ErrorResponse'
137
135
  examples:
138
136
  UnsupportedFileType:
139
- summary: Uploaded file is not a supported type
137
+ summary: Unsupported file type (file uploaded in the request)
140
138
  value:
141
- timestamp: '2026-07-27T10:56:50.780Z'
139
+ timestamp: '2026-11-20T11:30:00.027Z'
142
140
  path: /v1.0/pdf/decrypt-pdf
143
141
  status: 415
144
142
  error: Unsupported File Type
145
143
  message: The provided file type is not supported. Refer to the documentation for valid file types.
144
+ UnsupportedFileTypeForId:
145
+ summary: Unsupported file type for the provided file ID
146
+ value:
147
+ timestamp: '2026-11-20T11:29:28.798Z'
148
+ path: /v1.0/pdf/decrypt-pdf
149
+ status: 415
150
+ error: Unsupported File Type
151
+ 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.
152
+ schema:
153
+ $ref: '#/components/schemas/ErrorResponse'
146
154
  headers:
147
155
  X-AF-Credits-Cost:
148
156
  $ref: '#/components/headers/X-AF-Credits-Cost'
@@ -141,18 +141,26 @@ paths:
141
141
  X-AF-Credits-Cost:
142
142
  $ref: '#/components/headers/X-AF-Credits-Cost'
143
143
  '415':
144
- description: Unsupported Media Type — File type not supported
144
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
145
145
  content:
146
146
  application/json:
147
147
  examples:
148
148
  UnsupportedFileType:
149
- summary: Uploaded file is not a supported type
149
+ summary: Unsupported file type (file uploaded in the request)
150
150
  value:
151
- timestamp: '2026-07-27T10:55:38.634Z'
151
+ timestamp: '2026-11-20T11:30:00.790Z'
152
152
  path: /v1.0/pdf/encrypt-pdf
153
153
  status: 415
154
154
  error: Unsupported File Type
155
155
  message: The provided file type is not supported. Refer to the documentation for valid file types.
156
+ UnsupportedFileTypeForId:
157
+ summary: Unsupported file type for the provided file ID
158
+ value:
159
+ timestamp: '2026-11-20T11:29:29.425Z'
160
+ path: /v1.0/pdf/encrypt-pdf
161
+ status: 415
162
+ error: Unsupported File Type
163
+ 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.
156
164
  schema:
157
165
  $ref: '#/components/schemas/ErrorResponse'
158
166
  headers:
@@ -127,18 +127,26 @@ paths:
127
127
  X-AF-Credits-Cost:
128
128
  $ref: '#/components/headers/X-AF-Credits-Cost'
129
129
  '415':
130
- description: Unsupported Media Type — File type not supported
130
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
131
131
  content:
132
132
  application/json:
133
133
  examples:
134
134
  UnsupportedFileType:
135
- summary: Uploaded file is not a supported type
135
+ summary: Unsupported file type (file uploaded in the request)
136
136
  value:
137
- timestamp: '2026-07-27T10:53:19.733Z'
137
+ timestamp: '2026-11-20T11:29:57.308Z'
138
138
  path: /v1.0/pdf/extract-pages
139
139
  status: 415
140
140
  error: Unsupported File Type
141
141
  message: The provided file type is not supported. Refer to the documentation for valid file types.
142
+ UnsupportedFileTypeForId:
143
+ summary: Unsupported file type for the provided file ID
144
+ value:
145
+ timestamp: '2026-11-20T11:29:27.200Z'
146
+ path: /v1.0/pdf/extract-pages
147
+ status: 415
148
+ error: Unsupported File Type
149
+ 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.
142
150
  schema:
143
151
  $ref: '#/components/schemas/ErrorResponse'
144
152
  headers:
@@ -97,7 +97,7 @@ paths:
97
97
  UnsupportedFileType:
98
98
  summary: Unsupported file type
99
99
  value:
100
- timestamp: '2026-07-27T10:48:15.449Z'
100
+ timestamp: '2026-11-20T11:30:10.529Z'
101
101
  path: /v1.0/pdf/upload-binary
102
102
  status: 415
103
103
  error: Unsupported File Type
@@ -88,17 +88,17 @@ paths:
88
88
  description: Unsupported Media Type — File type not supported
89
89
  content:
90
90
  application/json:
91
- schema:
92
- $ref: '#/components/schemas/ErrorResponse'
93
91
  examples:
94
92
  unsupportedFileType:
95
93
  summary: Unsupported file type
96
94
  value:
97
- timestamp: '2026-07-27T10:47:37.481Z'
95
+ timestamp: '2026-11-20T11:28:22.868Z'
98
96
  path: /v1.0/pdf/upload
99
97
  status: 415
100
98
  error: Unsupported File Type
101
99
  message: The provided file type is not supported. Refer to the documentation for valid file types.
100
+ schema:
101
+ $ref: '#/components/schemas/ErrorResponse'
102
102
  headers:
103
103
  X-AF-Credits-Cost:
104
104
  $ref: '#/components/headers/X-AF-Credits-Cost'
@@ -174,20 +174,28 @@ paths:
174
174
  X-AF-Credits-Cost:
175
175
  $ref: '#/components/headers/X-AF-Credits-Cost'
176
176
  '415':
177
- description: Unsupported Media Type — File type not supported
177
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
178
178
  content:
179
179
  application/json:
180
- schema:
181
- $ref: '#/components/schemas/ErrorResponse'
182
180
  examples:
183
181
  UnsupportedFileType:
184
- summary: Uploaded file is not a supported type
182
+ summary: Unsupported file type (file uploaded in the request)
185
183
  value:
186
- timestamp: '2026-07-27T10:57:25.374Z'
184
+ timestamp: '2026-11-20T11:30:01.367Z'
187
185
  path: /v1.0/pdf/restrict-pdf
188
186
  status: 415
189
187
  error: Unsupported File Type
190
188
  message: The provided file type is not supported. Refer to the documentation for valid file types.
189
+ UnsupportedFileTypeForId:
190
+ summary: Unsupported file type for the provided file ID
191
+ value:
192
+ timestamp: '2026-11-20T11:29:30.158Z'
193
+ path: /v1.0/pdf/restrict-pdf
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
+ schema:
198
+ $ref: '#/components/schemas/ErrorResponse'
191
199
  headers:
192
200
  X-AF-Credits-Cost:
193
201
  $ref: '#/components/headers/X-AF-Credits-Cost'
@@ -169,6 +169,32 @@ paths:
169
169
  headers:
170
170
  X-AF-Credits-Cost:
171
171
  $ref: '#/components/headers/X-AF-Credits-Cost'
172
+ '415':
173
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
174
+ content:
175
+ application/json:
176
+ examples:
177
+ UnsupportedFileType:
178
+ summary: Unsupported file type (file uploaded in the request)
179
+ value:
180
+ timestamp: '2026-11-20T11:30:03.767Z'
181
+ path: /v1.0/pdf/png
182
+ status: 415
183
+ error: Unsupported File Type
184
+ message: The provided file type is not supported. Refer to the documentation for valid file types.
185
+ UnsupportedFileTypeForId:
186
+ summary: Unsupported file type for the provided file ID
187
+ value:
188
+ timestamp: '2026-11-20T11:29:36.193Z'
189
+ path: /v1.0/pdf/png
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
+ schema:
194
+ $ref: '#/components/schemas/ErrorResponse'
195
+ headers:
196
+ X-AF-Credits-Cost:
197
+ $ref: '#/components/headers/X-AF-Credits-Cost'
172
198
  operationId: pdfToImage
173
199
  /pdf/jpg:
174
200
  post:
@@ -339,6 +365,32 @@ paths:
339
365
  headers:
340
366
  X-AF-Credits-Cost:
341
367
  $ref: '#/components/headers/X-AF-Credits-Cost'
368
+ '415':
369
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
370
+ content:
371
+ application/json:
372
+ examples:
373
+ UnsupportedFileType:
374
+ summary: Unsupported file type (file uploaded in the request)
375
+ value:
376
+ timestamp: '2026-11-20T11:30:05.678Z'
377
+ path: /v1.0/pdf/jpg
378
+ status: 415
379
+ error: Unsupported File Type
380
+ message: The provided file type is not supported. Refer to the documentation for valid file types.
381
+ UnsupportedFileTypeForId:
382
+ summary: Unsupported file type for the provided file ID
383
+ value:
384
+ timestamp: '2026-11-20T11:29:32.646Z'
385
+ path: /v1.0/pdf/jpg
386
+ status: 415
387
+ error: Unsupported File Type
388
+ 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.
389
+ schema:
390
+ $ref: '#/components/schemas/ErrorResponse'
391
+ headers:
392
+ X-AF-Credits-Cost:
393
+ $ref: '#/components/headers/X-AF-Credits-Cost'
342
394
  /pdf/tif:
343
395
  post:
344
396
  tags:
@@ -496,6 +548,32 @@ paths:
496
548
  headers:
497
549
  X-AF-Credits-Cost:
498
550
  $ref: '#/components/headers/X-AF-Credits-Cost'
551
+ '415':
552
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
553
+ content:
554
+ application/json:
555
+ examples:
556
+ UnsupportedFileType:
557
+ summary: Unsupported file type (file uploaded in the request)
558
+ value:
559
+ timestamp: '2026-11-20T11:30:06.388Z'
560
+ path: /v1.0/pdf/tif
561
+ status: 415
562
+ error: Unsupported File Type
563
+ message: The provided file type is not supported. Refer to the documentation for valid file types.
564
+ UnsupportedFileTypeForId:
565
+ summary: Unsupported file type for the provided file ID
566
+ value:
567
+ timestamp: '2026-11-20T11:29:36.193Z'
568
+ path: /v1.0/pdf/tif
569
+ status: 415
570
+ error: Unsupported File Type
571
+ 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.
572
+ schema:
573
+ $ref: '#/components/schemas/ErrorResponse'
574
+ headers:
575
+ X-AF-Credits-Cost:
576
+ $ref: '#/components/headers/X-AF-Credits-Cost'
499
577
  /pdf/bmp:
500
578
  post:
501
579
  tags:
@@ -653,6 +731,32 @@ paths:
653
731
  headers:
654
732
  X-AF-Credits-Cost:
655
733
  $ref: '#/components/headers/X-AF-Credits-Cost'
734
+ '415':
735
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
736
+ content:
737
+ application/json:
738
+ examples:
739
+ UnsupportedFileType:
740
+ summary: Unsupported file type (file uploaded in the request)
741
+ value:
742
+ timestamp: '2026-11-20T11:30:07.356Z'
743
+ path: /v1.0/pdf/bmp
744
+ status: 415
745
+ error: Unsupported File Type
746
+ message: The provided file type is not supported. Refer to the documentation for valid file types.
747
+ UnsupportedFileTypeForId:
748
+ summary: Unsupported file type for the provided file ID
749
+ value:
750
+ timestamp: '2026-11-20T11:29:36.193Z'
751
+ path: /v1.0/pdf/bmp
752
+ status: 415
753
+ error: Unsupported File Type
754
+ 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.
755
+ schema:
756
+ $ref: '#/components/schemas/ErrorResponse'
757
+ headers:
758
+ X-AF-Credits-Cost:
759
+ $ref: '#/components/headers/X-AF-Credits-Cost'
656
760
  /pdf/gif:
657
761
  post:
658
762
  tags:
@@ -811,6 +915,32 @@ paths:
811
915
  headers:
812
916
  X-AF-Credits-Cost:
813
917
  $ref: '#/components/headers/X-AF-Credits-Cost'
918
+ '415':
919
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
920
+ content:
921
+ application/json:
922
+ examples:
923
+ UnsupportedFileType:
924
+ summary: Unsupported file type (file uploaded in the request)
925
+ value:
926
+ timestamp: '2026-11-20T11:30:10.008Z'
927
+ path: /v1.0/pdf/gif
928
+ status: 415
929
+ error: Unsupported File Type
930
+ message: The provided file type is not supported. Refer to the documentation for valid file types.
931
+ UnsupportedFileTypeForId:
932
+ summary: Unsupported file type for the provided file ID
933
+ value:
934
+ timestamp: '2026-11-20T11:29:36.193Z'
935
+ path: /v1.0/pdf/gif
936
+ status: 415
937
+ error: Unsupported File Type
938
+ 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.
939
+ schema:
940
+ $ref: '#/components/schemas/ErrorResponse'
941
+ headers:
942
+ X-AF-Credits-Cost:
943
+ $ref: '#/components/headers/X-AF-Credits-Cost'
814
944
  components:
815
945
  securitySchemes:
816
946
  ApiKeyAuthHeader:
@@ -149,20 +149,28 @@ paths:
149
149
  X-AF-Credits-Cost:
150
150
  $ref: '#/components/headers/X-AF-Credits-Cost'
151
151
  '415':
152
- description: Unsupported Media Type — File type not supported
152
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
153
153
  content:
154
154
  application/json:
155
- schema:
156
- $ref: '#/components/schemas/ErrorResponse'
157
155
  examples:
158
156
  UnsupportedFileType:
159
- summary: Uploaded file is not a supported type
157
+ summary: Unsupported file type (file uploaded in the request)
160
158
  value:
161
- timestamp: '2026-07-27T10:59:24.507Z'
159
+ timestamp: '2026-11-20T11:30:02.110Z'
162
160
  path: /v1.0/pdf/unrestrict-pdf
163
161
  status: 415
164
162
  error: Unsupported File Type
165
163
  message: The provided file type is not supported. Refer to the documentation for valid file types.
164
+ UnsupportedFileTypeForId:
165
+ summary: Unsupported file type for the provided file ID
166
+ value:
167
+ timestamp: '2026-11-20T11:29:30.986Z'
168
+ path: /v1.0/pdf/unrestrict-pdf
169
+ status: 415
170
+ error: Unsupported File Type
171
+ 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.
172
+ schema:
173
+ $ref: '#/components/schemas/ErrorResponse'
166
174
  headers:
167
175
  X-AF-Credits-Cost:
168
176
  $ref: '#/components/headers/X-AF-Credits-Cost'
@@ -135,18 +135,26 @@ paths:
135
135
  X-AF-Credits-Cost:
136
136
  $ref: '#/components/headers/X-AF-Credits-Cost'
137
137
  '415':
138
- description: Unsupported Media Type — File type not supported
138
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
139
139
  content:
140
140
  application/json:
141
141
  examples:
142
142
  UnsupportedFileType:
143
- summary: Uploaded file is not a supported type
143
+ summary: Unsupported file type (file uploaded in the request)
144
144
  value:
145
- timestamp: '2026-07-27T10:54:38.800Z'
145
+ timestamp: '2026-11-20T11:29:55.932Z'
146
146
  path: /v1.0/pdf/rotate
147
147
  status: 415
148
148
  error: Unsupported File Type
149
149
  message: The provided file type is not supported. Refer to the documentation for valid file types.
150
+ UnsupportedFileTypeForId:
151
+ summary: Unsupported file type for the provided file ID
152
+ value:
153
+ timestamp: '2026-11-20T11:29:24.762Z'
154
+ path: /v1.0/pdf/rotate
155
+ status: 415
156
+ error: Unsupported File Type
157
+ 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.
150
158
  schema:
151
159
  $ref: '#/components/schemas/ErrorResponse'
152
160
  headers:
@@ -136,18 +136,26 @@ paths:
136
136
  X-AF-Credits-Cost:
137
137
  $ref: '#/components/headers/X-AF-Credits-Cost'
138
138
  '415':
139
- description: Unsupported Media Type — File type not supported
139
+ description: Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation
140
140
  content:
141
141
  application/json:
142
142
  examples:
143
143
  UnsupportedFileType:
144
- summary: Uploaded file is not a supported type
144
+ summary: Unsupported file type (file uploaded in the request)
145
145
  value:
146
- timestamp: '2026-07-27T10:54:01.347Z'
146
+ timestamp: '2026-11-20T11:29:55.376Z'
147
147
  path: /v1.0/pdf/split-pdf
148
148
  status: 415
149
149
  error: Unsupported File Type
150
150
  message: The provided file type is not supported. Refer to the documentation for valid file types.
151
+ UnsupportedFileTypeForId:
152
+ summary: Unsupported file type for the provided file ID
153
+ value:
154
+ timestamp: '2026-11-20T11:29:24.156Z'
155
+ path: /v1.0/pdf/split-pdf
156
+ status: 415
157
+ error: Unsupported File Type
158
+ 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.
151
159
  schema:
152
160
  $ref: '#/components/schemas/ErrorResponse'
153
161
  headers: