katello_api 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Gemfile +2 -0
- data/README.rdoc +0 -4
- data/doc/KatelloApi/Base.html +831 -0
- data/doc/KatelloApi/Generator/Base.html +671 -0
- data/doc/KatelloApi/Generator.html +115 -0
- data/doc/KatelloApi/Resources/ActivationKey.html +1757 -0
- data/doc/KatelloApi/Resources/Architecture.html +1007 -0
- data/doc/KatelloApi/Resources/Changeset.html +1413 -0
- data/doc/KatelloApi/Resources/ChangesetsContent.html +2674 -0
- data/doc/KatelloApi/Resources/ComputeResource.html +1067 -0
- data/doc/KatelloApi/Resources/ConfigTemplate.html +1361 -0
- data/doc/KatelloApi/Resources/ContentView.html +938 -0
- data/doc/KatelloApi/Resources/ContentViewDefinition.html +1629 -0
- data/doc/KatelloApi/Resources/Crl.html +367 -0
- data/doc/KatelloApi/Resources/Distribution.html +560 -0
- data/doc/KatelloApi/Resources/Distributor.html +1892 -0
- data/doc/KatelloApi/Resources/Domain.html +1066 -0
- data/doc/KatelloApi/Resources/Environment.html +1645 -0
- data/doc/KatelloApi/Resources/Erratum.html +632 -0
- data/doc/KatelloApi/Resources/GpgKey.html +1220 -0
- data/doc/KatelloApi/Resources/HardwareModel.html +1025 -0
- data/doc/KatelloApi/Resources/Organization.html +1062 -0
- data/doc/KatelloApi/Resources/Package.html +728 -0
- data/doc/KatelloApi/Resources/Permission.html +1021 -0
- data/doc/KatelloApi/Resources/Ping.html +625 -0
- data/doc/KatelloApi/Resources/Product.html +1845 -0
- data/doc/KatelloApi/Resources/Provider.html +2237 -0
- data/doc/KatelloApi/Resources/Repository.html +1976 -0
- data/doc/KatelloApi/Resources/RepositorySet.html +770 -0
- data/doc/KatelloApi/Resources/Role.html +1257 -0
- data/doc/KatelloApi/Resources/RoleLdapGroup.html +728 -0
- data/doc/KatelloApi/Resources/SmartProxy.html +1054 -0
- data/doc/KatelloApi/Resources/Statu.html +367 -0
- data/doc/KatelloApi/Resources/Subnet.html +1007 -0
- data/doc/KatelloApi/Resources/Subscription.html +1064 -0
- data/doc/KatelloApi/Resources/Sync.html +826 -0
- data/doc/KatelloApi/Resources/SyncPlan.html +1148 -0
- data/doc/KatelloApi/Resources/System.html +3576 -0
- data/doc/KatelloApi/Resources/SystemGroup.html +2006 -0
- data/doc/KatelloApi/Resources/SystemGroupErratum.html +602 -0
- data/doc/KatelloApi/Resources/SystemGroupPackage.html +826 -0
- data/doc/KatelloApi/Resources/SystemPackage.html +770 -0
- data/doc/KatelloApi/Resources/Task.html +546 -0
- data/doc/KatelloApi/Resources/Template.html +1573 -0
- data/doc/KatelloApi/Resources/TemplatesContent.html +2268 -0
- data/doc/KatelloApi/Resources/Uebercert.html +406 -0
- data/doc/KatelloApi/Resources/User.html +1846 -0
- data/doc/KatelloApi/Resources.html +117 -0
- data/doc/KatelloApi.html +365 -0
- data/doc/_index.html +539 -0
- data/doc/class_list.html +53 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +338 -0
- data/doc/file.README.html +127 -0
- data/doc/file_list.html +55 -0
- data/doc/frames.html +28 -0
- data/doc/index.html +127 -0
- data/doc/js/app.js +214 -0
- data/doc/js/full_list.js +173 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +2548 -0
- data/doc/top-level-namespace.html +112 -0
- data/lib/katello_api/base.rb +61 -6
- data/lib/katello_api/documentation.json +1 -0
- data/lib/katello_api/resources/activation_key.rb +51 -48
- data/lib/katello_api/resources/architecture.rb +19 -24
- data/lib/katello_api/resources/changeset.rb +39 -37
- data/lib/katello_api/resources/changesets_content.rb +64 -57
- data/lib/katello_api/resources/compute_resource.rb +37 -42
- data/lib/katello_api/resources/config_template.rb +40 -44
- data/lib/katello_api/resources/content_view.rb +14 -17
- data/lib/katello_api/resources/content_view_definition.rb +34 -42
- data/lib/katello_api/resources/crl.rb +3 -4
- data/lib/katello_api/resources/distribution.rb +8 -8
- data/lib/katello_api/resources/distributor.rb +35 -37
- data/lib/katello_api/resources/domain.rb +28 -32
- data/lib/katello_api/resources/environment.rb +38 -44
- data/lib/katello_api/resources/erratum.rb +9 -8
- data/lib/katello_api/resources/gpg_key.rb +28 -33
- data/lib/katello_api/resources/hardware_model.rb +25 -30
- data/lib/katello_api/resources/organization.rb +24 -26
- data/lib/katello_api/resources/package.rb +9 -12
- data/lib/katello_api/resources/permission.rb +21 -19
- data/lib/katello_api/resources/ping.rb +9 -12
- data/lib/katello_api/resources/product.rb +34 -43
- data/lib/katello_api/resources/provider.rb +55 -66
- data/lib/katello_api/resources/repository.rb +44 -55
- data/lib/katello_api/resources/repository_set.rb +9 -12
- data/lib/katello_api/resources/role.rb +35 -33
- data/lib/katello_api/resources/role_ldap_group.rb +10 -12
- data/lib/katello_api/resources/smart_proxy.rb +24 -28
- data/lib/katello_api/resources/statu.rb +3 -4
- data/lib/katello_api/resources/subnet.rb +19 -24
- data/lib/katello_api/resources/subscription.rb +16 -21
- data/lib/katello_api/resources/sync.rb +9 -12
- data/lib/katello_api/resources/sync_plan.rb +28 -33
- data/lib/katello_api/resources/system.rb +81 -90
- data/lib/katello_api/resources/system_group.rb +47 -57
- data/lib/katello_api/resources/system_group_erratum.rb +6 -8
- data/lib/katello_api/resources/system_group_package.rb +15 -18
- data/lib/katello_api/resources/system_package.rb +12 -15
- data/lib/katello_api/resources/task.rb +6 -8
- data/lib/katello_api/resources/template.rb +39 -47
- data/lib/katello_api/resources/templates_content.rb +40 -52
- data/lib/katello_api/resources/uebercert.rb +4 -4
- data/lib/katello_api/resources/user.rb +47 -50
- data/lib/katello_api/version.rb +1 -1
- data/lib/katello_api.rb +0 -13
- metadata +68 -4
@@ -6,8 +6,8 @@ module KatelloApi
|
|
6
6
|
end
|
7
7
|
|
8
8
|
# @param [Hash] params a hash of params to be passed to the service
|
9
|
-
# @option params [String] content_view_id
|
10
|
-
# @option params [String] environment_id
|
9
|
+
# @option params [String] content_view_id
|
10
|
+
# @option params [String] environment_id
|
11
11
|
# @option params [Hash, nil] facts key-value hash of system-specific facts
|
12
12
|
# @option params [String, nil] installedProducts list of products installed on the system
|
13
13
|
# @option params [String] location physical of the system
|
@@ -16,25 +16,24 @@ module KatelloApi
|
|
16
16
|
# @option params [String] type type of the system, it should always be ‘system’
|
17
17
|
#
|
18
18
|
# @param [Hash] headers additional http headers
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
call(:"post", url, params, headers)
|
19
|
+
# @return [Array] First item: parsed data; second item: raw body
|
20
|
+
def create(params = {}, headers = {})
|
21
|
+
perform_call(__method__, params, headers)
|
23
22
|
end
|
24
23
|
|
25
24
|
# @param [Hash] params a hash of params to be passed to the service
|
26
25
|
#
|
27
26
|
# @param [Hash] headers additional http headers
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
call(:"post", url, params, headers)
|
27
|
+
# @return [Array] First item: parsed data; second item: raw body
|
28
|
+
def hypervisors_update(params = {}, headers = {})
|
29
|
+
perform_call(__method__, params, headers)
|
32
30
|
end
|
33
31
|
|
34
32
|
# @param [Hash] params a hash of params to be passed to the service
|
35
|
-
# @option params [String]
|
36
|
-
# @option params [String]
|
37
|
-
# @option params [
|
33
|
+
# @option params [String] content_view_id
|
34
|
+
# @option params [String] environment_id
|
35
|
+
# @option params [Object] organization_id Part of +/api/organizations/:organization_id/systems+ path
|
36
|
+
# @option params [String] activation_keys
|
38
37
|
# @option params [Hash, nil] facts key-value hash of system-specific facts
|
39
38
|
# @option params [String, nil] installedProducts list of products installed on the system
|
40
39
|
# @option params [String] location physical of the system
|
@@ -43,25 +42,24 @@ module KatelloApi
|
|
43
42
|
# @option params [String] type type of the system, it should always be ‘system’
|
44
43
|
#
|
45
44
|
# @param [Hash] headers additional http headers
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
call(:"post", url, params, headers)
|
45
|
+
# @return [Array] First item: parsed data; second item: raw body
|
46
|
+
def activate(params = {}, headers = {})
|
47
|
+
perform_call(__method__, params, headers)
|
50
48
|
end
|
51
49
|
|
52
50
|
# @param [Hash] params a hash of params to be passed to the service
|
53
51
|
# @option params [String] id uuid of the consumer
|
54
52
|
#
|
55
53
|
# @param [Hash] headers additional http headers
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
call(:"post", url, params, headers)
|
54
|
+
# @return [Array] First item: parsed data; second item: raw body
|
55
|
+
def regenerate_identity_certificates(params = {}, headers = {})
|
56
|
+
perform_call(__method__, params, headers)
|
60
57
|
end
|
61
58
|
|
62
59
|
# @param [Hash] params a hash of params to be passed to the service
|
63
|
-
# @option params [
|
64
|
-
# @option params [String]
|
60
|
+
# @option params [Object] id Part of +/api/consumers/:id+ path
|
61
|
+
# @option params [String] content_view_id
|
62
|
+
# @option params [String] environment_id
|
65
63
|
# @option params [Hash, nil] facts key-value hash of system-specific facts
|
66
64
|
# @option params [String, nil] installedProducts list of products installed on the system
|
67
65
|
# @option params [String] location physical of the system
|
@@ -70,155 +68,148 @@ module KatelloApi
|
|
70
68
|
# @option params [String] type type of the system, it should always be ‘system’
|
71
69
|
#
|
72
70
|
# @param [Hash] headers additional http headers
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
call(:"put", url, params, headers)
|
71
|
+
# @return [Array] First item: parsed data; second item: raw body
|
72
|
+
def update(params = {}, headers = {})
|
73
|
+
perform_call(__method__, params, headers)
|
77
74
|
end
|
78
75
|
|
79
76
|
# @param [Hash] params a hash of params to be passed to the service
|
80
|
-
# @option params [
|
77
|
+
# @option params [Object] environment_id Part of +/api/environments/:environment_id/consumers+ path
|
78
|
+
# @option params [Object] organization_id Part of +/api/organizations/:organization_id/systems+ path
|
81
79
|
# @option params [String] pool_id filter systems by subscribed pool
|
80
|
+
# @option params [String] name filter systems by name
|
82
81
|
# @option params [String] search filter systems by advanced search query
|
83
82
|
#
|
84
83
|
# @param [Hash] headers additional http headers
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
call(:"get", url, params, headers)
|
84
|
+
# @return [Array] First item: parsed data; second item: raw body
|
85
|
+
def index(params = {}, headers = {})
|
86
|
+
perform_call(__method__, params, headers)
|
89
87
|
end
|
90
88
|
|
91
89
|
# @param [Hash] params a hash of params to be passed to the service
|
92
90
|
# @option params [String] id uuid of the system
|
93
91
|
#
|
94
92
|
# @param [Hash] headers additional http headers
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
call(:"get", url, params, headers)
|
93
|
+
# @return [Array] First item: parsed data; second item: raw body
|
94
|
+
def show(params = {}, headers = {})
|
95
|
+
perform_call(__method__, params, headers)
|
99
96
|
end
|
100
97
|
|
101
98
|
# @param [Hash] params a hash of params to be passed to the service
|
102
99
|
# @option params [String] id uuid of the system
|
103
100
|
#
|
104
101
|
# @param [Hash] headers additional http headers
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
call(:"delete", url, params, headers)
|
102
|
+
# @return [Array] First item: parsed data; second item: raw body
|
103
|
+
def destroy(params = {}, headers = {})
|
104
|
+
perform_call(__method__, params, headers)
|
109
105
|
end
|
110
106
|
|
111
107
|
# @param [Hash] params a hash of params to be passed to the service
|
112
108
|
# @option params [String] id uuid of the system
|
113
109
|
#
|
114
110
|
# @param [Hash] headers additional http headers
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
call(:"get", url, params, headers)
|
111
|
+
# @return [Array] First item: parsed data; second item: raw body
|
112
|
+
def pools(params = {}, headers = {})
|
113
|
+
perform_call(__method__, params, headers)
|
119
114
|
end
|
120
115
|
|
121
116
|
# @param [Hash] params a hash of params to be passed to the service
|
122
117
|
# @option params [String] id uuid of the system
|
123
118
|
#
|
124
119
|
# @param [Hash] headers additional http headers
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
call(:"get", url, params, headers)
|
120
|
+
# @return [Array] First item: parsed data; second item: raw body
|
121
|
+
def releases(params = {}, headers = {})
|
122
|
+
perform_call(__method__, params, headers)
|
129
123
|
end
|
130
124
|
|
131
125
|
# @param [Hash] params a hash of params to be passed to the service
|
132
126
|
# @option params [String] id uuid of the system
|
133
127
|
#
|
134
128
|
# @param [Hash] headers additional http headers
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
call(:"get", url, params, headers)
|
129
|
+
# @return [Array] First item: parsed data; second item: raw body
|
130
|
+
def package_profile(params = {}, headers = {})
|
131
|
+
perform_call(__method__, params, headers)
|
139
132
|
end
|
140
133
|
|
141
134
|
# @param [Hash] params a hash of params to be passed to the service
|
142
135
|
# @option params [String] id uuid of the system
|
143
136
|
#
|
144
137
|
# @param [Hash] headers additional http headers
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
call(:"get", url, params, headers)
|
138
|
+
# @return [Array] First item: parsed data; second item: raw body
|
139
|
+
def errata(params = {}, headers = {})
|
140
|
+
perform_call(__method__, params, headers)
|
149
141
|
end
|
150
142
|
|
151
143
|
# @param [Hash] params a hash of params to be passed to the service
|
152
144
|
# @option params [String] id uuid of the system
|
153
145
|
#
|
154
146
|
# @param [Hash] headers additional http headers
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
call(:"put", url, params, headers)
|
147
|
+
# @return [Array] First item: parsed data; second item: raw body
|
148
|
+
def upload_package_profile(params = {}, headers = {})
|
149
|
+
perform_call(__method__, params, headers)
|
159
150
|
end
|
160
151
|
|
161
152
|
# @param [Hash] params a hash of params to be passed to the service
|
153
|
+
# @option params [Object] environment_id Part of +/api/environments/:environment_id/systems/report+ path
|
154
|
+
# @option params [Object] organization_id Part of +/api/organizations/:organization_id/systems/report+ path
|
162
155
|
#
|
163
156
|
# @param [Hash] headers additional http headers
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
call(:"get", url, params, headers)
|
157
|
+
# @return [Array] First item: parsed data; second item: raw body
|
158
|
+
def report(params = {}, headers = {})
|
159
|
+
perform_call(__method__, params, headers)
|
168
160
|
end
|
169
161
|
|
170
162
|
# @param [Hash] params a hash of params to be passed to the service
|
163
|
+
# @option params [Object] organization_id Part of +/api/organizations/:organization_id/systems/tasks+ path
|
171
164
|
# @option params [String] system_name name of the system
|
172
165
|
# @option params [String] system_uuid uuid of the system
|
173
166
|
#
|
174
167
|
# @param [Hash] headers additional http headers
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
call(:"get", url, params, headers)
|
168
|
+
# @return [Array] First item: parsed data; second item: raw body
|
169
|
+
def tasks(params = {}, headers = {})
|
170
|
+
perform_call(__method__, params, headers)
|
179
171
|
end
|
180
172
|
|
181
173
|
# @param [Hash] params a hash of params to be passed to the service
|
182
174
|
# @option params [String] id uuid of the task
|
183
175
|
#
|
184
176
|
# @param [Hash] headers additional http headers
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
call(:"get", url, params, headers)
|
177
|
+
# @return [Array] First item: parsed data; second item: raw body
|
178
|
+
def task_show(params = {}, headers = {})
|
179
|
+
perform_call(__method__, params, headers)
|
189
180
|
end
|
190
181
|
|
191
182
|
# @param [Hash] params a hash of params to be passed to the service
|
183
|
+
# @option params [Object] id Part of +/api/systems/:id/enabled_repos+ path
|
192
184
|
#
|
193
185
|
# @param [Hash] headers additional http headers
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
call(:"put", url, params, headers)
|
186
|
+
# @return [Array] First item: parsed data; second item: raw body
|
187
|
+
def enabled_repos(params = {}, headers = {})
|
188
|
+
perform_call(__method__, params, headers)
|
198
189
|
end
|
199
190
|
|
200
191
|
# @param [Hash] params a hash of params to be passed to the service
|
201
|
-
# @option params [
|
202
|
-
#
|
203
|
-
#
|
192
|
+
# @option params [Object] id Part of +/api/systems/:id/system_groups+ path
|
193
|
+
# @option params [Hash] system
|
194
|
+
# allowed keys are:
|
195
|
+
# * system_group_ids [String] list of group ids to add the system to
|
204
196
|
#
|
205
197
|
# @param [Hash] headers additional http headers
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
call(:"post", url, params, headers)
|
198
|
+
# @return [Array] First item: parsed data; second item: raw body
|
199
|
+
def add_system_groups(params = {}, headers = {})
|
200
|
+
perform_call(__method__, params, headers)
|
210
201
|
end
|
211
202
|
|
212
203
|
# @param [Hash] params a hash of params to be passed to the service
|
213
|
-
# @option params [
|
214
|
-
#
|
215
|
-
#
|
204
|
+
# @option params [Object] id Part of +/api/systems/:id/system_groups+ path
|
205
|
+
# @option params [Hash] system
|
206
|
+
# allowed keys are:
|
207
|
+
# * system_group_ids [String] list of group ids to add the system to
|
216
208
|
#
|
217
209
|
# @param [Hash] headers additional http headers
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
call(:"delete", url, params, headers)
|
210
|
+
# @return [Array] First item: parsed data; second item: raw body
|
211
|
+
def remove_system_groups(params = {}, headers = {})
|
212
|
+
perform_call(__method__, params, headers)
|
222
213
|
end
|
223
214
|
|
224
215
|
end
|
@@ -6,14 +6,13 @@ module KatelloApi
|
|
6
6
|
end
|
7
7
|
|
8
8
|
# @param [Hash] params a hash of params to be passed to the service
|
9
|
-
# @option params [String] name system group name to filter by
|
10
9
|
# @option params [String] organization_id organization identifier
|
10
|
+
# @option params [String] name system group name to filter by
|
11
11
|
#
|
12
12
|
# @param [Hash] headers additional http headers
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
call(:"get", url, params, headers)
|
13
|
+
# @return [Array] First item: parsed data; second item: raw body
|
14
|
+
def index(params = {}, headers = {})
|
15
|
+
perform_call(__method__, params, headers)
|
17
16
|
end
|
18
17
|
|
19
18
|
# @param [Hash] params a hash of params to be passed to the service
|
@@ -21,26 +20,24 @@ module KatelloApi
|
|
21
20
|
# @option params [String] organization_id organization identifier
|
22
21
|
#
|
23
22
|
# @param [Hash] headers additional http headers
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
call(:"get", url, params, headers)
|
23
|
+
# @return [Array] First item: parsed data; second item: raw body
|
24
|
+
def show(params = {}, headers = {})
|
25
|
+
perform_call(__method__, params, headers)
|
28
26
|
end
|
29
27
|
|
30
28
|
# @param [Hash] params a hash of params to be passed to the service
|
31
29
|
# @option params [String] id id of the system group
|
32
30
|
# @option params [String] organization_id organization identifier
|
33
|
-
# @option params [Hash] system_group
|
34
|
-
# allowed keys are:
|
35
|
-
# * description [String, nil]
|
36
|
-
# * max_systems [Numeric, nil] maximum number of systems in the group
|
37
|
-
# * name [String] system group name
|
31
|
+
# @option params [Hash] system_group
|
32
|
+
# allowed keys are:
|
33
|
+
# * description [String, nil]
|
34
|
+
# * max_systems [Numeric, nil] maximum number of systems in the group
|
35
|
+
# * name [String] system group name
|
38
36
|
#
|
39
37
|
# @param [Hash] headers additional http headers
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
call(:"put", url, params, headers)
|
38
|
+
# @return [Array] First item: parsed data; second item: raw body
|
39
|
+
def update(params = {}, headers = {})
|
40
|
+
perform_call(__method__, params, headers)
|
44
41
|
end
|
45
42
|
|
46
43
|
# @param [Hash] params a hash of params to be passed to the service
|
@@ -48,38 +45,35 @@ module KatelloApi
|
|
48
45
|
# @option params [String] organization_id organization identifier
|
49
46
|
#
|
50
47
|
# @param [Hash] headers additional http headers
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
call(:"get", url, params, headers)
|
48
|
+
# @return [Array] First item: parsed data; second item: raw body
|
49
|
+
def systems(params = {}, headers = {})
|
50
|
+
perform_call(__method__, params, headers)
|
55
51
|
end
|
56
52
|
|
57
53
|
# @param [Hash] params a hash of params to be passed to the service
|
58
54
|
# @option params [String] id id of the system group
|
59
55
|
# @option params [String] organization_id organization identifier
|
60
|
-
# @option params [Hash] system_group
|
61
|
-
# allowed keys are:
|
62
|
-
# * system_ids [String] array of system ids
|
56
|
+
# @option params [Hash] system_group
|
57
|
+
# allowed keys are:
|
58
|
+
# * system_ids [String] array of system ids
|
63
59
|
#
|
64
60
|
# @param [Hash] headers additional http headers
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
call(:"post", url, params, headers)
|
61
|
+
# @return [Array] First item: parsed data; second item: raw body
|
62
|
+
def add_systems(params = {}, headers = {})
|
63
|
+
perform_call(__method__, params, headers)
|
69
64
|
end
|
70
65
|
|
71
66
|
# @param [Hash] params a hash of params to be passed to the service
|
72
67
|
# @option params [String] id id of the system group
|
73
68
|
# @option params [String] organization_id organization identifier
|
74
|
-
# @option params [Hash] system_group
|
75
|
-
# allowed keys are:
|
76
|
-
# * system_ids [String] array of system ids
|
69
|
+
# @option params [Hash] system_group
|
70
|
+
# allowed keys are:
|
71
|
+
# * system_ids [String] array of system ids
|
77
72
|
#
|
78
73
|
# @param [Hash] headers additional http headers
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
call(:"post", url, params, headers)
|
74
|
+
# @return [Array] First item: parsed data; second item: raw body
|
75
|
+
def remove_systems(params = {}, headers = {})
|
76
|
+
perform_call(__method__, params, headers)
|
83
77
|
end
|
84
78
|
|
85
79
|
# @param [Hash] params a hash of params to be passed to the service
|
@@ -87,10 +81,9 @@ module KatelloApi
|
|
87
81
|
# @option params [String] organization_id organization identifier
|
88
82
|
#
|
89
83
|
# @param [Hash] headers additional http headers
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
call(:"get", url, params, headers)
|
84
|
+
# @return [Array] First item: parsed data; second item: raw body
|
85
|
+
def history(params = {}, headers = {})
|
86
|
+
perform_call(__method__, params, headers)
|
94
87
|
end
|
95
88
|
|
96
89
|
# @param [Hash] params a hash of params to be passed to the service
|
@@ -99,25 +92,23 @@ module KatelloApi
|
|
99
92
|
# @option params [String] organization_id organization identifier
|
100
93
|
#
|
101
94
|
# @param [Hash] headers additional http headers
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
call(:"get", url, params, headers)
|
95
|
+
# @return [Array] First item: parsed data; second item: raw body
|
96
|
+
def history_show(params = {}, headers = {})
|
97
|
+
perform_call(__method__, params, headers)
|
106
98
|
end
|
107
99
|
|
108
100
|
# @param [Hash] params a hash of params to be passed to the service
|
109
101
|
# @option params [String] organization_id organization identifier
|
110
|
-
# @option params [Hash] system_group
|
111
|
-
# allowed keys are:
|
112
|
-
# * description [String, nil]
|
113
|
-
# * max_systems [Numeric, nil] maximum number of systems in the group
|
114
|
-
# * name [String] system group name
|
102
|
+
# @option params [Hash] system_group
|
103
|
+
# allowed keys are:
|
104
|
+
# * description [String, nil]
|
105
|
+
# * max_systems [Numeric, nil] maximum number of systems in the group
|
106
|
+
# * name [String] system group name
|
115
107
|
#
|
116
108
|
# @param [Hash] headers additional http headers
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
call(:"post", url, params, headers)
|
109
|
+
# @return [Array] First item: parsed data; second item: raw body
|
110
|
+
def create(params = {}, headers = {})
|
111
|
+
perform_call(__method__, params, headers)
|
121
112
|
end
|
122
113
|
|
123
114
|
# @param [Hash] params a hash of params to be passed to the service
|
@@ -125,10 +116,9 @@ module KatelloApi
|
|
125
116
|
# @option params [String] organization_id organization identifier
|
126
117
|
#
|
127
118
|
# @param [Hash] headers additional http headers
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
call(:"delete", url, params, headers)
|
119
|
+
# @return [Array] First item: parsed data; second item: raw body
|
120
|
+
def destroy(params = {}, headers = {})
|
121
|
+
perform_call(__method__, params, headers)
|
132
122
|
end
|
133
123
|
|
134
124
|
end
|
@@ -11,10 +11,9 @@ module KatelloApi
|
|
11
11
|
# @option params [String] type filter errata by type
|
12
12
|
#
|
13
13
|
# @param [Hash] headers additional http headers
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
call(:"get", url, params, headers)
|
14
|
+
# @return [Array] First item: parsed data; second item: raw body
|
15
|
+
def index(params = {}, headers = {})
|
16
|
+
perform_call(__method__, params, headers)
|
18
17
|
end
|
19
18
|
|
20
19
|
# @param [Hash] params a hash of params to be passed to the service
|
@@ -23,10 +22,9 @@ module KatelloApi
|
|
23
22
|
# @option params [String] system_group_id system_group identifier
|
24
23
|
#
|
25
24
|
# @param [Hash] headers additional http headers
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
call(:"post", url, params, headers)
|
25
|
+
# @return [Array] First item: parsed data; second item: raw body
|
26
|
+
def create(params = {}, headers = {})
|
27
|
+
perform_call(__method__, params, headers)
|
30
28
|
end
|
31
29
|
|
32
30
|
end
|
@@ -6,42 +6,39 @@ module KatelloApi
|
|
6
6
|
end
|
7
7
|
|
8
8
|
# @param [Hash] params a hash of params to be passed to the service
|
9
|
-
# @option params [String] groups list of package group names
|
10
9
|
# @option params [String] organization_id oranization identifier
|
11
|
-
# @option params [String] packages list of package names
|
12
10
|
# @option params [String] system_group_id system_group identifier
|
11
|
+
# @option params [String] groups list of package group names
|
12
|
+
# @option params [String] packages list of package names
|
13
13
|
#
|
14
14
|
# @param [Hash] headers additional http headers
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
call(:"post", url, params, headers)
|
15
|
+
# @return [Array] First item: parsed data; second item: raw body
|
16
|
+
def create(params = {}, headers = {})
|
17
|
+
perform_call(__method__, params, headers)
|
19
18
|
end
|
20
19
|
|
21
20
|
# @param [Hash] params a hash of params to be passed to the service
|
22
|
-
# @option params [String] groups list of package group names
|
23
21
|
# @option params [String] organization_id oranization identifier
|
24
|
-
# @option params [String] packages list of package names
|
25
22
|
# @option params [String] system_group_id system_group identifier
|
23
|
+
# @option params [String] groups list of package group names
|
24
|
+
# @option params [String] packages list of package names
|
26
25
|
#
|
27
26
|
# @param [Hash] headers additional http headers
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
call(:"put", url, params, headers)
|
27
|
+
# @return [Array] First item: parsed data; second item: raw body
|
28
|
+
def update(params = {}, headers = {})
|
29
|
+
perform_call(__method__, params, headers)
|
32
30
|
end
|
33
31
|
|
34
32
|
# @param [Hash] params a hash of params to be passed to the service
|
35
|
-
# @option params [String] groups list of package group names
|
36
33
|
# @option params [String] organization_id oranization identifier
|
37
|
-
# @option params [String] packages list of package names
|
38
34
|
# @option params [String] system_group_id system_group identifier
|
35
|
+
# @option params [String] groups list of package group names
|
36
|
+
# @option params [String] packages list of package names
|
39
37
|
#
|
40
38
|
# @param [Hash] headers additional http headers
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
call(:"delete", url, params, headers)
|
39
|
+
# @return [Array] First item: parsed data; second item: raw body
|
40
|
+
def destroy(params = {}, headers = {})
|
41
|
+
perform_call(__method__, params, headers)
|
45
42
|
end
|
46
43
|
|
47
44
|
end
|
@@ -6,38 +6,35 @@ module KatelloApi
|
|
6
6
|
end
|
7
7
|
|
8
8
|
# @param [Hash] params a hash of params to be passed to the service
|
9
|
+
# @option params [String] system_id system identifier
|
9
10
|
# @option params [String] groups list of package group names
|
10
11
|
# @option params [String] packages list of package names
|
11
|
-
# @option params [String] system_id system identifier
|
12
12
|
#
|
13
13
|
# @param [Hash] headers additional http headers
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
call(:"post", url, params, headers)
|
14
|
+
# @return [Array] First item: parsed data; second item: raw body
|
15
|
+
def create(params = {}, headers = {})
|
16
|
+
perform_call(__method__, params, headers)
|
18
17
|
end
|
19
18
|
|
20
19
|
# @param [Hash] params a hash of params to be passed to the service
|
21
|
-
# @option params [String] packages list of packages names
|
22
20
|
# @option params [String] system_id system identifier
|
21
|
+
# @option params [String] packages list of packages names
|
23
22
|
#
|
24
23
|
# @param [Hash] headers additional http headers
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
call(:"put", url, params, headers)
|
24
|
+
# @return [Array] First item: parsed data; second item: raw body
|
25
|
+
def update(params = {}, headers = {})
|
26
|
+
perform_call(__method__, params, headers)
|
29
27
|
end
|
30
28
|
|
31
29
|
# @param [Hash] params a hash of params to be passed to the service
|
30
|
+
# @option params [String] system_id system identifier
|
32
31
|
# @option params [String] groups list of package group names
|
33
32
|
# @option params [String] packages list of package names
|
34
|
-
# @option params [String] system_id system identifier
|
35
33
|
#
|
36
34
|
# @param [Hash] headers additional http headers
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
call(:"delete", url, params, headers)
|
35
|
+
# @return [Array] First item: parsed data; second item: raw body
|
36
|
+
def destroy(params = {}, headers = {})
|
37
|
+
perform_call(__method__, params, headers)
|
41
38
|
end
|
42
39
|
|
43
40
|
end
|