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: The identifier of the resource associated with the error.
177
177
type: string
178
178
message:
179
-
description: The filledin error message.
179
+
description: The filled-in error message.
180
180
type: string
181
181
args:
182
182
description: Positional argument values for the error code.
@@ -225,7 +225,7 @@ definitions:
225
225
description: >-
226
226
Available operations in the v1 version of the API:
227
227
228
-
- getStates: The ability to retrieve the states
228
+
- getStates: The ability to retrieve states
229
229
230
230
- createOrUpdateStates: The ability to create or update states
231
231
@@ -290,7 +290,7 @@ definitions:
290
290
format: iso-date-time
291
291
example: '2018-05-07T18:58:05.219692Z'
292
292
lastUpdatedTimestamp:
293
-
description: ISO-8601 formatted timestamp specifying the last date that the state has been updated.
293
+
description: ISO-8601 formatted timestamp specifying the last date that the state was updated.
294
294
type: string
295
295
format: iso-date-time
296
296
example: '2018-05-07T18:58:05.219692Z'
@@ -343,11 +343,11 @@ definitions:
343
343
properties:
344
344
name:
345
345
type: string
346
-
description: Name of the State
346
+
description: Name of the state.
347
347
example: crio9064State
348
348
description:
349
349
type: string
350
-
description: Description of the State
350
+
description: Description of the state.
351
351
example: crio9064 Setup State
352
352
distribution:
353
353
$ref: '#/definitions/StateDistribution'
@@ -374,11 +374,11 @@ definitions:
374
374
properties:
375
375
name:
376
376
type: string
377
-
description: Name of the State.
377
+
description: Name of the state.
378
378
example: crio9064State
379
379
description:
380
380
type: string
381
-
description: Description of the State.
381
+
description: Description of the state.
382
382
example: crio9064 Setup State
383
383
distribution:
384
384
$ref: '#/definitions/StateDistribution'
@@ -442,7 +442,7 @@ definitions:
442
442
$ref: '#/definitions/Package'
443
443
containsExtraOperations:
444
444
type: boolean
445
-
description: Whether the state containts extra operations beside feeds and packages or not.
445
+
description: Whether the state contains extra operations in addition to feeds and packages.
446
446
example: true
447
447
required:
448
448
- id
@@ -494,7 +494,7 @@ definitions:
494
494
- versions
495
495
496
496
Feed:
497
-
description: Object defining a feed containing the name, url and whether is enabled/compressed or not.
497
+
description: Object defining a feed, which contains the name, url, and Booleans for whether the feed is enabled and compressed.
498
498
type: object
499
499
properties:
500
500
name:
@@ -544,7 +544,7 @@ paths:
544
544
summary: API information
545
545
tags: [versioning]
546
546
security: []
547
-
description: Gets permissions and operations for the StatesService.
547
+
description: Gets permissions and operations for the States Service.
548
548
responses:
549
549
200:
550
550
description: OK
@@ -620,7 +620,7 @@ paths:
620
620
x-ni-operation: createOrUpdateStates
621
621
tags: [states]
622
622
summary: Create a new system state
623
-
description: Create a new System State by providing metadata and its content. rawState property will be used if it has a non-null value, feeds and packages will be used otherwise.
623
+
description: Create a new System State by providing the required metadata and content.
624
624
parameters:
625
625
- in: body
626
626
name: state
@@ -648,7 +648,7 @@ paths:
648
648
x-ni-operation: getStates
649
649
tags: [states]
650
650
summary: Get system state
651
-
description: Returns the metadata, the feeds and packages from the content of the state. If the state contains only feeds and packages entries the containsExtraOperations from response will be false, otherwise it will be true. The export route could be used in order to get the whole content of the state.
651
+
description: Returns the metadata, feeds, and packages from the state content. If the state contains only feed and package entries, the containsExtraOperations property of the response will be false. Otherwise, it will be true. You may use the export route to get all state content.
652
652
parameters:
653
653
- name: id
654
654
in: path
@@ -674,7 +674,7 @@ paths:
674
674
- application/merge-patch+json
675
675
tags: [states]
676
676
summary: Update a state
677
-
description: Update a state by providing specific changes of the state. The method overrides any state properties with what is contained in the request. In order to ignore properties update, leave the value off the request. If rawState is specified it will have priority against packages/feeds.
677
+
description: Update a state by providing specific changes to the state. The method overrides all state properties with those contained in the request. Therefore, if you want to ignore a properties update, leave the value off the request.
678
678
parameters:
679
679
- name: id
680
680
in: path
@@ -731,7 +731,7 @@ paths:
731
731
x-ni-operation: createOrUpdateStates
732
732
tags: [states]
733
733
summary: Replace the content of a state
734
-
description: Replace the content of a state by providing the new content of the state.
734
+
description: Replace the existing content of a state with new content.
735
735
consumes:
736
736
- multipart/form-data
737
737
parameters:
@@ -769,7 +769,7 @@ paths:
769
769
x-ni-operation: getStates
770
770
tags: [history]
771
771
summary: Get state history
772
-
description: Returns a list of (version, description) pairs defining the history of the state.
772
+
description: Returns a list of version-description pairs defining the history of the state.
773
773
parameters:
774
774
- name: id
775
775
in: path
@@ -778,13 +778,13 @@ paths:
778
778
type: string
779
779
- in: query
780
780
name: skip
781
-
description: How many state versions to skip. Used for pagination.
781
+
description: Number of state versions to skip. Used for pagination.
782
782
type: integer
783
783
x-ni-data-type: U32
784
784
default: 0
785
785
- in: query
786
786
name: take
787
-
description: How many state versions to retrieve. Used for pagination.
787
+
description: Number of state versions to retrieve. Used for pagination.
788
788
type: integer
789
789
x-ni-data-type: U32
790
790
default: 1000
@@ -806,7 +806,7 @@ paths:
806
806
x-ni-operation: getStates
807
807
tags: [history]
808
808
summary: Get state by version
809
-
description: Returns the snapshot of a state at a specific version. Returns the metadata, the feeds and packages from the content of the state. If the state contains only feeds and packages entries the containsExtraOperations from response will be false, otherwise it will be true. The export route could be used in order to get the whole content of the state.
809
+
description: Returns the snapshot of a state at a specific version. Returns the metadata, feeds, and packages from the state content. If the state contains only feed and package entries, the containsExtraOperations property of the response will be false. Otherwise, it will be true. You may use the export route to get all state content.
810
810
parameters:
811
811
- name: id
812
812
in: path
@@ -836,7 +836,7 @@ paths:
836
836
x-ni-operation: getStates
837
837
tags: [states]
838
838
summary: Export a state
839
-
description: Export the state content to a file. If the version is not provided in body then the latest content will be exported.
839
+
description: Export the state content to a file. If the version is not provided in body, then the latest content will be exported.
840
840
parameters:
841
841
- name: stateInfo
842
842
in: body
@@ -916,8 +916,8 @@ paths:
916
916
x-ni-privilege: Read
917
917
x-ni-operation: getStates
918
918
tags: [states]
919
-
summary: Export the state of a System by providing its ID.
920
-
description: Export the state of a System by providing its ID.
919
+
summary: Export the state of a system by providing its ID.
920
+
description: Export the state of a system by providing its ID.
921
921
parameters:
922
922
- name: systemInfo
923
923
in: body
@@ -948,7 +948,7 @@ paths:
948
948
x-ni-operation: deleteStates
949
949
tags: [states]
950
950
summary: Delete states
951
-
description: Delete a list of states by providing their ids.
951
+
description: Delete a list of states by providing their IDs.
0 commit comments