pulpcore_client 3.0.0rc4 → 3.0.0rc5
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 +5 -4
- data/docs/ArtifactsApi.md +12 -6
- data/docs/ContentSummary.md +21 -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/RepositoriesApi.md +9 -3
- data/docs/RepositoriesVersionsApi.md +12 -6
- data/docs/RepositoryVersion.md +1 -1
- data/docs/StatusApi.md +9 -3
- data/docs/Task.md +4 -2
- data/docs/TasksApi.md +16 -6
- data/docs/UploadsApi.md +13 -7
- data/docs/WorkersApi.md +12 -6
- data/git_push.sh +10 -7
- data/lib/pulpcore_client/api/artifacts_api.rb +15 -9
- data/lib/pulpcore_client/api/orphans_api.rb +1 -1
- data/lib/pulpcore_client/api/repositories_api.rb +11 -5
- data/lib/pulpcore_client/api/repositories_versions_api.rb +17 -11
- data/lib/pulpcore_client/api/status_api.rb +4 -1
- data/lib/pulpcore_client/api/tasks_api.rb +22 -10
- data/lib/pulpcore_client/api/uploads_api.rb +19 -13
- data/lib/pulpcore_client/api/workers_api.rb +14 -8
- data/lib/pulpcore_client/api_client.rb +65 -64
- data/lib/pulpcore_client/api_error.rb +1 -1
- data/lib/pulpcore_client/configuration.rb +12 -17
- data/lib/pulpcore_client/models/artifact.rb +1 -1
- data/lib/pulpcore_client/models/async_operation_response.rb +1 -1
- data/lib/pulpcore_client/models/content_app_status.rb +1 -1
- data/lib/pulpcore_client/models/content_summary.rb +236 -0
- data/lib/pulpcore_client/models/database_connection.rb +1 -1
- data/lib/pulpcore_client/models/inline_response200.rb +11 -11
- data/lib/pulpcore_client/models/inline_response2001.rb +11 -11
- data/lib/pulpcore_client/models/inline_response2002.rb +11 -11
- data/lib/pulpcore_client/models/inline_response2003.rb +11 -11
- data/lib/pulpcore_client/models/inline_response2004.rb +11 -11
- data/lib/pulpcore_client/models/inline_response2005.rb +11 -11
- data/lib/pulpcore_client/models/progress_report.rb +1 -1
- data/lib/pulpcore_client/models/redis_connection.rb +1 -1
- data/lib/pulpcore_client/models/repository.rb +1 -1
- data/lib/pulpcore_client/models/repository_version.rb +2 -3
- data/lib/pulpcore_client/models/repository_version_create.rb +1 -1
- data/lib/pulpcore_client/models/status.rb +1 -1
- data/lib/pulpcore_client/models/task.rb +20 -7
- data/lib/pulpcore_client/models/task_cancel.rb +1 -1
- data/lib/pulpcore_client/models/upload.rb +1 -1
- data/lib/pulpcore_client/models/upload_chunk_detail.rb +1 -1
- data/lib/pulpcore_client/models/upload_commit.rb +1 -1
- data/lib/pulpcore_client/models/upload_detail.rb +1 -1
- data/lib/pulpcore_client/models/version.rb +1 -1
- data/lib/pulpcore_client/models/worker.rb +1 -1
- data/lib/pulpcore_client/version.rb +2 -2
- data/lib/pulpcore_client.rb +2 -1
- data/pulpcore_client.gemspec +1 -3
- data/spec/api/artifacts_api_spec.rb +5 -3
- data/spec/api/orphans_api_spec.rb +1 -1
- data/spec/api/repositories_api_spec.rb +3 -1
- data/spec/api/repositories_versions_api_spec.rb +5 -3
- data/spec/api/status_api_spec.rb +2 -1
- data/spec/api/tasks_api_spec.rb +7 -3
- data/spec/api/uploads_api_spec.rb +6 -4
- data/spec/api/workers_api_spec.rb +5 -3
- data/spec/api_client_spec.rb +1 -39
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/artifact_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_app_status_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +53 -0
- data/spec/models/database_connection_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +4 -4
- data/spec/models/inline_response2002_spec.rb +4 -4
- data/spec/models/inline_response2003_spec.rb +4 -4
- data/spec/models/inline_response2004_spec.rb +4 -4
- data/spec/models/inline_response2005_spec.rb +4 -4
- data/spec/models/inline_response200_spec.rb +4 -4
- data/spec/models/progress_report_spec.rb +1 -1
- data/spec/models/redis_connection_spec.rb +1 -1
- data/spec/models/repository_spec.rb +1 -1
- data/spec/models/repository_version_create_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/status_spec.rb +1 -1
- data/spec/models/task_cancel_spec.rb +1 -1
- data/spec/models/task_spec.rb +7 -1
- data/spec/models/upload_chunk_detail_spec.rb +1 -1
- data/spec/models/upload_commit_spec.rb +1 -1
- data/spec/models/upload_detail_spec.rb +1 -1
- data/spec/models/upload_spec.rb +1 -1
- data/spec/models/version_spec.rb +1 -1
- data/spec/models/worker_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +6 -42
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 24842821c70ec829f9773c5b64d69c372e960bae66a565892bce9e5b16de2b15
|
|
4
|
+
data.tar.gz: 599eb0409b7bee5bcf5fd176c6ec9e64718cfef624cef75413fbdd519a3d5a1e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: afc4638e9aa572b4c31299bb897a78cbfc88d10fb710a2d1a1443d95ddcccc2dd6c9fa92cbccf82d895c40217e4ec1f69c65c65e65d9594bad6d2f831026a253
|
|
7
|
+
data.tar.gz: 956d5f129b279f1c6e7b2666929f90fda1f8138fd0b3b56772f666c5378e8f806ddfdbc4c3314a8218a0fc37d1d46adf009254ad70af6f2d91044df560ffbf10
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
|
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: 3.0.
|
|
10
|
+
- Package version: 3.0.0rc5
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
@@ -23,16 +23,16 @@ gem build pulpcore_client.gemspec
|
|
|
23
23
|
Then either install the gem locally:
|
|
24
24
|
|
|
25
25
|
```shell
|
|
26
|
-
gem install ./pulpcore_client-3.0.
|
|
26
|
+
gem install ./pulpcore_client-3.0.0rc5.gem
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
(for development, run `gem install --dev ./pulpcore_client-3.0.
|
|
29
|
+
(for development, run `gem install --dev ./pulpcore_client-3.0.0rc5.gem` to install the development dependencies)
|
|
30
30
|
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
32
32
|
|
|
33
33
|
Finally add this to the Gemfile:
|
|
34
34
|
|
|
35
|
-
gem 'pulpcore_client', '~> 3.0.
|
|
35
|
+
gem 'pulpcore_client', '~> 3.0.0rc5'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -126,6 +126,7 @@ Class | Method | HTTP request | Description
|
|
|
126
126
|
- [PulpcoreClient::Artifact](docs/Artifact.md)
|
|
127
127
|
- [PulpcoreClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
|
128
128
|
- [PulpcoreClient::ContentAppStatus](docs/ContentAppStatus.md)
|
|
129
|
+
- [PulpcoreClient::ContentSummary](docs/ContentSummary.md)
|
|
129
130
|
- [PulpcoreClient::DatabaseConnection](docs/DatabaseConnection.md)
|
|
130
131
|
- [PulpcoreClient::InlineResponse200](docs/InlineResponse200.md)
|
|
131
132
|
- [PulpcoreClient::InlineResponse2001](docs/InlineResponse2001.md)
|
data/docs/ArtifactsApi.md
CHANGED
|
@@ -157,8 +157,9 @@ opts = {
|
|
|
157
157
|
sha256: 'sha256_example', # String | Filter results where sha256 matches value
|
|
158
158
|
sha384: 'sha384_example', # String | Filter results where sha384 matches value
|
|
159
159
|
sha512: 'sha512_example', # String | Filter results where sha512 matches value
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
limit: 56, # Integer | Number of results to return per page.
|
|
161
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
162
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
162
163
|
}
|
|
163
164
|
|
|
164
165
|
begin
|
|
@@ -182,8 +183,9 @@ Name | Type | Description | Notes
|
|
|
182
183
|
**sha256** | **String**| Filter results where sha256 matches value | [optional]
|
|
183
184
|
**sha384** | **String**| Filter results where sha384 matches value | [optional]
|
|
184
185
|
**sha512** | **String**| Filter results where sha512 matches value | [optional]
|
|
185
|
-
**
|
|
186
|
-
**
|
|
186
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
187
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
188
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
187
189
|
|
|
188
190
|
### Return type
|
|
189
191
|
|
|
@@ -201,7 +203,7 @@ Name | Type | Description | Notes
|
|
|
201
203
|
|
|
202
204
|
## read
|
|
203
205
|
|
|
204
|
-
> Artifact read(artifact_href)
|
|
206
|
+
> Artifact read(artifact_href, opts)
|
|
205
207
|
|
|
206
208
|
Inspect an artifact
|
|
207
209
|
|
|
@@ -219,10 +221,13 @@ end
|
|
|
219
221
|
|
|
220
222
|
api_instance = PulpcoreClient::ArtifactsApi.new
|
|
221
223
|
artifact_href = 'artifact_href_example' # String | URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/
|
|
224
|
+
opts = {
|
|
225
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
226
|
+
}
|
|
222
227
|
|
|
223
228
|
begin
|
|
224
229
|
#Inspect an artifact
|
|
225
|
-
result = api_instance.read(artifact_href)
|
|
230
|
+
result = api_instance.read(artifact_href, opts)
|
|
226
231
|
p result
|
|
227
232
|
rescue PulpcoreClient::ApiError => e
|
|
228
233
|
puts "Exception when calling ArtifactsApi->read: #{e}"
|
|
@@ -235,6 +240,7 @@ end
|
|
|
235
240
|
Name | Type | Description | Notes
|
|
236
241
|
------------- | ------------- | ------------- | -------------
|
|
237
242
|
**artifact_href** | **String**| URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/ |
|
|
243
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
238
244
|
|
|
239
245
|
### Return type
|
|
240
246
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# PulpcoreClient::ContentSummary
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**added** | **Hash<String, Hash<String, String>>** | |
|
|
8
|
+
**removed** | **Hash<String, Hash<String, String>>** | |
|
|
9
|
+
**present** | **Hash<String, Hash<String, String>>** | |
|
|
10
|
+
|
|
11
|
+
## Code Sample
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'PulpcoreClient'
|
|
15
|
+
|
|
16
|
+
instance = PulpcoreClient::ContentSummary.new(added: null,
|
|
17
|
+
removed: null,
|
|
18
|
+
present: null)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
|
data/docs/InlineResponse200.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**count** | **Integer** | |
|
|
7
8
|
**_next** | **String** | | [optional]
|
|
8
9
|
**previous** | **String** | | [optional]
|
|
9
|
-
**count** | **Integer** | |
|
|
10
10
|
**results** | [**Array<Artifact>**](Artifact.md) | |
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpcoreClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpcoreClient::InlineResponse200.new(
|
|
17
|
+
instance = PulpcoreClient::InlineResponse200.new(count: null,
|
|
18
|
+
_next: null,
|
|
18
19
|
previous: null,
|
|
19
|
-
count: null,
|
|
20
20
|
results: null)
|
|
21
21
|
```
|
|
22
22
|
|
data/docs/InlineResponse2001.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**count** | **Integer** | |
|
|
7
8
|
**_next** | **String** | | [optional]
|
|
8
9
|
**previous** | **String** | | [optional]
|
|
9
|
-
**count** | **Integer** | |
|
|
10
10
|
**results** | [**Array<Repository>**](Repository.md) | |
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpcoreClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpcoreClient::InlineResponse2001.new(
|
|
17
|
+
instance = PulpcoreClient::InlineResponse2001.new(count: null,
|
|
18
|
+
_next: null,
|
|
18
19
|
previous: null,
|
|
19
|
-
count: null,
|
|
20
20
|
results: null)
|
|
21
21
|
```
|
|
22
22
|
|
data/docs/InlineResponse2002.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**count** | **Integer** | |
|
|
7
8
|
**_next** | **String** | | [optional]
|
|
8
9
|
**previous** | **String** | | [optional]
|
|
9
|
-
**count** | **Integer** | |
|
|
10
10
|
**results** | [**Array<RepositoryVersion>**](RepositoryVersion.md) | |
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpcoreClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpcoreClient::InlineResponse2002.new(
|
|
17
|
+
instance = PulpcoreClient::InlineResponse2002.new(count: null,
|
|
18
|
+
_next: null,
|
|
18
19
|
previous: null,
|
|
19
|
-
count: null,
|
|
20
20
|
results: null)
|
|
21
21
|
```
|
|
22
22
|
|
data/docs/InlineResponse2003.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**count** | **Integer** | |
|
|
7
8
|
**_next** | **String** | | [optional]
|
|
8
9
|
**previous** | **String** | | [optional]
|
|
9
|
-
**count** | **Integer** | |
|
|
10
10
|
**results** | [**Array<Task>**](Task.md) | |
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpcoreClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpcoreClient::InlineResponse2003.new(
|
|
17
|
+
instance = PulpcoreClient::InlineResponse2003.new(count: null,
|
|
18
|
+
_next: null,
|
|
18
19
|
previous: null,
|
|
19
|
-
count: null,
|
|
20
20
|
results: null)
|
|
21
21
|
```
|
|
22
22
|
|
data/docs/InlineResponse2004.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**count** | **Integer** | |
|
|
7
8
|
**_next** | **String** | | [optional]
|
|
8
9
|
**previous** | **String** | | [optional]
|
|
9
|
-
**count** | **Integer** | |
|
|
10
10
|
**results** | [**Array<Upload>**](Upload.md) | |
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpcoreClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpcoreClient::InlineResponse2004.new(
|
|
17
|
+
instance = PulpcoreClient::InlineResponse2004.new(count: null,
|
|
18
|
+
_next: null,
|
|
18
19
|
previous: null,
|
|
19
|
-
count: null,
|
|
20
20
|
results: null)
|
|
21
21
|
```
|
|
22
22
|
|
data/docs/InlineResponse2005.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**count** | **Integer** | |
|
|
7
8
|
**_next** | **String** | | [optional]
|
|
8
9
|
**previous** | **String** | | [optional]
|
|
9
|
-
**count** | **Integer** | |
|
|
10
10
|
**results** | [**Array<Worker>**](Worker.md) | |
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpcoreClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpcoreClient::InlineResponse2005.new(
|
|
17
|
+
instance = PulpcoreClient::InlineResponse2005.new(count: null,
|
|
18
|
+
_next: null,
|
|
18
19
|
previous: null,
|
|
19
|
-
count: null,
|
|
20
20
|
results: null)
|
|
21
21
|
```
|
|
22
22
|
|
data/docs/RepositoriesApi.md
CHANGED
|
@@ -140,7 +140,8 @@ opts = {
|
|
|
140
140
|
name: 'name_example', # String |
|
|
141
141
|
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
|
142
142
|
page: 56, # Integer | A page number within the paginated result set.
|
|
143
|
-
page_size: 56 # Integer | Number of results to return per page.
|
|
143
|
+
page_size: 56, # Integer | Number of results to return per page.
|
|
144
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
144
145
|
}
|
|
145
146
|
|
|
146
147
|
begin
|
|
@@ -161,6 +162,7 @@ Name | Type | Description | Notes
|
|
|
161
162
|
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
|
162
163
|
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
163
164
|
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
165
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
164
166
|
|
|
165
167
|
### Return type
|
|
166
168
|
|
|
@@ -231,7 +233,7 @@ Name | Type | Description | Notes
|
|
|
231
233
|
|
|
232
234
|
## read
|
|
233
235
|
|
|
234
|
-
> Repository read(repository_href)
|
|
236
|
+
> Repository read(repository_href, opts)
|
|
235
237
|
|
|
236
238
|
Inspect a repository
|
|
237
239
|
|
|
@@ -249,10 +251,13 @@ end
|
|
|
249
251
|
|
|
250
252
|
api_instance = PulpcoreClient::RepositoriesApi.new
|
|
251
253
|
repository_href = 'repository_href_example' # String | URI of Repository. e.g.: /pulp/api/v3/repositories/1/
|
|
254
|
+
opts = {
|
|
255
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
256
|
+
}
|
|
252
257
|
|
|
253
258
|
begin
|
|
254
259
|
#Inspect a repository
|
|
255
|
-
result = api_instance.read(repository_href)
|
|
260
|
+
result = api_instance.read(repository_href, opts)
|
|
256
261
|
p result
|
|
257
262
|
rescue PulpcoreClient::ApiError => e
|
|
258
263
|
puts "Exception when calling RepositoriesApi->read: #{e}"
|
|
@@ -265,6 +270,7 @@ end
|
|
|
265
270
|
Name | Type | Description | Notes
|
|
266
271
|
------------- | ------------- | ------------- | -------------
|
|
267
272
|
**repository_href** | **String**| URI of Repository. e.g.: /pulp/api/v3/repositories/1/ |
|
|
273
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
268
274
|
|
|
269
275
|
### Return type
|
|
270
276
|
|
|
@@ -154,8 +154,9 @@ opts = {
|
|
|
154
154
|
_created__range: '_created__range_example', # String | Filter results where _created is between two comma separated values
|
|
155
155
|
content: 'content_example', # String | Content Unit referenced by HREF
|
|
156
156
|
_created: '_created_example', # String | ISO 8601 formatted dates are supported
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
limit: 56, # Integer | Number of results to return per page.
|
|
158
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
159
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
159
160
|
}
|
|
160
161
|
|
|
161
162
|
begin
|
|
@@ -187,8 +188,9 @@ Name | Type | Description | Notes
|
|
|
187
188
|
**_created__range** | **String**| Filter results where _created is between two comma separated values | [optional]
|
|
188
189
|
**content** | **String**| Content Unit referenced by HREF | [optional]
|
|
189
190
|
**_created** | **String**| ISO 8601 formatted dates are supported | [optional]
|
|
190
|
-
**
|
|
191
|
-
**
|
|
191
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
192
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
193
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
192
194
|
|
|
193
195
|
### Return type
|
|
194
196
|
|
|
@@ -206,7 +208,7 @@ Name | Type | Description | Notes
|
|
|
206
208
|
|
|
207
209
|
## read
|
|
208
210
|
|
|
209
|
-
> RepositoryVersion read(repository_version_href)
|
|
211
|
+
> RepositoryVersion read(repository_version_href, opts)
|
|
210
212
|
|
|
211
213
|
Inspect a repository version
|
|
212
214
|
|
|
@@ -224,10 +226,13 @@ end
|
|
|
224
226
|
|
|
225
227
|
api_instance = PulpcoreClient::RepositoriesVersionsApi.new
|
|
226
228
|
repository_version_href = 'repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/
|
|
229
|
+
opts = {
|
|
230
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
231
|
+
}
|
|
227
232
|
|
|
228
233
|
begin
|
|
229
234
|
#Inspect a repository version
|
|
230
|
-
result = api_instance.read(repository_version_href)
|
|
235
|
+
result = api_instance.read(repository_version_href, opts)
|
|
231
236
|
p result
|
|
232
237
|
rescue PulpcoreClient::ApiError => e
|
|
233
238
|
puts "Exception when calling RepositoriesVersionsApi->read: #{e}"
|
|
@@ -240,6 +245,7 @@ end
|
|
|
240
245
|
Name | Type | Description | Notes
|
|
241
246
|
------------- | ------------- | ------------- | -------------
|
|
242
247
|
**repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/ |
|
|
248
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
243
249
|
|
|
244
250
|
### Return type
|
|
245
251
|
|
data/docs/RepositoryVersion.md
CHANGED
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
|
9
9
|
**number** | **Integer** | | [optional]
|
|
10
10
|
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
|
11
|
-
**content_summary** | **
|
|
11
|
+
**content_summary** | [**ContentSummary**](ContentSummary.md) | | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
14
14
|
|
data/docs/StatusApi.md
CHANGED
|
@@ -10,7 +10,7 @@ Method | HTTP request | Description
|
|
|
10
10
|
|
|
11
11
|
## status_read
|
|
12
12
|
|
|
13
|
-
> Status status_read
|
|
13
|
+
> Status status_read(opts)
|
|
14
14
|
|
|
15
15
|
Inspect status of Pulp
|
|
16
16
|
|
|
@@ -29,10 +29,13 @@ PulpcoreClient.configure do |config|
|
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
api_instance = PulpcoreClient::StatusApi.new
|
|
32
|
+
opts = {
|
|
33
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
34
|
+
}
|
|
32
35
|
|
|
33
36
|
begin
|
|
34
37
|
#Inspect status of Pulp
|
|
35
|
-
result = api_instance.status_read
|
|
38
|
+
result = api_instance.status_read(opts)
|
|
36
39
|
p result
|
|
37
40
|
rescue PulpcoreClient::ApiError => e
|
|
38
41
|
puts "Exception when calling StatusApi->status_read: #{e}"
|
|
@@ -41,7 +44,10 @@ end
|
|
|
41
44
|
|
|
42
45
|
### Parameters
|
|
43
46
|
|
|
44
|
-
|
|
47
|
+
|
|
48
|
+
Name | Type | Description | Notes
|
|
49
|
+
------------- | ------------- | ------------- | -------------
|
|
50
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
45
51
|
|
|
46
52
|
### Return type
|
|
47
53
|
|
data/docs/Task.md
CHANGED
|
@@ -11,12 +11,13 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**started_at** | **DateTime** | Timestamp of the when this task started execution. | [optional]
|
|
12
12
|
**finished_at** | **DateTime** | Timestamp of the when this task stopped execution. | [optional]
|
|
13
13
|
**non_fatal_errors** | **String** | A JSON Object of non-fatal errors encountered during the execution of this task. | [optional]
|
|
14
|
-
**error** | **String
|
|
14
|
+
**error** | **Hash<String, String>** | A JSON Object of a fatal error encountered during the execution of this task. | [optional]
|
|
15
15
|
**worker** | **String** | The worker associated with this task. This field is empty if a worker is not yet assigned. | [optional]
|
|
16
16
|
**parent** | **String** | The parent task that spawned this task. | [optional]
|
|
17
17
|
**spawned_tasks** | **Array<String>** | Any tasks spawned by this task. | [optional]
|
|
18
18
|
**progress_reports** | [**Array<ProgressReport>**](ProgressReport.md) | | [optional]
|
|
19
19
|
**created_resources** | **Array<String>** | Resources created by this task. | [optional]
|
|
20
|
+
**reserved_resources_record** | **Array<Object>** | | [optional]
|
|
20
21
|
|
|
21
22
|
## Code Sample
|
|
22
23
|
|
|
@@ -35,7 +36,8 @@ instance = PulpcoreClient::Task.new(_href: null,
|
|
|
35
36
|
parent: null,
|
|
36
37
|
spawned_tasks: null,
|
|
37
38
|
progress_reports: null,
|
|
38
|
-
created_resources: null
|
|
39
|
+
created_resources: null,
|
|
40
|
+
reserved_resources_record: null)
|
|
39
41
|
```
|
|
40
42
|
|
|
41
43
|
|
data/docs/TasksApi.md
CHANGED
|
@@ -98,11 +98,14 @@ opts = {
|
|
|
98
98
|
finished_at__gte: 'finished_at__gte_example', # String | Filter results where finished_at is greater than or equal to value
|
|
99
99
|
finished_at__range: 'finished_at__range_example', # String | Filter results where finished_at is between two comma separated values
|
|
100
100
|
parent: 'parent_example', # String | Foreign Key referenced by HREF
|
|
101
|
+
reserved_resources_record: 'reserved_resources_record_example', # String |
|
|
102
|
+
created_resources: 'created_resources_example', # String |
|
|
101
103
|
name: 'name_example', # String |
|
|
102
104
|
started_at: 'started_at_example', # String | ISO 8601 formatted dates are supported
|
|
103
105
|
finished_at: 'finished_at_example', # String | ISO 8601 formatted dates are supported
|
|
104
|
-
|
|
105
|
-
|
|
106
|
+
limit: 56, # Integer | Number of results to return per page.
|
|
107
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
108
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
106
109
|
}
|
|
107
110
|
|
|
108
111
|
begin
|
|
@@ -136,11 +139,14 @@ Name | Type | Description | Notes
|
|
|
136
139
|
**finished_at__gte** | **String**| Filter results where finished_at is greater than or equal to value | [optional]
|
|
137
140
|
**finished_at__range** | **String**| Filter results where finished_at is between two comma separated values | [optional]
|
|
138
141
|
**parent** | **String**| Foreign Key referenced by HREF | [optional]
|
|
142
|
+
**reserved_resources_record** | **String**| | [optional]
|
|
143
|
+
**created_resources** | **String**| | [optional]
|
|
139
144
|
**name** | **String**| | [optional]
|
|
140
145
|
**started_at** | **String**| ISO 8601 formatted dates are supported | [optional]
|
|
141
146
|
**finished_at** | **String**| ISO 8601 formatted dates are supported | [optional]
|
|
142
|
-
**
|
|
143
|
-
**
|
|
147
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
148
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
149
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
144
150
|
|
|
145
151
|
### Return type
|
|
146
152
|
|
|
@@ -158,7 +164,7 @@ Name | Type | Description | Notes
|
|
|
158
164
|
|
|
159
165
|
## read
|
|
160
166
|
|
|
161
|
-
> Task read(task_href)
|
|
167
|
+
> Task read(task_href, opts)
|
|
162
168
|
|
|
163
169
|
Inspect a task
|
|
164
170
|
|
|
@@ -176,10 +182,13 @@ end
|
|
|
176
182
|
|
|
177
183
|
api_instance = PulpcoreClient::TasksApi.new
|
|
178
184
|
task_href = 'task_href_example' # String | URI of Task. e.g.: /pulp/api/v3/tasks/1/
|
|
185
|
+
opts = {
|
|
186
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
187
|
+
}
|
|
179
188
|
|
|
180
189
|
begin
|
|
181
190
|
#Inspect a task
|
|
182
|
-
result = api_instance.read(task_href)
|
|
191
|
+
result = api_instance.read(task_href, opts)
|
|
183
192
|
p result
|
|
184
193
|
rescue PulpcoreClient::ApiError => e
|
|
185
194
|
puts "Exception when calling TasksApi->read: #{e}"
|
|
@@ -192,6 +201,7 @@ end
|
|
|
192
201
|
Name | Type | Description | Notes
|
|
193
202
|
------------- | ------------- | ------------- | -------------
|
|
194
203
|
**task_href** | **String**| URI of Task. e.g.: /pulp/api/v3/tasks/1/ |
|
|
204
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
195
205
|
|
|
196
206
|
### Return type
|
|
197
207
|
|
data/docs/UploadsApi.md
CHANGED
|
@@ -19,7 +19,7 @@ Method | HTTP request | Description
|
|
|
19
19
|
|
|
20
20
|
Finish an Upload
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
Queues a Task that creates an Artifact, and the Upload gets deleted and cannot be re-used.
|
|
23
23
|
|
|
24
24
|
### Example
|
|
25
25
|
|
|
@@ -196,8 +196,9 @@ end
|
|
|
196
196
|
api_instance = PulpcoreClient::UploadsApi.new
|
|
197
197
|
opts = {
|
|
198
198
|
completed: 'completed_example', # String | ISO 8601 formatted dates are supported
|
|
199
|
-
|
|
200
|
-
|
|
199
|
+
limit: 56, # Integer | Number of results to return per page.
|
|
200
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
201
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
201
202
|
}
|
|
202
203
|
|
|
203
204
|
begin
|
|
@@ -215,8 +216,9 @@ end
|
|
|
215
216
|
Name | Type | Description | Notes
|
|
216
217
|
------------- | ------------- | ------------- | -------------
|
|
217
218
|
**completed** | **String**| ISO 8601 formatted dates are supported | [optional]
|
|
218
|
-
**
|
|
219
|
-
**
|
|
219
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
220
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
221
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
220
222
|
|
|
221
223
|
### Return type
|
|
222
224
|
|
|
@@ -234,7 +236,7 @@ Name | Type | Description | Notes
|
|
|
234
236
|
|
|
235
237
|
## read
|
|
236
238
|
|
|
237
|
-
> UploadDetail read(upload_href)
|
|
239
|
+
> UploadDetail read(upload_href, opts)
|
|
238
240
|
|
|
239
241
|
Inspect an upload
|
|
240
242
|
|
|
@@ -254,10 +256,13 @@ end
|
|
|
254
256
|
|
|
255
257
|
api_instance = PulpcoreClient::UploadsApi.new
|
|
256
258
|
upload_href = 'upload_href_example' # String | URI of Upload. e.g.: /pulp/api/v3/uploads/1/
|
|
259
|
+
opts = {
|
|
260
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
261
|
+
}
|
|
257
262
|
|
|
258
263
|
begin
|
|
259
264
|
#Inspect an upload
|
|
260
|
-
result = api_instance.read(upload_href)
|
|
265
|
+
result = api_instance.read(upload_href, opts)
|
|
261
266
|
p result
|
|
262
267
|
rescue PulpcoreClient::ApiError => e
|
|
263
268
|
puts "Exception when calling UploadsApi->read: #{e}"
|
|
@@ -270,6 +275,7 @@ end
|
|
|
270
275
|
Name | Type | Description | Notes
|
|
271
276
|
------------- | ------------- | ------------- | -------------
|
|
272
277
|
**upload_href** | **String**| URI of Upload. e.g.: /pulp/api/v3/uploads/1/ |
|
|
278
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
273
279
|
|
|
274
280
|
### Return type
|
|
275
281
|
|
data/docs/WorkersApi.md
CHANGED
|
@@ -39,8 +39,9 @@ opts = {
|
|
|
39
39
|
online: 'online_example', # String |
|
|
40
40
|
missing: 'missing_example', # String |
|
|
41
41
|
last_heartbeat: 'last_heartbeat_example', # String | ISO 8601 formatted dates are supported
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
limit: 56, # Integer | Number of results to return per page.
|
|
43
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
44
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
begin
|
|
@@ -67,8 +68,9 @@ Name | Type | Description | Notes
|
|
|
67
68
|
**online** | **String**| | [optional]
|
|
68
69
|
**missing** | **String**| | [optional]
|
|
69
70
|
**last_heartbeat** | **String**| ISO 8601 formatted dates are supported | [optional]
|
|
70
|
-
**
|
|
71
|
-
**
|
|
71
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
72
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
73
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
72
74
|
|
|
73
75
|
### Return type
|
|
74
76
|
|
|
@@ -86,7 +88,7 @@ Name | Type | Description | Notes
|
|
|
86
88
|
|
|
87
89
|
## read
|
|
88
90
|
|
|
89
|
-
> Worker read(worker_href)
|
|
91
|
+
> Worker read(worker_href, opts)
|
|
90
92
|
|
|
91
93
|
Inspect a worker
|
|
92
94
|
|
|
@@ -104,10 +106,13 @@ end
|
|
|
104
106
|
|
|
105
107
|
api_instance = PulpcoreClient::WorkersApi.new
|
|
106
108
|
worker_href = 'worker_href_example' # String | URI of Worker. e.g.: /pulp/api/v3/workers/1/
|
|
109
|
+
opts = {
|
|
110
|
+
fields: 'fields_example' # String | A list of fields to include in the response.
|
|
111
|
+
}
|
|
107
112
|
|
|
108
113
|
begin
|
|
109
114
|
#Inspect a worker
|
|
110
|
-
result = api_instance.read(worker_href)
|
|
115
|
+
result = api_instance.read(worker_href, opts)
|
|
111
116
|
p result
|
|
112
117
|
rescue PulpcoreClient::ApiError => e
|
|
113
118
|
puts "Exception when calling WorkersApi->read: #{e}"
|
|
@@ -120,6 +125,7 @@ end
|
|
|
120
125
|
Name | Type | Description | Notes
|
|
121
126
|
------------- | ------------- | ------------- | -------------
|
|
122
127
|
**worker_href** | **String**| URI of Worker. e.g.: /pulp/api/v3/workers/1/ |
|
|
128
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
123
129
|
|
|
124
130
|
### Return type
|
|
125
131
|
|