@apifreaks/openapi-specs 0.4.20 → 0.4.22
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 +4410 -530
- package/dist/index.js +4410 -530
- package/dist/specs/commodity/historical-commodity-prices.yaml +30 -11
- package/dist/specs/dns/bulk-dns-lookup.yaml +214 -33
- package/dist/specs/dns/dns-lookup.yaml +9 -1
- package/dist/specs/financial/bulk-vat-rates-country.yaml +22 -4
- package/dist/specs/geography/flags-supported.yaml +18 -10
- package/dist/specs/pdf/delete-pdf-page.yaml +12 -4
- package/dist/specs/pdf/linearize-pdf.yaml +11 -3
- package/dist/specs/pdf/merge-pdf.yaml +11 -3
- package/dist/specs/pdf/pdf-compress.yaml +12 -4
- package/dist/specs/pdf/pdf-decrypt.yaml +13 -5
- package/dist/specs/pdf/pdf-encrypt.yaml +11 -3
- package/dist/specs/pdf/pdf-extract-pages.yaml +11 -3
- package/dist/specs/pdf/pdf-resource-upload-binary.yaml +1 -1
- package/dist/specs/pdf/pdf-resource-upload.yaml +3 -3
- package/dist/specs/pdf/pdf-restrict.yaml +13 -5
- package/dist/specs/pdf/pdf-to-image.yaml +130 -0
- package/dist/specs/pdf/pdf-unrestrict.yaml +13 -5
- package/dist/specs/pdf/rotate-pdf-pages.yaml +11 -3
- package/dist/specs/pdf/split-pdf.yaml +11 -3
- package/dist/specs/screenshot/bulk-screenshot.yaml +11 -10
- package/dist/specs/screenshot/website-screenshot.yaml +11 -10
- package/dist/specs/timezone/timezone-converter.yaml +36 -8
- package/dist/specs/timezone/timezone-lookup.yaml +36 -10
- package/dist/specs/weather/time-series-weather.yaml +6 -7
- package/dist/specs/whois/asn-lookup.yaml +676 -37
- package/dist/specs/whois/bulk-whois-lookup.yaml +480 -2
- package/dist/specs/whois/domain-whois-history-lookup.yaml +222 -2
- package/dist/specs/whois/reverse-whois.yaml +316 -8
- package/dist/specs/whois/whois-domain-lookup.yaml +482 -11
- package/dist/specs/whois/whois-ip-lookup.yaml +306 -255
- package/package.json +1 -1
- package/specs/commodity/historical-commodity-prices.json +37 -11
- package/specs/dns/bulk-dns-lookup.json +274 -29
- package/specs/dns/dns-lookup.json +13 -2
- package/specs/financial/bulk-vat-rates-country.json +33 -4
- package/specs/geography/flags-supported.json +20 -13
- package/specs/pdf/delete-pdf-page.json +14 -4
- package/specs/pdf/linearize-pdf.json +13 -3
- package/specs/pdf/merge-pdf.json +13 -3
- package/specs/pdf/pdf-compress.json +14 -4
- package/specs/pdf/pdf-decrypt.json +16 -6
- package/specs/pdf/pdf-encrypt.json +13 -3
- package/specs/pdf/pdf-extract-pages.json +13 -3
- package/specs/pdf/pdf-resource-upload-binary.json +1 -1
- package/specs/pdf/pdf-resource-upload.json +4 -4
- package/specs/pdf/pdf-restrict.json +16 -6
- package/specs/pdf/pdf-to-image.json +185 -0
- package/specs/pdf/pdf-unrestrict.json +16 -6
- package/specs/pdf/rotate-pdf-pages.json +13 -3
- package/specs/pdf/split-pdf.json +13 -3
- package/specs/screenshot/bulk-screenshot.json +10 -10
- package/specs/screenshot/website-screenshot.json +10 -10
- package/specs/timezone/timezone-converter.json +48 -8
- package/specs/timezone/timezone-lookup.json +53 -10
- package/specs/weather/time-series-weather.json +7 -7
- package/specs/whois/asn-lookup.json +878 -54
- package/specs/whois/bulk-whois-lookup.json +612 -2
- package/specs/whois/domain-whois-history-lookup.json +307 -2
- package/specs/whois/reverse-whois.json +453 -9
- package/specs/whois/whois-domain-lookup.json +632 -11
- package/specs/whois/whois-ip-lookup.json +427 -241
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"name": "format",
|
|
29
29
|
"in": "query",
|
|
30
30
|
"required": false,
|
|
31
|
-
"description": "
|
|
31
|
+
"description": "Response format. Currently only `json` is supported; the API returns JSON for any other accepted value.",
|
|
32
32
|
"schema": {
|
|
33
33
|
"type": "string",
|
|
34
|
-
"enum": ["json"
|
|
34
|
+
"enum": ["json"],
|
|
35
35
|
"default": "json"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"examples": {
|
|
48
48
|
"typicalSuccess": {
|
|
49
|
-
"summary": "Typical successful response",
|
|
49
|
+
"summary": "Typical successful response (first 5 of 238 countries; all 22 organizations)",
|
|
50
50
|
"value": {
|
|
51
51
|
"supported_countries": [
|
|
52
52
|
{
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
"iso3": "COL"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
|
-
"name": "
|
|
74
|
-
"iso2": "
|
|
75
|
-
"iso3": "
|
|
73
|
+
"name": "Kyrgyzstan",
|
|
74
|
+
"iso2": "KG",
|
|
75
|
+
"iso3": "KGZ"
|
|
76
76
|
}
|
|
77
77
|
],
|
|
78
78
|
"supported_organizations": [
|
|
@@ -81,21 +81,28 @@
|
|
|
81
81
|
"Arab_League",
|
|
82
82
|
"Organization_of_American_States",
|
|
83
83
|
"African_Union",
|
|
84
|
+
"Eurasian_Economic_Union",
|
|
84
85
|
"European_Union",
|
|
85
86
|
"United_Nations",
|
|
86
|
-
"
|
|
87
|
+
"Nordic_Council",
|
|
88
|
+
"Union_of_South_American_Nations",
|
|
89
|
+
"OPEC",
|
|
90
|
+
"Central_American_Integration_System",
|
|
87
91
|
"Association_of_Southeast_Asian_Nations",
|
|
88
|
-
"
|
|
92
|
+
"Collective_Security_Treaty_Organization",
|
|
93
|
+
"East_African_Community",
|
|
94
|
+
"NATO",
|
|
95
|
+
"Organisation_internationale_de_la_Francophonie",
|
|
96
|
+
"Southern_African_Development_Community",
|
|
97
|
+
"Caribbean_Community",
|
|
98
|
+
"Commonwealth_of_Nations",
|
|
99
|
+
"Turkic_Council",
|
|
100
|
+
"Pacific_Community"
|
|
89
101
|
]
|
|
90
102
|
}
|
|
91
103
|
}
|
|
92
104
|
}
|
|
93
105
|
}
|
|
94
|
-
},
|
|
95
|
-
"headers": {
|
|
96
|
-
"X-AF-Credits-Cost": {
|
|
97
|
-
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
98
|
-
}
|
|
99
106
|
}
|
|
100
107
|
}
|
|
101
108
|
}
|
|
@@ -172,19 +172,29 @@
|
|
|
172
172
|
}
|
|
173
173
|
},
|
|
174
174
|
"415": {
|
|
175
|
-
"description": "Unsupported Media Type —
|
|
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
|
-
"
|
|
180
|
-
"summary": "
|
|
179
|
+
"UnsupportedFileType": {
|
|
180
|
+
"summary": "Unsupported file type (file uploaded in the request)",
|
|
181
181
|
"value": {
|
|
182
|
-
"timestamp": "2026-
|
|
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 —
|
|
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": "
|
|
171
|
+
"summary": "Unsupported file type (file uploaded in the request)",
|
|
172
172
|
"value": {
|
|
173
|
-
"timestamp": "2026-
|
|
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": {
|
package/specs/pdf/merge-pdf.json
CHANGED
|
@@ -168,19 +168,29 @@
|
|
|
168
168
|
}
|
|
169
169
|
},
|
|
170
170
|
"415": {
|
|
171
|
-
"description": "Unsupported Media Type —
|
|
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-
|
|
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 —
|
|
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
|
-
"
|
|
193
|
-
"summary": "
|
|
192
|
+
"UnsupportedFileType": {
|
|
193
|
+
"summary": "Unsupported file type (file uploaded in the request)",
|
|
194
194
|
"value": {
|
|
195
|
-
"timestamp": "2026-
|
|
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": {
|
|
@@ -182,23 +182,33 @@
|
|
|
182
182
|
}
|
|
183
183
|
},
|
|
184
184
|
"415": {
|
|
185
|
-
"description": "Unsupported Media Type —
|
|
185
|
+
"description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
|
|
186
186
|
"content": {
|
|
187
187
|
"application/json": {
|
|
188
|
-
"schema": {
|
|
189
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
190
|
-
},
|
|
191
188
|
"examples": {
|
|
192
189
|
"UnsupportedFileType": {
|
|
193
|
-
"summary": "
|
|
190
|
+
"summary": "Unsupported file type (file uploaded in the request)",
|
|
194
191
|
"value": {
|
|
195
|
-
"timestamp": "2026-
|
|
192
|
+
"timestamp": "2026-11-20T11:30:00.027Z",
|
|
196
193
|
"path": "/v1.0/pdf/decrypt-pdf",
|
|
197
194
|
"status": 415,
|
|
198
195
|
"error": "Unsupported File Type",
|
|
199
196
|
"message": "The provided file type is not supported. Refer to the documentation for valid file types."
|
|
200
197
|
}
|
|
198
|
+
},
|
|
199
|
+
"UnsupportedFileTypeForId": {
|
|
200
|
+
"summary": "Unsupported file type for the provided file ID",
|
|
201
|
+
"value": {
|
|
202
|
+
"timestamp": "2026-11-20T11:29:28.798Z",
|
|
203
|
+
"path": "/v1.0/pdf/decrypt-pdf",
|
|
204
|
+
"status": 415,
|
|
205
|
+
"error": "Unsupported File Type",
|
|
206
|
+
"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."
|
|
207
|
+
}
|
|
201
208
|
}
|
|
209
|
+
},
|
|
210
|
+
"schema": {
|
|
211
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
202
212
|
}
|
|
203
213
|
}
|
|
204
214
|
},
|
|
@@ -200,19 +200,29 @@
|
|
|
200
200
|
}
|
|
201
201
|
},
|
|
202
202
|
"415": {
|
|
203
|
-
"description": "Unsupported Media Type —
|
|
203
|
+
"description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
|
|
204
204
|
"content": {
|
|
205
205
|
"application/json": {
|
|
206
206
|
"examples": {
|
|
207
207
|
"UnsupportedFileType": {
|
|
208
|
-
"summary": "
|
|
208
|
+
"summary": "Unsupported file type (file uploaded in the request)",
|
|
209
209
|
"value": {
|
|
210
|
-
"timestamp": "2026-
|
|
210
|
+
"timestamp": "2026-11-20T11:30:00.790Z",
|
|
211
211
|
"path": "/v1.0/pdf/encrypt-pdf",
|
|
212
212
|
"status": 415,
|
|
213
213
|
"error": "Unsupported File Type",
|
|
214
214
|
"message": "The provided file type is not supported. Refer to the documentation for valid file types."
|
|
215
215
|
}
|
|
216
|
+
},
|
|
217
|
+
"UnsupportedFileTypeForId": {
|
|
218
|
+
"summary": "Unsupported file type for the provided file ID",
|
|
219
|
+
"value": {
|
|
220
|
+
"timestamp": "2026-11-20T11:29:29.425Z",
|
|
221
|
+
"path": "/v1.0/pdf/encrypt-pdf",
|
|
222
|
+
"status": 415,
|
|
223
|
+
"error": "Unsupported File Type",
|
|
224
|
+
"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."
|
|
225
|
+
}
|
|
216
226
|
}
|
|
217
227
|
},
|
|
218
228
|
"schema": {
|
|
@@ -181,19 +181,29 @@
|
|
|
181
181
|
}
|
|
182
182
|
},
|
|
183
183
|
"415": {
|
|
184
|
-
"description": "Unsupported Media Type —
|
|
184
|
+
"description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
|
|
185
185
|
"content": {
|
|
186
186
|
"application/json": {
|
|
187
187
|
"examples": {
|
|
188
188
|
"UnsupportedFileType": {
|
|
189
|
-
"summary": "
|
|
189
|
+
"summary": "Unsupported file type (file uploaded in the request)",
|
|
190
190
|
"value": {
|
|
191
|
-
"timestamp": "2026-
|
|
191
|
+
"timestamp": "2026-11-20T11:29:57.308Z",
|
|
192
192
|
"path": "/v1.0/pdf/extract-pages",
|
|
193
193
|
"status": 415,
|
|
194
194
|
"error": "Unsupported File Type",
|
|
195
195
|
"message": "The provided file type is not supported. Refer to the documentation for valid file types."
|
|
196
196
|
}
|
|
197
|
+
},
|
|
198
|
+
"UnsupportedFileTypeForId": {
|
|
199
|
+
"summary": "Unsupported file type for the provided file ID",
|
|
200
|
+
"value": {
|
|
201
|
+
"timestamp": "2026-11-20T11:29:27.200Z",
|
|
202
|
+
"path": "/v1.0/pdf/extract-pages",
|
|
203
|
+
"status": 415,
|
|
204
|
+
"error": "Unsupported File Type",
|
|
205
|
+
"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."
|
|
206
|
+
}
|
|
197
207
|
}
|
|
198
208
|
},
|
|
199
209
|
"schema": {
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"UnsupportedFileType": {
|
|
128
128
|
"summary": "Unsupported file type",
|
|
129
129
|
"value": {
|
|
130
|
-
"timestamp": "2026-
|
|
130
|
+
"timestamp": "2026-11-20T11:30:10.529Z",
|
|
131
131
|
"path": "/v1.0/pdf/upload-binary",
|
|
132
132
|
"status": 415,
|
|
133
133
|
"error": "Unsupported File Type",
|
|
@@ -130,20 +130,20 @@
|
|
|
130
130
|
"description": "Unsupported Media Type — File type not supported",
|
|
131
131
|
"content": {
|
|
132
132
|
"application/json": {
|
|
133
|
-
"schema": {
|
|
134
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
135
|
-
},
|
|
136
133
|
"examples": {
|
|
137
134
|
"unsupportedFileType": {
|
|
138
135
|
"summary": "Unsupported file type",
|
|
139
136
|
"value": {
|
|
140
|
-
"timestamp": "2026-
|
|
137
|
+
"timestamp": "2026-11-20T11:28:22.868Z",
|
|
141
138
|
"path": "/v1.0/pdf/upload",
|
|
142
139
|
"status": 415,
|
|
143
140
|
"error": "Unsupported File Type",
|
|
144
141
|
"message": "The provided file type is not supported. Refer to the documentation for valid file types."
|
|
145
142
|
}
|
|
146
143
|
}
|
|
144
|
+
},
|
|
145
|
+
"schema": {
|
|
146
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
},
|
|
@@ -229,23 +229,33 @@
|
|
|
229
229
|
}
|
|
230
230
|
},
|
|
231
231
|
"415": {
|
|
232
|
-
"description": "Unsupported Media Type —
|
|
232
|
+
"description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
|
|
233
233
|
"content": {
|
|
234
234
|
"application/json": {
|
|
235
|
-
"schema": {
|
|
236
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
237
|
-
},
|
|
238
235
|
"examples": {
|
|
239
236
|
"UnsupportedFileType": {
|
|
240
|
-
"summary": "
|
|
237
|
+
"summary": "Unsupported file type (file uploaded in the request)",
|
|
241
238
|
"value": {
|
|
242
|
-
"timestamp": "2026-
|
|
239
|
+
"timestamp": "2026-11-20T11:30:01.367Z",
|
|
243
240
|
"path": "/v1.0/pdf/restrict-pdf",
|
|
244
241
|
"status": 415,
|
|
245
242
|
"error": "Unsupported File Type",
|
|
246
243
|
"message": "The provided file type is not supported. Refer to the documentation for valid file types."
|
|
247
244
|
}
|
|
245
|
+
},
|
|
246
|
+
"UnsupportedFileTypeForId": {
|
|
247
|
+
"summary": "Unsupported file type for the provided file ID",
|
|
248
|
+
"value": {
|
|
249
|
+
"timestamp": "2026-11-20T11:29:30.158Z",
|
|
250
|
+
"path": "/v1.0/pdf/restrict-pdf",
|
|
251
|
+
"status": 415,
|
|
252
|
+
"error": "Unsupported File Type",
|
|
253
|
+
"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."
|
|
254
|
+
}
|
|
248
255
|
}
|
|
256
|
+
},
|
|
257
|
+
"schema": {
|
|
258
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
249
259
|
}
|
|
250
260
|
}
|
|
251
261
|
},
|
|
@@ -228,6 +228,43 @@
|
|
|
228
228
|
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
|
+
},
|
|
232
|
+
"415": {
|
|
233
|
+
"description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
|
|
234
|
+
"content": {
|
|
235
|
+
"application/json": {
|
|
236
|
+
"examples": {
|
|
237
|
+
"UnsupportedFileType": {
|
|
238
|
+
"summary": "Unsupported file type (file uploaded in the request)",
|
|
239
|
+
"value": {
|
|
240
|
+
"timestamp": "2026-11-20T11:30:03.767Z",
|
|
241
|
+
"path": "/v1.0/pdf/png",
|
|
242
|
+
"status": 415,
|
|
243
|
+
"error": "Unsupported File Type",
|
|
244
|
+
"message": "The provided file type is not supported. Refer to the documentation for valid file types."
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"UnsupportedFileTypeForId": {
|
|
248
|
+
"summary": "Unsupported file type for the provided file ID",
|
|
249
|
+
"value": {
|
|
250
|
+
"timestamp": "2026-11-20T11:29:36.193Z",
|
|
251
|
+
"path": "/v1.0/pdf/png",
|
|
252
|
+
"status": 415,
|
|
253
|
+
"error": "Unsupported File Type",
|
|
254
|
+
"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."
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"schema": {
|
|
259
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"headers": {
|
|
264
|
+
"X-AF-Credits-Cost": {
|
|
265
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
231
268
|
}
|
|
232
269
|
},
|
|
233
270
|
"operationId": "pdfToImage"
|
|
@@ -463,6 +500,43 @@
|
|
|
463
500
|
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
464
501
|
}
|
|
465
502
|
}
|
|
503
|
+
},
|
|
504
|
+
"415": {
|
|
505
|
+
"description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
|
|
506
|
+
"content": {
|
|
507
|
+
"application/json": {
|
|
508
|
+
"examples": {
|
|
509
|
+
"UnsupportedFileType": {
|
|
510
|
+
"summary": "Unsupported file type (file uploaded in the request)",
|
|
511
|
+
"value": {
|
|
512
|
+
"timestamp": "2026-11-20T11:30:05.678Z",
|
|
513
|
+
"path": "/v1.0/pdf/jpg",
|
|
514
|
+
"status": 415,
|
|
515
|
+
"error": "Unsupported File Type",
|
|
516
|
+
"message": "The provided file type is not supported. Refer to the documentation for valid file types."
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
"UnsupportedFileTypeForId": {
|
|
520
|
+
"summary": "Unsupported file type for the provided file ID",
|
|
521
|
+
"value": {
|
|
522
|
+
"timestamp": "2026-11-20T11:29:32.646Z",
|
|
523
|
+
"path": "/v1.0/pdf/jpg",
|
|
524
|
+
"status": 415,
|
|
525
|
+
"error": "Unsupported File Type",
|
|
526
|
+
"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."
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
"schema": {
|
|
531
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
"headers": {
|
|
536
|
+
"X-AF-Credits-Cost": {
|
|
537
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
538
|
+
}
|
|
539
|
+
}
|
|
466
540
|
}
|
|
467
541
|
}
|
|
468
542
|
}
|
|
@@ -678,6 +752,43 @@
|
|
|
678
752
|
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
679
753
|
}
|
|
680
754
|
}
|
|
755
|
+
},
|
|
756
|
+
"415": {
|
|
757
|
+
"description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
|
|
758
|
+
"content": {
|
|
759
|
+
"application/json": {
|
|
760
|
+
"examples": {
|
|
761
|
+
"UnsupportedFileType": {
|
|
762
|
+
"summary": "Unsupported file type (file uploaded in the request)",
|
|
763
|
+
"value": {
|
|
764
|
+
"timestamp": "2026-11-20T11:30:06.388Z",
|
|
765
|
+
"path": "/v1.0/pdf/tif",
|
|
766
|
+
"status": 415,
|
|
767
|
+
"error": "Unsupported File Type",
|
|
768
|
+
"message": "The provided file type is not supported. Refer to the documentation for valid file types."
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
"UnsupportedFileTypeForId": {
|
|
772
|
+
"summary": "Unsupported file type for the provided file ID",
|
|
773
|
+
"value": {
|
|
774
|
+
"timestamp": "2026-11-20T11:29:36.193Z",
|
|
775
|
+
"path": "/v1.0/pdf/tif",
|
|
776
|
+
"status": 415,
|
|
777
|
+
"error": "Unsupported File Type",
|
|
778
|
+
"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."
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
"schema": {
|
|
783
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
"headers": {
|
|
788
|
+
"X-AF-Credits-Cost": {
|
|
789
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
790
|
+
}
|
|
791
|
+
}
|
|
681
792
|
}
|
|
682
793
|
}
|
|
683
794
|
}
|
|
@@ -893,6 +1004,43 @@
|
|
|
893
1004
|
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
894
1005
|
}
|
|
895
1006
|
}
|
|
1007
|
+
},
|
|
1008
|
+
"415": {
|
|
1009
|
+
"description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
|
|
1010
|
+
"content": {
|
|
1011
|
+
"application/json": {
|
|
1012
|
+
"examples": {
|
|
1013
|
+
"UnsupportedFileType": {
|
|
1014
|
+
"summary": "Unsupported file type (file uploaded in the request)",
|
|
1015
|
+
"value": {
|
|
1016
|
+
"timestamp": "2026-11-20T11:30:07.356Z",
|
|
1017
|
+
"path": "/v1.0/pdf/bmp",
|
|
1018
|
+
"status": 415,
|
|
1019
|
+
"error": "Unsupported File Type",
|
|
1020
|
+
"message": "The provided file type is not supported. Refer to the documentation for valid file types."
|
|
1021
|
+
}
|
|
1022
|
+
},
|
|
1023
|
+
"UnsupportedFileTypeForId": {
|
|
1024
|
+
"summary": "Unsupported file type for the provided file ID",
|
|
1025
|
+
"value": {
|
|
1026
|
+
"timestamp": "2026-11-20T11:29:36.193Z",
|
|
1027
|
+
"path": "/v1.0/pdf/bmp",
|
|
1028
|
+
"status": 415,
|
|
1029
|
+
"error": "Unsupported File Type",
|
|
1030
|
+
"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."
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
1034
|
+
"schema": {
|
|
1035
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
"headers": {
|
|
1040
|
+
"X-AF-Credits-Cost": {
|
|
1041
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
896
1044
|
}
|
|
897
1045
|
}
|
|
898
1046
|
}
|
|
@@ -1108,6 +1256,43 @@
|
|
|
1108
1256
|
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
1109
1257
|
}
|
|
1110
1258
|
}
|
|
1259
|
+
},
|
|
1260
|
+
"415": {
|
|
1261
|
+
"description": "Unsupported Media Type — The uploaded file type, or the file type associated with the provided file_id, is not supported for this operation",
|
|
1262
|
+
"content": {
|
|
1263
|
+
"application/json": {
|
|
1264
|
+
"examples": {
|
|
1265
|
+
"UnsupportedFileType": {
|
|
1266
|
+
"summary": "Unsupported file type (file uploaded in the request)",
|
|
1267
|
+
"value": {
|
|
1268
|
+
"timestamp": "2026-11-20T11:30:10.008Z",
|
|
1269
|
+
"path": "/v1.0/pdf/gif",
|
|
1270
|
+
"status": 415,
|
|
1271
|
+
"error": "Unsupported File Type",
|
|
1272
|
+
"message": "The provided file type is not supported. Refer to the documentation for valid file types."
|
|
1273
|
+
}
|
|
1274
|
+
},
|
|
1275
|
+
"UnsupportedFileTypeForId": {
|
|
1276
|
+
"summary": "Unsupported file type for the provided file ID",
|
|
1277
|
+
"value": {
|
|
1278
|
+
"timestamp": "2026-11-20T11:29:36.193Z",
|
|
1279
|
+
"path": "/v1.0/pdf/gif",
|
|
1280
|
+
"status": 415,
|
|
1281
|
+
"error": "Unsupported File Type",
|
|
1282
|
+
"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."
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
},
|
|
1286
|
+
"schema": {
|
|
1287
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
},
|
|
1291
|
+
"headers": {
|
|
1292
|
+
"X-AF-Credits-Cost": {
|
|
1293
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1111
1296
|
}
|
|
1112
1297
|
}
|
|
1113
1298
|
}
|