pulp_deb_client 3.5.0 → 3.5.1
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/AptRepositorySyncURL.md +12 -11
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContentGenericContentsApi.md +114 -64
- data/docs/ContentInstallerFileIndicesApi.md +111 -61
- data/docs/ContentInstallerPackagesApi.md +130 -80
- data/docs/ContentPackageIndicesApi.md +111 -61
- data/docs/ContentPackageReleaseComponentsApi.md +111 -61
- data/docs/ContentPackagesApi.md +144 -94
- data/docs/ContentReleaseArchitecturesApi.md +109 -59
- data/docs/ContentReleaseComponentsApi.md +110 -60
- data/docs/ContentReleaseFilesApi.md +111 -61
- data/docs/ContentReleasesApi.md +114 -64
- data/docs/ContentSourceIndicesApi.md +110 -60
- data/docs/ContentSourcePackagesApi.md +137 -87
- data/docs/ContentSourceReleaseComponentsApi.md +111 -61
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/Copy.md +12 -11
- data/docs/DebAptDistribution.md +20 -19
- data/docs/DebAptDistributionResponse.md +32 -31
- data/docs/DebAptPublication.md +18 -17
- data/docs/DebAptPublicationResponse.md +26 -25
- data/docs/DebAptRemote.md +64 -63
- data/docs/DebAptRemoteResponse.md +64 -63
- data/docs/DebAptRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/DebAptRepository.md +22 -21
- data/docs/DebAptRepositoryResponse.md +34 -33
- data/docs/DebCopyApi.md +30 -14
- data/docs/DebGenericContentResponse.md +30 -29
- data/docs/DebInstallerFileIndex.md +16 -15
- data/docs/DebInstallerFileIndexResponse.md +22 -21
- data/docs/DebInstallerPackageResponse.md +88 -87
- data/docs/DebPackageIndex.md +16 -15
- data/docs/DebPackageIndexResponse.md +22 -21
- data/docs/DebPackageReleaseComponent.md +12 -11
- data/docs/DebPackageReleaseComponentResponse.md +18 -17
- data/docs/DebPackageResponse.md +92 -91
- data/docs/DebRelease.md +26 -25
- data/docs/DebReleaseArchitecture.md +12 -11
- data/docs/DebReleaseArchitectureResponse.md +18 -17
- data/docs/DebReleaseComponent.md +12 -11
- data/docs/DebReleaseComponentResponse.md +20 -19
- data/docs/DebReleaseFile.md +18 -17
- data/docs/DebReleaseFileResponse.md +24 -23
- data/docs/DebReleaseResponse.md +32 -31
- data/docs/DebSourceIndex.md +16 -15
- data/docs/DebSourceIndexResponse.md +22 -21
- data/docs/DebSourcePackage.md +12 -11
- data/docs/DebSourcePackageReleaseComponent.md +12 -11
- data/docs/DebSourcePackageReleaseComponentResponse.md +18 -17
- data/docs/DebSourcePackageResponse.md +74 -73
- data/docs/DebVerbatimPublication.md +10 -9
- data/docs/DebVerbatimPublicationResponse.md +18 -17
- data/docs/DistributionsAptApi.md +385 -182
- 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/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginateddebAptDistributionResponseList.md +14 -13
- data/docs/PaginateddebAptPublicationResponseList.md +14 -13
- data/docs/PaginateddebAptRemoteResponseList.md +14 -13
- data/docs/PaginateddebAptRepositoryResponseList.md +14 -13
- data/docs/PaginateddebGenericContentResponseList.md +14 -13
- data/docs/PaginateddebInstallerFileIndexResponseList.md +14 -13
- data/docs/PaginateddebInstallerPackageResponseList.md +14 -13
- data/docs/PaginateddebPackageIndexResponseList.md +14 -13
- data/docs/PaginateddebPackageReleaseComponentResponseList.md +14 -13
- data/docs/PaginateddebPackageResponseList.md +14 -13
- data/docs/PaginateddebReleaseArchitectureResponseList.md +14 -13
- data/docs/PaginateddebReleaseComponentResponseList.md +14 -13
- data/docs/PaginateddebReleaseFileResponseList.md +14 -13
- data/docs/PaginateddebReleaseResponseList.md +14 -13
- data/docs/PaginateddebSourceIndexResponseList.md +14 -13
- data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +14 -13
- data/docs/PaginateddebSourcePackageResponseList.md +14 -13
- data/docs/PaginateddebVerbatimPublicationResponseList.md +14 -13
- data/docs/PatcheddebAptDistribution.md +20 -19
- data/docs/PatcheddebAptRemote.md +64 -63
- data/docs/PatcheddebAptRepository.md +22 -21
- data/docs/PolicyEnum.md +4 -5
- data/docs/PublicationsAptApi.md +267 -130
- data/docs/PublicationsVerbatimApi.md +267 -130
- data/docs/RemotesAptApi.md +389 -184
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesAptApi.md +444 -207
- data/docs/RepositoriesAptVersionsApi.md +152 -82
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +20 -22
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_packages_api.rb +20 -22
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_release_components_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_release_files_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_releases_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +20 -14
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +20 -14
- data/lib/pulp_deb_client/api/deb_copy_api.rb +10 -6
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +89 -56
- data/lib/pulp_deb_client/api/publications_apt_api.rb +67 -47
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +67 -47
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +104 -68
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +107 -66
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +40 -30
- data/lib/pulp_deb_client/api_client.rb +137 -102
- data/lib/pulp_deb_client/api_error.rb +2 -1
- data/lib/pulp_deb_client/configuration.rb +162 -21
- data/lib/pulp_deb_client/models/apt_repository_sync_url.rb +30 -22
- data/lib/pulp_deb_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_deb_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_deb_client/models/copy.rb +34 -28
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +34 -22
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +36 -24
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +30 -22
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +32 -24
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +58 -22
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +61 -25
- data/lib/pulp_deb_client/models/{deb_apt_remote_response_hidden_fields.rb → deb_apt_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +32 -22
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +34 -24
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +34 -24
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +41 -23
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +38 -24
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +32 -24
- data/lib/pulp_deb_client/models/deb_package_index.rb +47 -25
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +34 -24
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +34 -22
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +36 -24
- data/lib/pulp_deb_client/models/deb_package_response.rb +32 -24
- data/lib/pulp_deb_client/models/deb_release.rb +36 -22
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +34 -22
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +36 -24
- data/lib/pulp_deb_client/models/deb_release_component.rb +34 -22
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +36 -24
- data/lib/pulp_deb_client/models/deb_release_file.rb +49 -25
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +36 -24
- data/lib/pulp_deb_client/models/deb_release_response.rb +38 -24
- data/lib/pulp_deb_client/models/deb_source_index.rb +41 -23
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +38 -24
- data/lib/pulp_deb_client/models/deb_source_package.rb +37 -23
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +34 -22
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +36 -24
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +34 -24
- data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +30 -22
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +32 -24
- data/lib/pulp_deb_client/models/my_permissions_response.rb +32 -22
- data/lib/pulp_deb_client/models/nested_role.rb +32 -22
- data/lib/pulp_deb_client/models/nested_role_response.rb +32 -22
- data/lib/pulp_deb_client/models/object_roles_response.rb +32 -22
- data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +40 -24
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +67 -25
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +35 -23
- data/lib/pulp_deb_client/models/policy_enum.rb +8 -4
- data/lib/pulp_deb_client/models/repair.rb +30 -22
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +30 -22
- data/lib/pulp_deb_client/models/repository_version_response.rb +32 -24
- data/lib/pulp_deb_client/models/set_label.rb +34 -22
- data/lib/pulp_deb_client/models/set_label_response.rb +34 -22
- data/lib/pulp_deb_client/models/unset_label.rb +32 -22
- data/lib/pulp_deb_client/models/unset_label_response.rb +32 -22
- data/lib/pulp_deb_client/version.rb +2 -2
- data/lib/pulp_deb_client.rb +2 -5
- data/pulp_deb_client.gemspec +9 -6
- data/spec/api/content_generic_contents_api_spec.rb +4 -4
- data/spec/api/content_installer_file_indices_api_spec.rb +4 -4
- data/spec/api/content_installer_packages_api_spec.rb +4 -4
- data/spec/api/content_package_indices_api_spec.rb +4 -4
- data/spec/api/content_package_release_components_api_spec.rb +4 -4
- data/spec/api/content_packages_api_spec.rb +4 -4
- data/spec/api/content_release_architectures_api_spec.rb +4 -4
- data/spec/api/content_release_components_api_spec.rb +4 -4
- data/spec/api/content_release_files_api_spec.rb +4 -4
- data/spec/api/content_releases_api_spec.rb +4 -4
- data/spec/api/content_source_indices_api_spec.rb +4 -4
- data/spec/api/content_source_packages_api_spec.rb +4 -4
- data/spec/api/content_source_release_components_api_spec.rb +4 -4
- data/spec/api/deb_copy_api_spec.rb +2 -2
- data/spec/api/distributions_apt_api_spec.rb +13 -13
- data/spec/api/publications_apt_api_spec.rb +16 -15
- data/spec/api/publications_verbatim_api_spec.rb +16 -15
- data/spec/api/remotes_apt_api_spec.rb +20 -19
- data/spec/api/repositories_apt_api_spec.rb +15 -15
- data/spec/api/repositories_apt_versions_api_spec.rb +12 -11
- data/spec/models/apt_repository_sync_url_spec.rb +9 -14
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/copy_spec.rb +9 -14
- data/spec/models/deb_apt_distribution_response_spec.rb +19 -24
- data/spec/models/deb_apt_distribution_spec.rb +13 -18
- data/spec/models/deb_apt_publication_response_spec.rb +16 -21
- data/spec/models/deb_apt_publication_spec.rb +12 -17
- data/spec/models/{deb_apt_remote_response_hidden_fields_spec.rb → deb_apt_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/deb_apt_remote_response_spec.rb +35 -40
- data/spec/models/deb_apt_remote_spec.rb +35 -40
- data/spec/models/deb_apt_repository_response_spec.rb +20 -25
- data/spec/models/deb_apt_repository_spec.rb +14 -19
- data/spec/models/deb_generic_content_response_spec.rb +18 -23
- data/spec/models/deb_installer_file_index_response_spec.rb +14 -19
- data/spec/models/deb_installer_file_index_spec.rb +11 -16
- data/spec/models/deb_installer_package_response_spec.rb +47 -52
- data/spec/models/deb_package_index_response_spec.rb +14 -19
- data/spec/models/deb_package_index_spec.rb +11 -16
- data/spec/models/deb_package_release_component_response_spec.rb +12 -17
- data/spec/models/deb_package_release_component_spec.rb +9 -14
- data/spec/models/deb_package_response_spec.rb +49 -54
- data/spec/models/deb_release_architecture_response_spec.rb +12 -17
- data/spec/models/deb_release_architecture_spec.rb +9 -14
- data/spec/models/deb_release_component_response_spec.rb +13 -18
- data/spec/models/deb_release_component_spec.rb +9 -14
- data/spec/models/deb_release_file_response_spec.rb +15 -20
- data/spec/models/deb_release_file_spec.rb +12 -17
- data/spec/models/deb_release_response_spec.rb +19 -24
- data/spec/models/deb_release_spec.rb +16 -21
- data/spec/models/deb_source_index_response_spec.rb +14 -19
- data/spec/models/deb_source_index_spec.rb +11 -16
- data/spec/models/deb_source_package_release_component_response_spec.rb +12 -17
- data/spec/models/deb_source_package_release_component_spec.rb +9 -14
- data/spec/models/deb_source_package_response_spec.rb +40 -45
- data/spec/models/deb_source_package_spec.rb +9 -14
- data/spec/models/deb_verbatim_publication_response_spec.rb +12 -17
- data/spec/models/deb_verbatim_publication_spec.rb +8 -13
- 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/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_apt_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_apt_publication_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_apt_remote_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_apt_repository_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_generic_content_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_installer_file_index_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_installer_package_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_package_index_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_package_release_component_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_package_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_release_architecture_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_release_component_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_release_file_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_release_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_source_index_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_source_package_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_verbatim_publication_response_list_spec.rb +10 -15
- data/spec/models/patcheddeb_apt_distribution_spec.rb +13 -18
- data/spec/models/patcheddeb_apt_remote_spec.rb +35 -40
- data/spec/models/patcheddeb_apt_repository_spec.rb +14 -19
- data/spec/models/policy_enum_spec.rb +6 -11
- 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/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/spec_helper.rb +1 -1
- metadata +115 -103
- data/docs/DebAptRemoteResponseHiddenFields.md +0 -19
- data/docs/DebGenericContent.md +0 -27
- data/docs/DebInstallerPackage.md +0 -27
- data/docs/DebPackage.md +0 -31
- data/lib/pulp_deb_client/models/deb_generic_content.rb +0 -297
- data/lib/pulp_deb_client/models/deb_installer_package.rb +0 -288
- data/lib/pulp_deb_client/models/deb_package.rb +0 -338
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/deb_generic_content_spec.rb +0 -71
- data/spec/models/deb_installer_package_spec.rb +0 -71
- data/spec/models/deb_package_spec.rb +0 -83
@@ -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**](ContentReleaseArchitecturesApi.md#create) | **POST** /pulp/api/v3/content/deb/release_architectures/ | Create a release architecture
|
8
|
-
[**list**](ContentReleaseArchitecturesApi.md#list) | **GET** /pulp/api/v3/content/deb/release_architectures/ | List release architectures
|
9
|
-
[**read**](ContentReleaseArchitecturesApi.md#read) | **GET** {deb_release_architecture_href} | Inspect a release architecture
|
10
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**create**](ContentReleaseArchitecturesApi.md#create) | **POST** /pulp/api/v3/content/deb/release_architectures/ | Create a release architecture |
|
8
|
+
| [**list**](ContentReleaseArchitecturesApi.md#list) | **GET** /pulp/api/v3/content/deb/release_architectures/ | List release architectures |
|
9
|
+
| [**read**](ContentReleaseArchitecturesApi.md#read) | **GET** {deb_release_architecture_href} | Inspect a release architecture |
|
11
10
|
|
12
11
|
|
13
12
|
## create
|
14
13
|
|
15
|
-
> AsyncOperationResponse create(deb_release_architecture)
|
14
|
+
> <AsyncOperationResponse> create(deb_release_architecture)
|
16
15
|
|
17
16
|
Create a release architecture
|
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_deb_client'
|
26
25
|
# setup authorization
|
27
26
|
PulpDebClient.configure do |config|
|
@@ -31,23 +30,40 @@ PulpDebClient.configure do |config|
|
|
31
30
|
end
|
32
31
|
|
33
32
|
api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
34
|
-
deb_release_architecture = PulpDebClient::DebReleaseArchitecture.new # DebReleaseArchitecture |
|
33
|
+
deb_release_architecture = PulpDebClient::DebReleaseArchitecture.new({architecture: 'architecture_example', distribution: 'distribution_example'}) # DebReleaseArchitecture |
|
35
34
|
|
36
35
|
begin
|
37
|
-
#Create a release architecture
|
36
|
+
# Create a release architecture
|
38
37
|
result = api_instance.create(deb_release_architecture)
|
39
38
|
p result
|
40
39
|
rescue PulpDebClient::ApiError => e
|
41
|
-
puts "
|
40
|
+
puts "Error when calling ContentReleaseArchitecturesApi->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(deb_release_architecture)
|
49
|
+
|
50
|
+
```ruby
|
51
|
+
begin
|
52
|
+
# Create a release architecture
|
53
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_release_architecture)
|
54
|
+
p status_code # => 2xx
|
55
|
+
p headers # => { ... }
|
56
|
+
p data # => <AsyncOperationResponse>
|
57
|
+
rescue PulpDebClient::ApiError => e
|
58
|
+
puts "Error when calling ContentReleaseArchitecturesApi->create_with_http_info: #{e}"
|
59
|
+
end
|
60
|
+
```
|
46
61
|
|
62
|
+
### Parameters
|
47
63
|
|
48
|
-
Name | Type | Description
|
49
|
-
|
50
|
-
**deb_release_architecture** | [**DebReleaseArchitecture**](DebReleaseArchitecture.md)| |
|
64
|
+
| Name | Type | Description | Notes |
|
65
|
+
| ---- | ---- | ----------- | ----- |
|
66
|
+
| **deb_release_architecture** | [**DebReleaseArchitecture**](DebReleaseArchitecture.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
|
-
> PaginateddebReleaseArchitectureResponseList list(opts)
|
84
|
+
> <PaginateddebReleaseArchitectureResponseList> list(opts)
|
69
85
|
|
70
86
|
List release architectures
|
71
87
|
|
72
88
|
A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
73
89
|
|
74
|
-
###
|
90
|
+
### Examples
|
75
91
|
|
76
92
|
```ruby
|
77
|
-
|
93
|
+
require 'time'
|
78
94
|
require 'pulp_deb_client'
|
79
95
|
# setup authorization
|
80
96
|
PulpDebClient.configure do |config|
|
@@ -89,48 +105,65 @@ opts = {
|
|
89
105
|
distribution: 'distribution_example', # String | Filter results where distribution matches value
|
90
106
|
limit: 56, # Integer | Number of results to return per page.
|
91
107
|
offset: 56, # Integer | The initial index from which to return the results.
|
92
|
-
ordering: ['
|
93
|
-
orphaned_for:
|
94
|
-
prn__in: ['
|
95
|
-
pulp_href__in: ['
|
96
|
-
pulp_id__in: ['
|
108
|
+
ordering: ['-architecture'], # 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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
109
|
+
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
110
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
111
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
112
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
97
113
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
98
114
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
99
115
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
100
116
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
|
101
|
-
fields: ['
|
102
|
-
exclude_fields: ['
|
117
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
118
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
103
119
|
}
|
104
120
|
|
105
121
|
begin
|
106
|
-
#List release architectures
|
122
|
+
# List release architectures
|
107
123
|
result = api_instance.list(opts)
|
108
124
|
p result
|
109
125
|
rescue PulpDebClient::ApiError => e
|
110
|
-
puts "
|
126
|
+
puts "Error when calling ContentReleaseArchitecturesApi->list: #{e}"
|
111
127
|
end
|
112
128
|
```
|
113
129
|
|
114
|
-
|
130
|
+
#### Using the list_with_http_info variant
|
115
131
|
|
132
|
+
This returns an Array which contains the response data, status code and headers.
|
116
133
|
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
+
> <Array(<PaginateddebReleaseArchitectureResponseList>, Integer, Hash)> list_with_http_info(opts)
|
135
|
+
|
136
|
+
```ruby
|
137
|
+
begin
|
138
|
+
# List release architectures
|
139
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
140
|
+
p status_code # => 2xx
|
141
|
+
p headers # => { ... }
|
142
|
+
p data # => <PaginateddebReleaseArchitectureResponseList>
|
143
|
+
rescue PulpDebClient::ApiError => e
|
144
|
+
puts "Error when calling ContentReleaseArchitecturesApi->list_with_http_info: #{e}"
|
145
|
+
end
|
146
|
+
```
|
147
|
+
|
148
|
+
### Parameters
|
149
|
+
|
150
|
+
| Name | Type | Description | Notes |
|
151
|
+
| ---- | ---- | ----------- | ----- |
|
152
|
+
| **architecture** | **String** | Filter results where architecture matches value | [optional] |
|
153
|
+
| **distribution** | **String** | Filter results where distribution matches value | [optional] |
|
154
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
155
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
156
|
+
| **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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
157
|
+
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
158
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
159
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
160
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
161
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
162
|
+
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
163
|
+
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
164
|
+
| **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
165
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
166
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
134
167
|
|
135
168
|
### Return type
|
136
169
|
|
@@ -148,16 +181,16 @@ Name | Type | Description | Notes
|
|
148
181
|
|
149
182
|
## read
|
150
183
|
|
151
|
-
> DebReleaseArchitectureResponse read(deb_release_architecture_href, opts)
|
184
|
+
> <DebReleaseArchitectureResponse> read(deb_release_architecture_href, opts)
|
152
185
|
|
153
186
|
Inspect a release architecture
|
154
187
|
|
155
188
|
A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
|
156
189
|
|
157
|
-
###
|
190
|
+
### Examples
|
158
191
|
|
159
192
|
```ruby
|
160
|
-
|
193
|
+
require 'time'
|
161
194
|
require 'pulp_deb_client'
|
162
195
|
# setup authorization
|
163
196
|
PulpDebClient.configure do |config|
|
@@ -169,27 +202,44 @@ end
|
|
169
202
|
api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
170
203
|
deb_release_architecture_href = 'deb_release_architecture_href_example' # String |
|
171
204
|
opts = {
|
172
|
-
fields: ['
|
173
|
-
exclude_fields: ['
|
205
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
206
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
174
207
|
}
|
175
208
|
|
176
209
|
begin
|
177
|
-
#Inspect a release architecture
|
210
|
+
# Inspect a release architecture
|
178
211
|
result = api_instance.read(deb_release_architecture_href, opts)
|
179
212
|
p result
|
180
213
|
rescue PulpDebClient::ApiError => e
|
181
|
-
puts "
|
214
|
+
puts "Error when calling ContentReleaseArchitecturesApi->read: #{e}"
|
182
215
|
end
|
183
216
|
```
|
184
217
|
|
185
|
-
|
218
|
+
#### Using the read_with_http_info variant
|
219
|
+
|
220
|
+
This returns an Array which contains the response data, status code and headers.
|
221
|
+
|
222
|
+
> <Array(<DebReleaseArchitectureResponse>, Integer, Hash)> read_with_http_info(deb_release_architecture_href, opts)
|
186
223
|
|
224
|
+
```ruby
|
225
|
+
begin
|
226
|
+
# Inspect a release architecture
|
227
|
+
data, status_code, headers = api_instance.read_with_http_info(deb_release_architecture_href, opts)
|
228
|
+
p status_code # => 2xx
|
229
|
+
p headers # => { ... }
|
230
|
+
p data # => <DebReleaseArchitectureResponse>
|
231
|
+
rescue PulpDebClient::ApiError => e
|
232
|
+
puts "Error when calling ContentReleaseArchitecturesApi->read_with_http_info: #{e}"
|
233
|
+
end
|
234
|
+
```
|
235
|
+
|
236
|
+
### Parameters
|
187
237
|
|
188
|
-
Name | Type | Description
|
189
|
-
|
190
|
-
**deb_release_architecture_href** | **String
|
191
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
192
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
238
|
+
| Name | Type | Description | Notes |
|
239
|
+
| ---- | ---- | ----------- | ----- |
|
240
|
+
| **deb_release_architecture_href** | **String** | | |
|
241
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
242
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
193
243
|
|
194
244
|
### Return type
|
195
245
|
|
@@ -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**](ContentReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/release_components/ | Create a release component
|
8
|
-
[**list**](ContentReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/release_components/ | List release components
|
9
|
-
[**read**](ContentReleaseComponentsApi.md#read) | **GET** {deb_release_component_href} | Inspect a release component
|
10
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**create**](ContentReleaseComponentsApi.md#create) | **POST** /pulp/api/v3/content/deb/release_components/ | Create a release component |
|
8
|
+
| [**list**](ContentReleaseComponentsApi.md#list) | **GET** /pulp/api/v3/content/deb/release_components/ | List release components |
|
9
|
+
| [**read**](ContentReleaseComponentsApi.md#read) | **GET** {deb_release_component_href} | Inspect a release component |
|
11
10
|
|
12
11
|
|
13
12
|
## create
|
14
13
|
|
15
|
-
> AsyncOperationResponse create(deb_release_component)
|
14
|
+
> <AsyncOperationResponse> create(deb_release_component)
|
16
15
|
|
17
16
|
Create a release component
|
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_deb_client'
|
26
25
|
# setup authorization
|
27
26
|
PulpDebClient.configure do |config|
|
@@ -31,23 +30,40 @@ PulpDebClient.configure do |config|
|
|
31
30
|
end
|
32
31
|
|
33
32
|
api_instance = PulpDebClient::ContentReleaseComponentsApi.new
|
34
|
-
deb_release_component = PulpDebClient::DebReleaseComponent.new # DebReleaseComponent |
|
33
|
+
deb_release_component = PulpDebClient::DebReleaseComponent.new({component: 'component_example', distribution: 'distribution_example'}) # DebReleaseComponent |
|
35
34
|
|
36
35
|
begin
|
37
|
-
#Create a release component
|
36
|
+
# Create a release component
|
38
37
|
result = api_instance.create(deb_release_component)
|
39
38
|
p result
|
40
39
|
rescue PulpDebClient::ApiError => e
|
41
|
-
puts "
|
40
|
+
puts "Error when calling ContentReleaseComponentsApi->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(deb_release_component)
|
49
|
+
|
50
|
+
```ruby
|
51
|
+
begin
|
52
|
+
# Create a release component
|
53
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_release_component)
|
54
|
+
p status_code # => 2xx
|
55
|
+
p headers # => { ... }
|
56
|
+
p data # => <AsyncOperationResponse>
|
57
|
+
rescue PulpDebClient::ApiError => e
|
58
|
+
puts "Error when calling ContentReleaseComponentsApi->create_with_http_info: #{e}"
|
59
|
+
end
|
60
|
+
```
|
46
61
|
|
62
|
+
### Parameters
|
47
63
|
|
48
|
-
Name | Type | Description
|
49
|
-
|
50
|
-
**deb_release_component** | [**DebReleaseComponent**](DebReleaseComponent.md)| |
|
64
|
+
| Name | Type | Description | Notes |
|
65
|
+
| ---- | ---- | ----------- | ----- |
|
66
|
+
| **deb_release_component** | [**DebReleaseComponent**](DebReleaseComponent.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
|
-
> PaginateddebReleaseComponentResponseList list(opts)
|
84
|
+
> <PaginateddebReleaseComponentResponseList> list(opts)
|
69
85
|
|
70
86
|
List release components
|
71
87
|
|
72
88
|
A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
|
73
89
|
|
74
|
-
###
|
90
|
+
### Examples
|
75
91
|
|
76
92
|
```ruby
|
77
|
-
|
93
|
+
require 'time'
|
78
94
|
require 'pulp_deb_client'
|
79
95
|
# setup authorization
|
80
96
|
PulpDebClient.configure do |config|
|
@@ -89,50 +105,67 @@ opts = {
|
|
89
105
|
distribution: 'distribution_example', # String | Filter results where distribution matches value
|
90
106
|
limit: 56, # Integer | Number of results to return per page.
|
91
107
|
offset: 56, # Integer | The initial index from which to return the results.
|
92
|
-
ordering: ['
|
93
|
-
orphaned_for:
|
108
|
+
ordering: ['-component'], # 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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
109
|
+
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
94
110
|
package: 'package_example', # String | Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where ReleaseComponent contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
95
|
-
prn__in: ['
|
96
|
-
pulp_href__in: ['
|
97
|
-
pulp_id__in: ['
|
111
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
112
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
113
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
98
114
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
99
115
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
100
116
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
101
117
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
|
102
|
-
fields: ['
|
103
|
-
exclude_fields: ['
|
118
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
119
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
104
120
|
}
|
105
121
|
|
106
122
|
begin
|
107
|
-
#List release components
|
123
|
+
# List release components
|
108
124
|
result = api_instance.list(opts)
|
109
125
|
p result
|
110
126
|
rescue PulpDebClient::ApiError => e
|
111
|
-
puts "
|
127
|
+
puts "Error when calling ContentReleaseComponentsApi->list: #{e}"
|
112
128
|
end
|
113
129
|
```
|
114
130
|
|
115
|
-
|
131
|
+
#### Using the list_with_http_info variant
|
116
132
|
|
133
|
+
This returns an Array which contains the response data, status code and headers.
|
117
134
|
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
135
|
+
> <Array(<PaginateddebReleaseComponentResponseList>, Integer, Hash)> list_with_http_info(opts)
|
136
|
+
|
137
|
+
```ruby
|
138
|
+
begin
|
139
|
+
# List release components
|
140
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
141
|
+
p status_code # => 2xx
|
142
|
+
p headers # => { ... }
|
143
|
+
p data # => <PaginateddebReleaseComponentResponseList>
|
144
|
+
rescue PulpDebClient::ApiError => e
|
145
|
+
puts "Error when calling ContentReleaseComponentsApi->list_with_http_info: #{e}"
|
146
|
+
end
|
147
|
+
```
|
148
|
+
|
149
|
+
### Parameters
|
150
|
+
|
151
|
+
| Name | Type | Description | Notes |
|
152
|
+
| ---- | ---- | ----------- | ----- |
|
153
|
+
| **component** | **String** | Filter results where component matches value | [optional] |
|
154
|
+
| **distribution** | **String** | Filter results where distribution matches value | [optional] |
|
155
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
156
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
157
|
+
| **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) * `distribution` - Distribution * `-distribution` - Distribution (descending) * `component` - Component * `-component` - Component (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
158
|
+
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
159
|
+
| **package** | **String** | Must be a comma-separated string: \"package_href,repository_or_repository_version_href\" package_href: Filter results where ReleaseComponent contains Package repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional] |
|
160
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
161
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
162
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
163
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
164
|
+
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
165
|
+
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
166
|
+
| **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
167
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
168
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
136
169
|
|
137
170
|
### Return type
|
138
171
|
|
@@ -150,16 +183,16 @@ Name | Type | Description | Notes
|
|
150
183
|
|
151
184
|
## read
|
152
185
|
|
153
|
-
> DebReleaseComponentResponse read(deb_release_component_href, opts)
|
186
|
+
> <DebReleaseComponentResponse> read(deb_release_component_href, opts)
|
154
187
|
|
155
188
|
Inspect a release component
|
156
189
|
|
157
190
|
A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
|
158
191
|
|
159
|
-
###
|
192
|
+
### Examples
|
160
193
|
|
161
194
|
```ruby
|
162
|
-
|
195
|
+
require 'time'
|
163
196
|
require 'pulp_deb_client'
|
164
197
|
# setup authorization
|
165
198
|
PulpDebClient.configure do |config|
|
@@ -171,27 +204,44 @@ end
|
|
171
204
|
api_instance = PulpDebClient::ContentReleaseComponentsApi.new
|
172
205
|
deb_release_component_href = 'deb_release_component_href_example' # String |
|
173
206
|
opts = {
|
174
|
-
fields: ['
|
175
|
-
exclude_fields: ['
|
207
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
208
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
176
209
|
}
|
177
210
|
|
178
211
|
begin
|
179
|
-
#Inspect a release component
|
212
|
+
# Inspect a release component
|
180
213
|
result = api_instance.read(deb_release_component_href, opts)
|
181
214
|
p result
|
182
215
|
rescue PulpDebClient::ApiError => e
|
183
|
-
puts "
|
216
|
+
puts "Error when calling ContentReleaseComponentsApi->read: #{e}"
|
184
217
|
end
|
185
218
|
```
|
186
219
|
|
187
|
-
|
220
|
+
#### Using the read_with_http_info variant
|
221
|
+
|
222
|
+
This returns an Array which contains the response data, status code and headers.
|
223
|
+
|
224
|
+
> <Array(<DebReleaseComponentResponse>, Integer, Hash)> read_with_http_info(deb_release_component_href, opts)
|
188
225
|
|
226
|
+
```ruby
|
227
|
+
begin
|
228
|
+
# Inspect a release component
|
229
|
+
data, status_code, headers = api_instance.read_with_http_info(deb_release_component_href, opts)
|
230
|
+
p status_code # => 2xx
|
231
|
+
p headers # => { ... }
|
232
|
+
p data # => <DebReleaseComponentResponse>
|
233
|
+
rescue PulpDebClient::ApiError => e
|
234
|
+
puts "Error when calling ContentReleaseComponentsApi->read_with_http_info: #{e}"
|
235
|
+
end
|
236
|
+
```
|
237
|
+
|
238
|
+
### Parameters
|
189
239
|
|
190
|
-
Name | Type | Description
|
191
|
-
|
192
|
-
**deb_release_component_href** | **String
|
193
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
194
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
240
|
+
| Name | Type | Description | Notes |
|
241
|
+
| ---- | ---- | ----------- | ----- |
|
242
|
+
| **deb_release_component_href** | **String** | | |
|
243
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
244
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
195
245
|
|
196
246
|
### Return type
|
197
247
|
|