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
* Merge commit '8c198c083018c6bc75205e6c5f30ca88b9839518' into users/pspangle/openapi
* Add user info in swagger for nifile.
* Update yml so size64 is less confusing in swagger editor. size and size64 should be the same or size should be -1.
* Merged PR 23221: Mark Test Monitor Inputs/Outputs values as not required and bump Swagger CodeGen version
Copy file name to clipboardExpand all lines: file/nifile.yml
+22-5
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,10 @@ consumes: [application/json]
12
12
produces: [application/json]
13
13
14
14
securityDefinitions:
15
+
apiKeyAuth:
16
+
type: apiKey
17
+
name: x-ni-api-key
18
+
in: header
15
19
basicAuth:
16
20
type: basic
17
21
cookieAuth:
@@ -20,6 +24,7 @@ securityDefinitions:
20
24
name: Cookie
21
25
22
26
security:
27
+
- apiKeyAuth: []
23
28
- basicAuth: []
24
29
- cookieAuth: []
25
30
x-ni-routing-key: Skyline.FileIngestion
@@ -43,6 +48,7 @@ definitions:
43
48
code:
44
49
description: Numeric error code
45
50
type: integer
51
+
format: int32
46
52
resourceType:
47
53
description: Type of resource associated with the error
48
54
type: string
@@ -128,12 +134,13 @@ definitions:
128
134
size:
129
135
description: The 32-bit file size in bytes. If the value is larger than a 32-bit integer, this value is -1 and the size64 parameter contains the correct value.
130
136
type: integer
137
+
format: int32
131
138
example: 7277
132
139
size64:
133
140
description: The 64-bit file size in bytes
134
141
type: integer
135
142
format: int64
136
-
example: 2147483648
143
+
example: 7277
137
144
ServiceGroup:
138
145
type: object
139
146
properties:
@@ -218,6 +225,7 @@ definitions:
218
225
value:
219
226
description: The value of the field to search for
220
227
type: integer
228
+
format: int32
221
229
example: 5000
222
230
required:
223
231
- operation
@@ -298,6 +306,7 @@ definitions:
298
306
description: Whether the operation is available to the caller
299
307
version:
300
308
type: integer
309
+
format: int32
301
310
description: The version of the available operation
302
311
required: [available]
303
312
example:
@@ -389,6 +398,7 @@ responses:
389
398
totalCount:
390
399
description: The total number of files that match the query regardless of skip and take values
391
400
type: integer
401
+
format: int64
392
402
example: 1
393
403
Error:
394
404
description: Error
@@ -513,8 +523,9 @@ paths:
513
523
For example, a list of 100 files with a skip value of 50 and a take
514
524
value of 25 will return entries 51 through 75.
515
525
type: integer
516
-
x-ni-data-type: U32
526
+
format: int32
517
527
default: 0
528
+
minimum: 0
518
529
- in: query
519
530
name: take
520
531
description: >-
@@ -523,8 +534,9 @@ paths:
523
534
For example, a list of 100 files with a skip value of 50 and a take
524
535
value of 25 will return entries 51 through 75.
525
536
type: integer
526
-
x-ni-data-type: U32
537
+
format: int32
527
538
default: 0
539
+
minimum: 0
528
540
maximum: 10000
529
541
- in: query
530
542
name: orderBy
@@ -638,6 +650,7 @@ paths:
638
650
operationId: UpdateMetadata
639
651
x-ni-operation: updateMetadata
640
652
x-ni-privilege: ModifyFiles
653
+
x-ni-request-variables: [REMOTE_USER]
641
654
parameters:
642
655
- in: body
643
656
name: metadata
@@ -681,6 +694,7 @@ paths:
681
694
operationId: DeleteMultiple
682
695
x-ni-operation: deleteFiles
683
696
x-ni-privilege: ModifyFiles
697
+
x-ni-request-variables: [REMOTE_USER]
684
698
parameters:
685
699
- in: body
686
700
name: files
@@ -734,16 +748,18 @@ paths:
734
748
name: skip
735
749
description: How many files to skip in the result when paging. New in version 2 of this operation.
736
750
type: integer
737
-
x-ni-data-type: U32
751
+
format: int32
738
752
default: 0
753
+
minimum: 0
739
754
- in: query
740
755
name: take
741
756
description: >-
742
757
How many files to return in the result, or 0 to use a default. New in version 2 of this operation.
0 commit comments