katello_api 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +3 -0
  3. data/Gemfile +1 -1
  4. data/README.rdoc +22 -13
  5. data/Rakefile +0 -1
  6. data/doc/KatelloApi/Base.html +102 -116
  7. data/doc/KatelloApi/Generator/Base.html +65 -80
  8. data/doc/KatelloApi/Generator.html +5 -5
  9. data/doc/KatelloApi/Resources/About.html +360 -0
  10. data/doc/KatelloApi/Resources/ActivationKey.html +190 -304
  11. data/doc/KatelloApi/Resources/Architecture.html +89 -129
  12. data/doc/KatelloApi/Resources/Changeset.html +156 -399
  13. data/doc/KatelloApi/Resources/ChangesetsContent.html +97 -2215
  14. data/doc/KatelloApi/Resources/ComputeResource.html +131 -189
  15. data/doc/KatelloApi/Resources/ConfigTemplate.html +143 -208
  16. data/doc/KatelloApi/Resources/ContentUpload.html +1046 -0
  17. data/doc/KatelloApi/Resources/ContentView.html +229 -117
  18. data/doc/KatelloApi/Resources/ContentViewDefinition.html +1190 -323
  19. data/doc/KatelloApi/Resources/Crl.html +21 -28
  20. data/doc/KatelloApi/Resources/CustomInfo.html +1110 -0
  21. data/doc/KatelloApi/Resources/Distribution.html +40 -56
  22. data/doc/KatelloApi/Resources/Distributor.html +406 -469
  23. data/doc/KatelloApi/Resources/Domain.html +107 -155
  24. data/doc/KatelloApi/Resources/Environment.html +211 -539
  25. data/doc/KatelloApi/Resources/Erratum.html +56 -90
  26. data/doc/KatelloApi/Resources/Filter.html +1533 -0
  27. data/doc/KatelloApi/Resources/FilterRule.html +591 -0
  28. data/doc/KatelloApi/Resources/GpgKey.html +230 -196
  29. data/doc/KatelloApi/Resources/HardwareModel.html +101 -147
  30. data/doc/KatelloApi/Resources/Organization.html +647 -158
  31. data/doc/KatelloApi/Resources/OrganizationDefaultInfo.html +803 -0
  32. data/doc/KatelloApi/Resources/Package.html +57 -81
  33. data/doc/KatelloApi/Resources/Permission.html +109 -197
  34. data/doc/KatelloApi/Resources/Ping.html +37 -179
  35. data/doc/KatelloApi/Resources/Product.html +289 -462
  36. data/doc/KatelloApi/Resources/Provider.html +397 -424
  37. data/doc/KatelloApi/Resources/PuppetModule.html +704 -0
  38. data/doc/KatelloApi/Resources/Repository.html +302 -958
  39. data/doc/KatelloApi/Resources/RepositorySet.html +64 -104
  40. data/doc/KatelloApi/Resources/Role.html +131 -250
  41. data/doc/KatelloApi/Resources/RoleLdapGroup.html +74 -95
  42. data/doc/KatelloApi/Resources/SmartProxy.html +97 -143
  43. data/doc/KatelloApi/Resources/Statu.html +21 -28
  44. data/doc/KatelloApi/Resources/Status.html +360 -0
  45. data/doc/KatelloApi/Resources/Subnet.html +89 -129
  46. data/doc/KatelloApi/Resources/Subscription.html +486 -162
  47. data/doc/KatelloApi/Resources/Sync.html +85 -155
  48. data/doc/KatelloApi/Resources/SyncPlan.html +127 -220
  49. data/doc/KatelloApi/Resources/System.html +913 -925
  50. data/doc/KatelloApi/Resources/SystemErratum.html +557 -0
  51. data/doc/KatelloApi/Resources/SystemGroup.html +634 -408
  52. data/doc/KatelloApi/Resources/SystemGroupErratum.html +47 -66
  53. data/doc/KatelloApi/Resources/SystemGroupPackage.html +77 -108
  54. data/doc/KatelloApi/Resources/SystemPackage.html +734 -108
  55. data/doc/KatelloApi/Resources/SystemsBulkAction.html +1706 -0
  56. data/doc/KatelloApi/Resources/Task.html +38 -53
  57. data/doc/KatelloApi/Resources/Template.html +159 -233
  58. data/doc/KatelloApi/Resources/TemplatesContent.html +214 -312
  59. data/doc/KatelloApi/Resources/Uebercert.html +25 -34
  60. data/doc/KatelloApi/Resources/User.html +204 -433
  61. data/doc/KatelloApi/Resources.html +7 -7
  62. data/doc/KatelloApi.html +21 -26
  63. data/doc/_index.html +87 -9
  64. data/doc/class_list.html +3 -2
  65. data/doc/css/style.css +1 -1
  66. data/doc/file.README.html +60 -54
  67. data/doc/file_list.html +2 -1
  68. data/doc/frames.html +5 -7
  69. data/doc/index.html +60 -54
  70. data/doc/js/app.js +7 -2
  71. data/doc/js/full_list.js +7 -2
  72. data/doc/method_list.html +854 -1225
  73. data/doc/top-level-namespace.html +5 -5
  74. data/katello_api.gemspec +7 -5
  75. data/lib/katello_api/base.rb +9 -8
  76. data/lib/katello_api/documentation.json +1 -1
  77. data/lib/katello_api/resources/about.rb +18 -0
  78. data/lib/katello_api/resources/activation_key.rb +11 -13
  79. data/lib/katello_api/resources/changeset.rb +4 -15
  80. data/lib/katello_api/resources/changesets_content.rb +6 -130
  81. data/lib/katello_api/resources/content_upload.rb +61 -0
  82. data/lib/katello_api/resources/content_view.rb +10 -1
  83. data/lib/katello_api/resources/content_view_definition.rb +65 -3
  84. data/lib/katello_api/resources/custom_info.rb +70 -0
  85. data/lib/katello_api/resources/distributor.rb +33 -18
  86. data/lib/katello_api/resources/environment.rb +20 -41
  87. data/lib/katello_api/resources/erratum.rb +3 -4
  88. data/lib/katello_api/resources/filter.rb +93 -0
  89. data/lib/katello_api/resources/filter_rule.rb +36 -0
  90. data/lib/katello_api/resources/gpg_key.rb +18 -14
  91. data/lib/katello_api/resources/organization.rb +43 -8
  92. data/lib/katello_api/resources/organization_default_info.rb +48 -0
  93. data/lib/katello_api/resources/permission.rb +10 -7
  94. data/lib/katello_api/resources/ping.rb +1 -9
  95. data/lib/katello_api/resources/product.rb +26 -30
  96. data/lib/katello_api/resources/provider.rb +21 -20
  97. data/lib/katello_api/resources/puppet_module.rb +39 -0
  98. data/lib/katello_api/resources/repository.rb +28 -62
  99. data/lib/katello_api/resources/repository_set.rb +1 -2
  100. data/lib/katello_api/resources/role.rb +0 -5
  101. data/lib/katello_api/resources/role_ldap_group.rb +3 -1
  102. data/lib/katello_api/resources/status.rb +18 -0
  103. data/lib/katello_api/resources/subscription.rb +33 -7
  104. data/lib/katello_api/resources/sync.rb +9 -12
  105. data/lib/katello_api/resources/sync_plan.rb +2 -5
  106. data/lib/katello_api/resources/system.rb +95 -73
  107. data/lib/katello_api/resources/system_erratum.rb +30 -0
  108. data/lib/katello_api/resources/system_group.rb +40 -27
  109. data/lib/katello_api/resources/system_group_erratum.rb +1 -1
  110. data/lib/katello_api/resources/system_group_package.rb +6 -6
  111. data/lib/katello_api/resources/system_package.rb +46 -5
  112. data/lib/katello_api/resources/systems_bulk_action.rb +140 -0
  113. data/lib/katello_api/resources/user.rb +14 -18
  114. data/lib/katello_api/version.rb +1 -1
  115. metadata +26 -14
@@ -7,7 +7,15 @@ module KatelloApi
7
7
 
8
8
  # @param [Hash] params a hash of params to be passed to the service
9
9
  # @option params [String] organization_id organization identifier
10
- # @option params [String] name filter providers by name
10
+ # @option params [String] order sort field and order, eg. ‘name desc’
11
+ # @option params [String] page page number, starting at 1
12
+ # @option params [String] per_page number of results per page to return
13
+ # @option params [String] provider_type filter providers by type (‘custom’ or ‘red hat’)
14
+ # @option params [String] search search string
15
+ # @option params [Hash] sort hash version of ‘order’ param
16
+ # allowed keys are:
17
+ # * by [String] field to sort the results on
18
+ # * order [String] how to order the sorted results (e.g. asc for ascending)
11
19
  #
12
20
  # @param [Hash] headers additional http headers
13
21
  # @return [Array] First item: parsed data; second item: raw body
@@ -26,12 +34,9 @@ module KatelloApi
26
34
 
27
35
  # @param [Hash] params a hash of params to be passed to the service
28
36
  # @option params [String] organization_id organization identifier
29
- # @option params [Hash] provider
30
- # allowed keys are:
31
- # * description [String, nil] provider description
32
- # * name [String] provider name
33
- # * provider_type [String]
34
- # * repository_url [String, nil] repository url
37
+ # @option params [String] description description of the provider
38
+ # @option params [String] name name of the provider
39
+ # @option params [String] provider_type the type of the provider
35
40
  #
36
41
  # @param [Hash] headers additional http headers
37
42
  # @return [Array] First item: parsed data; second item: raw body
@@ -40,12 +45,8 @@ module KatelloApi
40
45
  end
41
46
 
42
47
  # @param [Hash] params a hash of params to be passed to the service
43
- # @option params [String] id provider numeric identifier
44
- # @option params [Hash] provider
45
- # allowed keys are:
46
- # * description [String, nil] provider description
47
- # * name [String] provider name
48
- # * repository_url [String, nil] repository url
48
+ # @option params [String] id provider identifier
49
+ # @option params [String] repository_url provider repository url
49
50
  #
50
51
  # @param [Hash] headers additional http headers
51
52
  # @return [Array] First item: parsed data; second item: raw body
@@ -64,6 +65,7 @@ module KatelloApi
64
65
 
65
66
  # @param [Hash] params a hash of params to be passed to the service
66
67
  # @option params [String] id provider numeric identifier
68
+ # @option params [String] include_marketing include marketing products in results
67
69
  #
68
70
  # @param [Hash] headers additional http headers
69
71
  # @return [Array] First item: parsed data; second item: raw body
@@ -72,23 +74,22 @@ module KatelloApi
72
74
  end
73
75
 
74
76
  # @param [Hash] params a hash of params to be passed to the service
75
- # @option params [Object] id Part of +/api/providers/:id/discovery+ path
76
- # @option params [String] url remote url to perform discovery
77
+ # @option params [String] id provider numeric identifier
78
+ # @option params [String] force force import
79
+ # @option params [String] import manifest file
77
80
  #
78
81
  # @param [Hash] headers additional http headers
79
82
  # @return [Array] First item: parsed data; second item: raw body
80
- def discovery(params = {}, headers = {})
83
+ def import_manifest(params = {}, headers = {})
81
84
  perform_call(__method__, params, headers)
82
85
  end
83
86
 
84
87
  # @param [Hash] params a hash of params to be passed to the service
85
88
  # @option params [String] id provider numeric identifier
86
- # @option params [String] force force import
87
- # @option params [String] import manifest file
88
89
  #
89
90
  # @param [Hash] headers additional http headers
90
91
  # @return [Array] First item: parsed data; second item: raw body
91
- def import_manifest(params = {}, headers = {})
92
+ def refresh_manifest(params = {}, headers = {})
92
93
  perform_call(__method__, params, headers)
93
94
  end
94
95
 
@@ -112,7 +113,7 @@ module KatelloApi
112
113
 
113
114
  # @param [Hash] params a hash of params to be passed to the service
114
115
  # @option params [String] id provider numeric identifier
115
- # @option params [String] products array of products to import
116
+ # @option params [Array] products array of products to import
116
117
  #
117
118
  # @param [Hash] headers additional http headers
118
119
  # @return [Array] First item: parsed data; second item: raw body
@@ -0,0 +1,39 @@
1
+ module KatelloApi
2
+ module Resources
3
+ class PuppetModule < KatelloApi::Base
4
+ def self.doc
5
+ @doc ||= KatelloApi.doc['resources']["puppet_modules"]
6
+ end
7
+
8
+ # @param [Hash] params a hash of params to be passed to the service
9
+ # @option params [String] repository_id repository numeric identifier
10
+ #
11
+ # @param [Hash] headers additional http headers
12
+ # @return [Array] First item: parsed data; second item: raw body
13
+ def index(params = {}, headers = {})
14
+ perform_call(__method__, params, headers)
15
+ end
16
+
17
+ # @param [Hash] params a hash of params to be passed to the service
18
+ # @option params [String] repository_id repository numeric identifier
19
+ # @option params [String] search search expression
20
+ #
21
+ # @param [Hash] headers additional http headers
22
+ # @return [Array] First item: parsed data; second item: raw body
23
+ def search(params = {}, headers = {})
24
+ perform_call(__method__, params, headers)
25
+ end
26
+
27
+ # @param [Hash] params a hash of params to be passed to the service
28
+ # @option params [String] id puppet module id
29
+ # @option params [String] repository_id repository numeric identifier
30
+ #
31
+ # @param [Hash] headers additional http headers
32
+ # @return [Array] First item: parsed data; second item: raw body
33
+ def show(params = {}, headers = {})
34
+ perform_call(__method__, params, headers)
35
+ end
36
+
37
+ end
38
+ end
39
+ end
@@ -6,9 +6,32 @@ 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] organization_id id of an organization the repository will be contained in
10
- # @option params [String] product_id id of a product the repository will be contained in
9
+ # @option params [String] environment_id id of an environment to show repositories in
10
+ # @option params [String] organization_id id of an organization to show repositories in
11
+ # @option params [String] product_id id of a product to show repositories of
12
+ # @option params [String] enabled limit to only enabled repositories
13
+ # @option params [String] library show repositories in library and the default content view
14
+ # @option params [String] order sort field and order, eg. ‘name desc’
15
+ # @option params [String] page page number, starting at 1
16
+ # @option params [String] per_page number of results per page to return
17
+ # @option params [String] search search string
18
+ # @option params [Hash] sort hash version of ‘order’ param
19
+ # allowed keys are:
20
+ # * by [String] field to sort the results on
21
+ # * order [String] how to order the sorted results (e.g. asc for ascending)
22
+ #
23
+ # @param [Hash] headers additional http headers
24
+ # @return [Array] First item: parsed data; second item: raw body
25
+ def index(params = {}, headers = {})
26
+ perform_call(__method__, params, headers)
27
+ end
28
+
29
+ # @param [Hash] params a hash of params to be passed to the service
30
+ # @option params [String] product_id product the repository belongs to
31
+ # @option params [String] content_type type of repo (either ‘yum’ or ‘puppet’, defaults to ‘yum’)
32
+ # @option params [String] enabled flag that enables/disables the repository
11
33
  # @option params [String] gpg_key_name name of a gpg key that will be assigned to the new repository
34
+ # @option params [String] label
12
35
  # @option params [String] name
13
36
  # @option params [String] url repository source url
14
37
  #
@@ -29,9 +52,7 @@ module KatelloApi
29
52
 
30
53
  # @param [Hash] params a hash of params to be passed to the service
31
54
  # @option params [String] id repository id
32
- # @option params [Hash] repository
33
- # allowed keys are:
34
- # * gpg_key_name [String] name of a gpg key that will be assigned to the repository
55
+ # @option params [String] gpg_key_id id of a gpg key that will be assigned to this repository
35
56
  #
36
57
  # @param [Hash] headers additional http headers
37
58
  # @return [Array] First item: parsed data; second item: raw body
@@ -49,66 +70,11 @@ module KatelloApi
49
70
  end
50
71
 
51
72
  # @param [Hash] params a hash of params to be passed to the service
52
- # @option params [String] id
53
- # @option params [String] enable flag that enables/disables the repository
54
- #
55
- # @param [Hash] headers additional http headers
56
- # @return [Array] First item: parsed data; second item: raw body
57
- def enable(params = {}, headers = {})
58
- perform_call(__method__, params, headers)
59
- end
60
-
61
- # @param [Hash] params a hash of params to be passed to the service
62
- # @option params [String] id
63
- #
64
- # @param [Hash] headers additional http headers
65
- # @return [Array] First item: parsed data; second item: raw body
66
- def sync_complete(params = {}, headers = {})
67
- perform_call(__method__, params, headers)
68
- end
69
-
70
- # @param [Hash] params a hash of params to be passed to the service
71
- # @option params [String] id
72
- #
73
- # @param [Hash] headers additional http headers
74
- # @return [Array] First item: parsed data; second item: raw body
75
- def package_groups(params = {}, headers = {})
76
- perform_call(__method__, params, headers)
77
- end
78
-
79
- # @param [Hash] params a hash of params to be passed to the service
80
- # @option params [String] id
81
- #
82
- # @param [Hash] headers additional http headers
83
- # @return [Array] First item: parsed data; second item: raw body
84
- def package_group_categories(params = {}, headers = {})
85
- perform_call(__method__, params, headers)
86
- end
87
-
88
- # @param [Hash] params a hash of params to be passed to the service
89
- # @option params [String] id
90
- #
91
- # @param [Hash] headers additional http headers
92
- # @return [Array] First item: parsed data; second item: raw body
93
- def gpg_key_content(params = {}, headers = {})
94
- perform_call(__method__, params, headers)
95
- end
96
-
97
- # @param [Hash] params a hash of params to be passed to the service
98
- #
99
- # @param [Hash] headers additional http headers
100
- # @return [Array] First item: parsed data; second item: raw body
101
- def list_content_view_definition_repositories(params = {}, headers = {})
102
- perform_call(__method__, params, headers)
103
- end
104
-
105
- # @param [Hash] params a hash of params to be passed to the service
106
- # @option params [String] content_view_definition_id content view definition identifier
107
- # @option params [String] repos updated list of repo ids
73
+ # @option params [String] id repository id
108
74
  #
109
75
  # @param [Hash] headers additional http headers
110
76
  # @return [Array] First item: parsed data; second item: raw body
111
- def update_content_view_definition_repositories(params = {}, headers = {})
77
+ def sync(params = {}, headers = {})
112
78
  perform_call(__method__, params, headers)
113
79
  end
114
80
 
@@ -28,8 +28,7 @@ module KatelloApi
28
28
  end
29
29
 
30
30
  # @param [Hash] params a hash of params to be passed to the service
31
- # @option params [String] organization_id id of an
32
- # @option params [String] product_id id of a product to list repository sets in
31
+ # @option params [String] product_id id of a product to list repository sets for
33
32
  #
34
33
  # @param [Hash] headers additional http headers
35
34
  # @return [Array] First item: parsed data; second item: raw body
@@ -6,7 +6,6 @@ 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] user_id Part of +/api/users/:user_id/roles+ path
10
9
  # @option params [String] name
11
10
  #
12
11
  # @param [Hash] headers additional http headers
@@ -17,7 +16,6 @@ module KatelloApi
17
16
 
18
17
  # @param [Hash] params a hash of params to be passed to the service
19
18
  # @option params [Object] id Part of +/api/roles/:id+ path
20
- # @option params [Object] user_id Part of +/api/users/:user_id/roles/:id+ path
21
19
  #
22
20
  # @param [Hash] headers additional http headers
23
21
  # @return [Array] First item: parsed data; second item: raw body
@@ -26,7 +24,6 @@ module KatelloApi
26
24
  end
27
25
 
28
26
  # @param [Hash] params a hash of params to be passed to the service
29
- # @option params [Object] user_id Part of +/api/users/:user_id/roles+ path
30
27
  # @option params [Hash] role
31
28
  # allowed keys are:
32
29
  # * description [String, nil]
@@ -40,7 +37,6 @@ module KatelloApi
40
37
 
41
38
  # @param [Hash] params a hash of params to be passed to the service
42
39
  # @option params [Object] id Part of +/api/roles/:id+ path
43
- # @option params [Object] user_id Part of +/api/users/:user_id/roles/:id+ path
44
40
  # @option params [Hash] role
45
41
  # allowed keys are:
46
42
  # * description [String, nil]
@@ -54,7 +50,6 @@ module KatelloApi
54
50
 
55
51
  # @param [Hash] params a hash of params to be passed to the service
56
52
  # @option params [Object] id Part of +/api/roles/:id+ path
57
- # @option params [Object] user_id Part of +/api/users/:user_id/roles/:id+ path
58
53
  #
59
54
  # @param [Hash] headers additional http headers
60
55
  # @return [Array] First item: parsed data; second item: raw body
@@ -7,7 +7,9 @@ module KatelloApi
7
7
 
8
8
  # @param [Hash] params a hash of params to be passed to the service
9
9
  # @option params [Object] role_id Part of +/api/roles/:role_id/ldap_groups+ path
10
- # @option params [String] name name of the ldap group
10
+ # @option params [Hash] ldap_group
11
+ # allowed keys are:
12
+ # * name [String] name of the ldap group
11
13
  #
12
14
  # @param [Hash] headers additional http headers
13
15
  # @return [Array] First item: parsed data; second item: raw body
@@ -0,0 +1,18 @@
1
+ module KatelloApi
2
+ module Resources
3
+ class Status < KatelloApi::Base
4
+ def self.doc
5
+ @doc ||= KatelloApi.doc['resources']["status"]
6
+ end
7
+
8
+ # @param [Hash] params a hash of params to be passed to the service
9
+ #
10
+ # @param [Hash] headers additional http headers
11
+ # @return [Array] First item: parsed data; second item: raw body
12
+ def memory(params = {}, headers = {})
13
+ perform_call(__method__, params, headers)
14
+ end
15
+
16
+ end
17
+ end
18
+ end
@@ -6,7 +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] system_id system uuid
9
+ # @option params [String] organization_id organization id
10
+ # @option params [String] system_id uuid of the system
10
11
  #
11
12
  # @param [Hash] headers additional http headers
12
13
  # @return [Array] First item: parsed data; second item: raw body
@@ -15,9 +16,34 @@ module KatelloApi
15
16
  end
16
17
 
17
18
  # @param [Hash] params a hash of params to be passed to the service
19
+ # @option params [String] id subscription identifier
20
+ # @option params [String] organization_id organization identifier
18
21
  # @option params [String] system_id system uuid
19
- # @option params [String] pool subscription pool uuid
20
- # @option params [String] quantity number of subscription to use
22
+ #
23
+ # @param [Hash] headers additional http headers
24
+ # @return [Array] First item: parsed data; second item: raw body
25
+ def show(params = {}, headers = {})
26
+ perform_call(__method__, params, headers)
27
+ end
28
+
29
+ # @param [Hash] params a hash of params to be passed to the service
30
+ # @option params [String] system_id uuid of the system
31
+ # @option params [String] match_installed return subscriptions that match installed
32
+ # @option params [String] match_system return subscriptions that match system
33
+ # @option params [String] no_overlap return subscriptions that don’t overlap
34
+ #
35
+ # @param [Hash] headers additional http headers
36
+ # @return [Array] First item: parsed data; second item: raw body
37
+ def available(params = {}, headers = {})
38
+ perform_call(__method__, params, headers)
39
+ end
40
+
41
+ # @param [Hash] params a hash of params to be passed to the service
42
+ # @option params [String] system_id uuid of the system
43
+ # @option params [Hash] subscription
44
+ # allowed keys are:
45
+ # * pool [String] subscription pool uuid
46
+ # * quantity [String] number of subscription to use
21
47
  #
22
48
  # @param [Hash] headers additional http headers
23
49
  # @return [Array] First item: parsed data; second item: raw body
@@ -27,7 +53,7 @@ module KatelloApi
27
53
 
28
54
  # @param [Hash] params a hash of params to be passed to the service
29
55
  # @option params [String] id entitlement id
30
- # @option params [String] system_id system uuid
56
+ # @option params [String] system_id uuid of the system
31
57
  #
32
58
  # @param [Hash] headers additional http headers
33
59
  # @return [Array] First item: parsed data; second item: raw body
@@ -36,7 +62,7 @@ module KatelloApi
36
62
  end
37
63
 
38
64
  # @param [Hash] params a hash of params to be passed to the service
39
- # @option params [String] system_id system uuid
65
+ # @option params [String] system_id uuid of the system
40
66
  #
41
67
  # @param [Hash] headers additional http headers
42
68
  # @return [Array] First item: parsed data; second item: raw body
@@ -45,12 +71,12 @@ module KatelloApi
45
71
  end
46
72
 
47
73
  # @param [Hash] params a hash of params to be passed to the service
48
- # @option params [String] serial_id subscription serial id
74
+ # @option params [String] organization_id organization id
49
75
  # @option params [String] system_id system uuid
50
76
  #
51
77
  # @param [Hash] headers additional http headers
52
78
  # @return [Array] First item: parsed data; second item: raw body
53
- def destroy_by_serial(params = {}, headers = {})
79
+ def upload(params = {}, headers = {})
54
80
  perform_call(__method__, params, headers)
55
81
  end
56
82
 
@@ -6,10 +6,9 @@ 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] organization_id oranization identifier
10
- # @option params [String] product_id product identifier
11
- # @option params [String] provider_id provider identifier
12
- # @option params [String] repository_id repository identifier
9
+ # @option params [Object] product_id Part of +/api/products/:product_id/sync+ path
10
+ # @option params [Object] provider_id Part of +/api/providers/:provider_id/sync+ path
11
+ # @option params [Object] repository_id Part of +/api/repositories/:repository_id/sync+ path
13
12
  #
14
13
  # @param [Hash] headers additional http headers
15
14
  # @return [Array] First item: parsed data; second item: raw body
@@ -18,10 +17,9 @@ module KatelloApi
18
17
  end
19
18
 
20
19
  # @param [Hash] params a hash of params to be passed to the service
21
- # @option params [String] organization_id oranization identifier
22
- # @option params [String] product_id product identifier
23
- # @option params [String] provider_id provider identifier
24
- # @option params [String] repository_id repository identifier
20
+ # @option params [Object] product_id Part of +/api/products/:product_id/sync+ path
21
+ # @option params [Object] provider_id Part of +/api/providers/:provider_id/sync+ path
22
+ # @option params [Object] repository_id Part of +/api/repositories/:repository_id/sync+ path
25
23
  #
26
24
  # @param [Hash] headers additional http headers
27
25
  # @return [Array] First item: parsed data; second item: raw body
@@ -30,10 +28,9 @@ module KatelloApi
30
28
  end
31
29
 
32
30
  # @param [Hash] params a hash of params to be passed to the service
33
- # @option params [String] organization_id oranization identifier
34
- # @option params [String] product_id product identifier
35
- # @option params [String] provider_id provider identifier
36
- # @option params [String] repository_id repository identifier
31
+ # @option params [Object] product_id Part of +/api/products/:product_id/sync+ path
32
+ # @option params [Object] provider_id Part of +/api/providers/:provider_id/sync+ path
33
+ # @option params [Object] repository_id Part of +/api/repositories/:repository_id/sync+ path
37
34
  #
38
35
  # @param [Hash] headers additional http headers
39
36
  # @return [Array] First item: parsed data; second item: raw body
@@ -6,7 +6,7 @@ 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] organization_id oranization identifier
9
+ # @option params [Object] organization_id Part of +/api/organizations/:organization_id/sync_plans+ path
10
10
  # @option params [String] interval filter by interval
11
11
  # @option params [String] name filter by name
12
12
  # @option params [String] sync_date filter by sync date
@@ -19,7 +19,6 @@ module KatelloApi
19
19
 
20
20
  # @param [Hash] params a hash of params to be passed to the service
21
21
  # @option params [String] id sync plan numeric identifier
22
- # @option params [String] organization_id oranization identifier
23
22
  #
24
23
  # @param [Hash] headers additional http headers
25
24
  # @return [Array] First item: parsed data; second item: raw body
@@ -28,7 +27,7 @@ module KatelloApi
28
27
  end
29
28
 
30
29
  # @param [Hash] params a hash of params to be passed to the service
31
- # @option params [String] organization_id oranization identifier
30
+ # @option params [Object] organization_id Part of +/api/organizations/:organization_id/sync_plans+ path
32
31
  # @option params [Hash] sync_plan
33
32
  # allowed keys are:
34
33
  # * description [String, nil] sync plan description
@@ -44,7 +43,6 @@ module KatelloApi
44
43
 
45
44
  # @param [Hash] params a hash of params to be passed to the service
46
45
  # @option params [String] id sync plan numeric identifier
47
- # @option params [String] organization_id oranization identifier
48
46
  # @option params [Hash] sync_plan
49
47
  # allowed keys are:
50
48
  # * description [String, nil] sync plan description
@@ -60,7 +58,6 @@ module KatelloApi
60
58
 
61
59
  # @param [Hash] params a hash of params to be passed to the service
62
60
  # @option params [String] id sync plan numeric identifier
63
- # @option params [String] organization_id oranization identifier
64
61
  #
65
62
  # @param [Hash] headers additional http headers
66
63
  # @return [Array] First item: parsed data; second item: raw body