@apifreaks/openapi-specs 0.4.6 → 0.4.7

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 CHANGED
@@ -33832,7 +33832,7 @@ var bulk_user_agent_parser_default = {
33832
33832
  info: {
33833
33833
  title: "Bulk User Agent Parser - Multi User Agent Parsing",
33834
33834
  version: "1.0.0",
33835
- description: "Parse multiple User-Agent strings in a single POST request to obtain detailed browser, device, operating system, and rendering engine information for each string. Supports up to 50,000 User-Agent strings per request. Each entry in the response array mirrors the shape of a single User Agent Parser result --- including browser/app name and version, device hardware (name, type, brand, CPU), layout engine data, and operating system metadata --- in the same order as the request. A malformed/unparsable (but non-empty) string does not fail the batch; it simply comes back with every classification field set to `Hacker`, just like the single-lookup endpoint. An empty string or `null` anywhere in the array does fail the whole request with a `400`, not a per-item error --- there is no partial-failure array shape for this endpoint.",
33835
+ description: "Parse multiple User-Agent strings in a single POST request to obtain detailed browser, device, operating system, and rendering engine information for each string. Supports up to 100 User-Agent strings per request; exceeding that returns a 413, not a 400. Each entry in the response array mirrors the shape of a single User Agent Parser result --- including browser/app name and version, device hardware (name, type, brand, CPU), layout engine data, and operating system metadata --- in the same order as the request. A malformed/unparsable (but non-empty) string does not fail the batch; it simply comes back with every classification field set to `Hacker`, just like the single-lookup endpoint. An empty string or `null` anywhere in the array does fail the whole request with a `400`, not a per-item error --- there is no partial-failure array shape for this endpoint.",
33836
33836
  contact: {
33837
33837
  name: "APIFreaks Support",
33838
33838
  url: "https://apifreaks.com/contact",
@@ -33850,7 +33850,7 @@ var bulk_user_agent_parser_default = {
33850
33850
  post: {
33851
33851
  tags: ["User Agent APIs"],
33852
33852
  summary: "Parse multiple User-Agent strings in a single request to obtain browser, device, and operating system details",
33853
- description: "Parse up to 50,000 User-Agent strings simultaneously in a single request. Returns structured details about the browser, device, layout engine, and operating system for each string.",
33853
+ description: "Parse up to 100 User-Agent strings simultaneously in a single request. Returns structured details about the browser, device, layout engine, and operating system for each string.",
33854
33854
  operationId: "bulkParseUserAgent",
33855
33855
  parameters: [
33856
33856
  {
@@ -34077,6 +34077,28 @@ var bulk_user_agent_parser_default = {
34077
34077
  $ref: "#/components/headers/X-AF-Credits-Cost"
34078
34078
  }
34079
34079
  }
34080
+ },
34081
+ "413": {
34082
+ description: "Payload Too Large \u2014 More than 100 strings in uaStrings",
34083
+ content: {
34084
+ "application/json": {
34085
+ schema: {
34086
+ $ref: "#/components/schemas/ErrorResponse"
34087
+ },
34088
+ examples: {
34089
+ tooManyStrings: {
34090
+ summary: "uaStrings array exceeds the 100-item limit",
34091
+ value: {
34092
+ error: "Payload too large Exception",
34093
+ message: "Maximum request body size limit exceeded",
34094
+ path: "/v1.0/user-agent/lookup",
34095
+ status: 413,
34096
+ timestamp: "2026-09-15T10:04:24.154Z"
34097
+ }
34098
+ }
34099
+ }
34100
+ }
34101
+ }
34080
34102
  }
34081
34103
  }
34082
34104
  }
@@ -34105,8 +34127,8 @@ var bulk_user_agent_parser_default = {
34105
34127
  properties: {
34106
34128
  uaStrings: {
34107
34129
  type: "array",
34108
- description: "Array of User-Agent strings to parse. Maximum 50,000 strings per request.",
34109
- maxItems: 5e4,
34130
+ description: "Array of User-Agent strings to parse. Maximum 100 strings per request \u2014 exceeding that returns a 413.",
34131
+ maxItems: 100,
34110
34132
  items: {
34111
34133
  type: "string"
34112
34134
  }
@@ -55527,7 +55549,7 @@ security:
55527
55549
  info:
55528
55550
  title: Bulk User Agent Parser - Multi User Agent Parsing
55529
55551
  version: 1.0.0
55530
- description: Parse multiple User-Agent strings in a single POST request to obtain detailed browser, device, operating system, and rendering engine information for each string. Supports up to 50,000 User-Agent strings per request. Each entry in the response array mirrors the shape of a single User Agent Parser result --- including browser/app name and version, device hardware (name, type, brand, CPU), layout engine data, and operating system metadata --- in the same order as the request. A malformed/unparsable (but non-empty) string does not fail the batch; it simply comes back with every classification field set to \`Hacker\`, just like the single-lookup endpoint. An empty string or \`null\` anywhere in the array does fail the whole request with a \`400\`, not a per-item error --- there is no partial-failure array shape for this endpoint.
55552
+ description: Parse multiple User-Agent strings in a single POST request to obtain detailed browser, device, operating system, and rendering engine information for each string. Supports up to 100 User-Agent strings per request; exceeding that returns a 413, not a 400. Each entry in the response array mirrors the shape of a single User Agent Parser result --- including browser/app name and version, device hardware (name, type, brand, CPU), layout engine data, and operating system metadata --- in the same order as the request. A malformed/unparsable (but non-empty) string does not fail the batch; it simply comes back with every classification field set to \`Hacker\`, just like the single-lookup endpoint. An empty string or \`null\` anywhere in the array does fail the whole request with a \`400\`, not a per-item error --- there is no partial-failure array shape for this endpoint.
55531
55553
  contact:
55532
55554
  name: APIFreaks Support
55533
55555
  url: https://apifreaks.com/contact
@@ -55541,7 +55563,7 @@ paths:
55541
55563
  tags:
55542
55564
  - User Agent APIs
55543
55565
  summary: Parse multiple User-Agent strings in a single request to obtain browser, device, and operating system details
55544
- description: Parse up to 50,000 User-Agent strings simultaneously in a single request. Returns structured details about the browser, device, layout engine, and operating system for each string.
55566
+ description: Parse up to 100 User-Agent strings simultaneously in a single request. Returns structured details about the browser, device, layout engine, and operating system for each string.
55545
55567
  operationId: bulkParseUserAgent
55546
55568
  parameters:
55547
55569
  - name: format
@@ -55712,6 +55734,21 @@ paths:
55712
55734
  headers:
55713
55735
  X-AF-Credits-Cost:
55714
55736
  $ref: '#/components/headers/X-AF-Credits-Cost'
55737
+ '413':
55738
+ description: Payload Too Large \u2014 More than 100 strings in uaStrings
55739
+ content:
55740
+ application/json:
55741
+ schema:
55742
+ $ref: '#/components/schemas/ErrorResponse'
55743
+ examples:
55744
+ tooManyStrings:
55745
+ summary: uaStrings array exceeds the 100-item limit
55746
+ value:
55747
+ error: Payload too large Exception
55748
+ message: Maximum request body size limit exceeded
55749
+ path: /v1.0/user-agent/lookup
55750
+ status: 413
55751
+ timestamp: '2026-09-15T10:04:24.154Z'
55715
55752
  components:
55716
55753
  securitySchemes:
55717
55754
  ApiKeyAuthHeader:
@@ -55733,8 +55770,8 @@ components:
55733
55770
  properties:
55734
55771
  uaStrings:
55735
55772
  type: array
55736
- description: Array of User-Agent strings to parse. Maximum 50,000 strings per request.
55737
- maxItems: 50000
55773
+ description: Array of User-Agent strings to parse. Maximum 100 strings per request \u2014 exceeding that returns a 413.
55774
+ maxItems: 100
55738
55775
  items:
55739
55776
  type: string
55740
55777
  BulkUserAgentParserResponse:
package/dist/index.js CHANGED
@@ -33797,7 +33797,7 @@ var bulk_user_agent_parser_default = {
33797
33797
  info: {
33798
33798
  title: "Bulk User Agent Parser - Multi User Agent Parsing",
33799
33799
  version: "1.0.0",
33800
- description: "Parse multiple User-Agent strings in a single POST request to obtain detailed browser, device, operating system, and rendering engine information for each string. Supports up to 50,000 User-Agent strings per request. Each entry in the response array mirrors the shape of a single User Agent Parser result --- including browser/app name and version, device hardware (name, type, brand, CPU), layout engine data, and operating system metadata --- in the same order as the request. A malformed/unparsable (but non-empty) string does not fail the batch; it simply comes back with every classification field set to `Hacker`, just like the single-lookup endpoint. An empty string or `null` anywhere in the array does fail the whole request with a `400`, not a per-item error --- there is no partial-failure array shape for this endpoint.",
33800
+ description: "Parse multiple User-Agent strings in a single POST request to obtain detailed browser, device, operating system, and rendering engine information for each string. Supports up to 100 User-Agent strings per request; exceeding that returns a 413, not a 400. Each entry in the response array mirrors the shape of a single User Agent Parser result --- including browser/app name and version, device hardware (name, type, brand, CPU), layout engine data, and operating system metadata --- in the same order as the request. A malformed/unparsable (but non-empty) string does not fail the batch; it simply comes back with every classification field set to `Hacker`, just like the single-lookup endpoint. An empty string or `null` anywhere in the array does fail the whole request with a `400`, not a per-item error --- there is no partial-failure array shape for this endpoint.",
33801
33801
  contact: {
33802
33802
  name: "APIFreaks Support",
33803
33803
  url: "https://apifreaks.com/contact",
@@ -33815,7 +33815,7 @@ var bulk_user_agent_parser_default = {
33815
33815
  post: {
33816
33816
  tags: ["User Agent APIs"],
33817
33817
  summary: "Parse multiple User-Agent strings in a single request to obtain browser, device, and operating system details",
33818
- description: "Parse up to 50,000 User-Agent strings simultaneously in a single request. Returns structured details about the browser, device, layout engine, and operating system for each string.",
33818
+ description: "Parse up to 100 User-Agent strings simultaneously in a single request. Returns structured details about the browser, device, layout engine, and operating system for each string.",
33819
33819
  operationId: "bulkParseUserAgent",
33820
33820
  parameters: [
33821
33821
  {
@@ -34042,6 +34042,28 @@ var bulk_user_agent_parser_default = {
34042
34042
  $ref: "#/components/headers/X-AF-Credits-Cost"
34043
34043
  }
34044
34044
  }
34045
+ },
34046
+ "413": {
34047
+ description: "Payload Too Large \u2014 More than 100 strings in uaStrings",
34048
+ content: {
34049
+ "application/json": {
34050
+ schema: {
34051
+ $ref: "#/components/schemas/ErrorResponse"
34052
+ },
34053
+ examples: {
34054
+ tooManyStrings: {
34055
+ summary: "uaStrings array exceeds the 100-item limit",
34056
+ value: {
34057
+ error: "Payload too large Exception",
34058
+ message: "Maximum request body size limit exceeded",
34059
+ path: "/v1.0/user-agent/lookup",
34060
+ status: 413,
34061
+ timestamp: "2026-09-15T10:04:24.154Z"
34062
+ }
34063
+ }
34064
+ }
34065
+ }
34066
+ }
34045
34067
  }
34046
34068
  }
34047
34069
  }
@@ -34070,8 +34092,8 @@ var bulk_user_agent_parser_default = {
34070
34092
  properties: {
34071
34093
  uaStrings: {
34072
34094
  type: "array",
34073
- description: "Array of User-Agent strings to parse. Maximum 50,000 strings per request.",
34074
- maxItems: 5e4,
34095
+ description: "Array of User-Agent strings to parse. Maximum 100 strings per request \u2014 exceeding that returns a 413.",
34096
+ maxItems: 100,
34075
34097
  items: {
34076
34098
  type: "string"
34077
34099
  }
@@ -55492,7 +55514,7 @@ security:
55492
55514
  info:
55493
55515
  title: Bulk User Agent Parser - Multi User Agent Parsing
55494
55516
  version: 1.0.0
55495
- description: Parse multiple User-Agent strings in a single POST request to obtain detailed browser, device, operating system, and rendering engine information for each string. Supports up to 50,000 User-Agent strings per request. Each entry in the response array mirrors the shape of a single User Agent Parser result --- including browser/app name and version, device hardware (name, type, brand, CPU), layout engine data, and operating system metadata --- in the same order as the request. A malformed/unparsable (but non-empty) string does not fail the batch; it simply comes back with every classification field set to \`Hacker\`, just like the single-lookup endpoint. An empty string or \`null\` anywhere in the array does fail the whole request with a \`400\`, not a per-item error --- there is no partial-failure array shape for this endpoint.
55517
+ description: Parse multiple User-Agent strings in a single POST request to obtain detailed browser, device, operating system, and rendering engine information for each string. Supports up to 100 User-Agent strings per request; exceeding that returns a 413, not a 400. Each entry in the response array mirrors the shape of a single User Agent Parser result --- including browser/app name and version, device hardware (name, type, brand, CPU), layout engine data, and operating system metadata --- in the same order as the request. A malformed/unparsable (but non-empty) string does not fail the batch; it simply comes back with every classification field set to \`Hacker\`, just like the single-lookup endpoint. An empty string or \`null\` anywhere in the array does fail the whole request with a \`400\`, not a per-item error --- there is no partial-failure array shape for this endpoint.
55496
55518
  contact:
55497
55519
  name: APIFreaks Support
55498
55520
  url: https://apifreaks.com/contact
@@ -55506,7 +55528,7 @@ paths:
55506
55528
  tags:
55507
55529
  - User Agent APIs
55508
55530
  summary: Parse multiple User-Agent strings in a single request to obtain browser, device, and operating system details
55509
- description: Parse up to 50,000 User-Agent strings simultaneously in a single request. Returns structured details about the browser, device, layout engine, and operating system for each string.
55531
+ description: Parse up to 100 User-Agent strings simultaneously in a single request. Returns structured details about the browser, device, layout engine, and operating system for each string.
55510
55532
  operationId: bulkParseUserAgent
55511
55533
  parameters:
55512
55534
  - name: format
@@ -55677,6 +55699,21 @@ paths:
55677
55699
  headers:
55678
55700
  X-AF-Credits-Cost:
55679
55701
  $ref: '#/components/headers/X-AF-Credits-Cost'
55702
+ '413':
55703
+ description: Payload Too Large \u2014 More than 100 strings in uaStrings
55704
+ content:
55705
+ application/json:
55706
+ schema:
55707
+ $ref: '#/components/schemas/ErrorResponse'
55708
+ examples:
55709
+ tooManyStrings:
55710
+ summary: uaStrings array exceeds the 100-item limit
55711
+ value:
55712
+ error: Payload too large Exception
55713
+ message: Maximum request body size limit exceeded
55714
+ path: /v1.0/user-agent/lookup
55715
+ status: 413
55716
+ timestamp: '2026-09-15T10:04:24.154Z'
55680
55717
  components:
55681
55718
  securitySchemes:
55682
55719
  ApiKeyAuthHeader:
@@ -55698,8 +55735,8 @@ components:
55698
55735
  properties:
55699
55736
  uaStrings:
55700
55737
  type: array
55701
- description: Array of User-Agent strings to parse. Maximum 50,000 strings per request.
55702
- maxItems: 50000
55738
+ description: Array of User-Agent strings to parse. Maximum 100 strings per request \u2014 exceeding that returns a 413.
55739
+ maxItems: 100
55703
55740
  items:
55704
55741
  type: string
55705
55742
  BulkUserAgentParserResponse:
@@ -2,7 +2,7 @@ openapi: 3.1.1
2
2
  info:
3
3
  title: Bulk User Agent Parser - Multi User Agent Parsing
4
4
  version: 1.0.0
5
- description: Parse multiple User-Agent strings in a single POST request to obtain detailed browser, device, operating system, and rendering engine information for each string. Supports up to 50,000 User-Agent strings per request. Each entry in the response array mirrors the shape of a single User Agent Parser result --- including browser/app name and version, device hardware (name, type, brand, CPU), layout engine data, and operating system metadata --- in the same order as the request. A malformed/unparsable (but non-empty) string does not fail the batch; it simply comes back with every classification field set to `Hacker`, just like the single-lookup endpoint. An empty string or `null` anywhere in the array does fail the whole request with a `400`, not a per-item error --- there is no partial-failure array shape for this endpoint.
5
+ description: Parse multiple User-Agent strings in a single POST request to obtain detailed browser, device, operating system, and rendering engine information for each string. Supports up to 100 User-Agent strings per request; exceeding that returns a 413, not a 400. Each entry in the response array mirrors the shape of a single User Agent Parser result --- including browser/app name and version, device hardware (name, type, brand, CPU), layout engine data, and operating system metadata --- in the same order as the request. A malformed/unparsable (but non-empty) string does not fail the batch; it simply comes back with every classification field set to `Hacker`, just like the single-lookup endpoint. An empty string or `null` anywhere in the array does fail the whole request with a `400`, not a per-item error --- there is no partial-failure array shape for this endpoint.
6
6
  contact:
7
7
  name: APIFreaks Support
8
8
  url: https://apifreaks.com/contact
@@ -16,7 +16,7 @@ paths:
16
16
  tags:
17
17
  - User Agent APIs
18
18
  summary: Parse multiple User-Agent strings in a single request to obtain browser, device, and operating system details
19
- description: Parse up to 50,000 User-Agent strings simultaneously in a single request. Returns structured details about the browser, device, layout engine, and operating system for each string.
19
+ description: Parse up to 100 User-Agent strings simultaneously in a single request. Returns structured details about the browser, device, layout engine, and operating system for each string.
20
20
  operationId: bulkParseUserAgent
21
21
  parameters:
22
22
  - name: format
@@ -187,6 +187,21 @@ paths:
187
187
  headers:
188
188
  X-AF-Credits-Cost:
189
189
  $ref: '#/components/headers/X-AF-Credits-Cost'
190
+ '413':
191
+ description: Payload Too Large — More than 100 strings in uaStrings
192
+ content:
193
+ application/json:
194
+ schema:
195
+ $ref: '#/components/schemas/ErrorResponse'
196
+ examples:
197
+ tooManyStrings:
198
+ summary: uaStrings array exceeds the 100-item limit
199
+ value:
200
+ error: Payload too large Exception
201
+ message: Maximum request body size limit exceeded
202
+ path: /v1.0/user-agent/lookup
203
+ status: 413
204
+ timestamp: '2026-09-15T10:04:24.154Z'
190
205
  components:
191
206
  securitySchemes:
192
207
  ApiKeyAuthHeader:
@@ -208,8 +223,8 @@ components:
208
223
  properties:
209
224
  uaStrings:
210
225
  type: array
211
- description: Array of User-Agent strings to parse. Maximum 50,000 strings per request.
212
- maxItems: 50000
226
+ description: Array of User-Agent strings to parse. Maximum 100 strings per request — exceeding that returns a 413.
227
+ maxItems: 100
213
228
  items:
214
229
  type: string
215
230
  BulkUserAgentParserResponse:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apifreaks/openapi-specs",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "description": "Public OpenAPI 3.1 specifications for all APIFreaks API products.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Bulk User Agent Parser - Multi User Agent Parsing",
5
5
  "version": "1.0.0",
6
- "description": "Parse multiple User-Agent strings in a single POST request to obtain detailed browser, device, operating system, and rendering engine information for each string. Supports up to 50,000 User-Agent strings per request. Each entry in the response array mirrors the shape of a single User Agent Parser result --- including browser/app name and version, device hardware (name, type, brand, CPU), layout engine data, and operating system metadata --- in the same order as the request. A malformed/unparsable (but non-empty) string does not fail the batch; it simply comes back with every classification field set to `Hacker`, just like the single-lookup endpoint. An empty string or `null` anywhere in the array does fail the whole request with a `400`, not a per-item error --- there is no partial-failure array shape for this endpoint.",
6
+ "description": "Parse multiple User-Agent strings in a single POST request to obtain detailed browser, device, operating system, and rendering engine information for each string. Supports up to 100 User-Agent strings per request; exceeding that returns a 413, not a 400. Each entry in the response array mirrors the shape of a single User Agent Parser result --- including browser/app name and version, device hardware (name, type, brand, CPU), layout engine data, and operating system metadata --- in the same order as the request. A malformed/unparsable (but non-empty) string does not fail the batch; it simply comes back with every classification field set to `Hacker`, just like the single-lookup endpoint. An empty string or `null` anywhere in the array does fail the whole request with a `400`, not a per-item error --- there is no partial-failure array shape for this endpoint.",
7
7
  "contact": {
8
8
  "name": "APIFreaks Support",
9
9
  "url": "https://apifreaks.com/contact",
@@ -21,7 +21,7 @@
21
21
  "post": {
22
22
  "tags": ["User Agent APIs"],
23
23
  "summary": "Parse multiple User-Agent strings in a single request to obtain browser, device, and operating system details",
24
- "description": "Parse up to 50,000 User-Agent strings simultaneously in a single request. Returns structured details about the browser, device, layout engine, and operating system for each string.",
24
+ "description": "Parse up to 100 User-Agent strings simultaneously in a single request. Returns structured details about the browser, device, layout engine, and operating system for each string.",
25
25
  "operationId": "bulkParseUserAgent",
26
26
  "parameters": [
27
27
  {
@@ -248,6 +248,28 @@
248
248
  "$ref": "#/components/headers/X-AF-Credits-Cost"
249
249
  }
250
250
  }
251
+ },
252
+ "413": {
253
+ "description": "Payload Too Large — More than 100 strings in uaStrings",
254
+ "content": {
255
+ "application/json": {
256
+ "schema": {
257
+ "$ref": "#/components/schemas/ErrorResponse"
258
+ },
259
+ "examples": {
260
+ "tooManyStrings": {
261
+ "summary": "uaStrings array exceeds the 100-item limit",
262
+ "value": {
263
+ "error": "Payload too large Exception",
264
+ "message": "Maximum request body size limit exceeded",
265
+ "path": "/v1.0/user-agent/lookup",
266
+ "status": 413,
267
+ "timestamp": "2026-09-15T10:04:24.154Z"
268
+ }
269
+ }
270
+ }
271
+ }
272
+ }
251
273
  }
252
274
  }
253
275
  }
@@ -276,8 +298,8 @@
276
298
  "properties": {
277
299
  "uaStrings": {
278
300
  "type": "array",
279
- "description": "Array of User-Agent strings to parse. Maximum 50,000 strings per request.",
280
- "maxItems": 50000,
301
+ "description": "Array of User-Agent strings to parse. Maximum 100 strings per request — exceeding that returns a 413.",
302
+ "maxItems": 100,
281
303
  "items": {
282
304
  "type": "string"
283
305
  }