pulp_rpm_client 3.27.2 → 3.28.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 +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 +82 -44
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +68 -25
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +92 -46
- 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 +76 -42
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +79 -45
- 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 +80 -42
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +79 -45
- 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 +124 -112
- 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,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**](ContentModulemdObsoletesApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemd_obsoletes/ | Create a modulemd obsolete
|
8
|
-
[**list**](ContentModulemdObsoletesApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemd_obsoletes/ | List modulemd obsoletes
|
9
|
-
[**read**](ContentModulemdObsoletesApi.md#read) | **GET** {rpm_modulemd_obsolete_href} | Inspect a modulemd obsolete
|
10
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**create**](ContentModulemdObsoletesApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemd_obsoletes/ | Create a modulemd obsolete |
|
8
|
+
| [**list**](ContentModulemdObsoletesApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemd_obsoletes/ | List modulemd obsoletes |
|
9
|
+
| [**read**](ContentModulemdObsoletesApi.md#read) | **GET** {rpm_modulemd_obsolete_href} | Inspect a modulemd obsolete |
|
11
10
|
|
12
11
|
|
13
12
|
## create
|
14
13
|
|
15
|
-
> AsyncOperationResponse create(rpm_modulemd_obsolete)
|
14
|
+
> <AsyncOperationResponse> create(rpm_modulemd_obsolete)
|
16
15
|
|
17
16
|
Create a modulemd obsolete
|
18
17
|
|
19
18
|
Trigger an asynchronous task to create content,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|
|
@@ -31,23 +30,40 @@ PulpRpmClient.configure do |config|
|
|
31
30
|
end
|
32
31
|
|
33
32
|
api_instance = PulpRpmClient::ContentModulemdObsoletesApi.new
|
34
|
-
rpm_modulemd_obsolete = PulpRpmClient::RpmModulemdObsolete.new # RpmModulemdObsolete |
|
33
|
+
rpm_modulemd_obsolete = PulpRpmClient::RpmModulemdObsolete.new({modified: 'modified_example', module_name: 'module_name_example', module_stream: 'module_stream_example', message: 'message_example', override_previous: 'override_previous_example', module_context: 'module_context_example', eol_date: 'eol_date_example', obsoleted_by_module_name: 'obsoleted_by_module_name_example', obsoleted_by_module_stream: 'obsoleted_by_module_stream_example', snippet: 'snippet_example'}) # RpmModulemdObsolete |
|
35
34
|
|
36
35
|
begin
|
37
|
-
#Create a modulemd obsolete
|
36
|
+
# Create a modulemd obsolete
|
38
37
|
result = api_instance.create(rpm_modulemd_obsolete)
|
39
38
|
p result
|
40
39
|
rescue PulpRpmClient::ApiError => e
|
41
|
-
puts "
|
40
|
+
puts "Error when calling ContentModulemdObsoletesApi->create: #{e}"
|
42
41
|
end
|
43
42
|
```
|
44
43
|
|
45
|
-
|
44
|
+
#### Using the create_with_http_info variant
|
45
|
+
|
46
|
+
This returns an Array which contains the response data, status code and headers.
|
47
|
+
|
48
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(rpm_modulemd_obsolete)
|
49
|
+
|
50
|
+
```ruby
|
51
|
+
begin
|
52
|
+
# Create a modulemd obsolete
|
53
|
+
data, status_code, headers = api_instance.create_with_http_info(rpm_modulemd_obsolete)
|
54
|
+
p status_code # => 2xx
|
55
|
+
p headers # => { ... }
|
56
|
+
p data # => <AsyncOperationResponse>
|
57
|
+
rescue PulpRpmClient::ApiError => e
|
58
|
+
puts "Error when calling ContentModulemdObsoletesApi->create_with_http_info: #{e}"
|
59
|
+
end
|
60
|
+
```
|
46
61
|
|
62
|
+
### Parameters
|
47
63
|
|
48
|
-
Name | Type | Description
|
49
|
-
|
50
|
-
**rpm_modulemd_obsolete** | [**RpmModulemdObsolete**](RpmModulemdObsolete.md)| |
|
64
|
+
| Name | Type | Description | Notes |
|
65
|
+
| ---- | ---- | ----------- | ----- |
|
66
|
+
| **rpm_modulemd_obsolete** | [**RpmModulemdObsolete**](RpmModulemdObsolete.md) | | |
|
51
67
|
|
52
68
|
### Return type
|
53
69
|
|
@@ -65,16 +81,16 @@ Name | Type | Description | Notes
|
|
65
81
|
|
66
82
|
## list
|
67
83
|
|
68
|
-
> PaginatedrpmModulemdObsoleteResponseList list(opts)
|
84
|
+
> <PaginatedrpmModulemdObsoleteResponseList> list(opts)
|
69
85
|
|
70
86
|
List modulemd obsoletes
|
71
87
|
|
72
88
|
ViewSet for Modulemd.
|
73
89
|
|
74
|
-
###
|
90
|
+
### Examples
|
75
91
|
|
76
92
|
```ruby
|
77
|
-
|
93
|
+
require 'time'
|
78
94
|
require 'pulp_rpm_client'
|
79
95
|
# setup authorization
|
80
96
|
PulpRpmClient.configure do |config|
|
@@ -87,46 +103,63 @@ api_instance = PulpRpmClient::ContentModulemdObsoletesApi.new
|
|
87
103
|
opts = {
|
88
104
|
limit: 56, # Integer | Number of results to return per page.
|
89
105
|
offset: 56, # Integer | The initial index from which to return the results.
|
90
|
-
ordering: ['
|
91
|
-
orphaned_for:
|
92
|
-
prn__in: ['
|
93
|
-
pulp_href__in: ['
|
94
|
-
pulp_id__in: ['
|
106
|
+
ordering: ['-pk'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
107
|
+
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
108
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
109
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
110
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
95
111
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
96
112
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
97
113
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
98
114
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
|
99
|
-
fields: ['
|
100
|
-
exclude_fields: ['
|
115
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
116
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
101
117
|
}
|
102
118
|
|
103
119
|
begin
|
104
|
-
#List modulemd obsoletes
|
120
|
+
# List modulemd obsoletes
|
105
121
|
result = api_instance.list(opts)
|
106
122
|
p result
|
107
123
|
rescue PulpRpmClient::ApiError => e
|
108
|
-
puts "
|
124
|
+
puts "Error when calling ContentModulemdObsoletesApi->list: #{e}"
|
109
125
|
end
|
110
126
|
```
|
111
127
|
|
112
|
-
|
128
|
+
#### Using the list_with_http_info variant
|
113
129
|
|
130
|
+
This returns an Array which contains the response data, status code and headers.
|
114
131
|
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
132
|
+
> <Array(<PaginatedrpmModulemdObsoleteResponseList>, Integer, Hash)> list_with_http_info(opts)
|
133
|
+
|
134
|
+
```ruby
|
135
|
+
begin
|
136
|
+
# List modulemd obsoletes
|
137
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
138
|
+
p status_code # => 2xx
|
139
|
+
p headers # => { ... }
|
140
|
+
p data # => <PaginatedrpmModulemdObsoleteResponseList>
|
141
|
+
rescue PulpRpmClient::ApiError => e
|
142
|
+
puts "Error when calling ContentModulemdObsoletesApi->list_with_http_info: #{e}"
|
143
|
+
end
|
144
|
+
```
|
145
|
+
|
146
|
+
### Parameters
|
147
|
+
|
148
|
+
| Name | Type | Description | Notes |
|
149
|
+
| ---- | ---- | ----------- | ----- |
|
150
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
151
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
152
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
153
|
+
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
154
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
155
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
156
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
157
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
158
|
+
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
159
|
+
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
160
|
+
| **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
161
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
162
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
130
163
|
|
131
164
|
### Return type
|
132
165
|
|
@@ -144,16 +177,16 @@ Name | Type | Description | Notes
|
|
144
177
|
|
145
178
|
## read
|
146
179
|
|
147
|
-
> RpmModulemdObsoleteResponse read(rpm_modulemd_obsolete_href, opts)
|
180
|
+
> <RpmModulemdObsoleteResponse> read(rpm_modulemd_obsolete_href, opts)
|
148
181
|
|
149
182
|
Inspect a modulemd obsolete
|
150
183
|
|
151
184
|
ViewSet for Modulemd.
|
152
185
|
|
153
|
-
###
|
186
|
+
### Examples
|
154
187
|
|
155
188
|
```ruby
|
156
|
-
|
189
|
+
require 'time'
|
157
190
|
require 'pulp_rpm_client'
|
158
191
|
# setup authorization
|
159
192
|
PulpRpmClient.configure do |config|
|
@@ -165,27 +198,44 @@ end
|
|
165
198
|
api_instance = PulpRpmClient::ContentModulemdObsoletesApi.new
|
166
199
|
rpm_modulemd_obsolete_href = 'rpm_modulemd_obsolete_href_example' # String |
|
167
200
|
opts = {
|
168
|
-
fields: ['
|
169
|
-
exclude_fields: ['
|
201
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
202
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
170
203
|
}
|
171
204
|
|
172
205
|
begin
|
173
|
-
#Inspect a modulemd obsolete
|
206
|
+
# Inspect a modulemd obsolete
|
174
207
|
result = api_instance.read(rpm_modulemd_obsolete_href, opts)
|
175
208
|
p result
|
176
209
|
rescue PulpRpmClient::ApiError => e
|
177
|
-
puts "
|
210
|
+
puts "Error when calling ContentModulemdObsoletesApi->read: #{e}"
|
178
211
|
end
|
179
212
|
```
|
180
213
|
|
181
|
-
|
214
|
+
#### Using the read_with_http_info variant
|
215
|
+
|
216
|
+
This returns an Array which contains the response data, status code and headers.
|
217
|
+
|
218
|
+
> <Array(<RpmModulemdObsoleteResponse>, Integer, Hash)> read_with_http_info(rpm_modulemd_obsolete_href, opts)
|
182
219
|
|
220
|
+
```ruby
|
221
|
+
begin
|
222
|
+
# Inspect a modulemd obsolete
|
223
|
+
data, status_code, headers = api_instance.read_with_http_info(rpm_modulemd_obsolete_href, opts)
|
224
|
+
p status_code # => 2xx
|
225
|
+
p headers # => { ... }
|
226
|
+
p data # => <RpmModulemdObsoleteResponse>
|
227
|
+
rescue PulpRpmClient::ApiError => e
|
228
|
+
puts "Error when calling ContentModulemdObsoletesApi->read_with_http_info: #{e}"
|
229
|
+
end
|
230
|
+
```
|
231
|
+
|
232
|
+
### Parameters
|
183
233
|
|
184
|
-
Name | Type | Description
|
185
|
-
|
186
|
-
**rpm_modulemd_obsolete_href** | **String
|
187
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
188
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
234
|
+
| Name | Type | Description | Notes |
|
235
|
+
| ---- | ---- | ----------- | ----- |
|
236
|
+
| **rpm_modulemd_obsolete_href** | **String** | | |
|
237
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
238
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
189
239
|
|
190
240
|
### Return type
|
191
241
|
|
data/docs/ContentModulemdsApi.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**](ContentModulemdsApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemds/ | Create a modulemd
|
8
|
-
[**list**](ContentModulemdsApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemds/ | List modulemds
|
9
|
-
[**read**](ContentModulemdsApi.md#read) | **GET** {rpm_modulemd_href} | Inspect a modulemd
|
10
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**create**](ContentModulemdsApi.md#create) | **POST** /pulp/api/v3/content/rpm/modulemds/ | Create a modulemd |
|
8
|
+
| [**list**](ContentModulemdsApi.md#list) | **GET** /pulp/api/v3/content/rpm/modulemds/ | List modulemds |
|
9
|
+
| [**read**](ContentModulemdsApi.md#read) | **GET** {rpm_modulemd_href} | Inspect a modulemd |
|
11
10
|
|
12
11
|
|
13
12
|
## create
|
14
13
|
|
15
|
-
> AsyncOperationResponse create(rpm_modulemd)
|
14
|
+
> <AsyncOperationResponse> create(rpm_modulemd)
|
16
15
|
|
17
16
|
Create a modulemd
|
18
17
|
|
19
18
|
Trigger an asynchronous task to create content,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|
|
@@ -31,23 +30,40 @@ PulpRpmClient.configure do |config|
|
|
31
30
|
end
|
32
31
|
|
33
32
|
api_instance = PulpRpmClient::ContentModulemdsApi.new
|
34
|
-
rpm_modulemd = PulpRpmClient::RpmModulemd.new # RpmModulemd |
|
33
|
+
rpm_modulemd = PulpRpmClient::RpmModulemd.new({name: 'name_example', stream: 'stream_example', version: 'version_example', context: 'context_example', arch: 'arch_example', artifacts: 3.56, dependencies: 3.56, snippet: 'snippet_example', profiles: 3.56, description: 'description_example'}) # RpmModulemd |
|
35
34
|
|
36
35
|
begin
|
37
|
-
#Create a modulemd
|
36
|
+
# Create a modulemd
|
38
37
|
result = api_instance.create(rpm_modulemd)
|
39
38
|
p result
|
40
39
|
rescue PulpRpmClient::ApiError => e
|
41
|
-
puts "
|
40
|
+
puts "Error when calling ContentModulemdsApi->create: #{e}"
|
42
41
|
end
|
43
42
|
```
|
44
43
|
|
45
|
-
|
44
|
+
#### Using the create_with_http_info variant
|
45
|
+
|
46
|
+
This returns an Array which contains the response data, status code and headers.
|
47
|
+
|
48
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(rpm_modulemd)
|
49
|
+
|
50
|
+
```ruby
|
51
|
+
begin
|
52
|
+
# Create a modulemd
|
53
|
+
data, status_code, headers = api_instance.create_with_http_info(rpm_modulemd)
|
54
|
+
p status_code # => 2xx
|
55
|
+
p headers # => { ... }
|
56
|
+
p data # => <AsyncOperationResponse>
|
57
|
+
rescue PulpRpmClient::ApiError => e
|
58
|
+
puts "Error when calling ContentModulemdsApi->create_with_http_info: #{e}"
|
59
|
+
end
|
60
|
+
```
|
46
61
|
|
62
|
+
### Parameters
|
47
63
|
|
48
|
-
Name | Type | Description
|
49
|
-
|
50
|
-
**rpm_modulemd** | [**RpmModulemd**](RpmModulemd.md)| |
|
64
|
+
| Name | Type | Description | Notes |
|
65
|
+
| ---- | ---- | ----------- | ----- |
|
66
|
+
| **rpm_modulemd** | [**RpmModulemd**](RpmModulemd.md) | | |
|
51
67
|
|
52
68
|
### Return type
|
53
69
|
|
@@ -65,16 +81,16 @@ Name | Type | Description | Notes
|
|
65
81
|
|
66
82
|
## list
|
67
83
|
|
68
|
-
> PaginatedrpmModulemdResponseList list(opts)
|
84
|
+
> <PaginatedrpmModulemdResponseList> list(opts)
|
69
85
|
|
70
86
|
List modulemds
|
71
87
|
|
72
88
|
ViewSet for Modulemd.
|
73
89
|
|
74
|
-
###
|
90
|
+
### Examples
|
75
91
|
|
76
92
|
```ruby
|
77
|
-
|
93
|
+
require 'time'
|
78
94
|
require 'pulp_rpm_client'
|
79
95
|
# setup authorization
|
80
96
|
PulpRpmClient.configure do |config|
|
@@ -86,69 +102,86 @@ end
|
|
86
102
|
api_instance = PulpRpmClient::ContentModulemdsApi.new
|
87
103
|
opts = {
|
88
104
|
arch: 'arch_example', # String | Filter results where arch matches value
|
89
|
-
arch__in: ['
|
105
|
+
arch__in: ['inner_example'], # Array<String> | Filter results where arch is in a comma-separated list of values
|
90
106
|
context: 'context_example', # String | Filter results where context matches value
|
91
|
-
context__in: ['
|
107
|
+
context__in: ['inner_example'], # Array<String> | Filter results where context is in a comma-separated list of values
|
92
108
|
limit: 56, # Integer | Number of results to return per page.
|
93
109
|
name: 'name_example', # String | Filter results where name matches value
|
94
|
-
name__in: ['
|
110
|
+
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
95
111
|
offset: 56, # Integer | The initial index from which to return the results.
|
96
|
-
ordering: ['
|
97
|
-
orphaned_for:
|
98
|
-
prn__in: ['
|
99
|
-
pulp_href__in: ['
|
100
|
-
pulp_id__in: ['
|
112
|
+
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) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `digest` - Digest * `-digest` - Digest (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
113
|
+
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
114
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
115
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
116
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
101
117
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
102
118
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
103
119
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
104
120
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
|
105
121
|
sha256: 'sha256_example', # String |
|
106
122
|
stream: 'stream_example', # String | Filter results where stream matches value
|
107
|
-
stream__in: ['
|
123
|
+
stream__in: ['inner_example'], # Array<String> | Filter results where stream is in a comma-separated list of values
|
108
124
|
version: 'version_example', # String | Filter results where version matches value
|
109
|
-
version__in: ['
|
110
|
-
fields: ['
|
111
|
-
exclude_fields: ['
|
125
|
+
version__in: ['inner_example'], # Array<String> | Filter results where version is in a comma-separated list of values
|
126
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
127
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
112
128
|
}
|
113
129
|
|
114
130
|
begin
|
115
|
-
#List modulemds
|
131
|
+
# List modulemds
|
116
132
|
result = api_instance.list(opts)
|
117
133
|
p result
|
118
134
|
rescue PulpRpmClient::ApiError => e
|
119
|
-
puts "
|
135
|
+
puts "Error when calling ContentModulemdsApi->list: #{e}"
|
120
136
|
end
|
121
137
|
```
|
122
138
|
|
123
|
-
|
139
|
+
#### Using the list_with_http_info variant
|
124
140
|
|
141
|
+
This returns an Array which contains the response data, status code and headers.
|
125
142
|
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
**
|
145
|
-
**
|
146
|
-
**
|
147
|
-
**
|
148
|
-
**
|
149
|
-
**
|
150
|
-
**
|
151
|
-
**
|
143
|
+
> <Array(<PaginatedrpmModulemdResponseList>, Integer, Hash)> list_with_http_info(opts)
|
144
|
+
|
145
|
+
```ruby
|
146
|
+
begin
|
147
|
+
# List modulemds
|
148
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
149
|
+
p status_code # => 2xx
|
150
|
+
p headers # => { ... }
|
151
|
+
p data # => <PaginatedrpmModulemdResponseList>
|
152
|
+
rescue PulpRpmClient::ApiError => e
|
153
|
+
puts "Error when calling ContentModulemdsApi->list_with_http_info: #{e}"
|
154
|
+
end
|
155
|
+
```
|
156
|
+
|
157
|
+
### Parameters
|
158
|
+
|
159
|
+
| Name | Type | Description | Notes |
|
160
|
+
| ---- | ---- | ----------- | ----- |
|
161
|
+
| **arch** | **String** | Filter results where arch matches value | [optional] |
|
162
|
+
| **arch__in** | [**Array<String>**](String.md) | Filter results where arch is in a comma-separated list of values | [optional] |
|
163
|
+
| **context** | **String** | Filter results where context matches value | [optional] |
|
164
|
+
| **context__in** | [**Array<String>**](String.md) | Filter results where context is in a comma-separated list of values | [optional] |
|
165
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
166
|
+
| **name** | **String** | Filter results where name matches value | [optional] |
|
167
|
+
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
168
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
169
|
+
| **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) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `digest` - Digest * `-digest` - Digest (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
170
|
+
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
171
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
172
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
173
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
174
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
175
|
+
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
176
|
+
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
177
|
+
| **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
178
|
+
| **sha256** | **String** | | [optional] |
|
179
|
+
| **stream** | **String** | Filter results where stream matches value | [optional] |
|
180
|
+
| **stream__in** | [**Array<String>**](String.md) | Filter results where stream is in a comma-separated list of values | [optional] |
|
181
|
+
| **version** | **String** | Filter results where version matches value | [optional] |
|
182
|
+
| **version__in** | [**Array<String>**](String.md) | Filter results where version is in a comma-separated list of values | [optional] |
|
183
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
184
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
152
185
|
|
153
186
|
### Return type
|
154
187
|
|
@@ -166,16 +199,16 @@ Name | Type | Description | Notes
|
|
166
199
|
|
167
200
|
## read
|
168
201
|
|
169
|
-
> RpmModulemdResponse read(rpm_modulemd_href, opts)
|
202
|
+
> <RpmModulemdResponse> read(rpm_modulemd_href, opts)
|
170
203
|
|
171
204
|
Inspect a modulemd
|
172
205
|
|
173
206
|
ViewSet for Modulemd.
|
174
207
|
|
175
|
-
###
|
208
|
+
### Examples
|
176
209
|
|
177
210
|
```ruby
|
178
|
-
|
211
|
+
require 'time'
|
179
212
|
require 'pulp_rpm_client'
|
180
213
|
# setup authorization
|
181
214
|
PulpRpmClient.configure do |config|
|
@@ -187,27 +220,44 @@ end
|
|
187
220
|
api_instance = PulpRpmClient::ContentModulemdsApi.new
|
188
221
|
rpm_modulemd_href = 'rpm_modulemd_href_example' # String |
|
189
222
|
opts = {
|
190
|
-
fields: ['
|
191
|
-
exclude_fields: ['
|
223
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
224
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
192
225
|
}
|
193
226
|
|
194
227
|
begin
|
195
|
-
#Inspect a modulemd
|
228
|
+
# Inspect a modulemd
|
196
229
|
result = api_instance.read(rpm_modulemd_href, opts)
|
197
230
|
p result
|
198
231
|
rescue PulpRpmClient::ApiError => e
|
199
|
-
puts "
|
232
|
+
puts "Error when calling ContentModulemdsApi->read: #{e}"
|
200
233
|
end
|
201
234
|
```
|
202
235
|
|
203
|
-
|
236
|
+
#### Using the read_with_http_info variant
|
237
|
+
|
238
|
+
This returns an Array which contains the response data, status code and headers.
|
239
|
+
|
240
|
+
> <Array(<RpmModulemdResponse>, Integer, Hash)> read_with_http_info(rpm_modulemd_href, opts)
|
204
241
|
|
242
|
+
```ruby
|
243
|
+
begin
|
244
|
+
# Inspect a modulemd
|
245
|
+
data, status_code, headers = api_instance.read_with_http_info(rpm_modulemd_href, opts)
|
246
|
+
p status_code # => 2xx
|
247
|
+
p headers # => { ... }
|
248
|
+
p data # => <RpmModulemdResponse>
|
249
|
+
rescue PulpRpmClient::ApiError => e
|
250
|
+
puts "Error when calling ContentModulemdsApi->read_with_http_info: #{e}"
|
251
|
+
end
|
252
|
+
```
|
253
|
+
|
254
|
+
### Parameters
|
205
255
|
|
206
|
-
Name | Type | Description
|
207
|
-
|
208
|
-
**rpm_modulemd_href** | **String
|
209
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
210
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
256
|
+
| Name | Type | Description | Notes |
|
257
|
+
| ---- | ---- | ----------- | ----- |
|
258
|
+
| **rpm_modulemd_href** | **String** | | |
|
259
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
260
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
211
261
|
|
212
262
|
### Return type
|
213
263
|
|