pulp_rpm_client 3.27.4 → 3.28.0
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.
- checksums.yaml +4 -4
- data/README.md +10 -9
- data/docs/AcsRpmApi.md +343 -156
- data/docs/AddonResponse.md +16 -15
- data/docs/ArtifactResponse.md +30 -29
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ChecksumResponse.md +10 -9
- data/docs/CompressionTypeEnum.md +4 -5
- data/docs/ContentAdvisoriesApi.md +125 -75
- data/docs/ContentDistributionTreesApi.md +79 -46
- data/docs/ContentModulemdDefaultsApi.md +114 -64
- data/docs/ContentModulemdObsoletesApi.md +107 -57
- data/docs/ContentModulemdsApi.md +123 -73
- data/docs/ContentPackagecategoriesApi.md +79 -46
- data/docs/ContentPackageenvironmentsApi.md +79 -46
- data/docs/ContentPackagegroupsApi.md +79 -46
- data/docs/ContentPackagelangpacksApi.md +79 -46
- data/docs/ContentPackagesApi.md +148 -98
- data/docs/ContentRepoMetadataFilesApi.md +79 -46
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/Copy.md +10 -9
- data/docs/DistributionsRpmApi.md +385 -182
- data/docs/ImageResponse.md +14 -13
- data/docs/MyPermissionsResponse.md +8 -7
- data/docs/NestedRole.md +12 -11
- data/docs/NestedRoleResponse.md +12 -11
- data/docs/ObjectRolesResponse.md +8 -7
- data/docs/PackageChecksumTypeEnum.md +4 -5
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedrpmDistributionTreeResponseList.md +14 -13
- data/docs/PaginatedrpmModulemdDefaultsResponseList.md +14 -13
- data/docs/PaginatedrpmModulemdObsoleteResponseList.md +14 -13
- data/docs/PaginatedrpmModulemdResponseList.md +14 -13
- data/docs/PaginatedrpmPackageCategoryResponseList.md +14 -13
- data/docs/PaginatedrpmPackageEnvironmentResponseList.md +14 -13
- data/docs/PaginatedrpmPackageGroupResponseList.md +14 -13
- data/docs/PaginatedrpmPackageLangpacksResponseList.md +14 -13
- data/docs/PaginatedrpmPackageResponseList.md +14 -13
- data/docs/PaginatedrpmRepoMetadataFileResponseList.md +14 -13
- data/docs/PaginatedrpmRpmAlternateContentSourceResponseList.md +14 -13
- data/docs/PaginatedrpmRpmDistributionResponseList.md +14 -13
- data/docs/PaginatedrpmRpmPublicationResponseList.md +14 -13
- data/docs/PaginatedrpmRpmRemoteResponseList.md +14 -13
- data/docs/PaginatedrpmRpmRepositoryResponseList.md +14 -13
- data/docs/PaginatedrpmUlnRemoteResponseList.md +14 -13
- data/docs/PaginatedrpmUpdateRecordResponseList.md +14 -13
- data/docs/PatchedrpmRpmAlternateContentSource.md +14 -13
- data/docs/PatchedrpmRpmDistribution.md +22 -21
- data/docs/PatchedrpmRpmRemote.md +50 -49
- data/docs/PatchedrpmRpmRepository.md +40 -39
- data/docs/PatchedrpmUlnRemote.md +50 -49
- data/docs/PolicyEnum.md +4 -5
- data/docs/PrunePackages.md +12 -11
- data/docs/PublicationsRpmApi.md +267 -130
- data/docs/RemotesRpmApi.md +389 -184
- data/docs/RemotesUlnApi.md +389 -184
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesRpmApi.md +444 -207
- data/docs/RepositoriesRpmVersionsApi.md +152 -82
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/RpmCompsApi.md +32 -16
- data/docs/RpmCopyApi.md +30 -14
- data/docs/RpmDistributionTreeResponse.md +46 -43
- data/docs/RpmModulemd.md +32 -31
- data/docs/RpmModulemdDefaults.md +16 -15
- data/docs/RpmModulemdDefaultsResponse.md +20 -19
- data/docs/RpmModulemdObsolete.md +28 -27
- data/docs/RpmModulemdObsoleteResponse.md +32 -31
- data/docs/RpmModulemdResponse.md +36 -35
- data/docs/RpmPackageCategoryResponse.md +30 -29
- data/docs/RpmPackageEnvironmentResponse.md +32 -31
- data/docs/RpmPackageGroupResponse.md +36 -35
- data/docs/RpmPackageLangpacksResponse.md +18 -17
- data/docs/RpmPackageResponse.md +100 -99
- data/docs/RpmPruneApi.md +30 -13
- data/docs/RpmRepoMetadataFileResponse.md +36 -35
- data/docs/RpmRepositorySyncURL.md +16 -15
- data/docs/RpmRpmAlternateContentSource.md +14 -13
- data/docs/RpmRpmAlternateContentSourceResponse.md +22 -21
- data/docs/RpmRpmDistribution.md +22 -21
- data/docs/RpmRpmDistributionResponse.md +34 -33
- data/docs/RpmRpmPublication.md +24 -23
- data/docs/RpmRpmPublicationResponse.md +34 -33
- data/docs/RpmRpmRemote.md +50 -49
- data/docs/RpmRpmRemoteResponse.md +50 -49
- data/docs/RpmRpmRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/RpmRpmRepository.md +40 -39
- data/docs/RpmRpmRepositoryResponse.md +54 -53
- data/docs/RpmUlnRemote.md +50 -49
- data/docs/RpmUlnRemoteResponse.md +50 -49
- data/docs/RpmUpdateCollection.md +12 -11
- data/docs/RpmUpdateCollectionResponse.md +14 -13
- data/docs/RpmUpdateRecordResponse.md +50 -49
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/SkipTypesEnum.md +4 -5
- data/docs/SyncPolicyEnum.md +4 -5
- data/docs/TaskGroupOperationResponse.md +8 -7
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/docs/VariantResponse.md +26 -25
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +76 -50
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +20 -14
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +11 -9
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +20 -14
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +20 -14
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +20 -14
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +11 -9
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +11 -9
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +11 -9
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +11 -9
- data/lib/pulp_rpm_client/api/content_packages_api.rb +20 -14
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +11 -9
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +89 -56
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +67 -47
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +104 -68
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +104 -68
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +107 -66
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +40 -30
- data/lib/pulp_rpm_client/api/rpm_comps_api.rb +10 -6
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +10 -6
- data/lib/pulp_rpm_client/api/rpm_prune_api.rb +10 -6
- data/lib/pulp_rpm_client/api_client.rb +137 -102
- data/lib/pulp_rpm_client/api_error.rb +2 -1
- data/lib/pulp_rpm_client/configuration.rb +162 -21
- data/lib/pulp_rpm_client/models/addon_response.rb +40 -22
- data/lib/pulp_rpm_client/models/artifact_response.rb +34 -24
- data/lib/pulp_rpm_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_rpm_client/models/checksum_response.rb +34 -22
- data/lib/pulp_rpm_client/models/compression_type_enum.rb +8 -4
- data/lib/pulp_rpm_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_rpm_client/models/copy.rb +34 -28
- data/lib/pulp_rpm_client/models/image_response.rb +38 -22
- data/lib/pulp_rpm_client/models/my_permissions_response.rb +32 -22
- data/lib/pulp_rpm_client/models/nested_role.rb +32 -22
- data/lib/pulp_rpm_client/models/nested_role_response.rb +32 -22
- data/lib/pulp_rpm_client/models/object_roles_response.rb +32 -22
- data/lib/pulp_rpm_client/models/package_checksum_type_enum.rb +8 -4
- data/lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_package_category_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_package_environment_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_package_group_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_package_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_alternate_content_source_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_update_record_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_alternate_content_source.rb +36 -24
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +40 -24
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +62 -24
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +68 -25
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +72 -26
- data/lib/pulp_rpm_client/models/policy_enum.rb +8 -4
- data/lib/pulp_rpm_client/models/prune_packages.rb +37 -23
- data/lib/pulp_rpm_client/models/repair.rb +30 -22
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +30 -22
- data/lib/pulp_rpm_client/models/repository_version_response.rb +32 -24
- data/lib/pulp_rpm_client/models/rpm_distribution_tree_response.rb +77 -23
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +50 -22
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +39 -27
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +39 -29
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +55 -27
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +50 -24
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +50 -24
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +48 -24
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +50 -24
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +48 -24
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +36 -24
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +42 -24
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +40 -24
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +52 -22
- data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source.rb +35 -23
- data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +37 -25
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +34 -22
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +36 -24
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +53 -22
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +55 -24
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +56 -22
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +59 -25
- data/lib/pulp_rpm_client/models/{rpm_rpm_remote_response_hidden_fields.rb → rpm_rpm_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +65 -24
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +67 -26
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +60 -22
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +59 -25
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +36 -22
- data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +36 -22
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +32 -24
- data/lib/pulp_rpm_client/models/set_label.rb +34 -22
- data/lib/pulp_rpm_client/models/set_label_response.rb +34 -22
- data/lib/pulp_rpm_client/models/skip_types_enum.rb +8 -4
- data/lib/pulp_rpm_client/models/sync_policy_enum.rb +8 -4
- data/lib/pulp_rpm_client/models/task_group_operation_response.rb +32 -22
- data/lib/pulp_rpm_client/models/unset_label.rb +32 -22
- data/lib/pulp_rpm_client/models/unset_label_response.rb +32 -22
- data/lib/pulp_rpm_client/models/variant_response.rb +50 -22
- data/lib/pulp_rpm_client/version.rb +2 -2
- data/lib/pulp_rpm_client.rb +2 -5
- data/pulp_rpm_client.gemspec +9 -6
- data/spec/api/acs_rpm_api_spec.rb +12 -12
- data/spec/api/content_advisories_api_spec.rb +4 -4
- data/spec/api/content_distribution_trees_api_spec.rb +3 -3
- data/spec/api/content_modulemd_defaults_api_spec.rb +4 -4
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +4 -4
- data/spec/api/content_modulemds_api_spec.rb +4 -4
- data/spec/api/content_packagecategories_api_spec.rb +3 -3
- data/spec/api/content_packageenvironments_api_spec.rb +3 -3
- data/spec/api/content_packagegroups_api_spec.rb +3 -3
- data/spec/api/content_packagelangpacks_api_spec.rb +3 -3
- data/spec/api/content_packages_api_spec.rb +4 -4
- data/spec/api/content_repo_metadata_files_api_spec.rb +3 -3
- data/spec/api/distributions_rpm_api_spec.rb +13 -13
- data/spec/api/publications_rpm_api_spec.rb +16 -15
- data/spec/api/remotes_rpm_api_spec.rb +20 -19
- data/spec/api/remotes_uln_api_spec.rb +20 -19
- data/spec/api/repositories_rpm_api_spec.rb +15 -15
- data/spec/api/repositories_rpm_versions_api_spec.rb +12 -11
- data/spec/api/rpm_comps_api_spec.rb +2 -2
- data/spec/api/rpm_copy_api_spec.rb +2 -2
- data/spec/api/rpm_prune_api_spec.rb +2 -2
- data/spec/models/addon_response_spec.rb +11 -16
- data/spec/models/artifact_response_spec.rb +18 -23
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/checksum_response_spec.rb +8 -13
- data/spec/models/compression_type_enum_spec.rb +6 -11
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/copy_spec.rb +8 -13
- data/spec/models/image_response_spec.rb +10 -15
- data/spec/models/my_permissions_response_spec.rb +7 -12
- data/spec/models/nested_role_response_spec.rb +9 -14
- data/spec/models/nested_role_spec.rb +9 -14
- data/spec/models/object_roles_response_spec.rb +7 -12
- data/spec/models/package_checksum_type_enum_spec.rb +6 -11
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_distribution_tree_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_modulemd_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_package_category_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_package_environment_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_package_group_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_package_langpacks_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_package_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_rpm_alternate_content_source_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_rpm_publication_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_rpm_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_rpm_repository_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_uln_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_update_record_response_list_spec.rb +10 -15
- data/spec/models/patchedrpm_rpm_alternate_content_source_spec.rb +10 -15
- data/spec/models/patchedrpm_rpm_distribution_spec.rb +14 -19
- data/spec/models/patchedrpm_rpm_remote_spec.rb +28 -33
- data/spec/models/patchedrpm_rpm_repository_spec.rb +23 -28
- data/spec/models/patchedrpm_uln_remote_spec.rb +28 -33
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/prune_packages_spec.rb +9 -14
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_remove_content_spec.rb +9 -14
- data/spec/models/repository_version_response_spec.rb +14 -19
- data/spec/models/rpm_distribution_tree_response_spec.rb +31 -30
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +13 -18
- data/spec/models/rpm_modulemd_defaults_spec.rb +11 -16
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +19 -24
- data/spec/models/rpm_modulemd_obsolete_spec.rb +17 -22
- data/spec/models/rpm_modulemd_response_spec.rb +21 -26
- data/spec/models/rpm_modulemd_spec.rb +19 -24
- data/spec/models/rpm_package_category_response_spec.rb +18 -23
- data/spec/models/rpm_package_environment_response_spec.rb +19 -24
- data/spec/models/rpm_package_group_response_spec.rb +21 -26
- data/spec/models/rpm_package_langpacks_response_spec.rb +12 -17
- data/spec/models/rpm_package_response_spec.rb +53 -58
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +21 -26
- data/spec/models/rpm_repository_sync_url_spec.rb +11 -16
- data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +14 -19
- data/spec/models/rpm_rpm_alternate_content_source_spec.rb +10 -15
- data/spec/models/rpm_rpm_distribution_response_spec.rb +20 -25
- data/spec/models/rpm_rpm_distribution_spec.rb +14 -19
- data/spec/models/rpm_rpm_publication_response_spec.rb +20 -25
- data/spec/models/rpm_rpm_publication_spec.rb +15 -20
- data/spec/models/{rpm_rpm_remote_response_hidden_fields_spec.rb → rpm_rpm_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/rpm_rpm_remote_response_spec.rb +28 -33
- data/spec/models/rpm_rpm_remote_spec.rb +28 -33
- data/spec/models/rpm_rpm_repository_response_spec.rb +30 -35
- data/spec/models/rpm_rpm_repository_spec.rb +23 -28
- data/spec/models/rpm_uln_remote_response_spec.rb +28 -33
- data/spec/models/rpm_uln_remote_spec.rb +28 -33
- data/spec/models/rpm_update_collection_response_spec.rb +10 -15
- data/spec/models/rpm_update_collection_spec.rb +9 -14
- data/spec/models/rpm_update_record_response_spec.rb +28 -33
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/skip_types_enum_spec.rb +6 -11
- data/spec/models/sync_policy_enum_spec.rb +6 -11
- data/spec/models/task_group_operation_response_spec.rb +7 -12
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/models/variant_response_spec.rb +16 -21
- data/spec/spec_helper.rb +1 -1
- metadata +125 -113
- data/docs/CompsXml.md +0 -21
- data/docs/RpmPackage.md +0 -27
- data/docs/RpmRpmRemoteResponseHiddenFields.md +0 -19
- data/docs/RpmUpdateRecord.md +0 -23
- data/lib/pulp_rpm_client/models/comps_xml.rb +0 -233
- data/lib/pulp_rpm_client/models/rpm_package.rb +0 -288
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +0 -253
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/comps_xml_spec.rb +0 -53
- data/spec/models/rpm_package_spec.rb +0 -71
- data/spec/models/rpm_update_record_spec.rb +0 -59
@@ -2,25 +2,24 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**list**](ContentPackagelangpacksApi.md#list) | **GET** /pulp/api/v3/content/rpm/packagelangpacks/ | List package langpackss
|
8
|
-
[**read**](ContentPackagelangpacksApi.md#read) | **GET** {rpm_package_langpacks_href} | Inspect a package langpacks
|
9
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**list**](ContentPackagelangpacksApi.md#list) | **GET** /pulp/api/v3/content/rpm/packagelangpacks/ | List package langpackss |
|
8
|
+
| [**read**](ContentPackagelangpacksApi.md#read) | **GET** {rpm_package_langpacks_href} | Inspect a package langpacks |
|
10
9
|
|
11
10
|
|
12
11
|
## list
|
13
12
|
|
14
|
-
> PaginatedrpmPackageLangpacksResponseList list(opts)
|
13
|
+
> <PaginatedrpmPackageLangpacksResponseList> list(opts)
|
15
14
|
|
16
15
|
List package langpackss
|
17
16
|
|
18
17
|
PackageLangpacks ViewSet.
|
19
18
|
|
20
|
-
###
|
19
|
+
### Examples
|
21
20
|
|
22
21
|
```ruby
|
23
|
-
|
22
|
+
require 'time'
|
24
23
|
require 'pulp_rpm_client'
|
25
24
|
# setup authorization
|
26
25
|
PulpRpmClient.configure do |config|
|
@@ -33,46 +32,63 @@ api_instance = PulpRpmClient::ContentPackagelangpacksApi.new
|
|
33
32
|
opts = {
|
34
33
|
limit: 56, # Integer | Number of results to return per page.
|
35
34
|
offset: 56, # Integer | The initial index from which to return the results.
|
36
|
-
ordering: ['
|
37
|
-
orphaned_for:
|
38
|
-
prn__in: ['
|
39
|
-
pulp_href__in: ['
|
40
|
-
pulp_id__in: ['
|
35
|
+
ordering: ['-pk'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
36
|
+
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
37
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
38
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
39
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
41
40
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
42
41
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
43
42
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
44
43
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
|
45
|
-
fields: ['
|
46
|
-
exclude_fields: ['
|
44
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
45
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
47
46
|
}
|
48
47
|
|
49
48
|
begin
|
50
|
-
#List package langpackss
|
49
|
+
# List package langpackss
|
51
50
|
result = api_instance.list(opts)
|
52
51
|
p result
|
53
52
|
rescue PulpRpmClient::ApiError => e
|
54
|
-
puts "
|
53
|
+
puts "Error when calling ContentPackagelangpacksApi->list: #{e}"
|
55
54
|
end
|
56
55
|
```
|
57
56
|
|
58
|
-
|
57
|
+
#### Using the list_with_http_info variant
|
58
|
+
|
59
|
+
This returns an Array which contains the response data, status code and headers.
|
59
60
|
|
61
|
+
> <Array(<PaginatedrpmPackageLangpacksResponseList>, Integer, Hash)> list_with_http_info(opts)
|
62
|
+
|
63
|
+
```ruby
|
64
|
+
begin
|
65
|
+
# List package langpackss
|
66
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
67
|
+
p status_code # => 2xx
|
68
|
+
p headers # => { ... }
|
69
|
+
p data # => <PaginatedrpmPackageLangpacksResponseList>
|
70
|
+
rescue PulpRpmClient::ApiError => e
|
71
|
+
puts "Error when calling ContentPackagelangpacksApi->list_with_http_info: #{e}"
|
72
|
+
end
|
73
|
+
```
|
74
|
+
|
75
|
+
### Parameters
|
60
76
|
|
61
|
-
Name | Type | Description
|
62
|
-
|
63
|
-
**limit** | **Integer
|
64
|
-
**offset** | **Integer
|
65
|
-
**ordering** | [**Array<String>**](String.md)| Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
66
|
-
**orphaned_for** | **Float
|
67
|
-
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
68
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
69
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
70
|
-
**q** | **String
|
71
|
-
**repository_version** | **String
|
72
|
-
**repository_version_added** | **String
|
73
|
-
**repository_version_removed** | **String
|
74
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
75
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
77
|
+
| Name | Type | Description | Notes |
|
78
|
+
| ---- | ---- | ----------- | ----- |
|
79
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
80
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
81
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
82
|
+
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
83
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
84
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
85
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
86
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
87
|
+
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
88
|
+
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
89
|
+
| **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
90
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
91
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
76
92
|
|
77
93
|
### Return type
|
78
94
|
|
@@ -90,16 +106,16 @@ Name | Type | Description | Notes
|
|
90
106
|
|
91
107
|
## read
|
92
108
|
|
93
|
-
> RpmPackageLangpacksResponse read(rpm_package_langpacks_href, opts)
|
109
|
+
> <RpmPackageLangpacksResponse> read(rpm_package_langpacks_href, opts)
|
94
110
|
|
95
111
|
Inspect a package langpacks
|
96
112
|
|
97
113
|
PackageLangpacks ViewSet.
|
98
114
|
|
99
|
-
###
|
115
|
+
### Examples
|
100
116
|
|
101
117
|
```ruby
|
102
|
-
|
118
|
+
require 'time'
|
103
119
|
require 'pulp_rpm_client'
|
104
120
|
# setup authorization
|
105
121
|
PulpRpmClient.configure do |config|
|
@@ -111,27 +127,44 @@ end
|
|
111
127
|
api_instance = PulpRpmClient::ContentPackagelangpacksApi.new
|
112
128
|
rpm_package_langpacks_href = 'rpm_package_langpacks_href_example' # String |
|
113
129
|
opts = {
|
114
|
-
fields: ['
|
115
|
-
exclude_fields: ['
|
130
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
131
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
116
132
|
}
|
117
133
|
|
118
134
|
begin
|
119
|
-
#Inspect a package langpacks
|
135
|
+
# Inspect a package langpacks
|
120
136
|
result = api_instance.read(rpm_package_langpacks_href, opts)
|
121
137
|
p result
|
122
138
|
rescue PulpRpmClient::ApiError => e
|
123
|
-
puts "
|
139
|
+
puts "Error when calling ContentPackagelangpacksApi->read: #{e}"
|
124
140
|
end
|
125
141
|
```
|
126
142
|
|
127
|
-
|
143
|
+
#### Using the read_with_http_info variant
|
144
|
+
|
145
|
+
This returns an Array which contains the response data, status code and headers.
|
146
|
+
|
147
|
+
> <Array(<RpmPackageLangpacksResponse>, Integer, Hash)> read_with_http_info(rpm_package_langpacks_href, opts)
|
148
|
+
|
149
|
+
```ruby
|
150
|
+
begin
|
151
|
+
# Inspect a package langpacks
|
152
|
+
data, status_code, headers = api_instance.read_with_http_info(rpm_package_langpacks_href, opts)
|
153
|
+
p status_code # => 2xx
|
154
|
+
p headers # => { ... }
|
155
|
+
p data # => <RpmPackageLangpacksResponse>
|
156
|
+
rescue PulpRpmClient::ApiError => e
|
157
|
+
puts "Error when calling ContentPackagelangpacksApi->read_with_http_info: #{e}"
|
158
|
+
end
|
159
|
+
```
|
128
160
|
|
161
|
+
### Parameters
|
129
162
|
|
130
|
-
Name | Type | Description
|
131
|
-
|
132
|
-
**rpm_package_langpacks_href** | **String
|
133
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
134
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
163
|
+
| Name | Type | Description | Notes |
|
164
|
+
| ---- | ---- | ----------- | ----- |
|
165
|
+
| **rpm_package_langpacks_href** | **String** | | |
|
166
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
167
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
135
168
|
|
136
169
|
### Return type
|
137
170
|
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -2,26 +2,25 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/rpm/packages/ | Create a package
|
8
|
-
[**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/rpm/packages/ | List packages
|
9
|
-
[**read**](ContentPackagesApi.md#read) | **GET** {rpm_package_href} | Inspect a package
|
10
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/rpm/packages/ | Create a package |
|
8
|
+
| [**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/rpm/packages/ | List packages |
|
9
|
+
| [**read**](ContentPackagesApi.md#read) | **GET** {rpm_package_href} | Inspect a package |
|
11
10
|
|
12
11
|
|
13
12
|
## create
|
14
13
|
|
15
|
-
> AsyncOperationResponse create(opts)
|
14
|
+
> <AsyncOperationResponse> create(opts)
|
16
15
|
|
17
16
|
Create a package
|
18
17
|
|
19
18
|
Trigger an asynchronous task to create an RPM package,optionally create new repository version.
|
20
19
|
|
21
|
-
###
|
20
|
+
### Examples
|
22
21
|
|
23
22
|
```ruby
|
24
|
-
|
23
|
+
require 'time'
|
25
24
|
require 'pulp_rpm_client'
|
26
25
|
# setup authorization
|
27
26
|
PulpRpmClient.configure do |config|
|
@@ -35,31 +34,48 @@ opts = {
|
|
35
34
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
36
35
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
37
36
|
relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
|
38
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
37
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
39
38
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
40
39
|
file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
|
41
40
|
}
|
42
41
|
|
43
42
|
begin
|
44
|
-
#Create a package
|
43
|
+
# Create a package
|
45
44
|
result = api_instance.create(opts)
|
46
45
|
p result
|
47
46
|
rescue PulpRpmClient::ApiError => e
|
48
|
-
puts "
|
47
|
+
puts "Error when calling ContentPackagesApi->create: #{e}"
|
49
48
|
end
|
50
49
|
```
|
51
50
|
|
52
|
-
|
51
|
+
#### Using the create_with_http_info variant
|
52
|
+
|
53
|
+
This returns an Array which contains the response data, status code and headers.
|
54
|
+
|
55
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(opts)
|
56
|
+
|
57
|
+
```ruby
|
58
|
+
begin
|
59
|
+
# Create a package
|
60
|
+
data, status_code, headers = api_instance.create_with_http_info(opts)
|
61
|
+
p status_code # => 2xx
|
62
|
+
p headers # => { ... }
|
63
|
+
p data # => <AsyncOperationResponse>
|
64
|
+
rescue PulpRpmClient::ApiError => e
|
65
|
+
puts "Error when calling ContentPackagesApi->create_with_http_info: #{e}"
|
66
|
+
end
|
67
|
+
```
|
53
68
|
|
69
|
+
### Parameters
|
54
70
|
|
55
|
-
Name | Type | Description
|
56
|
-
|
57
|
-
**repository** | **String
|
58
|
-
**artifact** | **String
|
59
|
-
**relative_path** | **String
|
60
|
-
**file** | **File
|
61
|
-
**upload** | **String
|
62
|
-
**file_url** | **String
|
71
|
+
| Name | Type | Description | Notes |
|
72
|
+
| ---- | ---- | ----------- | ----- |
|
73
|
+
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
74
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
75
|
+
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional] |
|
76
|
+
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
77
|
+
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
78
|
+
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
63
79
|
|
64
80
|
### Return type
|
65
81
|
|
@@ -77,16 +93,16 @@ Name | Type | Description | Notes
|
|
77
93
|
|
78
94
|
## list
|
79
95
|
|
80
|
-
> PaginatedrpmPackageResponseList list(opts)
|
96
|
+
> <PaginatedrpmPackageResponseList> list(opts)
|
81
97
|
|
82
98
|
List packages
|
83
99
|
|
84
100
|
A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
|
85
101
|
|
86
|
-
###
|
102
|
+
### Examples
|
87
103
|
|
88
104
|
```ruby
|
89
|
-
|
105
|
+
require 'time'
|
90
106
|
require 'pulp_rpm_client'
|
91
107
|
# setup authorization
|
92
108
|
PulpRpmClient.configure do |config|
|
@@ -99,34 +115,34 @@ api_instance = PulpRpmClient::ContentPackagesApi.new
|
|
99
115
|
opts = {
|
100
116
|
arch: 'arch_example', # String | Filter results where arch matches value
|
101
117
|
arch__contains: 'arch__contains_example', # String | Filter results where arch contains value
|
102
|
-
arch__in: ['
|
118
|
+
arch__in: ['inner_example'], # Array<String> | Filter results where arch is in a comma-separated list of values
|
103
119
|
arch__ne: 'arch__ne_example', # String | Filter results where arch not equal to value
|
104
120
|
arch__startswith: 'arch__startswith_example', # String | Filter results where arch starts with value
|
105
|
-
checksum_type: '
|
106
|
-
checksum_type__in: ['
|
121
|
+
checksum_type: 'md5', # String | Filter results where checksum_type matches value * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
122
|
+
checksum_type__in: ['inner_example'], # Array<String> | Filter results where checksum_type is in a comma-separated list of values
|
107
123
|
checksum_type__ne: 'checksum_type__ne_example', # String | Filter results where checksum_type not equal to value
|
108
124
|
epoch: 'epoch_example', # String | Filter results where epoch matches value
|
109
|
-
epoch__in: ['
|
125
|
+
epoch__in: ['inner_example'], # Array<String> | Filter results where epoch is in a comma-separated list of values
|
110
126
|
epoch__ne: 'epoch__ne_example', # String | Filter results where epoch not equal to value
|
111
127
|
filename: 'filename_example', # String |
|
112
128
|
limit: 56, # Integer | Number of results to return per page.
|
113
129
|
name: 'name_example', # String | Filter results where name matches value
|
114
130
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
115
|
-
name__in: ['
|
131
|
+
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
116
132
|
name__ne: 'name__ne_example', # String | Filter results where name not equal to value
|
117
133
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
118
134
|
offset: 56, # Integer | The initial index from which to return the results.
|
119
|
-
ordering: ['
|
120
|
-
orphaned_for:
|
135
|
+
ordering: ['-arch'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `epoch` - Epoch * `-epoch` - Epoch (descending) * `version` - Version * `-version` - Version (descending) * `release` - Release * `-release` - Release (descending) * `arch` - Arch * `-arch` - Arch (descending) * `evr` - Evr * `-evr` - Evr (descending) * `pkgId` - Pkgid * `-pkgId` - Pkgid (descending) * `checksum_type` - Checksum type * `-checksum_type` - Checksum type (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `url` - Url * `-url` - Url (descending) * `changelogs` - Changelogs * `-changelogs` - Changelogs (descending) * `files` - Files * `-files` - Files (descending) * `requires` - Requires * `-requires` - Requires (descending) * `provides` - Provides * `-provides` - Provides (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `obsoletes` - Obsoletes * `-obsoletes` - Obsoletes (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `supplements` - Supplements * `-supplements` - Supplements (descending) * `location_base` - Location base * `-location_base` - Location base (descending) * `location_href` - Location href * `-location_href` - Location href (descending) * `rpm_buildhost` - Rpm buildhost * `-rpm_buildhost` - Rpm buildhost (descending) * `rpm_group` - Rpm group * `-rpm_group` - Rpm group (descending) * `rpm_license` - Rpm license * `-rpm_license` - Rpm license (descending) * `rpm_packager` - Rpm packager * `-rpm_packager` - Rpm packager (descending) * `rpm_sourcerpm` - Rpm sourcerpm * `-rpm_sourcerpm` - Rpm sourcerpm (descending) * `rpm_vendor` - Rpm vendor * `-rpm_vendor` - Rpm vendor (descending) * `rpm_header_start` - Rpm header start * `-rpm_header_start` - Rpm header start (descending) * `rpm_header_end` - Rpm header end * `-rpm_header_end` - Rpm header end (descending) * `size_archive` - Size archive * `-size_archive` - Size archive (descending) * `size_installed` - Size installed * `-size_installed` - Size installed (descending) * `size_package` - Size package * `-size_package` - Size package (descending) * `time_build` - Time build * `-time_build` - Time build (descending) * `time_file` - Time file * `-time_file` - Time file (descending) * `is_modular` - Is modular * `-is_modular` - Is modular (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
136
|
+
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
121
137
|
pkg_id: 'pkg_id_example', # String | Filter results where pkgId matches value
|
122
|
-
pkg_id__in: ['
|
123
|
-
prn__in: ['
|
124
|
-
pulp_href__in: ['
|
125
|
-
pulp_id__in: ['
|
138
|
+
pkg_id__in: ['inner_example'], # Array<String> | Filter results where pkgId is in a comma-separated list of values
|
139
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
140
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
141
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
126
142
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
127
143
|
release: 'release_example', # String | Filter results where release matches value
|
128
144
|
release__contains: 'release__contains_example', # String | Filter results where release contains value
|
129
|
-
release__in: ['
|
145
|
+
release__in: ['inner_example'], # Array<String> | Filter results where release is in a comma-separated list of values
|
130
146
|
release__ne: 'release__ne_example', # String | Filter results where release not equal to value
|
131
147
|
release__startswith: 'release__startswith_example', # String | Filter results where release starts with value
|
132
148
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
@@ -134,67 +150,84 @@ opts = {
|
|
134
150
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
|
135
151
|
sha256: 'sha256_example', # String |
|
136
152
|
version: 'version_example', # String | Filter results where version matches value
|
137
|
-
version__in: ['
|
153
|
+
version__in: ['inner_example'], # Array<String> | Filter results where version is in a comma-separated list of values
|
138
154
|
version__ne: 'version__ne_example', # String | Filter results where version not equal to value
|
139
|
-
fields: ['
|
140
|
-
exclude_fields: ['
|
155
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
156
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
141
157
|
}
|
142
158
|
|
143
159
|
begin
|
144
|
-
#List packages
|
160
|
+
# List packages
|
145
161
|
result = api_instance.list(opts)
|
146
162
|
p result
|
147
163
|
rescue PulpRpmClient::ApiError => e
|
148
|
-
puts "
|
164
|
+
puts "Error when calling ContentPackagesApi->list: #{e}"
|
149
165
|
end
|
150
166
|
```
|
151
167
|
|
152
|
-
|
168
|
+
#### Using the list_with_http_info variant
|
153
169
|
|
170
|
+
This returns an Array which contains the response data, status code and headers.
|
154
171
|
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
**
|
174
|
-
**
|
175
|
-
**
|
176
|
-
**
|
177
|
-
**
|
178
|
-
**
|
179
|
-
**
|
180
|
-
**
|
181
|
-
**
|
182
|
-
**
|
183
|
-
**
|
184
|
-
**
|
185
|
-
**
|
186
|
-
**
|
187
|
-
**
|
188
|
-
**
|
189
|
-
**
|
190
|
-
**
|
191
|
-
**
|
192
|
-
**
|
193
|
-
**
|
194
|
-
**
|
195
|
-
**
|
196
|
-
**
|
197
|
-
**
|
172
|
+
> <Array(<PaginatedrpmPackageResponseList>, Integer, Hash)> list_with_http_info(opts)
|
173
|
+
|
174
|
+
```ruby
|
175
|
+
begin
|
176
|
+
# List packages
|
177
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
178
|
+
p status_code # => 2xx
|
179
|
+
p headers # => { ... }
|
180
|
+
p data # => <PaginatedrpmPackageResponseList>
|
181
|
+
rescue PulpRpmClient::ApiError => e
|
182
|
+
puts "Error when calling ContentPackagesApi->list_with_http_info: #{e}"
|
183
|
+
end
|
184
|
+
```
|
185
|
+
|
186
|
+
### Parameters
|
187
|
+
|
188
|
+
| Name | Type | Description | Notes |
|
189
|
+
| ---- | ---- | ----------- | ----- |
|
190
|
+
| **arch** | **String** | Filter results where arch matches value | [optional] |
|
191
|
+
| **arch__contains** | **String** | Filter results where arch contains value | [optional] |
|
192
|
+
| **arch__in** | [**Array<String>**](String.md) | Filter results where arch is in a comma-separated list of values | [optional] |
|
193
|
+
| **arch__ne** | **String** | Filter results where arch not equal to value | [optional] |
|
194
|
+
| **arch__startswith** | **String** | Filter results where arch starts with value | [optional] |
|
195
|
+
| **checksum_type** | **String** | Filter results where checksum_type matches value * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional] |
|
196
|
+
| **checksum_type__in** | [**Array<String>**](String.md) | Filter results where checksum_type is in a comma-separated list of values | [optional] |
|
197
|
+
| **checksum_type__ne** | **String** | Filter results where checksum_type not equal to value | [optional] |
|
198
|
+
| **epoch** | **String** | Filter results where epoch matches value | [optional] |
|
199
|
+
| **epoch__in** | [**Array<String>**](String.md) | Filter results where epoch is in a comma-separated list of values | [optional] |
|
200
|
+
| **epoch__ne** | **String** | Filter results where epoch not equal to value | [optional] |
|
201
|
+
| **filename** | **String** | | [optional] |
|
202
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
203
|
+
| **name** | **String** | Filter results where name matches value | [optional] |
|
204
|
+
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
205
|
+
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
206
|
+
| **name__ne** | **String** | Filter results where name not equal to value | [optional] |
|
207
|
+
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
208
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
209
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `epoch` - Epoch * `-epoch` - Epoch (descending) * `version` - Version * `-version` - Version (descending) * `release` - Release * `-release` - Release (descending) * `arch` - Arch * `-arch` - Arch (descending) * `evr` - Evr * `-evr` - Evr (descending) * `pkgId` - Pkgid * `-pkgId` - Pkgid (descending) * `checksum_type` - Checksum type * `-checksum_type` - Checksum type (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `url` - Url * `-url` - Url (descending) * `changelogs` - Changelogs * `-changelogs` - Changelogs (descending) * `files` - Files * `-files` - Files (descending) * `requires` - Requires * `-requires` - Requires (descending) * `provides` - Provides * `-provides` - Provides (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `obsoletes` - Obsoletes * `-obsoletes` - Obsoletes (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `supplements` - Supplements * `-supplements` - Supplements (descending) * `location_base` - Location base * `-location_base` - Location base (descending) * `location_href` - Location href * `-location_href` - Location href (descending) * `rpm_buildhost` - Rpm buildhost * `-rpm_buildhost` - Rpm buildhost (descending) * `rpm_group` - Rpm group * `-rpm_group` - Rpm group (descending) * `rpm_license` - Rpm license * `-rpm_license` - Rpm license (descending) * `rpm_packager` - Rpm packager * `-rpm_packager` - Rpm packager (descending) * `rpm_sourcerpm` - Rpm sourcerpm * `-rpm_sourcerpm` - Rpm sourcerpm (descending) * `rpm_vendor` - Rpm vendor * `-rpm_vendor` - Rpm vendor (descending) * `rpm_header_start` - Rpm header start * `-rpm_header_start` - Rpm header start (descending) * `rpm_header_end` - Rpm header end * `-rpm_header_end` - Rpm header end (descending) * `size_archive` - Size archive * `-size_archive` - Size archive (descending) * `size_installed` - Size installed * `-size_installed` - Size installed (descending) * `size_package` - Size package * `-size_package` - Size package (descending) * `time_build` - Time build * `-time_build` - Time build (descending) * `time_file` - Time file * `-time_file` - Time file (descending) * `is_modular` - Is modular * `-is_modular` - Is modular (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
210
|
+
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
211
|
+
| **pkg_id** | **String** | Filter results where pkgId matches value | [optional] |
|
212
|
+
| **pkg_id__in** | [**Array<String>**](String.md) | Filter results where pkgId is in a comma-separated list of values | [optional] |
|
213
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
214
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
215
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
216
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
217
|
+
| **release** | **String** | Filter results where release matches value | [optional] |
|
218
|
+
| **release__contains** | **String** | Filter results where release contains value | [optional] |
|
219
|
+
| **release__in** | [**Array<String>**](String.md) | Filter results where release is in a comma-separated list of values | [optional] |
|
220
|
+
| **release__ne** | **String** | Filter results where release not equal to value | [optional] |
|
221
|
+
| **release__startswith** | **String** | Filter results where release starts with value | [optional] |
|
222
|
+
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
223
|
+
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
224
|
+
| **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
225
|
+
| **sha256** | **String** | | [optional] |
|
226
|
+
| **version** | **String** | Filter results where version matches value | [optional] |
|
227
|
+
| **version__in** | [**Array<String>**](String.md) | Filter results where version is in a comma-separated list of values | [optional] |
|
228
|
+
| **version__ne** | **String** | Filter results where version not equal to value | [optional] |
|
229
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
230
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
198
231
|
|
199
232
|
### Return type
|
200
233
|
|
@@ -212,16 +245,16 @@ Name | Type | Description | Notes
|
|
212
245
|
|
213
246
|
## read
|
214
247
|
|
215
|
-
> RpmPackageResponse read(rpm_package_href, opts)
|
248
|
+
> <RpmPackageResponse> read(rpm_package_href, opts)
|
216
249
|
|
217
250
|
Inspect a package
|
218
251
|
|
219
252
|
A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
|
220
253
|
|
221
|
-
###
|
254
|
+
### Examples
|
222
255
|
|
223
256
|
```ruby
|
224
|
-
|
257
|
+
require 'time'
|
225
258
|
require 'pulp_rpm_client'
|
226
259
|
# setup authorization
|
227
260
|
PulpRpmClient.configure do |config|
|
@@ -233,27 +266,44 @@ end
|
|
233
266
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
234
267
|
rpm_package_href = 'rpm_package_href_example' # String |
|
235
268
|
opts = {
|
236
|
-
fields: ['
|
237
|
-
exclude_fields: ['
|
269
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
270
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
238
271
|
}
|
239
272
|
|
240
273
|
begin
|
241
|
-
#Inspect a package
|
274
|
+
# Inspect a package
|
242
275
|
result = api_instance.read(rpm_package_href, opts)
|
243
276
|
p result
|
244
277
|
rescue PulpRpmClient::ApiError => e
|
245
|
-
puts "
|
278
|
+
puts "Error when calling ContentPackagesApi->read: #{e}"
|
246
279
|
end
|
247
280
|
```
|
248
281
|
|
249
|
-
|
282
|
+
#### Using the read_with_http_info variant
|
283
|
+
|
284
|
+
This returns an Array which contains the response data, status code and headers.
|
285
|
+
|
286
|
+
> <Array(<RpmPackageResponse>, Integer, Hash)> read_with_http_info(rpm_package_href, opts)
|
250
287
|
|
288
|
+
```ruby
|
289
|
+
begin
|
290
|
+
# Inspect a package
|
291
|
+
data, status_code, headers = api_instance.read_with_http_info(rpm_package_href, opts)
|
292
|
+
p status_code # => 2xx
|
293
|
+
p headers # => { ... }
|
294
|
+
p data # => <RpmPackageResponse>
|
295
|
+
rescue PulpRpmClient::ApiError => e
|
296
|
+
puts "Error when calling ContentPackagesApi->read_with_http_info: #{e}"
|
297
|
+
end
|
298
|
+
```
|
299
|
+
|
300
|
+
### Parameters
|
251
301
|
|
252
|
-
Name | Type | Description
|
253
|
-
|
254
|
-
**rpm_package_href** | **String
|
255
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
256
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
302
|
+
| Name | Type | Description | Notes |
|
303
|
+
| ---- | ---- | ----------- | ----- |
|
304
|
+
| **rpm_package_href** | **String** | | |
|
305
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
306
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
257
307
|
|
258
308
|
### Return type
|
259
309
|
|