You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Filtered asset results. <ul><li>When the `page_size` query parameter is not set in the request, the response will be a JSON array of assets.</li><li>When the `page_size` query parameter is present in the request, the response will be an object with an assets array and a `next_key` string for pagination.</li></ul>
151
153
content:
152
154
application/json:
153
155
schema:
154
-
type: array
155
-
items:
156
-
$ref: '#/components/schemas/Asset'
156
+
oneOf:
157
+
- type: array
158
+
items:
159
+
$ref: '#/components/schemas/Asset'
160
+
- type: object
161
+
properties:
162
+
assets:
163
+
type: array
164
+
items:
165
+
$ref: '#/components/schemas/Asset'
166
+
next_key:
167
+
type: string
168
+
description: The key to use for the next page of results
157
169
'401':
158
170
$ref: '#/components/responses/UnauthorizedError'
159
171
@@ -224,20 +236,32 @@ paths:
224
236
- $ref: '#/components/parameters/orgID'
225
237
- $ref: '#/components/parameters/search'
226
238
- $ref: '#/components/parameters/fields'
239
+
- $ref: '#/components/parameters/pageSize'
240
+
- $ref: '#/components/parameters/startKey'
227
241
get:
228
242
tags:
229
243
- Export
230
244
operationId: exportServicesJSON
231
245
summary: Service inventory as JSON
232
246
responses:
233
247
'200':
234
-
description: filtered service results
248
+
description: Filtered service results. <ul><li>When the `page_size` query parameter is not set in the request, the response will be a JSON array of services.</li><li>When the `page_size` query parameter is present in the request, the response will be an object with a services array and a `next_key` string for pagination.</li></ul>
235
249
content:
236
250
application/json:
237
251
schema:
238
-
type: array
239
-
items:
240
-
$ref: '#/components/schemas/Service'
252
+
oneOf:
253
+
- type: array
254
+
items:
255
+
$ref: '#/components/schemas/Service'
256
+
- type: object
257
+
properties:
258
+
services:
259
+
type: array
260
+
items:
261
+
$ref: '#/components/schemas/Service'
262
+
next_key:
263
+
type: string
264
+
description: The key to use for the next page of results
241
265
'401':
242
266
$ref: '#/components/responses/UnauthorizedError'
243
267
@@ -353,20 +377,32 @@ paths:
353
377
- $ref: '#/components/parameters/orgID'
354
378
- $ref: '#/components/parameters/search'
355
379
- $ref: '#/components/parameters/fields'
380
+
- $ref: '#/components/parameters/pageSize'
381
+
- $ref: '#/components/parameters/startKey'
356
382
get:
357
383
tags:
358
384
- Export
359
385
operationId: exportWirelessJSON
360
386
summary: Wireless inventory as JSON
361
387
responses:
362
388
'200':
363
-
description: filtered wireless results
389
+
description: Filtered wireless results. <ul><li>When the `page_size` query parameter is not set in the request, the response will be a JSON array of wireless.</li><li>When the `page_size` query parameter is present in the request, the response will be an object with a wireless array and a `next_key` string for pagination.</li></ul>
364
390
content:
365
391
application/json:
366
392
schema:
367
-
type: array
368
-
items:
369
-
$ref: '#/components/schemas/Wireless'
393
+
oneOf:
394
+
- type: array
395
+
items:
396
+
$ref: '#/components/schemas/Wireless'
397
+
- type: object
398
+
properties:
399
+
wireless:
400
+
type: array
401
+
items:
402
+
$ref: '#/components/schemas/Wireless'
403
+
next_key:
404
+
type: string
405
+
description: The key to use for the next page of results
370
406
'401':
371
407
$ref: '#/components/responses/UnauthorizedError'
372
408
@@ -417,20 +453,32 @@ paths:
417
453
- $ref: '#/components/parameters/orgID'
418
454
- $ref: '#/components/parameters/search'
419
455
- $ref: '#/components/parameters/fields'
456
+
- $ref: '#/components/parameters/pageSize'
457
+
- $ref: '#/components/parameters/startKey'
420
458
get:
421
459
tags:
422
460
- Export
423
461
operationId: exportSoftwareJSON
424
462
summary: Exports the software inventory
425
463
responses:
426
464
'200':
427
-
description: filtered software results
465
+
description: Filtered software results. <ul><li>When the `page_size` query parameter is not set in the request, the response will be a JSON array of software.</li><li>When the `page_size` query parameter is present in the request, the response will be an object with a software array and a `next_key` string for pagination.</li></ul>
428
466
content:
429
467
application/json:
430
468
schema:
431
-
type: array
432
-
items:
433
-
$ref: '#/components/schemas/Software'
469
+
oneOf:
470
+
- type: array
471
+
items:
472
+
$ref: '#/components/schemas/Software'
473
+
- type: object
474
+
properties:
475
+
software:
476
+
type: array
477
+
items:
478
+
$ref: '#/components/schemas/Software'
479
+
next_key:
480
+
type: string
481
+
description: The key to use for the next page of results
434
482
'401':
435
483
$ref: '#/components/responses/UnauthorizedError'
436
484
@@ -481,20 +529,32 @@ paths:
481
529
- $ref: '#/components/parameters/orgID'
482
530
- $ref: '#/components/parameters/search'
483
531
- $ref: '#/components/parameters/fields'
532
+
- $ref: '#/components/parameters/pageSize'
533
+
- $ref: '#/components/parameters/startKey'
484
534
get:
485
535
tags:
486
536
- Export
487
537
operationId: exportVulnerabilitiesJSON
488
538
summary: Export the vulnerability inventory as JSON
489
539
responses:
490
540
'200':
491
-
description: filtered vulnerability results
541
+
description: Filtered vulnerability results. <ul><li>When the `page_size` query parameter is not set in the request, the response will be a JSON array of vulnerabilities.</li><li>When the `page_size` query parameter is present in the request, the response will be an object with an vulnerabilites array and a `next_key` string for pagination.</li></ul>
492
542
content:
493
543
application/json:
494
544
schema:
495
-
type: array
496
-
items:
497
-
$ref: '#/components/schemas/Vulnerability'
545
+
oneOf:
546
+
- type: array
547
+
items:
548
+
$ref: '#/components/schemas/Vulnerability'
549
+
- type: object
550
+
properties:
551
+
vulnerabilities:
552
+
type: array
553
+
items:
554
+
$ref: '#/components/schemas/Vulnerability'
555
+
next_key:
556
+
type: string
557
+
description: The key to use for the next page of results
498
558
'401':
499
559
$ref: '#/components/responses/UnauthorizedError'
500
560
@@ -3256,15 +3316,27 @@ paths:
3256
3316
required: false
3257
3317
schema:
3258
3318
type: string
3319
+
- $ref: '#/components/parameters/pageSize'
3320
+
- $ref: '#/components/parameters/startKey'
3259
3321
responses:
3260
3322
'200':
3261
-
description: filtered event results
3323
+
description: Filtered event results. <ul><li>When the `page_size` query parameter is not set in the request, the response will be a JSON array of events.</li><li>When the `page_size` query parameter is present in the request, the response will be an object with an events array and a `next_key` string for pagination.</li></ul>
3262
3324
content:
3263
3325
application/json:
3264
3326
schema:
3265
-
type: array
3266
-
items:
3267
-
$ref: '#/components/schemas/Event'
3327
+
oneOf:
3328
+
- type: array
3329
+
items:
3330
+
$ref: '#/components/schemas/Event'
3331
+
- type: object
3332
+
properties:
3333
+
events:
3334
+
type: array
3335
+
items:
3336
+
$ref: '#/components/schemas/Event'
3337
+
next_key:
3338
+
type: string
3339
+
description: The key to use for the next page of results
3268
3340
'401':
3269
3341
$ref: '#/components/responses/UnauthorizedError'
3270
3342
@@ -4502,6 +4574,20 @@ components:
4502
4574
schema:
4503
4575
type: string
4504
4576
description: A list of fields to export, comma-separated
4577
+
pageSize:
4578
+
in: query
4579
+
name: page_size
4580
+
required: false
4581
+
schema:
4582
+
type: integer
4583
+
description: The number of results to return per request.
4584
+
startKey:
4585
+
in: query
4586
+
name: start_key
4587
+
required: false
4588
+
schema:
4589
+
type: string
4590
+
description: The value to use for requesting the next page when requesting paginated results. This should be the value of the `next_key` attribute returned in the previous response.
0 commit comments