katello_api 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,97 +6,100 @@ 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 [Object] environment_id Part of +/api/environments/:environment_id/activation_keys+ path
|
|
10
|
+
# @option params [Object] organization_id Part of +/api/organizations/:organization_id/activation_keys+ path
|
|
9
11
|
# @option params [String] name lists by activation key name
|
|
10
12
|
#
|
|
11
13
|
# @param [Hash] headers additional http headers
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
url, params = fill_params_in_url "/api/environments/:environment_id/activation_keys", params
|
|
16
|
-
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)
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
# @param [Hash] params a hash of params to be passed to the service
|
|
20
|
+
# @option params [Object] id Part of +/api/activation_keys/:id+ path
|
|
20
21
|
#
|
|
21
22
|
# @param [Hash] headers additional http headers
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
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)
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
# @param [Hash] params a hash of params to be passed to the service
|
|
29
|
-
# @option params [
|
|
30
|
-
#
|
|
31
|
-
#
|
|
32
|
-
# *
|
|
33
|
-
# *
|
|
29
|
+
# @option params [Object] environment_id Part of +/api/environments/:environment_id/activation_keys+ path
|
|
30
|
+
# @option params [Hash] activation_key
|
|
31
|
+
# allowed keys are:
|
|
32
|
+
# * content_view_id [String, nil] content view id
|
|
33
|
+
# * description [String, nil]
|
|
34
|
+
# * name [String] activation key identifier (alphanum characters, space, _ and -)
|
|
34
35
|
#
|
|
35
36
|
# @param [Hash] headers additional http headers
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
call(:"post", url, params, headers)
|
|
37
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
38
|
+
def create(params = {}, headers = {})
|
|
39
|
+
perform_call(__method__, params, headers)
|
|
40
40
|
end
|
|
41
41
|
|
|
42
42
|
# @param [Hash] params a hash of params to be passed to the service
|
|
43
|
-
# @option params [
|
|
44
|
-
#
|
|
45
|
-
#
|
|
46
|
-
# *
|
|
47
|
-
# * environment_id [String, nil]
|
|
48
|
-
# *
|
|
43
|
+
# @option params [Object] id Part of +/api/activation_keys/:id+ path
|
|
44
|
+
# @option params [Hash] activation_key
|
|
45
|
+
# allowed keys are:
|
|
46
|
+
# * content_view_id [String, nil] content view id
|
|
47
|
+
# * environment_id [String, nil]
|
|
48
|
+
# * description [String, nil]
|
|
49
|
+
# * name [String] activation key identifier (alphanum characters, space, _ and -)
|
|
49
50
|
#
|
|
50
51
|
# @param [Hash] headers additional http headers
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
call(:"put", url, params, headers)
|
|
52
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
53
|
+
def update(params = {}, headers = {})
|
|
54
|
+
perform_call(__method__, params, headers)
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
# @param [Hash] params a hash of params to be passed to the service
|
|
58
|
+
# @option params [Object] id Part of +/api/activation_keys/:id/pools+ path
|
|
58
59
|
#
|
|
59
60
|
# @param [Hash] headers additional http headers
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
call(:"post", url, params, headers)
|
|
61
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
62
|
+
def add_pool(params = {}, headers = {})
|
|
63
|
+
perform_call(__method__, params, headers)
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
# @param [Hash] params a hash of params to be passed to the service
|
|
67
|
+
# @option params [Object] id Part of +/api/activation_keys/:id/pools/:poolid+ path
|
|
68
|
+
# @option params [Object] poolid Part of +/api/activation_keys/:id/pools/:poolid+ path
|
|
67
69
|
#
|
|
68
70
|
# @param [Hash] headers additional http headers
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
call(:"delete", url, params, headers)
|
|
71
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
72
|
+
def remove_pool(params = {}, headers = {})
|
|
73
|
+
perform_call(__method__, params, headers)
|
|
73
74
|
end
|
|
74
75
|
|
|
75
76
|
# @param [Hash] params a hash of params to be passed to the service
|
|
77
|
+
# @option params [Object] id Part of +/api/activation_keys/:id+ path
|
|
76
78
|
#
|
|
77
79
|
# @param [Hash] headers additional http headers
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
call(:"delete", url, params, headers)
|
|
80
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
81
|
+
def destroy(params = {}, headers = {})
|
|
82
|
+
perform_call(__method__, params, headers)
|
|
82
83
|
end
|
|
83
84
|
|
|
84
85
|
# @param [Hash] params a hash of params to be passed to the service
|
|
86
|
+
# @option params [Object] id Part of +/api/organizations/:organization_id/activation_keys/:id/system_groups+ path
|
|
87
|
+
# @option params [Object] organization_id Part of +/api/organizations/:organization_id/activation_keys/:id/system_groups+ path
|
|
85
88
|
#
|
|
86
89
|
# @param [Hash] headers additional http headers
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
call(:"post", url, params, headers)
|
|
90
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
91
|
+
def add_system_groups(params = {}, headers = {})
|
|
92
|
+
perform_call(__method__, params, headers)
|
|
91
93
|
end
|
|
92
94
|
|
|
93
95
|
# @param [Hash] params a hash of params to be passed to the service
|
|
96
|
+
# @option params [Object] id Part of +/api/organizations/:organization_id/activation_keys/:id/system_groups+ path
|
|
97
|
+
# @option params [Object] organization_id Part of +/api/organizations/:organization_id/activation_keys/:id/system_groups+ path
|
|
94
98
|
#
|
|
95
99
|
# @param [Hash] headers additional http headers
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
call(:"delete", url, params, headers)
|
|
100
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
101
|
+
def remove_system_groups(params = {}, headers = {})
|
|
102
|
+
perform_call(__method__, params, headers)
|
|
100
103
|
end
|
|
101
104
|
|
|
102
105
|
end
|
|
@@ -8,55 +8,50 @@ module KatelloApi
|
|
|
8
8
|
# @param [Hash] params a hash of params to be passed to the service
|
|
9
9
|
#
|
|
10
10
|
# @param [Hash] headers additional http headers
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
call(:"get", url, params, headers)
|
|
11
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
12
|
+
def index(params = {}, headers = {})
|
|
13
|
+
perform_call(__method__, params, headers)
|
|
15
14
|
end
|
|
16
15
|
|
|
17
16
|
# @param [Hash] params a hash of params to be passed to the service
|
|
18
17
|
# @option params [String] id architecture name
|
|
19
18
|
#
|
|
20
19
|
# @param [Hash] headers additional http headers
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
call(:"get", url, params, headers)
|
|
20
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
21
|
+
def show(params = {}, headers = {})
|
|
22
|
+
perform_call(__method__, params, headers)
|
|
25
23
|
end
|
|
26
24
|
|
|
27
25
|
# @param [Hash] params a hash of params to be passed to the service
|
|
28
26
|
# @option params [Hash] architecture architecture info
|
|
29
|
-
# allowed keys are:
|
|
30
|
-
# * name [String] architecture name
|
|
27
|
+
# allowed keys are:
|
|
28
|
+
# * name [String] architecture name
|
|
31
29
|
#
|
|
32
30
|
# @param [Hash] headers additional http headers
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
call(:"post", url, params, headers)
|
|
31
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
32
|
+
def create(params = {}, headers = {})
|
|
33
|
+
perform_call(__method__, params, headers)
|
|
37
34
|
end
|
|
38
35
|
|
|
39
36
|
# @param [Hash] params a hash of params to be passed to the service
|
|
40
37
|
# @option params [String] id architecture name
|
|
41
38
|
# @option params [Hash] architecture architecture info
|
|
42
|
-
# allowed keys are:
|
|
43
|
-
# * name [String] architecture name
|
|
39
|
+
# allowed keys are:
|
|
40
|
+
# * name [String] architecture name
|
|
44
41
|
#
|
|
45
42
|
# @param [Hash] headers additional http headers
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
call(:"put", url, params, headers)
|
|
43
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
44
|
+
def update(params = {}, headers = {})
|
|
45
|
+
perform_call(__method__, params, headers)
|
|
50
46
|
end
|
|
51
47
|
|
|
52
48
|
# @param [Hash] params a hash of params to be passed to the service
|
|
53
49
|
# @option params [String] id architecture name
|
|
54
50
|
#
|
|
55
51
|
# @param [Hash] headers additional http headers
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
call(:"delete", url, params, headers)
|
|
52
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
53
|
+
def destroy(params = {}, headers = {})
|
|
54
|
+
perform_call(__method__, params, headers)
|
|
60
55
|
end
|
|
61
56
|
|
|
62
57
|
end
|
|
@@ -6,76 +6,78 @@ 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 [Object] environment_id Part of +/api/organizations/:organization_id/environments/:environment_id/changesets+ path
|
|
10
|
+
# @option params [Object] organization_id Part of +/api/organizations/:organization_id/environments/:environment_id/changesets+ path
|
|
9
11
|
# @option params [String] name an optional changeset name to filter upon
|
|
10
12
|
#
|
|
11
13
|
# @param [Hash] headers additional http headers
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
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)
|
|
16
17
|
end
|
|
17
18
|
|
|
18
19
|
# @param [Hash] params a hash of params to be passed to the service
|
|
20
|
+
# @option params [Object] id Part of +/api/changesets/:id+ path
|
|
19
21
|
#
|
|
20
22
|
# @param [Hash] headers additional http headers
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
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)
|
|
25
26
|
end
|
|
26
27
|
|
|
27
28
|
# @param [Hash] params a hash of params to be passed to the service
|
|
28
|
-
# @option params [
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
# *
|
|
29
|
+
# @option params [Object] id Part of +/api/changesets/:id+ path
|
|
30
|
+
# @option params [Hash] changeset
|
|
31
|
+
# allowed keys are:
|
|
32
|
+
# * description [String, nil] the description of the changeset
|
|
33
|
+
# * name [String] the name of the changeset
|
|
32
34
|
#
|
|
33
35
|
# @param [Hash] headers additional http headers
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
call(:"put", url, params, headers)
|
|
36
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
37
|
+
def update(params = {}, headers = {})
|
|
38
|
+
perform_call(__method__, params, headers)
|
|
38
39
|
end
|
|
39
40
|
|
|
40
41
|
# @param [Hash] params a hash of params to be passed to the service
|
|
42
|
+
# @option params [Object] id Part of +/api/changesets/:id/dependencies+ path
|
|
41
43
|
#
|
|
42
44
|
# @param [Hash] headers additional http headers
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
call(:"get", url, params, headers)
|
|
45
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
46
|
+
def dependencies(params = {}, headers = {})
|
|
47
|
+
perform_call(__method__, params, headers)
|
|
47
48
|
end
|
|
48
49
|
|
|
49
50
|
# @param [Hash] params a hash of params to be passed to the service
|
|
50
|
-
# @option params [
|
|
51
|
-
#
|
|
52
|
-
#
|
|
53
|
-
#
|
|
54
|
-
# *
|
|
51
|
+
# @option params [Object] environment_id Part of +/api/organizations/:organization_id/environments/:environment_id/changesets+ path
|
|
52
|
+
# @option params [Object] organization_id Part of +/api/organizations/:organization_id/environments/:environment_id/changesets+ path
|
|
53
|
+
# @option params [Hash] changeset
|
|
54
|
+
# allowed keys are:
|
|
55
|
+
# * description [String, nil] the description of the changeset
|
|
56
|
+
# * name [String] the name of the changeset
|
|
57
|
+
# * type [String]
|
|
55
58
|
#
|
|
56
59
|
# @param [Hash] headers additional http headers
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
call(:"post", url, params, headers)
|
|
60
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
61
|
+
def create(params = {}, headers = {})
|
|
62
|
+
perform_call(__method__, params, headers)
|
|
61
63
|
end
|
|
62
64
|
|
|
63
65
|
# @param [Hash] params a hash of params to be passed to the service
|
|
66
|
+
# @option params [Object] id Part of +/api/changesets/:id/promote+ path
|
|
64
67
|
#
|
|
65
68
|
# @param [Hash] headers additional http headers
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
call(:"post", url, params, headers)
|
|
69
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
70
|
+
def promote(params = {}, headers = {})
|
|
71
|
+
perform_call(__method__, params, headers)
|
|
70
72
|
end
|
|
71
73
|
|
|
72
74
|
# @param [Hash] params a hash of params to be passed to the service
|
|
75
|
+
# @option params [Object] id Part of +/api/changesets/:id+ path
|
|
73
76
|
#
|
|
74
77
|
# @param [Hash] headers additional http headers
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
call(:"delete", url, params, headers)
|
|
78
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
79
|
+
def destroy(params = {}, headers = {})
|
|
80
|
+
perform_call(__method__, params, headers)
|
|
79
81
|
end
|
|
80
82
|
|
|
81
83
|
end
|
|
@@ -6,142 +6,149 @@ 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 [Object] changeset_id Part of +/api/changesets/:changeset_id/products+ path
|
|
9
10
|
# @option params [String] product_id the id of the product which should be added
|
|
10
11
|
#
|
|
11
12
|
# @param [Hash] headers additional http headers
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
call(:"post", url, params, headers)
|
|
13
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
14
|
+
def add_product(params = {}, headers = {})
|
|
15
|
+
perform_call(__method__, params, headers)
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
# @param [Hash] params a hash of params to be passed to the service
|
|
19
|
+
# @option params [Object] id Part of +/api/changesets/:changeset_id/products/:id+ path
|
|
20
|
+
# @option params [Object] changeset_id Part of +/api/changesets/:changeset_id/products/:id+ path
|
|
19
21
|
# @option params [String] content_id the id of the product to remove
|
|
20
22
|
#
|
|
21
23
|
# @param [Hash] headers additional http headers
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
call(:"delete", url, params, headers)
|
|
24
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
25
|
+
def remove_product(params = {}, headers = {})
|
|
26
|
+
perform_call(__method__, params, headers)
|
|
26
27
|
end
|
|
27
28
|
|
|
28
29
|
# @param [Hash] params a hash of params to be passed to the service
|
|
29
|
-
# @option params [
|
|
30
|
+
# @option params [Object] changeset_id Part of +/api/changesets/:changeset_id/packages+ path
|
|
30
31
|
# @option params [String] product_id the id of the product which contains the package
|
|
32
|
+
# @option params [String] name the nvrea of the package to add
|
|
31
33
|
#
|
|
32
34
|
# @param [Hash] headers additional http headers
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
call(:"post", url, params, headers)
|
|
35
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
36
|
+
def add_package(params = {}, headers = {})
|
|
37
|
+
perform_call(__method__, params, headers)
|
|
37
38
|
end
|
|
38
39
|
|
|
39
40
|
# @param [Hash] params a hash of params to be passed to the service
|
|
41
|
+
# @option params [Object] id Part of +/api/changesets/:changeset_id/packages/:id+ path
|
|
42
|
+
# @option params [Object] changeset_id Part of +/api/changesets/:changeset_id/packages/:id+ path
|
|
40
43
|
# @option params [String] product_id the id of the product which contains the package
|
|
41
44
|
#
|
|
42
45
|
# @param [Hash] headers additional http headers
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
call(:"delete", url, params, headers)
|
|
46
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
47
|
+
def remove_package(params = {}, headers = {})
|
|
48
|
+
perform_call(__method__, params, headers)
|
|
47
49
|
end
|
|
48
50
|
|
|
49
51
|
# @param [Hash] params a hash of params to be passed to the service
|
|
52
|
+
# @option params [Object] changeset_id Part of +/api/changesets/:changeset_id/errata+ path
|
|
50
53
|
# @option params [String] erratum_id the id of the errata to add
|
|
51
54
|
# @option params [String] product_id the product which contains the errata
|
|
52
55
|
#
|
|
53
56
|
# @param [Hash] headers additional http headers
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
call(:"post", url, params, headers)
|
|
57
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
58
|
+
def add_erratum(params = {}, headers = {})
|
|
59
|
+
perform_call(__method__, params, headers)
|
|
58
60
|
end
|
|
59
61
|
|
|
60
62
|
# @param [Hash] params a hash of params to be passed to the service
|
|
63
|
+
# @option params [Object] id Part of +/api/changesets/:changeset_id/errata/:id+ path
|
|
64
|
+
# @option params [Object] changeset_id Part of +/api/changesets/:changeset_id/errata/:id+ path
|
|
61
65
|
# @option params [String] product_id the product which contains the errata
|
|
62
66
|
#
|
|
63
67
|
# @param [Hash] headers additional http headers
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
call(:"delete", url, params, headers)
|
|
68
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
69
|
+
def remove_erratum(params = {}, headers = {})
|
|
70
|
+
perform_call(__method__, params, headers)
|
|
68
71
|
end
|
|
69
72
|
|
|
70
73
|
# @param [Hash] params a hash of params to be passed to the service
|
|
74
|
+
# @option params [Object] changeset_id Part of +/api/changesets/:changeset_id/repositories+ path
|
|
71
75
|
# @option params [String] repository_id the id of the repository to add
|
|
72
76
|
#
|
|
73
77
|
# @param [Hash] headers additional http headers
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
call(:"post", url, params, headers)
|
|
78
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
79
|
+
def add_repo(params = {}, headers = {})
|
|
80
|
+
perform_call(__method__, params, headers)
|
|
78
81
|
end
|
|
79
82
|
|
|
80
83
|
# @param [Hash] params a hash of params to be passed to the service
|
|
84
|
+
# @option params [Object] id Part of +/api/changesets/:changeset_id/repositories/:id+ path
|
|
85
|
+
# @option params [Object] changeset_id Part of +/api/changesets/:changeset_id/repositories/:id+ path
|
|
81
86
|
#
|
|
82
87
|
# @param [Hash] headers additional http headers
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
call(:"delete", url, params, headers)
|
|
88
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
89
|
+
def remove_repo(params = {}, headers = {})
|
|
90
|
+
perform_call(__method__, params, headers)
|
|
87
91
|
end
|
|
88
92
|
|
|
89
93
|
# @param [Hash] params a hash of params to be passed to the service
|
|
94
|
+
# @option params [Object] changeset_id Part of +/api/changesets/:changeset_id/templates+ path
|
|
90
95
|
# @option params [String] template_id the id of the template to add
|
|
91
96
|
#
|
|
92
97
|
# @param [Hash] headers additional http headers
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
call(:"post", url, params, headers)
|
|
98
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
99
|
+
def add_template(params = {}, headers = {})
|
|
100
|
+
perform_call(__method__, params, headers)
|
|
97
101
|
end
|
|
98
102
|
|
|
99
103
|
# @param [Hash] params a hash of params to be passed to the service
|
|
104
|
+
# @option params [Object] id Part of +/api/changesets/:changeset_id/templates/:id+ path
|
|
105
|
+
# @option params [Object] changeset_id Part of +/api/changesets/:changeset_id/templates/:id+ path
|
|
100
106
|
#
|
|
101
107
|
# @param [Hash] headers additional http headers
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
call(:"delete", url, params, headers)
|
|
108
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
109
|
+
def remove_template(params = {}, headers = {})
|
|
110
|
+
perform_call(__method__, params, headers)
|
|
106
111
|
end
|
|
107
112
|
|
|
108
113
|
# @param [Hash] params a hash of params to be passed to the service
|
|
114
|
+
# @option params [Object] changeset_id Part of +/api/changesets/:changeset_id/content_views+ path
|
|
109
115
|
# @option params [String] content_view_id the id of the content view to add
|
|
110
116
|
#
|
|
111
117
|
# @param [Hash] headers additional http headers
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
call(:"post", url, params, headers)
|
|
118
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
119
|
+
def add_content_view(params = {}, headers = {})
|
|
120
|
+
perform_call(__method__, params, headers)
|
|
116
121
|
end
|
|
117
122
|
|
|
118
123
|
# @param [Hash] params a hash of params to be passed to the service
|
|
124
|
+
# @option params [Object] id Part of +/api/changesets/:changeset_id/content_views/:id+ path
|
|
125
|
+
# @option params [Object] changeset_id Part of +/api/changesets/:changeset_id/content_views/:id+ path
|
|
119
126
|
#
|
|
120
127
|
# @param [Hash] headers additional http headers
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
call(:"delete", url, params, headers)
|
|
128
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
129
|
+
def remove_content_view(params = {}, headers = {})
|
|
130
|
+
perform_call(__method__, params, headers)
|
|
125
131
|
end
|
|
126
132
|
|
|
127
133
|
# @param [Hash] params a hash of params to be passed to the service
|
|
134
|
+
# @option params [Object] changeset_id Part of +/api/changesets/:changeset_id/distributions+ path
|
|
128
135
|
# @option params [String] distribution_id the id of the distribution to add
|
|
129
136
|
# @option params [String] product_id the product which contains the distribution
|
|
130
137
|
#
|
|
131
138
|
# @param [Hash] headers additional http headers
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
call(:"post", url, params, headers)
|
|
139
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
140
|
+
def add_distribution(params = {}, headers = {})
|
|
141
|
+
perform_call(__method__, params, headers)
|
|
136
142
|
end
|
|
137
143
|
|
|
138
144
|
# @param [Hash] params a hash of params to be passed to the service
|
|
145
|
+
# @option params [Object] id Part of +/api/changesets/:changeset_id/distributions/:id+ path
|
|
146
|
+
# @option params [Object] changeset_id Part of +/api/changesets/:changeset_id/distributions/:id+ path
|
|
139
147
|
#
|
|
140
148
|
# @param [Hash] headers additional http headers
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
call(:"delete", url, params, headers)
|
|
149
|
+
# @return [Array] First item: parsed data; second item: raw body
|
|
150
|
+
def remove_distribution(params = {}, headers = {})
|
|
151
|
+
perform_call(__method__, params, headers)
|
|
145
152
|
end
|
|
146
153
|
|
|
147
154
|
end
|