@browserless.io/browserless 2.24.0-beta-4 → 2.24.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.
Files changed (79) hide show
  1. package/CHANGELOG.md +17 -1
  2. package/bin/browserless.js +1 -1
  3. package/build/browsers/browsers.playwright.d.ts +1 -0
  4. package/build/browsers/browsers.playwright.js +3 -0
  5. package/build/browsers/index.d.ts +2 -1
  6. package/build/browsers/index.js +28 -7
  7. package/build/http.d.ts +5 -0
  8. package/build/http.js +1 -0
  9. package/build/routes/chrome/http/content.post.body.json +35 -10
  10. package/build/routes/chrome/http/content.post.query.json +4 -0
  11. package/build/routes/chrome/http/download.post.query.json +4 -0
  12. package/build/routes/chrome/http/function.post.query.json +4 -0
  13. package/build/routes/chrome/http/pdf.post.body.json +35 -10
  14. package/build/routes/chrome/http/pdf.post.query.json +4 -0
  15. package/build/routes/chrome/http/performance.post.query.json +4 -0
  16. package/build/routes/chrome/http/scrape.post.body.json +35 -10
  17. package/build/routes/chrome/http/scrape.post.query.json +4 -0
  18. package/build/routes/chrome/http/scrape.post.response.json +26 -1
  19. package/build/routes/chrome/http/screenshot.post.body.json +35 -10
  20. package/build/routes/chrome/http/screenshot.post.query.json +4 -0
  21. package/build/routes/chrome/tests/kill-sessions.spec.d.ts +1 -0
  22. package/build/routes/chrome/tests/kill-sessions.spec.js +80 -0
  23. package/build/routes/chrome/ws/browser.query.json +4 -0
  24. package/build/routes/chrome/ws/cdp.query.json +4 -0
  25. package/build/routes/chrome/ws/page.query.json +4 -0
  26. package/build/routes/chrome/ws/playwright.query.json +4 -0
  27. package/build/routes/chromium/http/content.post.body.json +35 -10
  28. package/build/routes/chromium/http/content.post.query.json +4 -0
  29. package/build/routes/chromium/http/download.post.query.json +4 -0
  30. package/build/routes/chromium/http/function.post.query.json +4 -0
  31. package/build/routes/chromium/http/pdf.post.body.json +35 -10
  32. package/build/routes/chromium/http/pdf.post.query.json +4 -0
  33. package/build/routes/chromium/http/performance.post.query.json +4 -0
  34. package/build/routes/chromium/http/scrape.post.body.json +35 -10
  35. package/build/routes/chromium/http/scrape.post.query.json +4 -0
  36. package/build/routes/chromium/http/scrape.post.response.json +26 -1
  37. package/build/routes/chromium/http/screenshot.post.body.json +35 -10
  38. package/build/routes/chromium/http/screenshot.post.query.json +4 -0
  39. package/build/routes/chromium/tests/kill-sessions.spec.d.ts +1 -0
  40. package/build/routes/chromium/tests/kill-sessions.spec.js +80 -0
  41. package/build/routes/chromium/tests/websocket.spec.js +23 -0
  42. package/build/routes/chromium/ws/browser.query.json +4 -0
  43. package/build/routes/chromium/ws/cdp.query.json +4 -0
  44. package/build/routes/chromium/ws/page.query.json +4 -0
  45. package/build/routes/chromium/ws/playwright.query.json +4 -0
  46. package/build/routes/firefox/tests/kill-sessions.spec.d.ts +1 -0
  47. package/build/routes/firefox/tests/kill-sessions.spec.js +72 -0
  48. package/build/routes/firefox/ws/playwright.query.json +4 -0
  49. package/build/routes/management/http/kill.get.d.ts +21 -0
  50. package/build/routes/management/http/kill.get.js +19 -0
  51. package/build/routes/management/http/kill.get.query.json +193 -0
  52. package/build/routes/management/http/meta.get.js +3 -2
  53. package/build/routes/management/http/sessions.get.query.json +1 -0
  54. package/build/routes/management/tests/management.spec.js +12 -0
  55. package/build/routes/webkit/tests/kill-sessions.spec.d.ts +1 -0
  56. package/build/routes/webkit/tests/kill-sessions.spec.js +72 -0
  57. package/build/routes/webkit/ws/playwright.query.json +4 -0
  58. package/build/types.d.ts +2 -0
  59. package/build/types.js +1 -0
  60. package/build/utils.d.ts +1 -1
  61. package/build/utils.js +1 -10
  62. package/package.json +5 -5
  63. package/src/browsers/browsers.playwright.ts +3 -0
  64. package/src/browsers/index.ts +33 -12
  65. package/src/http.ts +6 -0
  66. package/src/routes/chrome/tests/kill-sessions.spec.ts +99 -0
  67. package/src/routes/chromium/tests/kill-sessions.spec.ts +99 -0
  68. package/src/routes/chromium/tests/websocket.spec.ts +29 -0
  69. package/src/routes/firefox/tests/kill-sessions.spec.ts +99 -0
  70. package/src/routes/management/http/kill.get.ts +40 -0
  71. package/src/routes/management/http/meta.get.ts +12 -10
  72. package/src/routes/management/tests/management.spec.ts +19 -0
  73. package/src/routes/webkit/tests/kill-sessions.spec.ts +99 -0
  74. package/src/types.ts +1 -0
  75. package/src/utils.ts +2 -11
  76. package/static/docs/swagger.json +384 -15
  77. package/static/docs/swagger.min.json +383 -14
  78. package/static/function/client.js +954 -845
  79. package/static/function/index.html +954 -845
@@ -62,7 +62,7 @@
62
62
  ]
63
63
  },
64
64
  "CookieParam": {
65
- "description": "Cookie parameter object",
65
+ "description": "Cookie parameter object used to set cookies in the page-level cookies\nAPI.",
66
66
  "type": "object",
67
67
  "properties": {
68
68
  "name": {
@@ -130,7 +130,14 @@
130
130
  },
131
131
  "partitionKey": {
132
132
  "description": "Cookie partition key. In Chrome, it matches the top-level site the\npartitioned cookie is available in. In Firefox, it matches the\nsource origin\n(https://w3c.github.io/webdriver-bidi/#type-storage-PartitionKey).",
133
- "type": "string"
133
+ "anyOf": [
134
+ {
135
+ "$ref": "#/definitions/CookiePartitionKey"
136
+ },
137
+ {
138
+ "type": "string"
139
+ }
140
+ ]
134
141
  }
135
142
  },
136
143
  "additionalProperties": false,
@@ -139,6 +146,24 @@
139
146
  "value"
140
147
  ]
141
148
  },
149
+ "CookiePartitionKey": {
150
+ "description": "Represents a cookie partition key in Chrome.",
151
+ "type": "object",
152
+ "properties": {
153
+ "sourceOrigin": {
154
+ "description": "The site of the top-level URL the browser was visiting at the start of the request\nto the endpoint that set the cookie.\n\nIn Chrome, maps to the CDP's `topLevelSite` partition key.",
155
+ "type": "string"
156
+ },
157
+ "hasCrossSiteAncestor": {
158
+ "description": "Indicates if the cookie has any ancestors that are cross-site to\nthe topLevelSite.\n\nSupported only in Chrome.",
159
+ "type": "boolean"
160
+ }
161
+ },
162
+ "additionalProperties": false,
163
+ "required": [
164
+ "sourceOrigin"
165
+ ]
166
+ },
142
167
  "GoToOptions": {
143
168
  "type": "object",
144
169
  "properties": {
@@ -255,14 +280,14 @@
255
280
  "length": {
256
281
  "type": "number"
257
282
  },
258
- "__@toStringTag@14520": {
283
+ "__@toStringTag@14524": {
259
284
  "type": "string",
260
285
  "const": "Uint8Array"
261
286
  }
262
287
  },
263
288
  "required": [
264
289
  "BYTES_PER_ELEMENT",
265
- "__@toStringTag@14520",
290
+ "__@toStringTag@14524",
266
291
  "buffer",
267
292
  "byteLength",
268
293
  "byteOffset",
@@ -297,13 +322,13 @@
297
322
  "byteLength": {
298
323
  "type": "number"
299
324
  },
300
- "__@toStringTag@14520": {
325
+ "__@toStringTag@14524": {
301
326
  "type": "string"
302
327
  }
303
328
  },
304
329
  "additionalProperties": false,
305
330
  "required": [
306
- "__@toStringTag@14520",
331
+ "__@toStringTag@14524",
307
332
  "byteLength"
308
333
  ]
309
334
  },
@@ -313,18 +338,18 @@
313
338
  "byteLength": {
314
339
  "type": "number"
315
340
  },
316
- "__@species@14558": {
341
+ "__@species@14562": {
317
342
  "$ref": "#/definitions/SharedArrayBuffer"
318
343
  },
319
- "__@toStringTag@14520": {
344
+ "__@toStringTag@14524": {
320
345
  "type": "string",
321
346
  "const": "SharedArrayBuffer"
322
347
  }
323
348
  },
324
349
  "additionalProperties": false,
325
350
  "required": [
326
- "__@species@14558",
327
- "__@toStringTag@14520",
351
+ "__@species@14562",
352
+ "__@toStringTag@14524",
328
353
  "byteLength"
329
354
  ]
330
355
  },
@@ -828,7 +853,14 @@
828
853
  },
829
854
  "partitionKey": {
830
855
  "description": "Cookie partition key. In Chrome, it is the top-level site the\npartitioned cookie is available in. In Firefox, it matches the\nsource origin\n(https://w3c.github.io/webdriver-bidi/#type-storage-PartitionKey).",
831
- "type": "string"
856
+ "anyOf": [
857
+ {
858
+ "$ref": "#/definitions/CookiePartitionKey"
859
+ },
860
+ {
861
+ "type": "string"
862
+ }
863
+ ]
832
864
  },
833
865
  "partitionKeyOpaque": {
834
866
  "description": "True if cookie partition key is opaque. Supported only in Chrome.",
@@ -969,7 +1001,7 @@
969
1001
  },
970
1002
  "info": {
971
1003
  "title": "Browserless",
972
- "version": "2.24.0-beta-4",
1004
+ "version": "2.24.0",
973
1005
  "x-logo": {
974
1006
  "altText": "browserless logo",
975
1007
  "url": "./docs/browserless-logo-inline.svg"
@@ -1019,6 +1051,14 @@
1019
1051
  "description": "The authorization token",
1020
1052
  "type": "string"
1021
1053
  }
1054
+ },
1055
+ {
1056
+ "in": "query",
1057
+ "name": "trackingId",
1058
+ "schema": {
1059
+ "description": "Custom session identifier",
1060
+ "type": "string"
1061
+ }
1022
1062
  }
1023
1063
  ],
1024
1064
  "requestBody": {
@@ -1305,6 +1345,14 @@
1305
1345
  "description": "The authorization token",
1306
1346
  "type": "string"
1307
1347
  }
1348
+ },
1349
+ {
1350
+ "in": "query",
1351
+ "name": "trackingId",
1352
+ "schema": {
1353
+ "description": "Custom session identifier",
1354
+ "type": "string"
1355
+ }
1308
1356
  }
1309
1357
  ],
1310
1358
  "requestBody": {
@@ -1413,6 +1461,14 @@
1413
1461
  "description": "The authorization token",
1414
1462
  "type": "string"
1415
1463
  }
1464
+ },
1465
+ {
1466
+ "in": "query",
1467
+ "name": "trackingId",
1468
+ "schema": {
1469
+ "description": "Custom session identifier",
1470
+ "type": "string"
1471
+ }
1416
1472
  }
1417
1473
  ],
1418
1474
  "requestBody": {
@@ -1875,6 +1931,14 @@
1875
1931
  "description": "The authorization token",
1876
1932
  "type": "string"
1877
1933
  }
1934
+ },
1935
+ {
1936
+ "in": "query",
1937
+ "name": "trackingId",
1938
+ "schema": {
1939
+ "description": "Custom session identifier",
1940
+ "type": "string"
1941
+ }
1878
1942
  }
1879
1943
  ],
1880
1944
  "requestBody": {
@@ -2163,6 +2227,14 @@
2163
2227
  "description": "The authorization token",
2164
2228
  "type": "string"
2165
2229
  }
2230
+ },
2231
+ {
2232
+ "in": "query",
2233
+ "name": "trackingId",
2234
+ "schema": {
2235
+ "description": "Custom session identifier",
2236
+ "type": "string"
2237
+ }
2166
2238
  }
2167
2239
  ],
2168
2240
  "requestBody": {
@@ -2286,6 +2358,14 @@
2286
2358
  "description": "The authorization token",
2287
2359
  "type": "string"
2288
2360
  }
2361
+ },
2362
+ {
2363
+ "in": "query",
2364
+ "name": "trackingId",
2365
+ "schema": {
2366
+ "description": "Custom session identifier",
2367
+ "type": "string"
2368
+ }
2289
2369
  }
2290
2370
  ],
2291
2371
  "requestBody": {
@@ -2741,7 +2821,14 @@
2741
2821
  },
2742
2822
  "partitionKey": {
2743
2823
  "description": "Cookie partition key. In Chrome, it is the top-level site the\npartitioned cookie is available in. In Firefox, it matches the\nsource origin\n(https://w3c.github.io/webdriver-bidi/#type-storage-PartitionKey).",
2744
- "type": "string"
2824
+ "anyOf": [
2825
+ {
2826
+ "$ref": "#/definitions/CookiePartitionKey"
2827
+ },
2828
+ {
2829
+ "type": "string"
2830
+ }
2831
+ ]
2745
2832
  },
2746
2833
  "partitionKeyOpaque": {
2747
2834
  "description": "True if cookie partition key is opaque. Supported only in Chrome.",
@@ -2761,6 +2848,24 @@
2761
2848
  "value"
2762
2849
  ]
2763
2850
  },
2851
+ "CookiePartitionKey": {
2852
+ "description": "Represents a cookie partition key in Chrome.",
2853
+ "type": "object",
2854
+ "properties": {
2855
+ "sourceOrigin": {
2856
+ "description": "The site of the top-level URL the browser was visiting at the start of the request\nto the endpoint that set the cookie.\n\nIn Chrome, maps to the CDP's `topLevelSite` partition key.",
2857
+ "type": "string"
2858
+ },
2859
+ "hasCrossSiteAncestor": {
2860
+ "description": "Indicates if the cookie has any ancestors that are cross-site to\nthe topLevelSite.\n\nSupported only in Chrome.",
2861
+ "type": "boolean"
2862
+ }
2863
+ },
2864
+ "additionalProperties": false,
2865
+ "required": [
2866
+ "sourceOrigin"
2867
+ ]
2868
+ },
2764
2869
  "InBoundRequest": {
2765
2870
  "type": "object",
2766
2871
  "properties": {
@@ -2884,6 +2989,14 @@
2884
2989
  "description": "The authorization token",
2885
2990
  "type": "string"
2886
2991
  }
2992
+ },
2993
+ {
2994
+ "in": "query",
2995
+ "name": "trackingId",
2996
+ "schema": {
2997
+ "description": "Custom session identifier",
2998
+ "type": "string"
2999
+ }
2887
3000
  }
2888
3001
  ],
2889
3002
  "requestBody": {
@@ -3186,6 +3299,14 @@
3186
3299
  "description": "The authorization token",
3187
3300
  "type": "string"
3188
3301
  }
3302
+ },
3303
+ {
3304
+ "in": "query",
3305
+ "name": "trackingId",
3306
+ "schema": {
3307
+ "description": "Custom session identifier",
3308
+ "type": "string"
3309
+ }
3189
3310
  }
3190
3311
  ],
3191
3312
  "requestBody": {
@@ -3275,6 +3396,14 @@
3275
3396
  "description": "The authorization token",
3276
3397
  "type": "string"
3277
3398
  }
3399
+ },
3400
+ {
3401
+ "in": "query",
3402
+ "name": "trackingId",
3403
+ "schema": {
3404
+ "description": "Custom session identifier",
3405
+ "type": "string"
3406
+ }
3278
3407
  }
3279
3408
  ],
3280
3409
  "requestBody": {
@@ -3364,6 +3493,14 @@
3364
3493
  "description": "The authorization token",
3365
3494
  "type": "string"
3366
3495
  }
3496
+ },
3497
+ {
3498
+ "in": "query",
3499
+ "name": "trackingId",
3500
+ "schema": {
3501
+ "description": "Custom session identifier",
3502
+ "type": "string"
3503
+ }
3367
3504
  }
3368
3505
  ],
3369
3506
  "requestBody": {
@@ -3453,6 +3590,14 @@
3453
3590
  "description": "The authorization token",
3454
3591
  "type": "string"
3455
3592
  }
3593
+ },
3594
+ {
3595
+ "in": "query",
3596
+ "name": "trackingId",
3597
+ "schema": {
3598
+ "description": "Custom session identifier",
3599
+ "type": "string"
3600
+ }
3456
3601
  }
3457
3602
  ],
3458
3603
  "requestBody": {
@@ -3541,6 +3686,14 @@
3541
3686
  "description": "The authorization token",
3542
3687
  "type": "string"
3543
3688
  }
3689
+ },
3690
+ {
3691
+ "in": "query",
3692
+ "name": "trackingId",
3693
+ "schema": {
3694
+ "description": "Custom session identifier",
3695
+ "type": "string"
3696
+ }
3544
3697
  }
3545
3698
  ],
3546
3699
  "requestBody": {
@@ -3827,6 +3980,14 @@
3827
3980
  "description": "The authorization token",
3828
3981
  "type": "string"
3829
3982
  }
3983
+ },
3984
+ {
3985
+ "in": "query",
3986
+ "name": "trackingId",
3987
+ "schema": {
3988
+ "description": "Custom session identifier",
3989
+ "type": "string"
3990
+ }
3830
3991
  }
3831
3992
  ],
3832
3993
  "requestBody": {
@@ -3935,6 +4096,14 @@
3935
4096
  "description": "The authorization token",
3936
4097
  "type": "string"
3937
4098
  }
4099
+ },
4100
+ {
4101
+ "in": "query",
4102
+ "name": "trackingId",
4103
+ "schema": {
4104
+ "description": "Custom session identifier",
4105
+ "type": "string"
4106
+ }
3938
4107
  }
3939
4108
  ],
3940
4109
  "requestBody": {
@@ -4043,6 +4212,14 @@
4043
4212
  "description": "The authorization token",
4044
4213
  "type": "string"
4045
4214
  }
4215
+ },
4216
+ {
4217
+ "in": "query",
4218
+ "name": "trackingId",
4219
+ "schema": {
4220
+ "description": "Custom session identifier",
4221
+ "type": "string"
4222
+ }
4046
4223
  }
4047
4224
  ],
4048
4225
  "requestBody": {
@@ -4331,6 +4508,14 @@
4331
4508
  "description": "The authorization token",
4332
4509
  "type": "string"
4333
4510
  }
4511
+ },
4512
+ {
4513
+ "in": "query",
4514
+ "name": "trackingId",
4515
+ "schema": {
4516
+ "description": "Custom session identifier",
4517
+ "type": "string"
4518
+ }
4334
4519
  }
4335
4520
  ],
4336
4521
  "requestBody": {
@@ -4454,6 +4639,14 @@
4454
4639
  "description": "The authorization token",
4455
4640
  "type": "string"
4456
4641
  }
4642
+ },
4643
+ {
4644
+ "in": "query",
4645
+ "name": "trackingId",
4646
+ "schema": {
4647
+ "description": "Custom session identifier",
4648
+ "type": "string"
4649
+ }
4457
4650
  }
4458
4651
  ],
4459
4652
  "requestBody": {
@@ -4909,7 +5102,14 @@
4909
5102
  },
4910
5103
  "partitionKey": {
4911
5104
  "description": "Cookie partition key. In Chrome, it is the top-level site the\npartitioned cookie is available in. In Firefox, it matches the\nsource origin\n(https://w3c.github.io/webdriver-bidi/#type-storage-PartitionKey).",
4912
- "type": "string"
5105
+ "anyOf": [
5106
+ {
5107
+ "$ref": "#/definitions/CookiePartitionKey"
5108
+ },
5109
+ {
5110
+ "type": "string"
5111
+ }
5112
+ ]
4913
5113
  },
4914
5114
  "partitionKeyOpaque": {
4915
5115
  "description": "True if cookie partition key is opaque. Supported only in Chrome.",
@@ -4929,6 +5129,24 @@
4929
5129
  "value"
4930
5130
  ]
4931
5131
  },
5132
+ "CookiePartitionKey": {
5133
+ "description": "Represents a cookie partition key in Chrome.",
5134
+ "type": "object",
5135
+ "properties": {
5136
+ "sourceOrigin": {
5137
+ "description": "The site of the top-level URL the browser was visiting at the start of the request\nto the endpoint that set the cookie.\n\nIn Chrome, maps to the CDP's `topLevelSite` partition key.",
5138
+ "type": "string"
5139
+ },
5140
+ "hasCrossSiteAncestor": {
5141
+ "description": "Indicates if the cookie has any ancestors that are cross-site to\nthe topLevelSite.\n\nSupported only in Chrome.",
5142
+ "type": "boolean"
5143
+ }
5144
+ },
5145
+ "additionalProperties": false,
5146
+ "required": [
5147
+ "sourceOrigin"
5148
+ ]
5149
+ },
4932
5150
  "InBoundRequest": {
4933
5151
  "type": "object",
4934
5152
  "properties": {
@@ -5052,6 +5270,14 @@
5052
5270
  "description": "The authorization token",
5053
5271
  "type": "string"
5054
5272
  }
5273
+ },
5274
+ {
5275
+ "in": "query",
5276
+ "name": "trackingId",
5277
+ "schema": {
5278
+ "description": "Custom session identifier",
5279
+ "type": "string"
5280
+ }
5055
5281
  }
5056
5282
  ],
5057
5283
  "requestBody": {
@@ -5354,6 +5580,14 @@
5354
5580
  "description": "The authorization token",
5355
5581
  "type": "string"
5356
5582
  }
5583
+ },
5584
+ {
5585
+ "in": "query",
5586
+ "name": "trackingId",
5587
+ "schema": {
5588
+ "description": "Custom session identifier",
5589
+ "type": "string"
5590
+ }
5357
5591
  }
5358
5592
  ],
5359
5593
  "requestBody": {
@@ -5443,6 +5677,14 @@
5443
5677
  "description": "The authorization token",
5444
5678
  "type": "string"
5445
5679
  }
5680
+ },
5681
+ {
5682
+ "in": "query",
5683
+ "name": "trackingId",
5684
+ "schema": {
5685
+ "description": "Custom session identifier",
5686
+ "type": "string"
5687
+ }
5446
5688
  }
5447
5689
  ],
5448
5690
  "requestBody": {
@@ -5596,6 +5838,14 @@
5596
5838
  "description": "The authorization token",
5597
5839
  "type": "string"
5598
5840
  }
5841
+ },
5842
+ {
5843
+ "in": "query",
5844
+ "name": "trackingId",
5845
+ "schema": {
5846
+ "description": "Custom session identifier",
5847
+ "type": "string"
5848
+ }
5599
5849
  }
5600
5850
  ],
5601
5851
  "requestBody": {
@@ -5847,6 +6097,116 @@
5847
6097
  ]
5848
6098
  }
5849
6099
  },
6100
+ "/kill/+([0-9a-zA-Z-_])": {
6101
+ "get": {
6102
+ "definitions": {},
6103
+ "description": "Kill running sessions based on BrowserId or TrackingId.",
6104
+ "parameters": [
6105
+ {
6106
+ "in": "query",
6107
+ "name": "token",
6108
+ "required": true,
6109
+ "schema": {
6110
+ "description": "The authorization token",
6111
+ "type": "string"
6112
+ }
6113
+ },
6114
+ {
6115
+ "in": "query",
6116
+ "name": "blockAds",
6117
+ "required": false,
6118
+ "schema": {
6119
+ "description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock Origin and may cause certain sites\nto not load properly.",
6120
+ "type": "boolean"
6121
+ }
6122
+ },
6123
+ {
6124
+ "in": "query",
6125
+ "name": "browserId",
6126
+ "required": false,
6127
+ "schema": {
6128
+ "type": "string"
6129
+ }
6130
+ },
6131
+ {
6132
+ "in": "query",
6133
+ "name": "launch",
6134
+ "required": false,
6135
+ "schema": {
6136
+ "description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
6137
+ "anyOf": [
6138
+ {
6139
+ "$ref": "#/definitions/CDPLaunchOptions"
6140
+ },
6141
+ {
6142
+ "$ref": "#/definitions/BrowserServerOptions"
6143
+ },
6144
+ {
6145
+ "type": "string"
6146
+ }
6147
+ ]
6148
+ }
6149
+ },
6150
+ {
6151
+ "in": "query",
6152
+ "name": "timeout",
6153
+ "required": false,
6154
+ "schema": {
6155
+ "description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
6156
+ "type": "number"
6157
+ }
6158
+ },
6159
+ {
6160
+ "in": "query",
6161
+ "name": "trackingId",
6162
+ "required": false,
6163
+ "schema": {
6164
+ "description": "Custom session identifier",
6165
+ "type": "string"
6166
+ }
6167
+ }
6168
+ ],
6169
+ "requestBody": {
6170
+ "content": {}
6171
+ },
6172
+ "responses": {
6173
+ "400": {
6174
+ "code": 400,
6175
+ "description": "The request contains errors or didn't properly encode content.",
6176
+ "message": "HTTP/1.1 400 Bad Request"
6177
+ },
6178
+ "401": {
6179
+ "code": 401,
6180
+ "description": "The request is missing, or contains bad, authorization credentials.",
6181
+ "message": "HTTP/1.1 401 Unauthorized"
6182
+ },
6183
+ "404": {
6184
+ "code": 404,
6185
+ "description": "Resource couldn't be found.",
6186
+ "message": "HTTP/1.1 404 Not Found"
6187
+ },
6188
+ "408": {
6189
+ "code": 408,
6190
+ "description": "The request took has taken too long to process.",
6191
+ "message": "HTTP/1.1 408 Request Timeout"
6192
+ },
6193
+ "429": {
6194
+ "code": 429,
6195
+ "description": "Too many requests are currently being processed.",
6196
+ "message": "HTTP/1.1 429 Too Many Requests"
6197
+ },
6198
+ "500": {
6199
+ "code": 500,
6200
+ "description": "An internal error occurred when handling the request.",
6201
+ "message": "HTTP/1.1 500 Internal Server Error"
6202
+ }
6203
+ },
6204
+ "summary": "/kill/+([0-9a-zA-Z-_])",
6205
+ "tags": [
6206
+ "Management REST APIs"
6207
+ ]
6208
+ }
6209
+ },
5850
6210
  "/meta": {
5851
6211
  "get": {
5852
6212
  "definitions": {},
@@ -6147,6 +6507,7 @@
6147
6507
  "name": "trackingId",
6148
6508
  "required": false,
6149
6509
  "schema": {
6510
+ "description": "Custom session identifier",
6150
6511
  "type": "string"
6151
6512
  }
6152
6513
  }
@@ -6281,6 +6642,14 @@
6281
6642
  "description": "The authorization token",
6282
6643
  "type": "string"
6283
6644
  }
6645
+ },
6646
+ {
6647
+ "in": "query",
6648
+ "name": "trackingId",
6649
+ "schema": {
6650
+ "description": "Custom session identifier",
6651
+ "type": "string"
6652
+ }
6284
6653
  }
6285
6654
  ],
6286
6655
  "requestBody": {