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**](ContentSourcePackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/source_packages/ | Create a source package
|
8
|
-
[**list**](ContentSourcePackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/source_packages/ | List source packages
|
9
|
-
[**read**](ContentSourcePackagesApi.md#read) | **GET** {deb_source_package_href} | Inspect a source package
|
10
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**create**](ContentSourcePackagesApi.md#create) | **POST** /pulp/api/v3/content/deb/source_packages/ | Create a source package |
|
8
|
+
| [**list**](ContentSourcePackagesApi.md#list) | **GET** /pulp/api/v3/content/deb/source_packages/ | List source packages |
|
9
|
+
| [**read**](ContentSourcePackagesApi.md#read) | **GET** {deb_source_package_href} | Inspect a source package |
|
11
10
|
|
12
11
|
|
13
12
|
## create
|
14
13
|
|
15
|
-
> AsyncOperationResponse create(deb_source_package)
|
14
|
+
> <AsyncOperationResponse> create(deb_source_package)
|
16
15
|
|
17
16
|
Create a source package
|
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::ContentSourcePackagesApi.new
|
34
|
-
deb_source_package = PulpDebClient::DebSourcePackage.new # DebSourcePackage |
|
33
|
+
deb_source_package = PulpDebClient::DebSourcePackage.new({artifact: 'artifact_example'}) # DebSourcePackage |
|
35
34
|
|
36
35
|
begin
|
37
|
-
#Create a source package
|
36
|
+
# Create a source package
|
38
37
|
result = api_instance.create(deb_source_package)
|
39
38
|
p result
|
40
39
|
rescue PulpDebClient::ApiError => e
|
41
|
-
puts "
|
40
|
+
puts "Error when calling ContentSourcePackagesApi->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_source_package)
|
49
|
+
|
50
|
+
```ruby
|
51
|
+
begin
|
52
|
+
# Create a source package
|
53
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_source_package)
|
54
|
+
p status_code # => 2xx
|
55
|
+
p headers # => { ... }
|
56
|
+
p data # => <AsyncOperationResponse>
|
57
|
+
rescue PulpDebClient::ApiError => e
|
58
|
+
puts "Error when calling ContentSourcePackagesApi->create_with_http_info: #{e}"
|
59
|
+
end
|
60
|
+
```
|
46
61
|
|
62
|
+
### Parameters
|
47
63
|
|
48
|
-
Name | Type | Description
|
49
|
-
|
50
|
-
**deb_source_package** | [**DebSourcePackage**](DebSourcePackage.md)| |
|
64
|
+
| Name | Type | Description | Notes |
|
65
|
+
| ---- | ---- | ----------- | ----- |
|
66
|
+
| **deb_source_package** | [**DebSourcePackage**](DebSourcePackage.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
|
-
> PaginateddebSourcePackageResponseList list(opts)
|
84
|
+
> <PaginateddebSourcePackageResponseList> list(opts)
|
69
85
|
|
70
86
|
List source packages
|
71
87
|
|
72
88
|
A Debian Source Package file represents a '.dsc' file along with its associated artifacts such as orig.tar.gz, debian.tar.gz... Associated artifacts: Exactly one '.dsc' file.
|
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|
|
@@ -99,12 +115,12 @@ opts = {
|
|
99
115
|
limit: 56, # Integer | Number of results to return per page.
|
100
116
|
maintainer: 'maintainer_example', # String | Filter results where maintainer matches value
|
101
117
|
offset: 56, # Integer | The initial index from which to return the results.
|
102
|
-
ordering: ['
|
103
|
-
orphaned_for:
|
118
|
+
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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `format` - Format * `-format` - Format (descending) * `source` - Source * `-source` - Source (descending) * `binary` - Binary * `-binary` - Binary (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `version` - Version * `-version` - Version (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `uploaders` - Uploaders * `-uploaders` - Uploaders (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `vcs_browser` - Vcs browser * `-vcs_browser` - Vcs browser (descending) * `vcs_arch` - Vcs arch * `-vcs_arch` - Vcs arch (descending) * `vcs_bzr` - Vcs bzr * `-vcs_bzr` - Vcs bzr (descending) * `vcs_cvs` - Vcs cvs * `-vcs_cvs` - Vcs cvs (descending) * `vcs_darcs` - Vcs darcs * `-vcs_darcs` - Vcs darcs (descending) * `vcs_git` - Vcs git * `-vcs_git` - Vcs git (descending) * `vcs_hg` - Vcs hg * `-vcs_hg` - Vcs hg (descending) * `vcs_mtn` - Vcs mtn * `-vcs_mtn` - Vcs mtn (descending) * `vcs_snv` - Vcs snv * `-vcs_snv` - Vcs snv (descending) * `testsuite` - Testsuite * `-testsuite` - Testsuite (descending) * `dgit` - Dgit * `-dgit` - Dgit (descending) * `standards_version` - Standards version * `-standards_version` - Standards version (descending) * `build_depends` - Build depends * `-build_depends` - Build depends (descending) * `build_depends_indep` - Build depends indep * `-build_depends_indep` - Build depends indep (descending) * `build_depends_arch` - Build depends arch * `-build_depends_arch` - Build depends arch (descending) * `build_conflicts` - Build conflicts * `-build_conflicts` - Build conflicts (descending) * `build_conflicts_indep` - Build conflicts indep * `-build_conflicts_indep` - Build conflicts indep (descending) * `build_conflicts_arch` - Build conflicts arch * `-build_conflicts_arch` - Build conflicts arch (descending) * `package_list` - Package list * `-package_list` - Package list (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
119
|
+
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
104
120
|
package_list: 'package_list_example', # String | Filter results where package_list matches value
|
105
|
-
prn__in: ['
|
106
|
-
pulp_href__in: ['
|
107
|
-
pulp_id__in: ['
|
121
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
122
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
123
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
108
124
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
109
125
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
110
126
|
release: 'release_example', # String | Must be a comma-separated string: \"release_href,repository_or_repository_version_href\" release_href: Filter results where SourcePackage in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
|
@@ -126,67 +142,84 @@ opts = {
|
|
126
142
|
vcs_mtn: 'vcs_mtn_example', # String | Filter results where vcs_mtn matches value
|
127
143
|
vcs_snv: 'vcs_snv_example', # String | Filter results where vcs_snv matches value
|
128
144
|
version: 'version_example', # String | Filter results where version matches value
|
129
|
-
fields: ['
|
130
|
-
exclude_fields: ['
|
145
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
146
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
131
147
|
}
|
132
148
|
|
133
149
|
begin
|
134
|
-
#List source packages
|
150
|
+
# List source packages
|
135
151
|
result = api_instance.list(opts)
|
136
152
|
p result
|
137
153
|
rescue PulpDebClient::ApiError => e
|
138
|
-
puts "
|
154
|
+
puts "Error when calling ContentSourcePackagesApi->list: #{e}"
|
139
155
|
end
|
140
156
|
```
|
141
157
|
|
142
|
-
|
158
|
+
#### Using the list_with_http_info variant
|
143
159
|
|
160
|
+
This returns an Array which contains the response data, status code and headers.
|
144
161
|
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
**
|
164
|
-
**
|
165
|
-
**
|
166
|
-
**
|
167
|
-
**
|
168
|
-
**
|
169
|
-
**
|
170
|
-
**
|
171
|
-
**
|
172
|
-
**
|
173
|
-
**
|
174
|
-
**
|
175
|
-
**
|
176
|
-
**
|
177
|
-
**
|
178
|
-
**
|
179
|
-
**
|
180
|
-
**
|
181
|
-
**
|
182
|
-
**
|
183
|
-
**
|
184
|
-
**
|
185
|
-
**
|
186
|
-
**
|
187
|
-
**
|
188
|
-
**
|
189
|
-
**
|
162
|
+
> <Array(<PaginateddebSourcePackageResponseList>, Integer, Hash)> list_with_http_info(opts)
|
163
|
+
|
164
|
+
```ruby
|
165
|
+
begin
|
166
|
+
# List source packages
|
167
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
168
|
+
p status_code # => 2xx
|
169
|
+
p headers # => { ... }
|
170
|
+
p data # => <PaginateddebSourcePackageResponseList>
|
171
|
+
rescue PulpDebClient::ApiError => e
|
172
|
+
puts "Error when calling ContentSourcePackagesApi->list_with_http_info: #{e}"
|
173
|
+
end
|
174
|
+
```
|
175
|
+
|
176
|
+
### Parameters
|
177
|
+
|
178
|
+
| Name | Type | Description | Notes |
|
179
|
+
| ---- | ---- | ----------- | ----- |
|
180
|
+
| **architecture** | **String** | Filter results where architecture matches value | [optional] |
|
181
|
+
| **binary** | **String** | Filter results where binary matches value | [optional] |
|
182
|
+
| **build_conflicts** | **String** | Filter results where build_conflicts matches value | [optional] |
|
183
|
+
| **build_conflicts_arch** | **String** | Filter results where build_conflicts_arch matches value | [optional] |
|
184
|
+
| **build_conflicts_indep** | **String** | Filter results where build_conflicts_indep matches value | [optional] |
|
185
|
+
| **build_depends** | **String** | Filter results where build_depends matches value | [optional] |
|
186
|
+
| **build_depends_arch** | **String** | Filter results where build_depends_arch matches value | [optional] |
|
187
|
+
| **build_depends_indep** | **String** | Filter results where build_depends_indep matches value | [optional] |
|
188
|
+
| **dgit** | **String** | Filter results where dgit matches value | [optional] |
|
189
|
+
| **format** | **String** | Filter results where format matches value | [optional] |
|
190
|
+
| **homepage** | **String** | Filter results where homepage matches value | [optional] |
|
191
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
192
|
+
| **maintainer** | **String** | Filter results where maintainer matches value | [optional] |
|
193
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
194
|
+
| **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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `format` - Format * `-format` - Format (descending) * `source` - Source * `-source` - Source (descending) * `binary` - Binary * `-binary` - Binary (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `version` - Version * `-version` - Version (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `uploaders` - Uploaders * `-uploaders` - Uploaders (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `vcs_browser` - Vcs browser * `-vcs_browser` - Vcs browser (descending) * `vcs_arch` - Vcs arch * `-vcs_arch` - Vcs arch (descending) * `vcs_bzr` - Vcs bzr * `-vcs_bzr` - Vcs bzr (descending) * `vcs_cvs` - Vcs cvs * `-vcs_cvs` - Vcs cvs (descending) * `vcs_darcs` - Vcs darcs * `-vcs_darcs` - Vcs darcs (descending) * `vcs_git` - Vcs git * `-vcs_git` - Vcs git (descending) * `vcs_hg` - Vcs hg * `-vcs_hg` - Vcs hg (descending) * `vcs_mtn` - Vcs mtn * `-vcs_mtn` - Vcs mtn (descending) * `vcs_snv` - Vcs snv * `-vcs_snv` - Vcs snv (descending) * `testsuite` - Testsuite * `-testsuite` - Testsuite (descending) * `dgit` - Dgit * `-dgit` - Dgit (descending) * `standards_version` - Standards version * `-standards_version` - Standards version (descending) * `build_depends` - Build depends * `-build_depends` - Build depends (descending) * `build_depends_indep` - Build depends indep * `-build_depends_indep` - Build depends indep (descending) * `build_depends_arch` - Build depends arch * `-build_depends_arch` - Build depends arch (descending) * `build_conflicts` - Build conflicts * `-build_conflicts` - Build conflicts (descending) * `build_conflicts_indep` - Build conflicts indep * `-build_conflicts_indep` - Build conflicts indep (descending) * `build_conflicts_arch` - Build conflicts arch * `-build_conflicts_arch` - Build conflicts arch (descending) * `package_list` - Package list * `-package_list` - Package list (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
195
|
+
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
196
|
+
| **package_list** | **String** | Filter results where package_list matches value | [optional] |
|
197
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
198
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
199
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
200
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
201
|
+
| **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
|
202
|
+
| **release** | **String** | Must be a comma-separated string: \"release_href,repository_or_repository_version_href\" release_href: Filter results where SourcePackage in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional] |
|
203
|
+
| **release_component** | **String** | Must be a comma-separated string: \"release_component_href,repository_or_repository_version_href\" release_component_href: Filter results where SourcePackage in ReleaseComponent repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version) | [optional] |
|
204
|
+
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
205
|
+
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
206
|
+
| **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
207
|
+
| **source** | **String** | Filter results where source matches value | [optional] |
|
208
|
+
| **standards_version** | **String** | Filter results where standards_version matches value | [optional] |
|
209
|
+
| **testsuite** | **String** | Filter results where testsuite matches value | [optional] |
|
210
|
+
| **uploaders** | **String** | Filter results where uploaders matches value | [optional] |
|
211
|
+
| **vcs_arch** | **String** | Filter results where vcs_arch matches value | [optional] |
|
212
|
+
| **vcs_browser** | **String** | Filter results where vcs_browser matches value | [optional] |
|
213
|
+
| **vcs_bzr** | **String** | Filter results where vcs_bzr matches value | [optional] |
|
214
|
+
| **vcs_cvs** | **String** | Filter results where vcs_cvs matches value | [optional] |
|
215
|
+
| **vcs_darcs** | **String** | Filter results where vcs_darcs matches value | [optional] |
|
216
|
+
| **vcs_git** | **String** | Filter results where vcs_git matches value | [optional] |
|
217
|
+
| **vcs_hg** | **String** | Filter results where vcs_hg matches value | [optional] |
|
218
|
+
| **vcs_mtn** | **String** | Filter results where vcs_mtn matches value | [optional] |
|
219
|
+
| **vcs_snv** | **String** | Filter results where vcs_snv matches value | [optional] |
|
220
|
+
| **version** | **String** | Filter results where version matches value | [optional] |
|
221
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
222
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
190
223
|
|
191
224
|
### Return type
|
192
225
|
|
@@ -204,16 +237,16 @@ Name | Type | Description | Notes
|
|
204
237
|
|
205
238
|
## read
|
206
239
|
|
207
|
-
> DebSourcePackageResponse read(deb_source_package_href, opts)
|
240
|
+
> <DebSourcePackageResponse> read(deb_source_package_href, opts)
|
208
241
|
|
209
242
|
Inspect a source package
|
210
243
|
|
211
244
|
A Debian Source Package file represents a '.dsc' file along with its associated artifacts such as orig.tar.gz, debian.tar.gz... Associated artifacts: Exactly one '.dsc' file.
|
212
245
|
|
213
|
-
###
|
246
|
+
### Examples
|
214
247
|
|
215
248
|
```ruby
|
216
|
-
|
249
|
+
require 'time'
|
217
250
|
require 'pulp_deb_client'
|
218
251
|
# setup authorization
|
219
252
|
PulpDebClient.configure do |config|
|
@@ -225,27 +258,44 @@ end
|
|
225
258
|
api_instance = PulpDebClient::ContentSourcePackagesApi.new
|
226
259
|
deb_source_package_href = 'deb_source_package_href_example' # String |
|
227
260
|
opts = {
|
228
|
-
fields: ['
|
229
|
-
exclude_fields: ['
|
261
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
262
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
230
263
|
}
|
231
264
|
|
232
265
|
begin
|
233
|
-
#Inspect a source package
|
266
|
+
# Inspect a source package
|
234
267
|
result = api_instance.read(deb_source_package_href, opts)
|
235
268
|
p result
|
236
269
|
rescue PulpDebClient::ApiError => e
|
237
|
-
puts "
|
270
|
+
puts "Error when calling ContentSourcePackagesApi->read: #{e}"
|
238
271
|
end
|
239
272
|
```
|
240
273
|
|
241
|
-
|
274
|
+
#### Using the read_with_http_info variant
|
275
|
+
|
276
|
+
This returns an Array which contains the response data, status code and headers.
|
277
|
+
|
278
|
+
> <Array(<DebSourcePackageResponse>, Integer, Hash)> read_with_http_info(deb_source_package_href, opts)
|
242
279
|
|
280
|
+
```ruby
|
281
|
+
begin
|
282
|
+
# Inspect a source package
|
283
|
+
data, status_code, headers = api_instance.read_with_http_info(deb_source_package_href, opts)
|
284
|
+
p status_code # => 2xx
|
285
|
+
p headers # => { ... }
|
286
|
+
p data # => <DebSourcePackageResponse>
|
287
|
+
rescue PulpDebClient::ApiError => e
|
288
|
+
puts "Error when calling ContentSourcePackagesApi->read_with_http_info: #{e}"
|
289
|
+
end
|
290
|
+
```
|
291
|
+
|
292
|
+
### Parameters
|
243
293
|
|
244
|
-
Name | Type | Description
|
245
|
-
|
246
|
-
**deb_source_package_href** | **String
|
247
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
248
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
294
|
+
| Name | Type | Description | Notes |
|
295
|
+
| ---- | ---- | ----------- | ----- |
|
296
|
+
| **deb_source_package_href** | **String** | | |
|
297
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
298
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
249
299
|
|
250
300
|
### Return type
|
251
301
|
|