pulp_file_client 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +51 -37
- data/docs/ContentFilesApi.md +24 -24
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsFileApi.md +108 -60
- data/docs/{Export.md → ExportResponse.md} +2 -2
- data/docs/ExportersFileExportsApi.md +34 -34
- data/docs/ExportersFilesystemApi.md +61 -61
- data/docs/FileFileContent.md +5 -17
- data/docs/FileFileContentResponse.md +35 -0
- data/docs/FileFileDistribution.md +1 -7
- data/docs/FileFileDistributionResponse.md +29 -0
- data/docs/FileFileFilesystemExporter.md +1 -5
- data/docs/FileFileFilesystemExporterResponse.md +23 -0
- data/docs/FileFilePublication.md +1 -7
- data/docs/FileFilePublicationResponse.md +27 -0
- data/docs/FileFileRemote.md +4 -10
- data/docs/FileFileRemoteResponse.md +43 -0
- data/docs/FileFileRepository.md +4 -10
- data/docs/FileFileRepositoryResponse.md +29 -0
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/PatchedfileFileDistribution.md +23 -0
- data/docs/PatchedfileFileFilesystemExporter.md +19 -0
- data/docs/PatchedfileFileRemote.md +37 -0
- data/docs/PatchedfileFileRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsFileApi.md +40 -40
- data/docs/RemotesFileApi.md +125 -65
- data/docs/RepositoriesFileApi.md +97 -73
- data/docs/RepositoriesFileVersionsApi.md +94 -62
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/lib/pulp_file_client/api/content_files_api.rb +32 -36
- data/lib/pulp_file_client/api/distributions_file_api.rb +153 -90
- data/lib/pulp_file_client/api/exporters_file_exports_api.rb +55 -55
- data/lib/pulp_file_client/api/exporters_filesystem_api.rb +102 -102
- data/lib/pulp_file_client/api/publications_file_api.rb +59 -59
- data/lib/pulp_file_client/api/remotes_file_api.rb +181 -100
- data/lib/pulp_file_client/api/repositories_file_api.rb +145 -118
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +137 -92
- data/lib/pulp_file_client/api_client.rb +2 -2
- data/lib/pulp_file_client/api_error.rb +2 -2
- data/lib/pulp_file_client/configuration.rb +3 -3
- data/lib/pulp_file_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_file_client/models/content_summary.rb +9 -15
- data/lib/pulp_file_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_file_client/models/{export.rb → export_response.rb} +6 -5
- data/lib/pulp_file_client/models/file_file_content.rb +18 -185
- data/lib/pulp_file_client/models/file_file_content_response.rb +302 -0
- data/lib/pulp_file_client/models/file_file_distribution.rb +4 -85
- data/lib/pulp_file_client/models/file_file_distribution_response.rb +279 -0
- data/lib/pulp_file_client/models/file_file_filesystem_exporter.rb +4 -60
- data/lib/pulp_file_client/models/file_file_filesystem_exporter_response.rb +247 -0
- data/lib/pulp_file_client/models/file_file_publication.rb +4 -49
- data/lib/pulp_file_client/models/file_file_publication_response.rb +260 -0
- data/lib/pulp_file_client/models/file_file_remote.rb +7 -199
- data/lib/pulp_file_client/models/file_file_remote_response.rb +368 -0
- data/lib/pulp_file_client/models/file_file_repository.rb +18 -78
- data/lib/pulp_file_client/models/file_file_repository_response.rb +271 -0
- data/lib/pulp_file_client/models/inline_response200.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_file_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +240 -0
- data/lib/pulp_file_client/models/patchedfile_file_filesystem_exporter.rb +218 -0
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +329 -0
- data/lib/pulp_file_client/models/patchedfile_file_repository.rb +229 -0
- data/lib/pulp_file_client/models/policy_enum.rb +37 -0
- data/lib/pulp_file_client/models/publication_export.rb +3 -2
- data/lib/pulp_file_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_file_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_file_client/models/repository_version.rb +7 -43
- data/lib/pulp_file_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_file_client/version.rb +3 -3
- data/lib/pulp_file_client.rb +16 -3
- data/pulp_file_client.gemspec +4 -4
- data/spec/api/content_files_api_spec.rb +10 -10
- data/spec/api/distributions_file_api_spec.rb +39 -18
- data/spec/api/exporters_file_exports_api_spec.rb +9 -9
- data/spec/api/exporters_filesystem_api_spec.rb +23 -23
- data/spec/api/publications_file_api_spec.rb +14 -14
- data/spec/api/remotes_file_api_spec.rb +48 -21
- data/spec/api/repositories_file_api_spec.rb +28 -19
- data/spec/api/repositories_file_versions_api_spec.rb +38 -23
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/{export_spec.rb → export_response_spec.rb} +8 -8
- data/spec/models/file_file_content_response_spec.rb +95 -0
- data/spec/models/file_file_content_spec.rb +4 -40
- data/spec/models/file_file_distribution_response_spec.rb +77 -0
- data/spec/models/file_file_distribution_spec.rb +2 -20
- data/spec/models/file_file_filesystem_exporter_response_spec.rb +59 -0
- data/spec/models/file_file_filesystem_exporter_spec.rb +2 -14
- data/spec/models/file_file_publication_response_spec.rb +71 -0
- data/spec/models/file_file_publication_spec.rb +2 -20
- data/spec/models/file_file_remote_response_spec.rb +119 -0
- data/spec/models/file_file_remote_spec.rb +2 -24
- data/spec/models/file_file_repository_response_spec.rb +77 -0
- data/spec/models/file_file_repository_spec.rb +5 -23
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patchedfile_file_distribution_spec.rb +59 -0
- data/spec/models/patchedfile_file_filesystem_exporter_spec.rb +47 -0
- data/spec/models/patchedfile_file_remote_spec.rb +101 -0
- data/spec/models/patchedfile_file_repository_spec.rb +53 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/publication_export_spec.rb +2 -2
- data/spec/models/repository_add_remove_content_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/spec_helper.rb +2 -2
- metadata +76 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5251afd7dde64a64eb9aa561c4a3f8763255ab88a7c3605f42fe4b522bafc54c
|
|
4
|
+
data.tar.gz: 53a5c3a7373ee1676e1403a83fb2ab09b3eeb61f11cf00070af5530318d20e6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 46fe7f578b3b6e1ca845ce973d83c6562a4045e2887983ec4c71b46ac3960e0c6e89e95cebe1d51be1ce81113fcd77bae45d4091b1af34b851f222dd815a6527
|
|
7
|
+
data.tar.gz: 8ea09f943fd2979266583ef93dd3d1e1a3d6e762d297e7a6d93f58a4fc17824154b3594ad19f64d13429638faedec11c57263966f76c5a6f12b81b2d8839429d
|
data/README.md
CHANGED
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
PulpFileClient - the Ruby gem for the Pulp 3 API
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Fetch, Upload, Organize, and Distribute Software Packages
|
|
6
6
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 1.
|
|
10
|
+
- Package version: 1.2.0
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
|
+
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
12
13
|
|
|
13
14
|
## Installation
|
|
14
15
|
|
|
@@ -23,16 +24,16 @@ gem build pulp_file_client.gemspec
|
|
|
23
24
|
Then either install the gem locally:
|
|
24
25
|
|
|
25
26
|
```shell
|
|
26
|
-
gem install ./pulp_file_client-1.
|
|
27
|
+
gem install ./pulp_file_client-1.2.0.gem
|
|
27
28
|
```
|
|
28
29
|
|
|
29
|
-
(for development, run `gem install --dev ./pulp_file_client-1.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_file_client-1.2.0.gem` to install the development dependencies)
|
|
30
31
|
|
|
31
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
32
33
|
|
|
33
34
|
Finally add this to the Gemfile:
|
|
34
35
|
|
|
35
|
-
gem 'pulp_file_client', '~> 1.
|
|
36
|
+
gem 'pulp_file_client', '~> 1.2.0'
|
|
36
37
|
|
|
37
38
|
### Install from Git
|
|
38
39
|
|
|
@@ -58,7 +59,7 @@ require 'pulp_file_client'
|
|
|
58
59
|
|
|
59
60
|
# Setup authorization
|
|
60
61
|
PulpFileClient.configure do |config|
|
|
61
|
-
# Configure HTTP basic authorization:
|
|
62
|
+
# Configure HTTP basic authorization: basicAuth
|
|
62
63
|
config.username = 'YOUR_USERNAME'
|
|
63
64
|
config.password = 'YOUR_PASSWORD'
|
|
64
65
|
end
|
|
@@ -89,58 +90,65 @@ Class | Method | HTTP request | Description
|
|
|
89
90
|
------------ | ------------- | ------------- | -------------
|
|
90
91
|
*PulpFileClient::ContentFilesApi* | [**create**](docs/ContentFilesApi.md#create) | **POST** /pulp/api/v3/content/file/files/ | Create a file content
|
|
91
92
|
*PulpFileClient::ContentFilesApi* | [**list**](docs/ContentFilesApi.md#list) | **GET** /pulp/api/v3/content/file/files/ | List file contents
|
|
92
|
-
*PulpFileClient::ContentFilesApi* | [**read**](docs/ContentFilesApi.md#read) | **GET** {
|
|
93
|
+
*PulpFileClient::ContentFilesApi* | [**read**](docs/ContentFilesApi.md#read) | **GET** {file_file_content_href} | Inspect a file content
|
|
93
94
|
*PulpFileClient::DistributionsFileApi* | [**create**](docs/DistributionsFileApi.md#create) | **POST** /pulp/api/v3/distributions/file/file/ | Create a file distribution
|
|
94
|
-
*PulpFileClient::DistributionsFileApi* | [**delete**](docs/DistributionsFileApi.md#delete) | **DELETE** {
|
|
95
|
+
*PulpFileClient::DistributionsFileApi* | [**delete**](docs/DistributionsFileApi.md#delete) | **DELETE** {file_file_distribution_href} | Delete a file distribution
|
|
95
96
|
*PulpFileClient::DistributionsFileApi* | [**list**](docs/DistributionsFileApi.md#list) | **GET** /pulp/api/v3/distributions/file/file/ | List file distributions
|
|
96
|
-
*PulpFileClient::DistributionsFileApi* | [**partial_update**](docs/DistributionsFileApi.md#partial_update) | **PATCH** {
|
|
97
|
-
*PulpFileClient::DistributionsFileApi* | [**read**](docs/DistributionsFileApi.md#read) | **GET** {
|
|
98
|
-
*PulpFileClient::DistributionsFileApi* | [**update**](docs/DistributionsFileApi.md#update) | **PUT** {
|
|
99
|
-
*PulpFileClient::ExportersFileExportsApi* | [**create**](docs/ExportersFileExportsApi.md#create) | **POST** {
|
|
100
|
-
*PulpFileClient::ExportersFileExportsApi* | [**delete**](docs/ExportersFileExportsApi.md#delete) | **DELETE** {
|
|
101
|
-
*PulpFileClient::ExportersFileExportsApi* | [**list**](docs/ExportersFileExportsApi.md#list) | **GET** {
|
|
102
|
-
*PulpFileClient::ExportersFileExportsApi* | [**read**](docs/ExportersFileExportsApi.md#read) | **GET** {
|
|
97
|
+
*PulpFileClient::DistributionsFileApi* | [**partial_update**](docs/DistributionsFileApi.md#partial_update) | **PATCH** {file_file_distribution_href} | Update a file distribution
|
|
98
|
+
*PulpFileClient::DistributionsFileApi* | [**read**](docs/DistributionsFileApi.md#read) | **GET** {file_file_distribution_href} | Inspect a file distribution
|
|
99
|
+
*PulpFileClient::DistributionsFileApi* | [**update**](docs/DistributionsFileApi.md#update) | **PUT** {file_file_distribution_href} | Update a file distribution
|
|
100
|
+
*PulpFileClient::ExportersFileExportsApi* | [**create**](docs/ExportersFileExportsApi.md#create) | **POST** {file_filesystem_export_href}exports/ | Create an export
|
|
101
|
+
*PulpFileClient::ExportersFileExportsApi* | [**delete**](docs/ExportersFileExportsApi.md#delete) | **DELETE** {file_filesystem_export_href} | Delete an export
|
|
102
|
+
*PulpFileClient::ExportersFileExportsApi* | [**list**](docs/ExportersFileExportsApi.md#list) | **GET** {file_file_filesystem_exporter_href}exports/ | List exports
|
|
103
|
+
*PulpFileClient::ExportersFileExportsApi* | [**read**](docs/ExportersFileExportsApi.md#read) | **GET** {file_filesystem_export_href} | Inspect an export
|
|
103
104
|
*PulpFileClient::ExportersFilesystemApi* | [**create**](docs/ExportersFilesystemApi.md#create) | **POST** /pulp/api/v3/exporters/file/filesystem/ | Create a file filesystem exporter
|
|
104
|
-
*PulpFileClient::ExportersFilesystemApi* | [**delete**](docs/ExportersFilesystemApi.md#delete) | **DELETE** {
|
|
105
|
+
*PulpFileClient::ExportersFilesystemApi* | [**delete**](docs/ExportersFilesystemApi.md#delete) | **DELETE** {file_file_filesystem_exporter_href} | Delete a file filesystem exporter
|
|
105
106
|
*PulpFileClient::ExportersFilesystemApi* | [**list**](docs/ExportersFilesystemApi.md#list) | **GET** /pulp/api/v3/exporters/file/filesystem/ | List file filesystem exporters
|
|
106
|
-
*PulpFileClient::ExportersFilesystemApi* | [**partial_update**](docs/ExportersFilesystemApi.md#partial_update) | **PATCH** {
|
|
107
|
-
*PulpFileClient::ExportersFilesystemApi* | [**read**](docs/ExportersFilesystemApi.md#read) | **GET** {
|
|
108
|
-
*PulpFileClient::ExportersFilesystemApi* | [**update**](docs/ExportersFilesystemApi.md#update) | **PUT** {
|
|
107
|
+
*PulpFileClient::ExportersFilesystemApi* | [**partial_update**](docs/ExportersFilesystemApi.md#partial_update) | **PATCH** {file_file_filesystem_exporter_href} | Update a file filesystem exporter
|
|
108
|
+
*PulpFileClient::ExportersFilesystemApi* | [**read**](docs/ExportersFilesystemApi.md#read) | **GET** {file_file_filesystem_exporter_href} | Inspect a file filesystem exporter
|
|
109
|
+
*PulpFileClient::ExportersFilesystemApi* | [**update**](docs/ExportersFilesystemApi.md#update) | **PUT** {file_file_filesystem_exporter_href} | Update a file filesystem exporter
|
|
109
110
|
*PulpFileClient::PublicationsFileApi* | [**create**](docs/PublicationsFileApi.md#create) | **POST** /pulp/api/v3/publications/file/file/ | Create a file publication
|
|
110
|
-
*PulpFileClient::PublicationsFileApi* | [**delete**](docs/PublicationsFileApi.md#delete) | **DELETE** {
|
|
111
|
+
*PulpFileClient::PublicationsFileApi* | [**delete**](docs/PublicationsFileApi.md#delete) | **DELETE** {file_file_publication_href} | Delete a file publication
|
|
111
112
|
*PulpFileClient::PublicationsFileApi* | [**list**](docs/PublicationsFileApi.md#list) | **GET** /pulp/api/v3/publications/file/file/ | List file publications
|
|
112
|
-
*PulpFileClient::PublicationsFileApi* | [**read**](docs/PublicationsFileApi.md#read) | **GET** {
|
|
113
|
+
*PulpFileClient::PublicationsFileApi* | [**read**](docs/PublicationsFileApi.md#read) | **GET** {file_file_publication_href} | Inspect a file publication
|
|
113
114
|
*PulpFileClient::RemotesFileApi* | [**create**](docs/RemotesFileApi.md#create) | **POST** /pulp/api/v3/remotes/file/file/ | Create a file remote
|
|
114
|
-
*PulpFileClient::RemotesFileApi* | [**delete**](docs/RemotesFileApi.md#delete) | **DELETE** {
|
|
115
|
+
*PulpFileClient::RemotesFileApi* | [**delete**](docs/RemotesFileApi.md#delete) | **DELETE** {file_file_remote_href} | Delete a file remote
|
|
115
116
|
*PulpFileClient::RemotesFileApi* | [**list**](docs/RemotesFileApi.md#list) | **GET** /pulp/api/v3/remotes/file/file/ | List file remotes
|
|
116
|
-
*PulpFileClient::RemotesFileApi* | [**partial_update**](docs/RemotesFileApi.md#partial_update) | **PATCH** {
|
|
117
|
-
*PulpFileClient::RemotesFileApi* | [**read**](docs/RemotesFileApi.md#read) | **GET** {
|
|
118
|
-
*PulpFileClient::RemotesFileApi* | [**update**](docs/RemotesFileApi.md#update) | **PUT** {
|
|
117
|
+
*PulpFileClient::RemotesFileApi* | [**partial_update**](docs/RemotesFileApi.md#partial_update) | **PATCH** {file_file_remote_href} | Update a file remote
|
|
118
|
+
*PulpFileClient::RemotesFileApi* | [**read**](docs/RemotesFileApi.md#read) | **GET** {file_file_remote_href} | Inspect a file remote
|
|
119
|
+
*PulpFileClient::RemotesFileApi* | [**update**](docs/RemotesFileApi.md#update) | **PUT** {file_file_remote_href} | Update a file remote
|
|
119
120
|
*PulpFileClient::RepositoriesFileApi* | [**create**](docs/RepositoriesFileApi.md#create) | **POST** /pulp/api/v3/repositories/file/file/ | Create a file repository
|
|
120
|
-
*PulpFileClient::RepositoriesFileApi* | [**delete**](docs/RepositoriesFileApi.md#delete) | **DELETE** {
|
|
121
|
+
*PulpFileClient::RepositoriesFileApi* | [**delete**](docs/RepositoriesFileApi.md#delete) | **DELETE** {file_file_repository_href} | Delete a file repository
|
|
121
122
|
*PulpFileClient::RepositoriesFileApi* | [**list**](docs/RepositoriesFileApi.md#list) | **GET** /pulp/api/v3/repositories/file/file/ | List file repositorys
|
|
122
|
-
*PulpFileClient::RepositoriesFileApi* | [**modify**](docs/RepositoriesFileApi.md#modify) | **POST** {
|
|
123
|
-
*PulpFileClient::RepositoriesFileApi* | [**partial_update**](docs/RepositoriesFileApi.md#partial_update) | **PATCH** {
|
|
124
|
-
*PulpFileClient::RepositoriesFileApi* | [**read**](docs/RepositoriesFileApi.md#read) | **GET** {
|
|
125
|
-
*PulpFileClient::RepositoriesFileApi* | [**sync**](docs/RepositoriesFileApi.md#sync) | **POST** {
|
|
126
|
-
*PulpFileClient::RepositoriesFileApi* | [**update**](docs/RepositoriesFileApi.md#update) | **PUT** {
|
|
127
|
-
*PulpFileClient::RepositoriesFileVersionsApi* | [**delete**](docs/RepositoriesFileVersionsApi.md#delete) | **DELETE** {
|
|
128
|
-
*PulpFileClient::RepositoriesFileVersionsApi* | [**list**](docs/RepositoriesFileVersionsApi.md#list) | **GET** {
|
|
129
|
-
*PulpFileClient::RepositoriesFileVersionsApi* | [**read**](docs/RepositoriesFileVersionsApi.md#read) | **GET** {
|
|
130
|
-
*PulpFileClient::RepositoriesFileVersionsApi* | [**repair**](docs/RepositoriesFileVersionsApi.md#repair) | **POST** {
|
|
123
|
+
*PulpFileClient::RepositoriesFileApi* | [**modify**](docs/RepositoriesFileApi.md#modify) | **POST** {file_file_repository_href}modify/ | Modify Repository Content
|
|
124
|
+
*PulpFileClient::RepositoriesFileApi* | [**partial_update**](docs/RepositoriesFileApi.md#partial_update) | **PATCH** {file_file_repository_href} | Update a file repository
|
|
125
|
+
*PulpFileClient::RepositoriesFileApi* | [**read**](docs/RepositoriesFileApi.md#read) | **GET** {file_file_repository_href} | Inspect a file repository
|
|
126
|
+
*PulpFileClient::RepositoriesFileApi* | [**sync**](docs/RepositoriesFileApi.md#sync) | **POST** {file_file_repository_href}sync/ |
|
|
127
|
+
*PulpFileClient::RepositoriesFileApi* | [**update**](docs/RepositoriesFileApi.md#update) | **PUT** {file_file_repository_href} | Update a file repository
|
|
128
|
+
*PulpFileClient::RepositoriesFileVersionsApi* | [**delete**](docs/RepositoriesFileVersionsApi.md#delete) | **DELETE** {file_file_repository_version_href} | Delete a repository version
|
|
129
|
+
*PulpFileClient::RepositoriesFileVersionsApi* | [**list**](docs/RepositoriesFileVersionsApi.md#list) | **GET** {file_file_repository_href}versions/ | List repository versions
|
|
130
|
+
*PulpFileClient::RepositoriesFileVersionsApi* | [**read**](docs/RepositoriesFileVersionsApi.md#read) | **GET** {file_file_repository_version_href} | Inspect a repository version
|
|
131
|
+
*PulpFileClient::RepositoriesFileVersionsApi* | [**repair**](docs/RepositoriesFileVersionsApi.md#repair) | **POST** {file_file_repository_version_href}repair/ |
|
|
131
132
|
|
|
132
133
|
|
|
133
134
|
## Documentation for Models
|
|
134
135
|
|
|
135
136
|
- [PulpFileClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
|
136
137
|
- [PulpFileClient::ContentSummary](docs/ContentSummary.md)
|
|
137
|
-
- [PulpFileClient::
|
|
138
|
+
- [PulpFileClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
|
139
|
+
- [PulpFileClient::ExportResponse](docs/ExportResponse.md)
|
|
138
140
|
- [PulpFileClient::FileFileContent](docs/FileFileContent.md)
|
|
141
|
+
- [PulpFileClient::FileFileContentResponse](docs/FileFileContentResponse.md)
|
|
139
142
|
- [PulpFileClient::FileFileDistribution](docs/FileFileDistribution.md)
|
|
143
|
+
- [PulpFileClient::FileFileDistributionResponse](docs/FileFileDistributionResponse.md)
|
|
140
144
|
- [PulpFileClient::FileFileFilesystemExporter](docs/FileFileFilesystemExporter.md)
|
|
145
|
+
- [PulpFileClient::FileFileFilesystemExporterResponse](docs/FileFileFilesystemExporterResponse.md)
|
|
141
146
|
- [PulpFileClient::FileFilePublication](docs/FileFilePublication.md)
|
|
147
|
+
- [PulpFileClient::FileFilePublicationResponse](docs/FileFilePublicationResponse.md)
|
|
142
148
|
- [PulpFileClient::FileFileRemote](docs/FileFileRemote.md)
|
|
149
|
+
- [PulpFileClient::FileFileRemoteResponse](docs/FileFileRemoteResponse.md)
|
|
143
150
|
- [PulpFileClient::FileFileRepository](docs/FileFileRepository.md)
|
|
151
|
+
- [PulpFileClient::FileFileRepositoryResponse](docs/FileFileRepositoryResponse.md)
|
|
144
152
|
- [PulpFileClient::InlineResponse200](docs/InlineResponse200.md)
|
|
145
153
|
- [PulpFileClient::InlineResponse2001](docs/InlineResponse2001.md)
|
|
146
154
|
- [PulpFileClient::InlineResponse2002](docs/InlineResponse2002.md)
|
|
@@ -149,16 +157,22 @@ Class | Method | HTTP request | Description
|
|
|
149
157
|
- [PulpFileClient::InlineResponse2005](docs/InlineResponse2005.md)
|
|
150
158
|
- [PulpFileClient::InlineResponse2006](docs/InlineResponse2006.md)
|
|
151
159
|
- [PulpFileClient::InlineResponse2007](docs/InlineResponse2007.md)
|
|
160
|
+
- [PulpFileClient::PatchedfileFileDistribution](docs/PatchedfileFileDistribution.md)
|
|
161
|
+
- [PulpFileClient::PatchedfileFileFilesystemExporter](docs/PatchedfileFileFilesystemExporter.md)
|
|
162
|
+
- [PulpFileClient::PatchedfileFileRemote](docs/PatchedfileFileRemote.md)
|
|
163
|
+
- [PulpFileClient::PatchedfileFileRepository](docs/PatchedfileFileRepository.md)
|
|
164
|
+
- [PulpFileClient::PolicyEnum](docs/PolicyEnum.md)
|
|
152
165
|
- [PulpFileClient::PublicationExport](docs/PublicationExport.md)
|
|
153
166
|
- [PulpFileClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
|
154
167
|
- [PulpFileClient::RepositorySyncURL](docs/RepositorySyncURL.md)
|
|
155
168
|
- [PulpFileClient::RepositoryVersion](docs/RepositoryVersion.md)
|
|
169
|
+
- [PulpFileClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
|
156
170
|
|
|
157
171
|
|
|
158
172
|
## Documentation for Authorization
|
|
159
173
|
|
|
160
174
|
|
|
161
|
-
###
|
|
175
|
+
### basicAuth
|
|
162
176
|
|
|
163
177
|
- **Type**: HTTP basic authentication
|
|
164
178
|
|
data/docs/ContentFilesApi.md
CHANGED
|
@@ -6,7 +6,7 @@ Method | HTTP request | Description
|
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
7
|
[**create**](ContentFilesApi.md#create) | **POST** /pulp/api/v3/content/file/files/ | Create a file content
|
|
8
8
|
[**list**](ContentFilesApi.md#list) | **GET** /pulp/api/v3/content/file/files/ | List file contents
|
|
9
|
-
[**read**](ContentFilesApi.md#read) | **GET** {
|
|
9
|
+
[**read**](ContentFilesApi.md#read) | **GET** {file_file_content_href} | Inspect a file content
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -25,7 +25,7 @@ Trigger an asynchronous task to create content,optionally create new repository
|
|
|
25
25
|
require 'pulp_file_client'
|
|
26
26
|
# setup authorization
|
|
27
27
|
PulpFileClient.configure do |config|
|
|
28
|
-
# Configure HTTP basic authorization:
|
|
28
|
+
# Configure HTTP basic authorization: basicAuth
|
|
29
29
|
config.username = 'YOUR USERNAME'
|
|
30
30
|
config.password = 'YOUR PASSWORD'
|
|
31
31
|
end
|
|
@@ -63,7 +63,7 @@ Name | Type | Description | Notes
|
|
|
63
63
|
|
|
64
64
|
### Authorization
|
|
65
65
|
|
|
66
|
-
[
|
|
66
|
+
[basicAuth](../README.md#basicAuth)
|
|
67
67
|
|
|
68
68
|
### HTTP request headers
|
|
69
69
|
|
|
@@ -86,21 +86,21 @@ List file contents
|
|
|
86
86
|
require 'pulp_file_client'
|
|
87
87
|
# setup authorization
|
|
88
88
|
PulpFileClient.configure do |config|
|
|
89
|
-
# Configure HTTP basic authorization:
|
|
89
|
+
# Configure HTTP basic authorization: basicAuth
|
|
90
90
|
config.username = 'YOUR USERNAME'
|
|
91
91
|
config.password = 'YOUR PASSWORD'
|
|
92
92
|
end
|
|
93
93
|
|
|
94
94
|
api_instance = PulpFileClient::ContentFilesApi.new
|
|
95
95
|
opts = {
|
|
96
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
97
|
-
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
|
98
|
-
sha256: 'sha256_example', # String |
|
|
99
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
|
100
|
-
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
|
101
|
-
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
|
102
96
|
limit: 56, # Integer | Number of results to return per page.
|
|
103
97
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
98
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
99
|
+
relative_path: 'relative_path_example', # String | relative_path
|
|
100
|
+
repository_version: 'repository_version_example', # String | repository_version
|
|
101
|
+
repository_version_added: 'repository_version_added_example', # String | repository_version_added
|
|
102
|
+
repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
|
|
103
|
+
sha256: 'sha256_example', # String | sha256
|
|
104
104
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
105
105
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
106
106
|
}
|
|
@@ -119,14 +119,14 @@ end
|
|
|
119
119
|
|
|
120
120
|
Name | Type | Description | Notes
|
|
121
121
|
------------- | ------------- | ------------- | -------------
|
|
122
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
123
|
-
**relative_path** | **String**| Filter results where relative_path matches value | [optional]
|
|
124
|
-
**sha256** | **String**| | [optional]
|
|
125
|
-
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
|
126
|
-
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
|
127
|
-
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
|
128
122
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
129
123
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
124
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
125
|
+
**relative_path** | **String**| relative_path | [optional]
|
|
126
|
+
**repository_version** | **String**| repository_version | [optional]
|
|
127
|
+
**repository_version_added** | **String**| repository_version_added | [optional]
|
|
128
|
+
**repository_version_removed** | **String**| repository_version_removed | [optional]
|
|
129
|
+
**sha256** | **String**| sha256 | [optional]
|
|
130
130
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
131
131
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
132
132
|
|
|
@@ -136,7 +136,7 @@ Name | Type | Description | Notes
|
|
|
136
136
|
|
|
137
137
|
### Authorization
|
|
138
138
|
|
|
139
|
-
[
|
|
139
|
+
[basicAuth](../README.md#basicAuth)
|
|
140
140
|
|
|
141
141
|
### HTTP request headers
|
|
142
142
|
|
|
@@ -146,7 +146,7 @@ Name | Type | Description | Notes
|
|
|
146
146
|
|
|
147
147
|
## read
|
|
148
148
|
|
|
149
|
-
>
|
|
149
|
+
> FileFileContentResponse read(file_file_content_href, opts)
|
|
150
150
|
|
|
151
151
|
Inspect a file content
|
|
152
152
|
|
|
@@ -159,13 +159,13 @@ Inspect a file content
|
|
|
159
159
|
require 'pulp_file_client'
|
|
160
160
|
# setup authorization
|
|
161
161
|
PulpFileClient.configure do |config|
|
|
162
|
-
# Configure HTTP basic authorization:
|
|
162
|
+
# Configure HTTP basic authorization: basicAuth
|
|
163
163
|
config.username = 'YOUR USERNAME'
|
|
164
164
|
config.password = 'YOUR PASSWORD'
|
|
165
165
|
end
|
|
166
166
|
|
|
167
167
|
api_instance = PulpFileClient::ContentFilesApi.new
|
|
168
|
-
|
|
168
|
+
file_file_content_href = 'file_file_content_href_example' # String |
|
|
169
169
|
opts = {
|
|
170
170
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
171
171
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
@@ -173,7 +173,7 @@ opts = {
|
|
|
173
173
|
|
|
174
174
|
begin
|
|
175
175
|
#Inspect a file content
|
|
176
|
-
result = api_instance.read(
|
|
176
|
+
result = api_instance.read(file_file_content_href, opts)
|
|
177
177
|
p result
|
|
178
178
|
rescue PulpFileClient::ApiError => e
|
|
179
179
|
puts "Exception when calling ContentFilesApi->read: #{e}"
|
|
@@ -185,17 +185,17 @@ end
|
|
|
185
185
|
|
|
186
186
|
Name | Type | Description | Notes
|
|
187
187
|
------------- | ------------- | ------------- | -------------
|
|
188
|
-
**
|
|
188
|
+
**file_file_content_href** | **String**| |
|
|
189
189
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
190
190
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
191
191
|
|
|
192
192
|
### Return type
|
|
193
193
|
|
|
194
|
-
[**
|
|
194
|
+
[**FileFileContentResponse**](FileFileContentResponse.md)
|
|
195
195
|
|
|
196
196
|
### Authorization
|
|
197
197
|
|
|
198
|
-
[
|
|
198
|
+
[basicAuth](../README.md#basicAuth)
|
|
199
199
|
|
|
200
200
|
### HTTP request headers
|
|
201
201
|
|
data/docs/ContentSummary.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**added** | **
|
|
8
|
-
**removed** | **
|
|
9
|
-
**present** | **
|
|
7
|
+
**added** | [**Object**](.md) | |
|
|
8
|
+
**removed** | [**Object**](.md) | |
|
|
9
|
+
**present** | [**Object**](.md) | |
|
|
10
10
|
|
|
11
11
|
## Code Sample
|
|
12
12
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# PulpFileClient::ContentSummaryResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**added** | [**Object**](.md) | |
|
|
8
|
+
**removed** | [**Object**](.md) | |
|
|
9
|
+
**present** | [**Object**](.md) | |
|
|
10
|
+
|
|
11
|
+
## Code Sample
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'PulpFileClient'
|
|
15
|
+
|
|
16
|
+
instance = PulpFileClient::ContentSummaryResponse.new(added: null,
|
|
17
|
+
removed: null,
|
|
18
|
+
present: null)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
|