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
Copy file name to clipboardExpand all lines: systems-management/nisysmgmt.yml
+67-10
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,10 @@ consumes: [application/json]
13
13
produces: [application/json]
14
14
15
15
securityDefinitions:
16
+
apiKeyAuth:
17
+
type: apiKey
18
+
name: x-ni-api-key
19
+
in: header
16
20
basicAuth:
17
21
type: basic
18
22
cookieAuth:
@@ -21,6 +25,7 @@ securityDefinitions:
21
25
name: Cookie
22
26
23
27
security:
28
+
- apiKeyAuth: []
24
29
- basicAuth: []
25
30
- cookieAuth: []
26
31
@@ -635,14 +640,34 @@ definitions:
635
640
format: date-time
636
641
example: '2019-02-11T13:32:06.030958Z'
637
642
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.
639
644
type: object
640
645
additionalProperties:
641
646
type: object
642
647
example:
643
648
key: value
644
649
required: [lastUpdatedTimestamp, data]
645
650
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
+
646
671
ManagedSystem:
647
672
description: Information about a managed system.
648
673
title: Managed System
@@ -712,7 +737,7 @@ definitions:
712
737
osrelease: 7
713
738
packages:
714
739
description: Software packages installed on the system.
description: The total number of resources that matched the query.
1620
+
type: integer
1621
+
format: int64
1622
+
example: 1
1623
+
required: [data, count]
1624
+
1574
1625
paths:
1575
1626
/:
1576
1627
get:
@@ -1665,7 +1716,7 @@ paths:
1665
1716
name: state
1666
1717
description: A string defining the job state.
1667
1718
type: string
1668
-
x-example: Succeeded
1719
+
x-example: SUCCEEDED
1669
1720
- in: query
1670
1721
name: fun
1671
1722
description: A string defining the function executed by the job.
@@ -2063,6 +2114,8 @@ paths:
2063
2114
$ref: '#/responses/PartialSuccess'
2064
2115
204:
2065
2116
description: No Content.
2117
+
400:
2118
+
$ref: '#/responses/BadRequest'
2066
2119
401:
2067
2120
$ref: '#/responses/Unauthorized'
2068
2121
404:
@@ -2245,7 +2298,7 @@ paths:
2245
2298
x-ni-request-timeout: 300000
2246
2299
x-ni-operation: manageFeeds
2247
2300
tags: [feeds]
2248
-
summary: Get Available Packages
2301
+
summary: Query packages
2249
2302
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.
Copy file name to clipboardExpand all lines: systems-state/nisystemsstate.yml
+10
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,10 @@ consumes: [application/json]
14
14
produces: [application/json]
15
15
16
16
securityDefinitions:
17
+
apiKeyAuth:
18
+
type: apiKey
19
+
name: x-ni-api-key
20
+
in: header
17
21
basicAuth:
18
22
type: basic
19
23
cookieAuth:
@@ -22,6 +26,7 @@ securityDefinitions:
22
26
name: Cookie
23
27
24
28
security:
29
+
- apiKeyAuth: []
25
30
- basicAuth: []
26
31
- cookieAuth: []
27
32
@@ -530,11 +535,16 @@ definitions:
530
535
version:
531
536
type: string
532
537
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.
0 commit comments