Skip to content

Commit e6ec0ac

Browse files
spanglercochoteatschmittnialexweavvdeac
authored
Push changes for SystemLink 19.6 release (#67)
Updates the public repository with the latest OpenAPI documents for the SystemLink 19.6 release. Co-authored-by: Cristian Hotea <[email protected]> Co-authored-by: tschmittni <[email protected]> Co-authored-by: Alexander Weaver <[email protected]> Co-authored-by: vdeac <[email protected]> Co-authored-by: Christine Karas <[email protected]> Co-authored-by: mollykreis <[email protected]> Co-authored-by: Max Brown <[email protected]> Co-authored-by: vladbaja <[email protected]> Co-authored-by: Matthew Vaterlaus <[email protected]> Co-authored-by: Sergey Kizunov <[email protected]>
1 parent 0a01ff0 commit e6ec0ac

File tree

15 files changed

+1330
-1348
lines changed

15 files changed

+1330
-1348
lines changed

asset-management-rule/niapmrule.yml

+5
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,18 @@ consumes:
1313
produces:
1414
- application/json
1515
securityDefinitions:
16+
apiKeyAuth:
17+
type: apiKey
18+
name: x-ni-api-key
19+
in: header
1620
basicAuth:
1721
type: basic
1822
cookieAuth:
1923
type: apiKey
2024
in: header
2125
name: Cookie
2226
security:
27+
- apiKeyAuth: []
2328
- basicAuth: []
2429
- cookieAuth: []
2530
x-ni-routing-key: Skyline.AssetPerformanceManagementRuleEngine

asset-managment/niapm.yml

+319-17
Large diffs are not rendered by default.

file/nifile.yml

+7
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ definitions:
146146
type: integer
147147
format: int64
148148
example: 7277
149+
workspace:
150+
description: The workspace the file belongs to
151+
type: string
152+
example: MyWorkspace
149153
ServiceGroup:
150154
type: object
151155
properties:
@@ -684,6 +688,9 @@ paths:
684688
type: string
685689
example:
686690
key: value
691+
workspace:
692+
description: This is an optional value. When specified, the workspace of the metadata will be updated to the new value.
693+
type: string
687694
required:
688695
- replaceExisting
689696
- properties

ni-notebook-execution/ninbexec.yml

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ consumes: [application/json]
1313
produces: [application/json]
1414

1515
securityDefinitions:
16+
apiKeyAuth:
17+
type: apiKey
18+
name: x-ni-api-key
19+
in: header
1620
basicAuth:
1721
type: basic
1822
cookieAuth:
@@ -21,6 +25,7 @@ securityDefinitions:
2125
name: Cookie
2226

2327
security:
28+
- apiKeyAuth: []
2429
- basicAuth: []
2530
- cookieAuth: []
2631

opcclient/niopcclient.yml

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ consumes: [application/json]
1313
produces: [application/json]
1414

1515
securityDefinitions:
16+
apiKeyAuth:
17+
type: apiKey
18+
name: x-ni-api-key
19+
in: header
1620
basicAuth:
1721
type: basic
1822
cookieAuth:
@@ -21,6 +25,7 @@ securityDefinitions:
2125
name: Cookie
2226

2327
security:
28+
- apiKeyAuth: []
2429
- basicAuth: []
2530
- cookieAuth: []
2631

repo/nirepo.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ consumes: [application/json]
1212
produces: [application/json]
1313

1414
securityDefinitions:
15+
apiKeyAuth:
16+
type: apiKey
17+
name: x-ni-api-key
18+
in: header
1519
basicAuth:
1620
type: basic
1721
cookieAuth:
@@ -20,6 +24,7 @@ securityDefinitions:
2024
name: Cookie
2125

2226
security:
27+
- apiKeyAuth: []
2328
- basicAuth: []
2429
- cookieAuth: []
2530

@@ -1780,4 +1785,4 @@ paths:
17801785
401:
17811786
$ref: '#/definitions/Unauthorized'
17821787
default:
1783-
$ref: '#/definitions/Error'
1788+
$ref: '#/definitions/Error'

systems-management/nisysmgmt.yml

+67-10
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ consumes: [application/json]
1313
produces: [application/json]
1414

1515
securityDefinitions:
16+
apiKeyAuth:
17+
type: apiKey
18+
name: x-ni-api-key
19+
in: header
1620
basicAuth:
1721
type: basic
1822
cookieAuth:
@@ -21,6 +25,7 @@ securityDefinitions:
2125
name: Cookie
2226

2327
security:
28+
- apiKeyAuth: []
2429
- basicAuth: []
2530
- cookieAuth: []
2631

@@ -635,14 +640,34 @@ definitions:
635640
format: date-time
636641
example: '2019-02-11T13:32:06.030958Z'
637642
data:
638-
description: This map is used for grains/packages/feeds. All these are heterogeneous (integers, booleans, lists, dictionaries, ...) collections containing open-ended properties and flags.
643+
description: This map is used for grains/feeds. All these are heterogeneous (integers, booleans, lists, dictionaries, ...) collections containing open-ended properties and flags.
639644
type: object
640645
additionalProperties:
641646
type: object
642647
example:
643648
key: value
644649
required: [lastUpdatedTimestamp, data]
645650

651+
ManagedSystemPackagesData:
652+
description: Property of a system composed by the last updated timestamp and a dictionary with the actual packages installed on the system.
653+
type: object
654+
properties:
655+
lastUpdatedTimestamp:
656+
description: Last updated timestamp.
657+
type: string
658+
format: date-time
659+
example: '2019-02-11T13:32:06.030958Z'
660+
data:
661+
description: Installed packages. The key of the dictionary is the name of the package, and the value is a dictionary with open-ended properties and flags
662+
type: object
663+
additionalProperties:
664+
type: object
665+
additionalProperties:
666+
type: object
667+
example:
668+
key: value
669+
required: [lastUpdatedTimestamp, data]
670+
646671
ManagedSystem:
647672
description: Information about a managed system.
648673
title: Managed System
@@ -712,7 +737,7 @@ definitions:
712737
osrelease: 7
713738
packages:
714739
description: Software packages installed on the system.
715-
$ref: '#/definitions/ManagedSystemDataPropertyMap'
740+
$ref: '#/definitions/ManagedSystemPackagesData'
716741
example:
717742
lastUpdatedTimestamp: '2019-02-19T11:42:25.078Z'
718743
data:
@@ -1318,7 +1343,9 @@ definitions:
13181343
13191344
- getGroups: The ability to retrieve the groups.
13201345
1321-
- manageSystems: The ability to register or unregister systems.
1346+
- manageSystems: The ability to manage keys and unregister systems.
1347+
1348+
- discoverSystems: The ability to discover and register systems.
13221349
13231350
- createOrCancelJobs: The ability to create or cancel jobs.
13241351
@@ -1340,6 +1367,8 @@ definitions:
13401367
$ref: '#/definitions/Operation'
13411368
manageSystems:
13421369
$ref: '#/definitions/Operation'
1370+
discoverSystems:
1371+
$ref: '#/definitions/Operation'
13431372
createOrCancelJobs:
13441373
$ref: '#/definitions/Operation'
13451374
activateSystems:
@@ -1553,7 +1582,7 @@ definitions:
15531582
example: 'lastUpdatedTimestamp descending'
15541583
description: The order in which data returns.
15551584

1556-
QueryResponse:
1585+
QueryJobsResponse:
15571586
description: Response of a query request.
15581587
title: Query Response
15591588
properties:
@@ -1571,6 +1600,28 @@ definitions:
15711600
example: 1
15721601
required: [data, count]
15731602

1603+
QuerySystemsResponse:
1604+
description: Response of a query systems request.
1605+
title: Query Systems response
1606+
properties:
1607+
data:
1608+
description: The data returned by query.
1609+
type: array
1610+
items:
1611+
type: object
1612+
example:
1613+
id: 'NI_PXIe-8880--SN-030A5D78--MAC-00-80-2F-21-C6-86'
1614+
grains:
1615+
data:
1616+
key: 'value'
1617+
lastUpdatedTimestamp: '2019-10-29T10:47:04.596+02:00'
1618+
count:
1619+
description: The total number of resources that matched the query.
1620+
type: integer
1621+
format: int64
1622+
example: 1
1623+
required: [data, count]
1624+
15741625
paths:
15751626
/:
15761627
get:
@@ -1665,7 +1716,7 @@ paths:
16651716
name: state
16661717
description: A string defining the job state.
16671718
type: string
1668-
x-example: Succeeded
1719+
x-example: SUCCEEDED
16691720
- in: query
16701721
name: fun
16711722
description: A string defining the function executed by the job.
@@ -2063,6 +2114,8 @@ paths:
20632114
$ref: '#/responses/PartialSuccess'
20642115
204:
20652116
description: No Content.
2117+
400:
2118+
$ref: '#/responses/BadRequest'
20662119
401:
20672120
$ref: '#/responses/Unauthorized'
20682121
404:
@@ -2245,7 +2298,7 @@ paths:
22452298
x-ni-request-timeout: 300000
22462299
x-ni-operation: manageFeeds
22472300
tags: [feeds]
2248-
summary: Get Available Packages
2301+
summary: Query packages
22492302
description: Get available packages for a set of system configurations. If multiple system configurations are provided, only packages available to all applicable systems are returned. If OS architectures are provided, only the package with highest priority will be returned for packages of equal version.
22502303
parameters:
22512304
- in: body
@@ -2276,7 +2329,7 @@ paths:
22762329
x-ni-operation: getJobs
22772330
x-ni-request-timeout: 120000
22782331
tags: [jobs]
2279-
summary: Get jobs by query
2332+
summary: Query jobs
22802333
description: Get jobs by query.
22812334
parameters:
22822335
- in: body
@@ -2289,7 +2342,9 @@ paths:
22892342
200:
22902343
description: OK.
22912344
schema:
2292-
$ref: '#/definitions/QueryResponse'
2345+
$ref: '#/definitions/QueryJobsResponse'
2346+
400:
2347+
$ref: '#/responses/BadRequest'
22932348
401:
22942349
$ref: '#/responses/Unauthorized'
22952350
404:
@@ -2303,7 +2358,7 @@ paths:
23032358
x-ni-operation: getSystems
23042359
x-ni-request-timeout: 120000
23052360
tags: [systems]
2306-
summary: Get systems by query.
2361+
summary: Query systems
23072362
description: Get systems by query.
23082363
parameters:
23092364
- in: body
@@ -2316,7 +2371,9 @@ paths:
23162371
200:
23172372
description: OK.
23182373
schema:
2319-
$ref: '#/definitions/QueryResponse'
2374+
$ref: '#/definitions/QuerySystemsResponse'
2375+
400:
2376+
$ref: '#/responses/BadRequest'
23202377
401:
23212378
$ref: '#/responses/Unauthorized'
23222379
404:

systems-state/nisystemsstate.yml

+10
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ consumes: [application/json]
1414
produces: [application/json]
1515

1616
securityDefinitions:
17+
apiKeyAuth:
18+
type: apiKey
19+
name: x-ni-api-key
20+
in: header
1721
basicAuth:
1822
type: basic
1923
cookieAuth:
@@ -22,6 +26,7 @@ securityDefinitions:
2226
name: Cookie
2327

2428
security:
29+
- apiKeyAuth: []
2530
- basicAuth: []
2631
- cookieAuth: []
2732

@@ -530,11 +535,16 @@ definitions:
530535
version:
531536
type: string
532537
description: Version of the package.
538+
installRecommends:
539+
type: boolean
540+
description: A boolean variable whose value controls the installation of the recommended packages. This property is available starting with version 2 of the getStates and createOrUpdateStates operations.
541+
default: true
533542
required:
534543
- name
535544
example:
536545
name: vim
537546
version: '7.1'
547+
installRecommends: true
538548

539549
paths:
540550
/:

0 commit comments

Comments
 (0)