pulp_rpm_client 3.5.1 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +73 -55
- data/docs/{Addon.md → AddonResponse.md} +2 -2
- data/docs/{Artifact.md → ArtifactResponse.md} +3 -3
- data/docs/{Checksum.md → ChecksumResponse.md} +2 -2
- data/docs/ContentAdvisoriesApi.md +44 -44
- data/docs/ContentDistributionTreesApi.md +25 -25
- data/docs/ContentModulemdDefaultsApi.md +32 -32
- data/docs/ContentModulemdsApi.md +34 -34
- data/docs/ContentPackagecategoriesApi.md +25 -25
- data/docs/ContentPackageenvironmentsApi.md +25 -25
- data/docs/ContentPackagegroupsApi.md +25 -25
- data/docs/ContentPackagelangpacksApi.md +25 -25
- data/docs/ContentPackagesApi.md +64 -64
- data/docs/ContentRepoMetadataFilesApi.md +25 -25
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsRpmApi.md +108 -60
- data/docs/{Image.md → ImageResponse.md} +3 -3
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse20010.md +3 -3
- data/docs/InlineResponse20011.md +3 -3
- data/docs/InlineResponse20012.md +3 -3
- data/docs/InlineResponse20013.md +3 -3
- data/docs/InlineResponse20014.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/InlineResponse2008.md +3 -3
- data/docs/InlineResponse2009.md +3 -3
- data/docs/MetadataChecksumTypeEnum.md +16 -0
- data/docs/PackageChecksumTypeEnum.md +16 -0
- data/docs/PatchedrpmRpmDistribution.md +23 -0
- data/docs/PatchedrpmRpmRemote.md +39 -0
- data/docs/PatchedrpmRpmRepository.md +25 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsRpmApi.md +40 -40
- data/docs/RemotesRpmApi.md +125 -65
- data/docs/RepositoriesRpmApi.md +97 -73
- data/docs/RepositoriesRpmVersionsApi.md +94 -62
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/docs/RpmCopyApi.md +10 -10
- data/docs/{RpmDistributionTree.md → RpmDistributionTreeResponse.md} +6 -6
- data/docs/RpmModulemd.md +8 -8
- data/docs/RpmModulemdDefaults.md +8 -8
- data/docs/RpmModulemdDefaultsResponse.md +29 -0
- data/docs/RpmModulemdResponse.md +39 -0
- data/docs/RpmPackage.md +7 -79
- data/docs/{RpmPackageCategory.md → RpmPackageCategoryResponse.md} +2 -2
- data/docs/{RpmPackageEnvironment.md → RpmPackageEnvironmentResponse.md} +2 -2
- data/docs/{RpmPackageGroup.md → RpmPackageGroupResponse.md} +2 -2
- data/docs/{RpmPackageLangpacks.md → RpmPackageLangpacksResponse.md} +2 -2
- data/docs/RpmPackageResponse.md +95 -0
- data/docs/{RpmRepoMetadataFile.md → RpmRepoMetadataFileResponse.md} +2 -2
- data/docs/RpmRepositorySyncURL.md +1 -1
- data/docs/RpmRpmDistribution.md +1 -7
- data/docs/RpmRpmDistributionResponse.md +29 -0
- data/docs/RpmRpmPublication.md +3 -7
- data/docs/RpmRpmPublicationResponse.md +27 -0
- data/docs/RpmRpmRemote.md +4 -10
- data/docs/RpmRpmRemoteResponse.md +45 -0
- data/docs/RpmRpmRepository.md +3 -9
- data/docs/RpmRpmRepositoryResponse.md +33 -0
- data/docs/RpmUpdateCollection.md +1 -3
- data/docs/RpmUpdateCollectionResponse.md +23 -0
- data/docs/RpmUpdateRecord.md +4 -40
- data/docs/RpmUpdateRecordResponse.md +55 -0
- data/docs/{Variant.md → VariantResponse.md} +2 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +60 -60
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +36 -36
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +42 -54
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +44 -76
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +36 -36
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +36 -36
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +36 -36
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +36 -36
- data/lib/pulp_rpm_client/api/content_packages_api.rb +92 -92
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +36 -36
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +153 -90
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +59 -59
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +181 -100
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +145 -118
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +137 -92
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +15 -15
- data/lib/pulp_rpm_client/api_client.rb +2 -2
- data/lib/pulp_rpm_client/api_error.rb +2 -2
- data/lib/pulp_rpm_client/configuration.rb +3 -3
- data/lib/pulp_rpm_client/models/{addon.rb → addon_response.rb} +6 -100
- data/lib/pulp_rpm_client/models/{artifact.rb → artifact_response.rb} +9 -93
- data/lib/pulp_rpm_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_rpm_client/models/{checksum.rb → checksum_response.rb} +6 -43
- data/lib/pulp_rpm_client/models/content_summary.rb +9 -15
- data/lib/pulp_rpm_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_rpm_client/models/copy.rb +3 -2
- data/lib/pulp_rpm_client/models/{image.rb → image_response.rb} +7 -63
- data/lib/pulp_rpm_client/models/inline_response200.rb +3 -13
- data/lib/pulp_rpm_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_rpm_client/models/inline_response20010.rb +3 -13
- data/lib/pulp_rpm_client/models/inline_response20011.rb +3 -13
- data/lib/pulp_rpm_client/models/inline_response20012.rb +3 -13
- data/lib/pulp_rpm_client/models/inline_response20013.rb +3 -13
- data/lib/pulp_rpm_client/models/inline_response20014.rb +3 -13
- data/lib/pulp_rpm_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_rpm_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_rpm_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_rpm_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_rpm_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_rpm_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_rpm_client/models/inline_response2008.rb +3 -13
- data/lib/pulp_rpm_client/models/inline_response2009.rb +3 -13
- data/lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb +41 -0
- data/lib/pulp_rpm_client/models/package_checksum_type_enum.rb +41 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +240 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +340 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +265 -0
- data/lib/pulp_rpm_client/models/policy_enum.rb +37 -0
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_rpm_client/models/repository_version.rb +7 -43
- data/lib/pulp_rpm_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_rpm_client/models/{rpm_distribution_tree.rb → rpm_distribution_tree_response.rb} +17 -234
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +42 -153
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +40 -86
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +282 -0
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +346 -0
- data/lib/pulp_rpm_client/models/rpm_package.rb +28 -501
- data/lib/pulp_rpm_client/models/{rpm_package_category.rb → rpm_package_category_response.rb} +10 -63
- data/lib/pulp_rpm_client/models/{rpm_package_environment.rb → rpm_package_environment_response.rb} +11 -68
- data/lib/pulp_rpm_client/models/{rpm_package_group.rb → rpm_package_group_response.rb} +10 -63
- data/lib/pulp_rpm_client/models/{rpm_package_langpacks.rb → rpm_package_langpacks_response.rb} +8 -34
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +597 -0
- data/lib/pulp_rpm_client/models/{rpm_repo_metadata_file.rb → rpm_repo_metadata_file_response.rb} +6 -96
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +4 -30
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +4 -85
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +279 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +6 -74
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +256 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +7 -214
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +379 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +14 -74
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +307 -0
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +10 -34
- data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +243 -0
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +18 -245
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +401 -0
- data/lib/pulp_rpm_client/models/{variant.rb → variant_response.rb} +6 -195
- data/lib/pulp_rpm_client/version.rb +3 -3
- data/lib/pulp_rpm_client.rb +30 -13
- data/pulp_rpm_client.gemspec +4 -4
- data/spec/api/content_advisories_api_spec.rb +21 -21
- data/spec/api/content_distribution_trees_api_spec.rb +9 -9
- data/spec/api/content_modulemd_defaults_api_spec.rb +13 -13
- data/spec/api/content_modulemds_api_spec.rb +13 -13
- data/spec/api/content_packagecategories_api_spec.rb +9 -9
- data/spec/api/content_packageenvironments_api_spec.rb +9 -9
- data/spec/api/content_packagegroups_api_spec.rb +9 -9
- data/spec/api/content_packagelangpacks_api_spec.rb +9 -9
- data/spec/api/content_packages_api_spec.rb +31 -31
- data/spec/api/content_repo_metadata_files_api_spec.rb +9 -9
- data/spec/api/distributions_rpm_api_spec.rb +39 -18
- data/spec/api/publications_rpm_api_spec.rb +14 -14
- data/spec/api/remotes_rpm_api_spec.rb +48 -21
- data/spec/api/repositories_rpm_api_spec.rb +28 -19
- data/spec/api/repositories_rpm_versions_api_spec.rb +38 -23
- data/spec/api/rpm_copy_api_spec.rb +5 -5
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/{addon_spec.rb → addon_response_spec.rb} +8 -8
- data/spec/models/{artifact_spec.rb → artifact_response_spec.rb} +8 -8
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/{checksum_spec.rb → checksum_response_spec.rb} +8 -8
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/copy_spec.rb +2 -2
- data/spec/models/{image_spec.rb → image_response_spec.rb} +8 -8
- data/spec/models/inline_response20010_spec.rb +2 -2
- data/spec/models/inline_response20011_spec.rb +2 -2
- data/spec/models/inline_response20012_spec.rb +2 -2
- data/spec/models/inline_response20013_spec.rb +2 -2
- data/spec/models/inline_response20014_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response2008_spec.rb +2 -2
- data/spec/models/inline_response2009_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/metadata_checksum_type_enum_spec.rb +35 -0
- data/spec/models/package_checksum_type_enum_spec.rb +35 -0
- data/spec/models/patchedrpm_rpm_distribution_spec.rb +59 -0
- data/spec/models/patchedrpm_rpm_remote_spec.rb +107 -0
- data/spec/models/patchedrpm_rpm_repository_spec.rb +65 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/repository_add_remove_content_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/models/{rpm_distribution_tree_spec.rb → rpm_distribution_tree_response_spec.rb} +8 -8
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +77 -0
- data/spec/models/rpm_modulemd_defaults_spec.rb +9 -9
- data/spec/models/rpm_modulemd_response_spec.rb +107 -0
- data/spec/models/rpm_modulemd_spec.rb +11 -11
- data/spec/models/{rpm_package_category_spec.rb → rpm_package_category_response_spec.rb} +8 -8
- data/spec/models/{rpm_package_environment_spec.rb → rpm_package_environment_response_spec.rb} +8 -8
- data/spec/models/{rpm_package_group_spec.rb → rpm_package_group_response_spec.rb} +8 -8
- data/spec/models/{rpm_package_langpacks_spec.rb → rpm_package_langpacks_response_spec.rb} +8 -8
- data/spec/models/rpm_package_response_spec.rb +275 -0
- data/spec/models/rpm_package_spec.rb +5 -221
- data/spec/models/{rpm_repo_metadata_file_spec.rb → rpm_repo_metadata_file_response_spec.rb} +8 -8
- data/spec/models/rpm_repository_sync_url_spec.rb +2 -6
- data/spec/models/rpm_rpm_distribution_response_spec.rb +77 -0
- data/spec/models/rpm_rpm_distribution_spec.rb +2 -20
- data/spec/models/rpm_rpm_publication_response_spec.rb +71 -0
- data/spec/models/rpm_rpm_publication_spec.rb +2 -22
- data/spec/models/rpm_rpm_remote_response_spec.rb +125 -0
- data/spec/models/rpm_rpm_remote_spec.rb +2 -24
- data/spec/models/rpm_rpm_repository_response_spec.rb +89 -0
- data/spec/models/rpm_rpm_repository_spec.rb +5 -23
- data/spec/models/rpm_update_collection_response_spec.rb +59 -0
- data/spec/models/rpm_update_collection_spec.rb +2 -8
- data/spec/models/rpm_update_record_response_spec.rb +155 -0
- data/spec/models/rpm_update_record_spec.rb +4 -112
- data/spec/models/{variant_spec.rb → variant_response_spec.rb} +8 -8
- data/spec/spec_helper.rb +2 -2
- metadata +116 -48
@@ -4,15 +4,15 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**delete**](ContentDistributionTreesApi.md#delete) | **DELETE** {
|
7
|
+
[**delete**](ContentDistributionTreesApi.md#delete) | **DELETE** {rpm_distribution_tree_href} | Delete a distribution tree
|
8
8
|
[**list**](ContentDistributionTreesApi.md#list) | **GET** /pulp/api/v3/content/rpm/distribution_trees/ | List distribution trees
|
9
|
-
[**read**](ContentDistributionTreesApi.md#read) | **GET** {
|
9
|
+
[**read**](ContentDistributionTreesApi.md#read) | **GET** {rpm_distribution_tree_href} | Inspect a distribution tree
|
10
10
|
|
11
11
|
|
12
12
|
|
13
13
|
## delete
|
14
14
|
|
15
|
-
> delete(
|
15
|
+
> delete(rpm_distribution_tree_href)
|
16
16
|
|
17
17
|
Delete a distribution tree
|
18
18
|
|
@@ -25,17 +25,17 @@ Distribution Tree Viewset.
|
|
25
25
|
require 'pulp_rpm_client'
|
26
26
|
# setup authorization
|
27
27
|
PulpRpmClient.configure do |config|
|
28
|
-
# Configure HTTP basic authorization:
|
28
|
+
# Configure HTTP basic authorization: basicAuth
|
29
29
|
config.username = 'YOUR USERNAME'
|
30
30
|
config.password = 'YOUR PASSWORD'
|
31
31
|
end
|
32
32
|
|
33
33
|
api_instance = PulpRpmClient::ContentDistributionTreesApi.new
|
34
|
-
|
34
|
+
rpm_distribution_tree_href = 'rpm_distribution_tree_href_example' # String |
|
35
35
|
|
36
36
|
begin
|
37
37
|
#Delete a distribution tree
|
38
|
-
api_instance.delete(
|
38
|
+
api_instance.delete(rpm_distribution_tree_href)
|
39
39
|
rescue PulpRpmClient::ApiError => e
|
40
40
|
puts "Exception when calling ContentDistributionTreesApi->delete: #{e}"
|
41
41
|
end
|
@@ -46,7 +46,7 @@ end
|
|
46
46
|
|
47
47
|
Name | Type | Description | Notes
|
48
48
|
------------- | ------------- | ------------- | -------------
|
49
|
-
**
|
49
|
+
**rpm_distribution_tree_href** | **String**| |
|
50
50
|
|
51
51
|
### Return type
|
52
52
|
|
@@ -54,7 +54,7 @@ nil (empty response body)
|
|
54
54
|
|
55
55
|
### Authorization
|
56
56
|
|
57
|
-
[
|
57
|
+
[basicAuth](../README.md#basicAuth)
|
58
58
|
|
59
59
|
### HTTP request headers
|
60
60
|
|
@@ -77,19 +77,19 @@ Distribution Tree Viewset.
|
|
77
77
|
require 'pulp_rpm_client'
|
78
78
|
# setup authorization
|
79
79
|
PulpRpmClient.configure do |config|
|
80
|
-
# Configure HTTP basic authorization:
|
80
|
+
# Configure HTTP basic authorization: basicAuth
|
81
81
|
config.username = 'YOUR USERNAME'
|
82
82
|
config.password = 'YOUR PASSWORD'
|
83
83
|
end
|
84
84
|
|
85
85
|
api_instance = PulpRpmClient::ContentDistributionTreesApi.new
|
86
86
|
opts = {
|
87
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
88
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
89
|
-
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
90
|
-
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
91
87
|
limit: 56, # Integer | Number of results to return per page.
|
92
88
|
offset: 56, # Integer | The initial index from which to return the results.
|
89
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
90
|
+
repository_version: 'repository_version_example', # String | repository_version
|
91
|
+
repository_version_added: 'repository_version_added_example', # String | repository_version_added
|
92
|
+
repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
|
93
93
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
94
94
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
95
95
|
}
|
@@ -108,12 +108,12 @@ end
|
|
108
108
|
|
109
109
|
Name | Type | Description | Notes
|
110
110
|
------------- | ------------- | ------------- | -------------
|
111
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
112
|
-
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
113
|
-
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
114
|
-
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
115
111
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
116
112
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
113
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
114
|
+
**repository_version** | **String**| repository_version | [optional]
|
115
|
+
**repository_version_added** | **String**| repository_version_added | [optional]
|
116
|
+
**repository_version_removed** | **String**| repository_version_removed | [optional]
|
117
117
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
118
118
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
119
119
|
|
@@ -123,7 +123,7 @@ Name | Type | Description | Notes
|
|
123
123
|
|
124
124
|
### Authorization
|
125
125
|
|
126
|
-
[
|
126
|
+
[basicAuth](../README.md#basicAuth)
|
127
127
|
|
128
128
|
### HTTP request headers
|
129
129
|
|
@@ -133,7 +133,7 @@ Name | Type | Description | Notes
|
|
133
133
|
|
134
134
|
## read
|
135
135
|
|
136
|
-
>
|
136
|
+
> RpmDistributionTreeResponse read(rpm_distribution_tree_href, opts)
|
137
137
|
|
138
138
|
Inspect a distribution tree
|
139
139
|
|
@@ -146,13 +146,13 @@ Distribution Tree Viewset.
|
|
146
146
|
require 'pulp_rpm_client'
|
147
147
|
# setup authorization
|
148
148
|
PulpRpmClient.configure do |config|
|
149
|
-
# Configure HTTP basic authorization:
|
149
|
+
# Configure HTTP basic authorization: basicAuth
|
150
150
|
config.username = 'YOUR USERNAME'
|
151
151
|
config.password = 'YOUR PASSWORD'
|
152
152
|
end
|
153
153
|
|
154
154
|
api_instance = PulpRpmClient::ContentDistributionTreesApi.new
|
155
|
-
|
155
|
+
rpm_distribution_tree_href = 'rpm_distribution_tree_href_example' # String |
|
156
156
|
opts = {
|
157
157
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
158
158
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -160,7 +160,7 @@ opts = {
|
|
160
160
|
|
161
161
|
begin
|
162
162
|
#Inspect a distribution tree
|
163
|
-
result = api_instance.read(
|
163
|
+
result = api_instance.read(rpm_distribution_tree_href, opts)
|
164
164
|
p result
|
165
165
|
rescue PulpRpmClient::ApiError => e
|
166
166
|
puts "Exception when calling ContentDistributionTreesApi->read: #{e}"
|
@@ -172,17 +172,17 @@ end
|
|
172
172
|
|
173
173
|
Name | Type | Description | Notes
|
174
174
|
------------- | ------------- | ------------- | -------------
|
175
|
-
**
|
175
|
+
**rpm_distribution_tree_href** | **String**| |
|
176
176
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
177
177
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
178
178
|
|
179
179
|
### Return type
|
180
180
|
|
181
|
-
[**
|
181
|
+
[**RpmDistributionTreeResponse**](RpmDistributionTreeResponse.md)
|
182
182
|
|
183
183
|
### Authorization
|
184
184
|
|
185
|
-
[
|
185
|
+
[basicAuth](../README.md#basicAuth)
|
186
186
|
|
187
187
|
### HTTP request headers
|
188
188
|
|
@@ -6,7 +6,7 @@ Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**create**](ContentModulemdDefaultsApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemd_defaults/ | Create a modulemd defaults
|
8
8
|
[**list**](ContentModulemdDefaultsApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemd_defaults/ | List modulemd defaultss
|
9
|
-
[**read**](ContentModulemdDefaultsApi.md#read) | **GET** {
|
9
|
+
[**read**](ContentModulemdDefaultsApi.md#read) | **GET** {rpm_modulemd_defaults_href} | Inspect a modulemd defaults
|
10
10
|
|
11
11
|
|
12
12
|
|
@@ -25,7 +25,7 @@ Trigger an asynchronous task to create content,optionally create new repository
|
|
25
25
|
require 'pulp_rpm_client'
|
26
26
|
# setup authorization
|
27
27
|
PulpRpmClient.configure do |config|
|
28
|
-
# Configure HTTP basic authorization:
|
28
|
+
# Configure HTTP basic authorization: basicAuth
|
29
29
|
config.username = 'YOUR USERNAME'
|
30
30
|
config.password = 'YOUR PASSWORD'
|
31
31
|
end
|
@@ -34,7 +34,7 @@ api_instance = PulpRpmClient::ContentModulemdDefaultsApi.new
|
|
34
34
|
relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
|
35
35
|
_module = '_module_example' # String | Modulemd name.
|
36
36
|
stream = 'stream_example' # String | Modulemd default stream.
|
37
|
-
profiles =
|
37
|
+
profiles = nil # Object | Default profiles for modulemd streams.
|
38
38
|
opts = {
|
39
39
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
40
40
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
@@ -58,7 +58,7 @@ Name | Type | Description | Notes
|
|
58
58
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
|
59
59
|
**_module** | **String**| Modulemd name. |
|
60
60
|
**stream** | **String**| Modulemd default stream. |
|
61
|
-
**profiles** | **
|
61
|
+
**profiles** | [**Object**](Object.md)| Default profiles for modulemd streams. |
|
62
62
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
63
63
|
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
64
64
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
@@ -69,7 +69,7 @@ Name | Type | Description | Notes
|
|
69
69
|
|
70
70
|
### Authorization
|
71
71
|
|
72
|
-
[
|
72
|
+
[basicAuth](../README.md#basicAuth)
|
73
73
|
|
74
74
|
### HTTP request headers
|
75
75
|
|
@@ -92,24 +92,24 @@ ViewSet for Modulemd.
|
|
92
92
|
require 'pulp_rpm_client'
|
93
93
|
# setup authorization
|
94
94
|
PulpRpmClient.configure do |config|
|
95
|
-
# Configure HTTP basic authorization:
|
95
|
+
# Configure HTTP basic authorization: basicAuth
|
96
96
|
config.username = 'YOUR USERNAME'
|
97
97
|
config.password = 'YOUR PASSWORD'
|
98
98
|
end
|
99
99
|
|
100
100
|
api_instance = PulpRpmClient::ContentModulemdDefaultsApi.new
|
101
101
|
opts = {
|
102
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
103
|
-
_module: '_module_example', # String | Filter results where module matches value
|
104
|
-
module__in: 'module__in_example', # String | Filter results where module is in a comma-separated list of values
|
105
|
-
stream: 'stream_example', # String | Filter results where stream matches value
|
106
|
-
stream__in: 'stream__in_example', # String | Filter results where stream is in a comma-separated list of values
|
107
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
108
|
-
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
109
|
-
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
110
|
-
sha256: 'sha256_example', # String |
|
111
102
|
limit: 56, # Integer | Number of results to return per page.
|
103
|
+
_module: '_module_example', # String | module
|
104
|
+
module__in: 'module__in_example', # String | module__in
|
112
105
|
offset: 56, # Integer | The initial index from which to return the results.
|
106
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
107
|
+
repository_version: 'repository_version_example', # String | repository_version
|
108
|
+
repository_version_added: 'repository_version_added_example', # String | repository_version_added
|
109
|
+
repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
|
110
|
+
sha256: 'sha256_example', # String | sha256
|
111
|
+
stream: 'stream_example', # String | stream
|
112
|
+
stream__in: 'stream__in_example', # String | stream__in
|
113
113
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
114
114
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
115
115
|
}
|
@@ -128,17 +128,17 @@ end
|
|
128
128
|
|
129
129
|
Name | Type | Description | Notes
|
130
130
|
------------- | ------------- | ------------- | -------------
|
131
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
132
|
-
**_module** | **String**| Filter results where module matches value | [optional]
|
133
|
-
**module__in** | **String**| Filter results where module is in a comma-separated list of values | [optional]
|
134
|
-
**stream** | **String**| Filter results where stream matches value | [optional]
|
135
|
-
**stream__in** | **String**| Filter results where stream is in a comma-separated list of values | [optional]
|
136
|
-
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
137
|
-
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
138
|
-
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
139
|
-
**sha256** | **String**| | [optional]
|
140
131
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
132
|
+
**_module** | **String**| module | [optional]
|
133
|
+
**module__in** | **String**| module__in | [optional]
|
141
134
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
135
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
136
|
+
**repository_version** | **String**| repository_version | [optional]
|
137
|
+
**repository_version_added** | **String**| repository_version_added | [optional]
|
138
|
+
**repository_version_removed** | **String**| repository_version_removed | [optional]
|
139
|
+
**sha256** | **String**| sha256 | [optional]
|
140
|
+
**stream** | **String**| stream | [optional]
|
141
|
+
**stream__in** | **String**| stream__in | [optional]
|
142
142
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
143
143
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
144
144
|
|
@@ -148,7 +148,7 @@ Name | Type | Description | Notes
|
|
148
148
|
|
149
149
|
### Authorization
|
150
150
|
|
151
|
-
[
|
151
|
+
[basicAuth](../README.md#basicAuth)
|
152
152
|
|
153
153
|
### HTTP request headers
|
154
154
|
|
@@ -158,7 +158,7 @@ Name | Type | Description | Notes
|
|
158
158
|
|
159
159
|
## read
|
160
160
|
|
161
|
-
>
|
161
|
+
> RpmModulemdDefaultsResponse read(rpm_modulemd_defaults_href, opts)
|
162
162
|
|
163
163
|
Inspect a modulemd defaults
|
164
164
|
|
@@ -171,13 +171,13 @@ ViewSet for Modulemd.
|
|
171
171
|
require 'pulp_rpm_client'
|
172
172
|
# setup authorization
|
173
173
|
PulpRpmClient.configure do |config|
|
174
|
-
# Configure HTTP basic authorization:
|
174
|
+
# Configure HTTP basic authorization: basicAuth
|
175
175
|
config.username = 'YOUR USERNAME'
|
176
176
|
config.password = 'YOUR PASSWORD'
|
177
177
|
end
|
178
178
|
|
179
179
|
api_instance = PulpRpmClient::ContentModulemdDefaultsApi.new
|
180
|
-
|
180
|
+
rpm_modulemd_defaults_href = 'rpm_modulemd_defaults_href_example' # String |
|
181
181
|
opts = {
|
182
182
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
183
183
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -185,7 +185,7 @@ opts = {
|
|
185
185
|
|
186
186
|
begin
|
187
187
|
#Inspect a modulemd defaults
|
188
|
-
result = api_instance.read(
|
188
|
+
result = api_instance.read(rpm_modulemd_defaults_href, opts)
|
189
189
|
p result
|
190
190
|
rescue PulpRpmClient::ApiError => e
|
191
191
|
puts "Exception when calling ContentModulemdDefaultsApi->read: #{e}"
|
@@ -197,17 +197,17 @@ end
|
|
197
197
|
|
198
198
|
Name | Type | Description | Notes
|
199
199
|
------------- | ------------- | ------------- | -------------
|
200
|
-
**
|
200
|
+
**rpm_modulemd_defaults_href** | **String**| |
|
201
201
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
202
202
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
203
203
|
|
204
204
|
### Return type
|
205
205
|
|
206
|
-
[**
|
206
|
+
[**RpmModulemdDefaultsResponse**](RpmModulemdDefaultsResponse.md)
|
207
207
|
|
208
208
|
### Authorization
|
209
209
|
|
210
|
-
[
|
210
|
+
[basicAuth](../README.md#basicAuth)
|
211
211
|
|
212
212
|
### HTTP request headers
|
213
213
|
|
data/docs/ContentModulemdsApi.md
CHANGED
@@ -6,7 +6,7 @@ Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**create**](ContentModulemdsApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemds/ | Create a modulemd
|
8
8
|
[**list**](ContentModulemdsApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemds/ | List modulemds
|
9
|
-
[**read**](ContentModulemdsApi.md#read) | **GET** {
|
9
|
+
[**read**](ContentModulemdsApi.md#read) | **GET** {rpm_modulemd_href} | Inspect a modulemd
|
10
10
|
|
11
11
|
|
12
12
|
|
@@ -25,7 +25,7 @@ Trigger an asynchronous task to create content,optionally create new repository
|
|
25
25
|
require 'pulp_rpm_client'
|
26
26
|
# setup authorization
|
27
27
|
PulpRpmClient.configure do |config|
|
28
|
-
# Configure HTTP basic authorization:
|
28
|
+
# Configure HTTP basic authorization: basicAuth
|
29
29
|
config.username = 'YOUR USERNAME'
|
30
30
|
config.password = 'YOUR PASSWORD'
|
31
31
|
end
|
@@ -37,8 +37,8 @@ stream = 'stream_example' # String | Stream name.
|
|
37
37
|
version = 'version_example' # String | Modulemd version.
|
38
38
|
context = 'context_example' # String | Modulemd context.
|
39
39
|
arch = 'arch_example' # String | Modulemd architecture.
|
40
|
-
artifacts =
|
41
|
-
dependencies =
|
40
|
+
artifacts = nil # Object | Modulemd artifacts.
|
41
|
+
dependencies = nil # Object | Modulemd dependencies.
|
42
42
|
opts = {
|
43
43
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
44
44
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
@@ -66,8 +66,8 @@ Name | Type | Description | Notes
|
|
66
66
|
**version** | **String**| Modulemd version. |
|
67
67
|
**context** | **String**| Modulemd context. |
|
68
68
|
**arch** | **String**| Modulemd architecture. |
|
69
|
-
**artifacts** | **
|
70
|
-
**dependencies** | **
|
69
|
+
**artifacts** | [**Object**](Object.md)| Modulemd artifacts. |
|
70
|
+
**dependencies** | [**Object**](Object.md)| Modulemd dependencies. |
|
71
71
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
72
72
|
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
73
73
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
@@ -79,7 +79,7 @@ Name | Type | Description | Notes
|
|
79
79
|
|
80
80
|
### Authorization
|
81
81
|
|
82
|
-
[
|
82
|
+
[basicAuth](../README.md#basicAuth)
|
83
83
|
|
84
84
|
### HTTP request headers
|
85
85
|
|
@@ -102,24 +102,24 @@ ViewSet for Modulemd.
|
|
102
102
|
require 'pulp_rpm_client'
|
103
103
|
# setup authorization
|
104
104
|
PulpRpmClient.configure do |config|
|
105
|
-
# Configure HTTP basic authorization:
|
105
|
+
# Configure HTTP basic authorization: basicAuth
|
106
106
|
config.username = 'YOUR USERNAME'
|
107
107
|
config.password = 'YOUR PASSWORD'
|
108
108
|
end
|
109
109
|
|
110
110
|
api_instance = PulpRpmClient::ContentModulemdsApi.new
|
111
111
|
opts = {
|
112
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
113
|
-
name: 'name_example', # String | Filter results where name matches value
|
114
|
-
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
115
|
-
stream: 'stream_example', # String | Filter results where stream matches value
|
116
|
-
stream__in: 'stream__in_example', # String | Filter results where stream is in a comma-separated list of values
|
117
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
118
|
-
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
119
|
-
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
120
|
-
sha256: 'sha256_example', # String |
|
121
112
|
limit: 56, # Integer | Number of results to return per page.
|
113
|
+
name: 'name_example', # String | name
|
114
|
+
name__in: 'name__in_example', # String | name__in
|
122
115
|
offset: 56, # Integer | The initial index from which to return the results.
|
116
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
117
|
+
repository_version: 'repository_version_example', # String | repository_version
|
118
|
+
repository_version_added: 'repository_version_added_example', # String | repository_version_added
|
119
|
+
repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
|
120
|
+
sha256: 'sha256_example', # String | sha256
|
121
|
+
stream: 'stream_example', # String | stream
|
122
|
+
stream__in: 'stream__in_example', # String | stream__in
|
123
123
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
124
124
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
125
125
|
}
|
@@ -138,17 +138,17 @@ end
|
|
138
138
|
|
139
139
|
Name | Type | Description | Notes
|
140
140
|
------------- | ------------- | ------------- | -------------
|
141
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
142
|
-
**name** | **String**| Filter results where name matches value | [optional]
|
143
|
-
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
144
|
-
**stream** | **String**| Filter results where stream matches value | [optional]
|
145
|
-
**stream__in** | **String**| Filter results where stream is in a comma-separated list of values | [optional]
|
146
|
-
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
147
|
-
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
148
|
-
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
149
|
-
**sha256** | **String**| | [optional]
|
150
141
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
142
|
+
**name** | **String**| name | [optional]
|
143
|
+
**name__in** | **String**| name__in | [optional]
|
151
144
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
145
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
146
|
+
**repository_version** | **String**| repository_version | [optional]
|
147
|
+
**repository_version_added** | **String**| repository_version_added | [optional]
|
148
|
+
**repository_version_removed** | **String**| repository_version_removed | [optional]
|
149
|
+
**sha256** | **String**| sha256 | [optional]
|
150
|
+
**stream** | **String**| stream | [optional]
|
151
|
+
**stream__in** | **String**| stream__in | [optional]
|
152
152
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
153
153
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
154
154
|
|
@@ -158,7 +158,7 @@ Name | Type | Description | Notes
|
|
158
158
|
|
159
159
|
### Authorization
|
160
160
|
|
161
|
-
[
|
161
|
+
[basicAuth](../README.md#basicAuth)
|
162
162
|
|
163
163
|
### HTTP request headers
|
164
164
|
|
@@ -168,7 +168,7 @@ Name | Type | Description | Notes
|
|
168
168
|
|
169
169
|
## read
|
170
170
|
|
171
|
-
>
|
171
|
+
> RpmModulemdResponse read(rpm_modulemd_href, opts)
|
172
172
|
|
173
173
|
Inspect a modulemd
|
174
174
|
|
@@ -181,13 +181,13 @@ ViewSet for Modulemd.
|
|
181
181
|
require 'pulp_rpm_client'
|
182
182
|
# setup authorization
|
183
183
|
PulpRpmClient.configure do |config|
|
184
|
-
# Configure HTTP basic authorization:
|
184
|
+
# Configure HTTP basic authorization: basicAuth
|
185
185
|
config.username = 'YOUR USERNAME'
|
186
186
|
config.password = 'YOUR PASSWORD'
|
187
187
|
end
|
188
188
|
|
189
189
|
api_instance = PulpRpmClient::ContentModulemdsApi.new
|
190
|
-
|
190
|
+
rpm_modulemd_href = 'rpm_modulemd_href_example' # String |
|
191
191
|
opts = {
|
192
192
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
193
193
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -195,7 +195,7 @@ opts = {
|
|
195
195
|
|
196
196
|
begin
|
197
197
|
#Inspect a modulemd
|
198
|
-
result = api_instance.read(
|
198
|
+
result = api_instance.read(rpm_modulemd_href, opts)
|
199
199
|
p result
|
200
200
|
rescue PulpRpmClient::ApiError => e
|
201
201
|
puts "Exception when calling ContentModulemdsApi->read: #{e}"
|
@@ -207,17 +207,17 @@ end
|
|
207
207
|
|
208
208
|
Name | Type | Description | Notes
|
209
209
|
------------- | ------------- | ------------- | -------------
|
210
|
-
**
|
210
|
+
**rpm_modulemd_href** | **String**| |
|
211
211
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
212
212
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
213
213
|
|
214
214
|
### Return type
|
215
215
|
|
216
|
-
[**
|
216
|
+
[**RpmModulemdResponse**](RpmModulemdResponse.md)
|
217
217
|
|
218
218
|
### Authorization
|
219
219
|
|
220
|
-
[
|
220
|
+
[basicAuth](../README.md#basicAuth)
|
221
221
|
|
222
222
|
### HTTP request headers
|
223
223
|
|
@@ -4,15 +4,15 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**delete**](ContentPackagecategoriesApi.md#delete) | **DELETE** {
|
7
|
+
[**delete**](ContentPackagecategoriesApi.md#delete) | **DELETE** {rpm_package_category_href} | Delete a package category
|
8
8
|
[**list**](ContentPackagecategoriesApi.md#list) | **GET** /pulp/api/v3/content/rpm/packagecategories/ | List package categorys
|
9
|
-
[**read**](ContentPackagecategoriesApi.md#read) | **GET** {
|
9
|
+
[**read**](ContentPackagecategoriesApi.md#read) | **GET** {rpm_package_category_href} | Inspect a package category
|
10
10
|
|
11
11
|
|
12
12
|
|
13
13
|
## delete
|
14
14
|
|
15
|
-
> delete(
|
15
|
+
> delete(rpm_package_category_href)
|
16
16
|
|
17
17
|
Delete a package category
|
18
18
|
|
@@ -25,17 +25,17 @@ PackageCategory ViewSet.
|
|
25
25
|
require 'pulp_rpm_client'
|
26
26
|
# setup authorization
|
27
27
|
PulpRpmClient.configure do |config|
|
28
|
-
# Configure HTTP basic authorization:
|
28
|
+
# Configure HTTP basic authorization: basicAuth
|
29
29
|
config.username = 'YOUR USERNAME'
|
30
30
|
config.password = 'YOUR PASSWORD'
|
31
31
|
end
|
32
32
|
|
33
33
|
api_instance = PulpRpmClient::ContentPackagecategoriesApi.new
|
34
|
-
|
34
|
+
rpm_package_category_href = 'rpm_package_category_href_example' # String |
|
35
35
|
|
36
36
|
begin
|
37
37
|
#Delete a package category
|
38
|
-
api_instance.delete(
|
38
|
+
api_instance.delete(rpm_package_category_href)
|
39
39
|
rescue PulpRpmClient::ApiError => e
|
40
40
|
puts "Exception when calling ContentPackagecategoriesApi->delete: #{e}"
|
41
41
|
end
|
@@ -46,7 +46,7 @@ end
|
|
46
46
|
|
47
47
|
Name | Type | Description | Notes
|
48
48
|
------------- | ------------- | ------------- | -------------
|
49
|
-
**
|
49
|
+
**rpm_package_category_href** | **String**| |
|
50
50
|
|
51
51
|
### Return type
|
52
52
|
|
@@ -54,7 +54,7 @@ nil (empty response body)
|
|
54
54
|
|
55
55
|
### Authorization
|
56
56
|
|
57
|
-
[
|
57
|
+
[basicAuth](../README.md#basicAuth)
|
58
58
|
|
59
59
|
### HTTP request headers
|
60
60
|
|
@@ -77,19 +77,19 @@ PackageCategory ViewSet.
|
|
77
77
|
require 'pulp_rpm_client'
|
78
78
|
# setup authorization
|
79
79
|
PulpRpmClient.configure do |config|
|
80
|
-
# Configure HTTP basic authorization:
|
80
|
+
# Configure HTTP basic authorization: basicAuth
|
81
81
|
config.username = 'YOUR USERNAME'
|
82
82
|
config.password = 'YOUR PASSWORD'
|
83
83
|
end
|
84
84
|
|
85
85
|
api_instance = PulpRpmClient::ContentPackagecategoriesApi.new
|
86
86
|
opts = {
|
87
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
88
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
89
|
-
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
90
|
-
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
91
87
|
limit: 56, # Integer | Number of results to return per page.
|
92
88
|
offset: 56, # Integer | The initial index from which to return the results.
|
89
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
90
|
+
repository_version: 'repository_version_example', # String | repository_version
|
91
|
+
repository_version_added: 'repository_version_added_example', # String | repository_version_added
|
92
|
+
repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
|
93
93
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
94
94
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
95
95
|
}
|
@@ -108,12 +108,12 @@ end
|
|
108
108
|
|
109
109
|
Name | Type | Description | Notes
|
110
110
|
------------- | ------------- | ------------- | -------------
|
111
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
112
|
-
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
113
|
-
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
114
|
-
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
115
111
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
116
112
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
113
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
114
|
+
**repository_version** | **String**| repository_version | [optional]
|
115
|
+
**repository_version_added** | **String**| repository_version_added | [optional]
|
116
|
+
**repository_version_removed** | **String**| repository_version_removed | [optional]
|
117
117
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
118
118
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
119
119
|
|
@@ -123,7 +123,7 @@ Name | Type | Description | Notes
|
|
123
123
|
|
124
124
|
### Authorization
|
125
125
|
|
126
|
-
[
|
126
|
+
[basicAuth](../README.md#basicAuth)
|
127
127
|
|
128
128
|
### HTTP request headers
|
129
129
|
|
@@ -133,7 +133,7 @@ Name | Type | Description | Notes
|
|
133
133
|
|
134
134
|
## read
|
135
135
|
|
136
|
-
>
|
136
|
+
> RpmPackageCategoryResponse read(rpm_package_category_href, opts)
|
137
137
|
|
138
138
|
Inspect a package category
|
139
139
|
|
@@ -146,13 +146,13 @@ PackageCategory ViewSet.
|
|
146
146
|
require 'pulp_rpm_client'
|
147
147
|
# setup authorization
|
148
148
|
PulpRpmClient.configure do |config|
|
149
|
-
# Configure HTTP basic authorization:
|
149
|
+
# Configure HTTP basic authorization: basicAuth
|
150
150
|
config.username = 'YOUR USERNAME'
|
151
151
|
config.password = 'YOUR PASSWORD'
|
152
152
|
end
|
153
153
|
|
154
154
|
api_instance = PulpRpmClient::ContentPackagecategoriesApi.new
|
155
|
-
|
155
|
+
rpm_package_category_href = 'rpm_package_category_href_example' # String |
|
156
156
|
opts = {
|
157
157
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
158
158
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -160,7 +160,7 @@ opts = {
|
|
160
160
|
|
161
161
|
begin
|
162
162
|
#Inspect a package category
|
163
|
-
result = api_instance.read(
|
163
|
+
result = api_instance.read(rpm_package_category_href, opts)
|
164
164
|
p result
|
165
165
|
rescue PulpRpmClient::ApiError => e
|
166
166
|
puts "Exception when calling ContentPackagecategoriesApi->read: #{e}"
|
@@ -172,17 +172,17 @@ end
|
|
172
172
|
|
173
173
|
Name | Type | Description | Notes
|
174
174
|
------------- | ------------- | ------------- | -------------
|
175
|
-
**
|
175
|
+
**rpm_package_category_href** | **String**| |
|
176
176
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
177
177
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
178
178
|
|
179
179
|
### Return type
|
180
180
|
|
181
|
-
[**
|
181
|
+
[**RpmPackageCategoryResponse**](RpmPackageCategoryResponse.md)
|
182
182
|
|
183
183
|
### Authorization
|
184
184
|
|
185
|
-
[
|
185
|
+
[basicAuth](../README.md#basicAuth)
|
186
186
|
|
187
187
|
### HTTP request headers
|
188
188
|
|