@apifreaks/openapi-specs 0.1.0
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/LICENSE +21 -0
- package/README.md +156 -0
- package/dist/index.cjs +44663 -0
- package/dist/index.d.cts +30 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +44631 -0
- package/package.json +81 -0
- package/specs/commodity/commodity-fluctuation.json +301 -0
- package/specs/commodity/commodity-prices.json +317 -0
- package/specs/commodity/commodity-symbols.json +215 -0
- package/specs/commodity/commodity-time-series.json +329 -0
- package/specs/commodity/historical-commodity-prices.json +273 -0
- package/specs/currency/currency-converter.json +261 -0
- package/specs/currency/currency-fluctuation.json +282 -0
- package/specs/currency/currency-historical-data-limit.json +158 -0
- package/specs/currency/currency-rate.json +229 -0
- package/specs/currency/currency-supported.json +234 -0
- package/specs/currency/currency-symbols.json +161 -0
- package/specs/currency/currency-time-series.json +325 -0
- package/specs/currency/geolocalized-currency-conversion.json +287 -0
- package/specs/currency/historical-currency-converter.json +269 -0
- package/specs/currency/historical-currency-rate.json +246 -0
- package/specs/dns/bulk-dns-lookup.json +624 -0
- package/specs/dns/dns-history-lookup.json +579 -0
- package/specs/dns/dns-lookup.json +466 -0
- package/specs/dns/reverse-dns-lookup.json +414 -0
- package/specs/domain/bulk-domain-checker.json +284 -0
- package/specs/domain/domain-search-with-suggestions.json +280 -0
- package/specs/domain/domain-search.json +206 -0
- package/specs/domain/subdomain-lookup.json +343 -0
- package/specs/email-validation/bulk-email-validation.json +534 -0
- package/specs/email-validation/email-checker.json +586 -0
- package/specs/financial/bulk-vat-rates-country.json +341 -0
- package/specs/financial/financial-apis-supported-countries.json +204 -0
- package/specs/financial/iban-validation.json +328 -0
- package/specs/financial/swift-code-finder.json +192 -0
- package/specs/financial/swift-code-lookup.json +220 -0
- package/specs/financial/vat-number-validation.json +283 -0
- package/specs/financial/vat-rates-by-ip.json +275 -0
- package/specs/financial/vat-rates-country.json +288 -0
- package/specs/general/usage-credits.json +218 -0
- package/specs/geocoding/forward-geocoding.json +402 -0
- package/specs/geocoding/reverse-geocoding.json +326 -0
- package/specs/geodb/administrative-units-details.json +250 -0
- package/specs/geodb/administrative-units-levels.json +198 -0
- package/specs/geodb/administrative-units.json +237 -0
- package/specs/geodb/cities.json +288 -0
- package/specs/geodb/countries-details.json +274 -0
- package/specs/geodb/countries.json +276 -0
- package/specs/geodb/flags-supported.json +166 -0
- package/specs/geodb/flags.json +227 -0
- package/specs/geodb/regions.json +109 -0
- package/specs/geodb/subregions.json +217 -0
- package/specs/ip-intelligence/bulk-ip-lookup.json +1162 -0
- package/specs/ip-intelligence/bulk-ip-threat-intelligence.json +417 -0
- package/specs/ip-intelligence/ip-locator.json +941 -0
- package/specs/ip-intelligence/ip-threat-intelligence.json +316 -0
- package/specs/other/astronomy-data.json +803 -0
- package/specs/pdf/delete-pdf-page.json +286 -0
- package/specs/pdf/linearize-pdf.json +277 -0
- package/specs/pdf/merge-pdf.json +285 -0
- package/specs/pdf/pdf-compress.json +304 -0
- package/specs/pdf/pdf-decrypt.json +297 -0
- package/specs/pdf/pdf-encrypt.json +314 -0
- package/specs/pdf/pdf-extract-pages.json +295 -0
- package/specs/pdf/pdf-file-status.json +208 -0
- package/specs/pdf/pdf-file.json +190 -0
- package/specs/pdf/pdf-files.json +126 -0
- package/specs/pdf/pdf-resource-download.json +168 -0
- package/specs/pdf/pdf-resource-upload-binary.json +218 -0
- package/specs/pdf/pdf-resource-upload.json +248 -0
- package/specs/pdf/pdf-restrict.json +343 -0
- package/specs/pdf/pdf-split-pages.json +281 -0
- package/specs/pdf/pdf-task-status.json +252 -0
- package/specs/pdf/pdf-to-image.json +1219 -0
- package/specs/pdf/pdf-unrestrict.json +324 -0
- package/specs/pdf/rotate-pdf-pages.json +305 -0
- package/specs/phone-validation/bulk-phone-number-validation.json +518 -0
- package/specs/phone-validation/phone-number-validation.json +456 -0
- package/specs/scraper/web-scraper.json +674 -0
- package/specs/screenshot/bulk-screenshot.json +949 -0
- package/specs/screenshot/website-screenshot.json +1147 -0
- package/specs/ssl/ssl-certificate-chain-lookup.json +756 -0
- package/specs/ssl/ssl-certificate-lookup.json +634 -0
- package/specs/timezone/timezone-converter.json +362 -0
- package/specs/timezone/timezone-lookup.json +910 -0
- package/specs/user-agent/bulk-user-agent-parser.json +441 -0
- package/specs/user-agent/user-agent-parser.json +346 -0
- package/specs/weather/air-quality.json +779 -0
- package/specs/weather/bulk-live-weather.json +834 -0
- package/specs/weather/flood-forecast.json +693 -0
- package/specs/weather/historical-weather.json +1019 -0
- package/specs/weather/live-weather.json +789 -0
- package/specs/weather/marine-weather.json +940 -0
- package/specs/weather/time-series-weather.json +1056 -0
- package/specs/weather/weather-forecast.json +1202 -0
- package/specs/whois/asn-lookup.json +729 -0
- package/specs/whois/bulk-whois-lookup.json +698 -0
- package/specs/whois/domain-whois-history-lookup.json +500 -0
- package/specs/whois/reverse-whois.json +625 -0
- package/specs/whois/whois-domain-lookup.json +533 -0
- package/specs/whois/whois-ip-lookup.json +1110 -0
- package/specs/zip-code/bulk-zip-code-lookup.json +318 -0
- package/specs/zip-code/zip-code-api.json +299 -0
- package/specs/zip-code/zip-code-distance-match.json +311 -0
- package/specs/zip-code/zip-code-distance.json +307 -0
- package/specs/zip-code/zip-codes-by-city.json +279 -0
- package/specs/zip-code/zip-codes-by-region.json +278 -0
- package/specs/zip-code/zip-codes-radius-search.json +349 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.1.1",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "PDF Files API Reference",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"description": "Retrieve a list of all PDF files uploaded and generated by a user. Returns an array of file objects with file ID and file name. Note: Organization members cannot access this endpoint — only the Organization Administrator can.",
|
|
7
|
+
"contact": {
|
|
8
|
+
"name": "APIFreaks Support",
|
|
9
|
+
"url": "https://apifreaks.com/contact",
|
|
10
|
+
"email": "support@apifreaks.com"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"servers": [
|
|
14
|
+
{
|
|
15
|
+
"url": "https://api.apifreaks.com/v1.0",
|
|
16
|
+
"description": "PDF Files API Server"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"paths": {
|
|
20
|
+
"/pdf/files": {
|
|
21
|
+
"get": {
|
|
22
|
+
"tags": ["Task Status and File Info APIs"],
|
|
23
|
+
"summary": "Get list of PDF files",
|
|
24
|
+
"description": "This API retrieves a list of all PDF files uploaded and generated by a specific user. Please note that if the user is part of an organization, only the Organization Administrator can access this endpoint. Organization Members cannot access this endpoint.",
|
|
25
|
+
"parameters": [
|
|
26
|
+
{
|
|
27
|
+
"name": "format",
|
|
28
|
+
"in": "query",
|
|
29
|
+
"required": false,
|
|
30
|
+
"schema": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": ["json", "xml"],
|
|
33
|
+
"default": "json"
|
|
34
|
+
},
|
|
35
|
+
"description": "Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure."
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"responses": {
|
|
39
|
+
"200": {
|
|
40
|
+
"description": "Successful operation",
|
|
41
|
+
"content": {
|
|
42
|
+
"application/json": {
|
|
43
|
+
"schema": {
|
|
44
|
+
"$ref": "#/components/schemas/PdfFileListResponse"
|
|
45
|
+
},
|
|
46
|
+
"examples": {
|
|
47
|
+
"success": {
|
|
48
|
+
"summary": "File list",
|
|
49
|
+
"value": {
|
|
50
|
+
"files": [
|
|
51
|
+
{
|
|
52
|
+
"fileId": "abc123",
|
|
53
|
+
"fileName": "document.pdf"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"fileId": "def456",
|
|
57
|
+
"fileName": "report.pdf"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"operationId": "getFiles"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"components": {
|
|
72
|
+
"securitySchemes": {
|
|
73
|
+
"ApiKeyAuthHeader": {
|
|
74
|
+
"type": "apiKey",
|
|
75
|
+
"in": "header",
|
|
76
|
+
"name": "X-apiKey",
|
|
77
|
+
"description": "Pass your API key via the X-apiKey request header."
|
|
78
|
+
},
|
|
79
|
+
"ApiKeyAuthQuery": {
|
|
80
|
+
"type": "apiKey",
|
|
81
|
+
"in": "query",
|
|
82
|
+
"name": "apiKey",
|
|
83
|
+
"description": "Pass your API key via the apiKey query parameter."
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"schemas": {
|
|
87
|
+
"PdfFileListResponse": {
|
|
88
|
+
"type": "object",
|
|
89
|
+
"description": "PDF file list response containing an array of file objects.",
|
|
90
|
+
"required": ["files"],
|
|
91
|
+
"properties": {
|
|
92
|
+
"files": {
|
|
93
|
+
"type": "array",
|
|
94
|
+
"description": "List of files available on the server.",
|
|
95
|
+
"items": {
|
|
96
|
+
"$ref": "#/components/schemas/PdfFileItem"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"PdfFileItem": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"description": "A single PDF file in the file list.",
|
|
104
|
+
"properties": {
|
|
105
|
+
"fileId": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"description": "Unique ID for the file, used to fetch or process the file."
|
|
108
|
+
},
|
|
109
|
+
"fileName": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"description": "Original name of the uploaded file."
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"required": []
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"security": [
|
|
119
|
+
{
|
|
120
|
+
"ApiKeyAuthHeader": []
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"ApiKeyAuthQuery": []
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.1.1",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "PDF Resource Download API Reference",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"description": "Download PDF files or ZIP archives from the server using their unique resource ID. Returns the file as a binary stream for direct download. Supports PDF and ZIP output formats depending on the requested resource.",
|
|
7
|
+
"contact": {
|
|
8
|
+
"name": "APIFreaks Support",
|
|
9
|
+
"url": "https://apifreaks.com/contact",
|
|
10
|
+
"email": "support@apifreaks.com"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"servers": [
|
|
14
|
+
{
|
|
15
|
+
"url": "https://api.apifreaks.com/v1.0",
|
|
16
|
+
"description": "PDF Resource Download API Server"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"paths": {
|
|
20
|
+
"/pdf/resource/download": {
|
|
21
|
+
"get": {
|
|
22
|
+
"tags": ["PDF Upload and Download APIs"],
|
|
23
|
+
"summary": "Download PDF resource",
|
|
24
|
+
"description": "This API downloads PDF files or ZIP archives from the server using their unique resource ID.",
|
|
25
|
+
"parameters": [
|
|
26
|
+
{
|
|
27
|
+
"name": "format",
|
|
28
|
+
"in": "query",
|
|
29
|
+
"required": false,
|
|
30
|
+
"schema": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": ["json", "xml"],
|
|
33
|
+
"default": "json"
|
|
34
|
+
},
|
|
35
|
+
"description": "Response format: 'json' (default) or 'xml'."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "resource_id",
|
|
39
|
+
"in": "query",
|
|
40
|
+
"description": "The unique identifier of the file or ZIP archive to download.",
|
|
41
|
+
"required": true,
|
|
42
|
+
"schema": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"responses": {
|
|
48
|
+
"200": {
|
|
49
|
+
"description": "File download successful. Returns the raw file bytes with Content-Disposition: attachment, not a JSON body.",
|
|
50
|
+
"content": {
|
|
51
|
+
"application/pdf": {
|
|
52
|
+
"schema": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"format": "binary"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"application/zip": {
|
|
58
|
+
"schema": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"format": "binary"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"400": {
|
|
66
|
+
"description": "Bad Request — Missing required resource_id parameter",
|
|
67
|
+
"content": {
|
|
68
|
+
"application/json": {
|
|
69
|
+
"examples": {
|
|
70
|
+
"missingResourceId": {
|
|
71
|
+
"summary": "Missing resource_id parameter",
|
|
72
|
+
"value": {
|
|
73
|
+
"error": "Invalid Param Exception",
|
|
74
|
+
"message": "please pass correct parameters",
|
|
75
|
+
"path": "/v1.0/pdf/resource/download",
|
|
76
|
+
"status": 400,
|
|
77
|
+
"timestamp": "2026-07-27T10:47:12.356Z"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"schema": {
|
|
82
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"404": {
|
|
88
|
+
"description": "Resource ID Not Found",
|
|
89
|
+
"content": {
|
|
90
|
+
"application/json": {
|
|
91
|
+
"examples": {
|
|
92
|
+
"error": {
|
|
93
|
+
"summary": "Resource ID not found",
|
|
94
|
+
"value": {
|
|
95
|
+
"timestamp": "2026-07-27T10:47:12.926Z",
|
|
96
|
+
"path": "/v1.0/pdf/resource",
|
|
97
|
+
"status": 404,
|
|
98
|
+
"error": "Resource ID Not Found",
|
|
99
|
+
"message": "Please provide a valid resource ID."
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"schema": {
|
|
104
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"operationId": "downloadResource"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"components": {
|
|
115
|
+
"securitySchemes": {
|
|
116
|
+
"ApiKeyAuthHeader": {
|
|
117
|
+
"type": "apiKey",
|
|
118
|
+
"in": "header",
|
|
119
|
+
"name": "X-apiKey",
|
|
120
|
+
"description": "Pass your API key via the X-apiKey request header."
|
|
121
|
+
},
|
|
122
|
+
"ApiKeyAuthQuery": {
|
|
123
|
+
"type": "apiKey",
|
|
124
|
+
"in": "query",
|
|
125
|
+
"name": "apiKey",
|
|
126
|
+
"description": "Pass your API key via the apiKey query parameter."
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"schemas": {
|
|
130
|
+
"ErrorResponse": {
|
|
131
|
+
"type": "object",
|
|
132
|
+
"description": "Standard error envelope returned by the API on failed requests.",
|
|
133
|
+
"required": ["message"],
|
|
134
|
+
"properties": {
|
|
135
|
+
"error": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"description": "Short error category or exception type."
|
|
138
|
+
},
|
|
139
|
+
"message": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"description": "Human-readable error message describing the failure."
|
|
142
|
+
},
|
|
143
|
+
"path": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"description": "API endpoint path that produced the error."
|
|
146
|
+
},
|
|
147
|
+
"status": {
|
|
148
|
+
"type": "integer",
|
|
149
|
+
"description": "HTTP status code returned with the error."
|
|
150
|
+
},
|
|
151
|
+
"timestamp": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"format": "date-time",
|
|
154
|
+
"description": "Timestamp when the error occurred (ISO 8601)."
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"security": [
|
|
161
|
+
{
|
|
162
|
+
"ApiKeyAuthHeader": []
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"ApiKeyAuthQuery": []
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.1.1",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "PDF Binary Resource Upload API Reference",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"description": "Upload a PDF file as raw binary data in the request body. Returns file metadata including the file ID, file name, size, and type. This endpoint accepts the raw file bytes directly instead of multipart form-data.",
|
|
7
|
+
"contact": {
|
|
8
|
+
"name": "APIFreaks Support",
|
|
9
|
+
"url": "https://apifreaks.com/contact",
|
|
10
|
+
"email": "support@apifreaks.com"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"servers": [
|
|
14
|
+
{
|
|
15
|
+
"url": "https://api.apifreaks.com/v1.0",
|
|
16
|
+
"description": "PDF Binary Resource Upload API Server"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"paths": {
|
|
20
|
+
"/pdf/resource/upload-binary": {
|
|
21
|
+
"post": {
|
|
22
|
+
"tags": [
|
|
23
|
+
"PDF Upload and Download APIs"
|
|
24
|
+
],
|
|
25
|
+
"summary": "Upload a PDF in binary format",
|
|
26
|
+
"description": "This API uploads PDF files to the API Freaks server in binary format.",
|
|
27
|
+
"parameters": [
|
|
28
|
+
{
|
|
29
|
+
"name": "format",
|
|
30
|
+
"in": "query",
|
|
31
|
+
"required": false,
|
|
32
|
+
"schema": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"enum": [
|
|
35
|
+
"json",
|
|
36
|
+
"xml"
|
|
37
|
+
],
|
|
38
|
+
"default": "json"
|
|
39
|
+
},
|
|
40
|
+
"description": "Specifies the desired format for the API response. Choose 'json' for a JSON object or 'xml' for an XML structure."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "file_name",
|
|
44
|
+
"in": "query",
|
|
45
|
+
"required": true,
|
|
46
|
+
"schema": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"description": "The desired name for the uploaded PDF file. This name will be used for storage on the server.\n\n\n **NOTE**: Please ensure file_name has extension `.pdf`."
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"requestBody": {
|
|
53
|
+
"description": "Raw PDF file bytes sent directly as the request body (not multipart).",
|
|
54
|
+
"required": true,
|
|
55
|
+
"content": {
|
|
56
|
+
"application/octet-stream": {
|
|
57
|
+
"schema": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"format": "binary",
|
|
60
|
+
"description": "The PDF file to be uploaded to the API Freaks server in binary format."
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"responses": {
|
|
66
|
+
"200": {
|
|
67
|
+
"description": "PDF upload successfully",
|
|
68
|
+
"content": {
|
|
69
|
+
"application/json": {
|
|
70
|
+
"schema": {
|
|
71
|
+
"$ref": "#/components/schemas/BinaryResourceUploadResponse"
|
|
72
|
+
},
|
|
73
|
+
"examples": {
|
|
74
|
+
"success": {
|
|
75
|
+
"summary": "File uploaded",
|
|
76
|
+
"value": {
|
|
77
|
+
"fileName": "binarytest.pdf",
|
|
78
|
+
"fileId": "b0fbf78c-8fe2-49b6-ad3d-63efb4ac8e58"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"400": {
|
|
86
|
+
"description": "Bad Request \u2014 Missing file_name or empty body",
|
|
87
|
+
"content": {
|
|
88
|
+
"application/json": {
|
|
89
|
+
"examples": {
|
|
90
|
+
"missingFileName": {
|
|
91
|
+
"summary": "Missing file_name query parameter",
|
|
92
|
+
"value": {
|
|
93
|
+
"error": "Invalid Param Exception",
|
|
94
|
+
"message": "please pass correct parameters",
|
|
95
|
+
"path": "/v1.0/pdf/resource/upload-binary",
|
|
96
|
+
"status": 400,
|
|
97
|
+
"timestamp": "2026-07-27T10:48:14.902Z"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"emptyBody": {
|
|
101
|
+
"summary": "Empty request body",
|
|
102
|
+
"value": {
|
|
103
|
+
"timestamp": "2026-07-27T10:48:16.046Z",
|
|
104
|
+
"path": "/v1.0/pdf/upload-binary",
|
|
105
|
+
"status": 400,
|
|
106
|
+
"error": "Invalid Parameter",
|
|
107
|
+
"message": "Invalid parameter value provided for 'dataBufferFlux'."
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"schema": {
|
|
112
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"415": {
|
|
118
|
+
"description": "Unsupported Media Type \u2014 File extension not supported",
|
|
119
|
+
"content": {
|
|
120
|
+
"application/json": {
|
|
121
|
+
"examples": {
|
|
122
|
+
"UnsupportedFileType": {
|
|
123
|
+
"summary": "Unsupported file type",
|
|
124
|
+
"value": {
|
|
125
|
+
"timestamp": "2026-07-27T10:48:15.449Z",
|
|
126
|
+
"path": "/v1.0/pdf/upload-binary",
|
|
127
|
+
"status": 415,
|
|
128
|
+
"error": "Unsupported File Type",
|
|
129
|
+
"message": "The provided file type is not supported. Refer to the documentation for valid file types."
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"schema": {
|
|
134
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"operationId": "uploadResourceBinary"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"components": {
|
|
145
|
+
"securitySchemes": {
|
|
146
|
+
"ApiKeyAuthHeader": {
|
|
147
|
+
"type": "apiKey",
|
|
148
|
+
"in": "header",
|
|
149
|
+
"name": "X-apiKey",
|
|
150
|
+
"description": "Pass your API key via the X-apiKey request header."
|
|
151
|
+
},
|
|
152
|
+
"ApiKeyAuthQuery": {
|
|
153
|
+
"type": "apiKey",
|
|
154
|
+
"in": "query",
|
|
155
|
+
"name": "apiKey",
|
|
156
|
+
"description": "Pass your API key via the apiKey query parameter."
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"schemas": {
|
|
160
|
+
"BinaryResourceUploadResponse": {
|
|
161
|
+
"type": "object",
|
|
162
|
+
"required": [
|
|
163
|
+
"fileName",
|
|
164
|
+
"fileId"
|
|
165
|
+
],
|
|
166
|
+
"properties": {
|
|
167
|
+
"fileName": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"description": "The name of the uploaded file."
|
|
170
|
+
},
|
|
171
|
+
"fileId": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"description": "The unique identifier assigned to the uploaded file."
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"description": "Binary resource upload response containing file metadata."
|
|
177
|
+
},
|
|
178
|
+
"ErrorResponse": {
|
|
179
|
+
"type": "object",
|
|
180
|
+
"description": "Standard error envelope returned by the API on failed requests.",
|
|
181
|
+
"required": [
|
|
182
|
+
"message"
|
|
183
|
+
],
|
|
184
|
+
"properties": {
|
|
185
|
+
"error": {
|
|
186
|
+
"type": "string",
|
|
187
|
+
"description": "Short error category or exception type."
|
|
188
|
+
},
|
|
189
|
+
"message": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"description": "Human-readable error message describing the failure."
|
|
192
|
+
},
|
|
193
|
+
"path": {
|
|
194
|
+
"type": "string",
|
|
195
|
+
"description": "API endpoint path that produced the error."
|
|
196
|
+
},
|
|
197
|
+
"status": {
|
|
198
|
+
"type": "integer",
|
|
199
|
+
"description": "HTTP status code returned with the error."
|
|
200
|
+
},
|
|
201
|
+
"timestamp": {
|
|
202
|
+
"type": "string",
|
|
203
|
+
"format": "date-time",
|
|
204
|
+
"description": "Timestamp when the error occurred (ISO 8601)."
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"security": [
|
|
211
|
+
{
|
|
212
|
+
"ApiKeyAuthHeader": []
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"ApiKeyAuthQuery": []
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
}
|