zest 0.0.2 → 0.0.3

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.
Files changed (46) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +16 -23
  3. data/docs/Artifact.md +1 -0
  4. data/docs/Distribution.md +3 -2
  5. data/docs/FileContent.md +1 -0
  6. data/docs/FilePublisher.md +1 -1
  7. data/docs/InlineResponse2009.md +1 -1
  8. data/docs/Publication.md +1 -2
  9. data/docs/PulpApi.md +212 -75
  10. data/docs/RepositorySyncURL.md +1 -1
  11. data/docs/RepositoryVersion.md +1 -6
  12. data/docs/Task.md +0 -1
  13. data/docs/Upload.md +11 -0
  14. data/docs/Worker.md +1 -1
  15. data/lib/zest.rb +1 -2
  16. data/lib/zest/api/pulp_api.rb +269 -125
  17. data/lib/zest/configuration.rb +1 -1
  18. data/lib/zest/models/artifact.rb +13 -4
  19. data/lib/zest/models/distribution.rb +34 -24
  20. data/lib/zest/models/file_content.rb +35 -1
  21. data/lib/zest/models/file_publisher.rb +8 -8
  22. data/lib/zest/models/inline_response_200_9.rb +1 -1
  23. data/lib/zest/models/publication.rb +8 -23
  24. data/lib/zest/models/repository_sync_url.rb +1 -1
  25. data/lib/zest/models/repository_version.rb +5 -55
  26. data/lib/zest/models/task.rb +1 -11
  27. data/lib/zest/models/{inline_response_200_10.rb → upload.rb} +47 -34
  28. data/lib/zest/models/worker.rb +10 -10
  29. data/lib/zest/version.rb +1 -1
  30. data/spec/api/pulp_api_spec.rb +60 -33
  31. data/spec/configuration_spec.rb +3 -3
  32. data/spec/models/artifact_spec.rb +6 -0
  33. data/spec/models/distribution_spec.rb +12 -6
  34. data/spec/models/file_content_spec.rb +6 -0
  35. data/spec/models/file_publisher_spec.rb +1 -1
  36. data/spec/models/publication_spec.rb +1 -7
  37. data/spec/models/repository_version_spec.rb +0 -30
  38. data/spec/models/task_spec.rb +0 -6
  39. data/spec/models/{user_spec.rb → upload_spec.rb} +9 -9
  40. data/spec/models/worker_spec.rb +2 -2
  41. data/zest.gemspec +1 -1
  42. metadata +62 -66
  43. data/docs/InlineResponse20010.md +0 -11
  44. data/docs/User.md +0 -11
  45. data/lib/zest/models/user.rb +0 -284
  46. data/spec/models/inline_response_200_10_spec.rb +0 -60
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e915d6ad2d4ff8f5d50d76acffcb8660713c8c00
4
- data.tar.gz: fc49242da7a5237890635f026d2be676d0065e1f
2
+ SHA256:
3
+ metadata.gz: aaa5cf9be1ff99ce5005dd79ad90444d7e378a12127474b4976461d95589957b
4
+ data.tar.gz: 6e0d373c384892341c307e6af980090e8f5675cbea183a8b38527969a9d13d06
5
5
  SHA512:
6
- metadata.gz: 1049f0529254eafba0511c54b5320aeccce063b334845f9944cf3e372db14d5af58bfef505709a537283ece61b1e2314d22af3391baaa54b6f2eb2c725a49a71
7
- data.tar.gz: 74888e523f20005f1063a1012e757864286840e14b0fd2f712ddad1aedbdc03a0732b695be691940e60d9c17a58a98fb54e2b29ce0c085c684ae5a3395d99876
6
+ metadata.gz: 5d3ec6eb10ded0c3c989ffde7b1733feb7e83855e39acc8168ab6bf96a75bc0eb590a2c5e3440eb383ea7f118a21a24f19726fcef7121be80048ef2f618f5a09
7
+ data.tar.gz: 9173f2bac2277d46cfa7b4fe0b87dce6fdcaade7b606f29b18701c32bf3f1b8104660bbe508ec882ae7377001266128ec7c12a3468f1d9be3d5b8a7a188bc1b3
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.0.2
10
+ - Package version: 0.0.3
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build zest.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./zest-0.0.2.gem
26
+ gem install ./zest-0.0.3.gem
27
27
  ```
28
- (for development, run `gem install --dev ./zest-0.0.2.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./zest-0.0.3.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'zest', '~> 0.0.2'
34
+ gem 'zest', '~> 0.0.3'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -63,20 +63,11 @@ end
63
63
 
64
64
  api_instance = Zest::PulpApi.new
65
65
 
66
- file = File.new("/path/to/file.txt") # File | The stored file.
66
+ data = Zest::Artifact.new # Artifact |
67
67
 
68
- opts = {
69
- size: 56, # Integer | The size of the file in bytes.
70
- md5: "md5_example", # String | The MD5 checksum of the file if available.
71
- sha1: "sha1_example", # String | The SHA-1 checksum of the file if available.
72
- sha224: "sha224_example", # String | The SHA-224 checksum of the file if available.
73
- sha256: "sha256_example", # String | The SHA-256 checksum of the file if available.
74
- sha384: "sha384_example", # String | The SHA-384 checksum of the file if available.
75
- sha512: "sha512_example" # String | The SHA-512 checksum of the file if available.
76
- }
77
68
 
78
69
  begin
79
- result = api_instance.artifacts_create(file, opts)
70
+ result = api_instance.artifacts_create(data)
80
71
  p result
81
72
  rescue Zest::ApiError => e
82
73
  puts "Exception when calling PulpApi->artifacts_create: #{e}"
@@ -86,7 +77,7 @@ end
86
77
 
87
78
  ## Documentation for API Endpoints
88
79
 
89
- All URIs are relative to *http://katello-gem-builder*
80
+ All URIs are relative to *http://zest-builder*
90
81
 
91
82
  Class | Method | HTTP request | Description
92
83
  ------------ | ------------- | ------------- | -------------
@@ -127,9 +118,9 @@ Class | Method | HTTP request | Description
127
118
  *Zest::PulpApi* | [**repositories_partial_update**](docs/PulpApi.md#repositories_partial_update) | **PATCH** {repository_href} |
128
119
  *Zest::PulpApi* | [**repositories_read**](docs/PulpApi.md#repositories_read) | **GET** {repository_href} |
129
120
  *Zest::PulpApi* | [**repositories_update**](docs/PulpApi.md#repositories_update) | **PUT** {repository_href} |
130
- *Zest::PulpApi* | [**repositories_versions_create**](docs/PulpApi.md#repositories_versions_create) | **POST** /pulp/api/v3/repositories/{repository_pk}/versions/ |
121
+ *Zest::PulpApi* | [**repositories_versions_create**](docs/PulpApi.md#repositories_versions_create) | **POST** {repository_href}versions/ |
131
122
  *Zest::PulpApi* | [**repositories_versions_delete**](docs/PulpApi.md#repositories_versions_delete) | **DELETE** {repository_version_href} |
132
- *Zest::PulpApi* | [**repositories_versions_list**](docs/PulpApi.md#repositories_versions_list) | **GET** /pulp/api/v3/repositories/{repository_pk}/versions/ |
123
+ *Zest::PulpApi* | [**repositories_versions_list**](docs/PulpApi.md#repositories_versions_list) | **GET** {repository_href}versions/ |
133
124
  *Zest::PulpApi* | [**repositories_versions_partial_update**](docs/PulpApi.md#repositories_versions_partial_update) | **PATCH** {repository_version_href} |
134
125
  *Zest::PulpApi* | [**repositories_versions_read**](docs/PulpApi.md#repositories_versions_read) | **GET** {repository_version_href} |
135
126
  *Zest::PulpApi* | [**repositories_versions_update**](docs/PulpApi.md#repositories_versions_update) | **PUT** {repository_version_href} |
@@ -138,9 +129,12 @@ Class | Method | HTTP request | Description
138
129
  *Zest::PulpApi* | [**tasks_delete**](docs/PulpApi.md#tasks_delete) | **DELETE** {task_href} |
139
130
  *Zest::PulpApi* | [**tasks_list**](docs/PulpApi.md#tasks_list) | **GET** /pulp/api/v3/tasks/ |
140
131
  *Zest::PulpApi* | [**tasks_read**](docs/PulpApi.md#tasks_read) | **GET** {task_href} |
141
- *Zest::PulpApi* | [**users_delete**](docs/PulpApi.md#users_delete) | **DELETE** {user_href} |
142
- *Zest::PulpApi* | [**users_list**](docs/PulpApi.md#users_list) | **GET** /pulp/api/v3/users/ |
143
- *Zest::PulpApi* | [**users_read**](docs/PulpApi.md#users_read) | **GET** {user_href} |
132
+ *Zest::PulpApi* | [**uploads_create**](docs/PulpApi.md#uploads_create) | **POST** /pulp/api/v3/uploads/ |
133
+ *Zest::PulpApi* | [**uploads_create_0**](docs/PulpApi.md#uploads_create_0) | **POST** {upload_href} |
134
+ *Zest::PulpApi* | [**uploads_read**](docs/PulpApi.md#uploads_read) | **GET** /pulp/api/v3/uploads/ |
135
+ *Zest::PulpApi* | [**uploads_read_0**](docs/PulpApi.md#uploads_read_0) | **GET** {upload_href} |
136
+ *Zest::PulpApi* | [**uploads_update**](docs/PulpApi.md#uploads_update) | **PUT** /pulp/api/v3/uploads/ |
137
+ *Zest::PulpApi* | [**uploads_update_0**](docs/PulpApi.md#uploads_update_0) | **PUT** {upload_href} |
144
138
  *Zest::PulpApi* | [**workers_list**](docs/PulpApi.md#workers_list) | **GET** /pulp/api/v3/workers/ |
145
139
  *Zest::PulpApi* | [**workers_read**](docs/PulpApi.md#workers_read) | **GET** {worker_href} |
146
140
 
@@ -155,7 +149,6 @@ Class | Method | HTTP request | Description
155
149
  - [Zest::FileRemote](docs/FileRemote.md)
156
150
  - [Zest::InlineResponse200](docs/InlineResponse200.md)
157
151
  - [Zest::InlineResponse2001](docs/InlineResponse2001.md)
158
- - [Zest::InlineResponse20010](docs/InlineResponse20010.md)
159
152
  - [Zest::InlineResponse2002](docs/InlineResponse2002.md)
160
153
  - [Zest::InlineResponse2003](docs/InlineResponse2003.md)
161
154
  - [Zest::InlineResponse2004](docs/InlineResponse2004.md)
@@ -172,7 +165,7 @@ Class | Method | HTTP request | Description
172
165
  - [Zest::RepositoryVersion](docs/RepositoryVersion.md)
173
166
  - [Zest::RepositoryVersionCreate](docs/RepositoryVersionCreate.md)
174
167
  - [Zest::Task](docs/Task.md)
175
- - [Zest::User](docs/User.md)
168
+ - [Zest::Upload](docs/Upload.md)
176
169
  - [Zest::Worker](docs/Worker.md)
177
170
 
178
171
 
data/docs/Artifact.md CHANGED
@@ -13,5 +13,6 @@ Name | Type | Description | Notes
13
13
  **sha256** | **String** | The SHA-256 checksum of the file if available. | [optional]
14
14
  **sha384** | **String** | The SHA-384 checksum of the file if available. | [optional]
15
15
  **sha512** | **String** | The SHA-512 checksum of the file if available. | [optional]
16
+ **upload** | **String** | | [optional]
16
17
 
17
18
 
data/docs/Distribution.md CHANGED
@@ -6,11 +6,12 @@ Name | Type | Description | Notes
6
6
  **_href** | **String** | | [optional]
7
7
  **_created** | **DateTime** | Timestamp of creation. | [optional]
8
8
  **name** | **String** | A unique distribution name. Ex, `rawhide` and `stable`. |
9
- **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
10
9
  **publisher** | **String** | Publications created by this publisher and repository are automaticallyserved as defined by this distribution | [optional]
11
10
  **publication** | **String** | The publication being served as defined by this distribution | [optional]
12
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional]
13
11
  **repository** | **String** | Publications created by this repository and publisher are automaticallyserved as defined by this distribution | [optional]
14
12
  **content_guard** | **String** | An optional content-guard. | [optional]
13
+ **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
14
+ **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
15
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional]
15
16
 
16
17
 
data/docs/FileContent.md CHANGED
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **_created** | **DateTime** | Timestamp of creation. | [optional]
8
8
  **_type** | **String** | | [optional]
9
9
  **_artifact** | **String** | Artifact file representing the physical content |
10
+ **_relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
10
11
  **relative_path** | **String** | Relative location of the file within the repository |
11
12
 
12
13
 
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **_type** | **String** | | [optional]
9
9
  **name** | **String** | A unique name for this publisher. |
10
10
  **_last_updated** | **DateTime** | Timestamp of the most recent update of the publisher configuration. | [optional]
11
- **distributions** | **Array<String>** | | [optional]
11
+ **_distributions** | **Array<String>** | | [optional]
12
12
  **manifest** | **String** | Name of the file manifest, the full path will be url/manifest | [optional] [default to "PULP_MANIFEST"]
13
13
 
14
14
 
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
6
6
  **count** | **Integer** | |
7
7
  **_next** | **String** | | [optional]
8
8
  **previous** | **String** | | [optional]
9
- **results** | [**Array<User>**](User.md) | |
9
+ **results** | [**Array<Worker>**](Worker.md) | |
10
10
 
11
11
 
data/docs/Publication.md CHANGED
@@ -5,9 +5,8 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **_href** | **String** | | [optional]
7
7
  **_created** | **DateTime** | Timestamp of creation. | [optional]
8
- **pass_through** | **BOOLEAN** | The publication is a pass-through for the repository version. |
9
8
  **publisher** | **String** | The publisher that created this publication. |
10
- **distributions** | **Array<String>** | This publication is currently being served asdefined by these distributions. | [optional]
9
+ **_distributions** | **Array<String>** | This publication is currently being served asdefined by these distributions. | [optional]
11
10
  **repository_version** | **String** | | [optional]
12
11
 
13
12
 
data/docs/PulpApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Zest::PulpApi
2
2
 
3
- All URIs are relative to *http://katello-gem-builder*
3
+ All URIs are relative to *http://zest-builder*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -41,9 +41,9 @@ Method | HTTP request | Description
41
41
  [**repositories_partial_update**](PulpApi.md#repositories_partial_update) | **PATCH** {repository_href} |
42
42
  [**repositories_read**](PulpApi.md#repositories_read) | **GET** {repository_href} |
43
43
  [**repositories_update**](PulpApi.md#repositories_update) | **PUT** {repository_href} |
44
- [**repositories_versions_create**](PulpApi.md#repositories_versions_create) | **POST** /pulp/api/v3/repositories/{repository_pk}/versions/ |
44
+ [**repositories_versions_create**](PulpApi.md#repositories_versions_create) | **POST** {repository_href}versions/ |
45
45
  [**repositories_versions_delete**](PulpApi.md#repositories_versions_delete) | **DELETE** {repository_version_href} |
46
- [**repositories_versions_list**](PulpApi.md#repositories_versions_list) | **GET** /pulp/api/v3/repositories/{repository_pk}/versions/ |
46
+ [**repositories_versions_list**](PulpApi.md#repositories_versions_list) | **GET** {repository_href}versions/ |
47
47
  [**repositories_versions_partial_update**](PulpApi.md#repositories_versions_partial_update) | **PATCH** {repository_version_href} |
48
48
  [**repositories_versions_read**](PulpApi.md#repositories_versions_read) | **GET** {repository_version_href} |
49
49
  [**repositories_versions_update**](PulpApi.md#repositories_versions_update) | **PUT** {repository_version_href} |
@@ -52,15 +52,18 @@ Method | HTTP request | Description
52
52
  [**tasks_delete**](PulpApi.md#tasks_delete) | **DELETE** {task_href} |
53
53
  [**tasks_list**](PulpApi.md#tasks_list) | **GET** /pulp/api/v3/tasks/ |
54
54
  [**tasks_read**](PulpApi.md#tasks_read) | **GET** {task_href} |
55
- [**users_delete**](PulpApi.md#users_delete) | **DELETE** {user_href} |
56
- [**users_list**](PulpApi.md#users_list) | **GET** /pulp/api/v3/users/ |
57
- [**users_read**](PulpApi.md#users_read) | **GET** {user_href} |
55
+ [**uploads_create**](PulpApi.md#uploads_create) | **POST** /pulp/api/v3/uploads/ |
56
+ [**uploads_create_0**](PulpApi.md#uploads_create_0) | **POST** {upload_href} |
57
+ [**uploads_read**](PulpApi.md#uploads_read) | **GET** /pulp/api/v3/uploads/ |
58
+ [**uploads_read_0**](PulpApi.md#uploads_read_0) | **GET** {upload_href} |
59
+ [**uploads_update**](PulpApi.md#uploads_update) | **PUT** /pulp/api/v3/uploads/ |
60
+ [**uploads_update_0**](PulpApi.md#uploads_update_0) | **PUT** {upload_href} |
58
61
  [**workers_list**](PulpApi.md#workers_list) | **GET** /pulp/api/v3/workers/ |
59
62
  [**workers_read**](PulpApi.md#workers_read) | **GET** {worker_href} |
60
63
 
61
64
 
62
65
  # **artifacts_create**
63
- > Artifact artifacts_create(file, opts)
66
+ > Artifact artifacts_create(data)
64
67
 
65
68
 
66
69
 
@@ -79,20 +82,11 @@ end
79
82
 
80
83
  api_instance = Zest::PulpApi.new
81
84
 
82
- file = File.new("/path/to/file.txt") # File | The stored file.
85
+ data = Zest::Artifact.new # Artifact |
83
86
 
84
- opts = {
85
- size: 56, # Integer | The size of the file in bytes.
86
- md5: "md5_example", # String | The MD5 checksum of the file if available.
87
- sha1: "sha1_example", # String | The SHA-1 checksum of the file if available.
88
- sha224: "sha224_example", # String | The SHA-224 checksum of the file if available.
89
- sha256: "sha256_example", # String | The SHA-256 checksum of the file if available.
90
- sha384: "sha384_example", # String | The SHA-384 checksum of the file if available.
91
- sha512: "sha512_example" # String | The SHA-512 checksum of the file if available.
92
- }
93
87
 
94
88
  begin
95
- result = api_instance.artifacts_create(file, opts)
89
+ result = api_instance.artifacts_create(data)
96
90
  p result
97
91
  rescue Zest::ApiError => e
98
92
  puts "Exception when calling PulpApi->artifacts_create: #{e}"
@@ -103,14 +97,7 @@ end
103
97
 
104
98
  Name | Type | Description | Notes
105
99
  ------------- | ------------- | ------------- | -------------
106
- **file** | **File**| The stored file. |
107
- **size** | **Integer**| The size of the file in bytes. | [optional]
108
- **md5** | **String**| The MD5 checksum of the file if available. | [optional]
109
- **sha1** | **String**| The SHA-1 checksum of the file if available. | [optional]
110
- **sha224** | **String**| The SHA-224 checksum of the file if available. | [optional]
111
- **sha256** | **String**| The SHA-256 checksum of the file if available. | [optional]
112
- **sha384** | **String**| The SHA-384 checksum of the file if available. | [optional]
113
- **sha512** | **String**| The SHA-512 checksum of the file if available. | [optional]
100
+ **data** | [**Artifact**](Artifact.md)| |
114
101
 
115
102
  ### Return type
116
103
 
@@ -122,7 +109,7 @@ Name | Type | Description | Notes
122
109
 
123
110
  ### HTTP request headers
124
111
 
125
- - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
112
+ - **Content-Type**: application/json
126
113
  - **Accept**: application/json
127
114
 
128
115
 
@@ -173,7 +160,7 @@ nil (empty response body)
173
160
 
174
161
  ### HTTP request headers
175
162
 
176
- - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
163
+ - **Content-Type**: application/json
177
164
  - **Accept**: application/json
178
165
 
179
166
 
@@ -240,7 +227,7 @@ Name | Type | Description | Notes
240
227
 
241
228
  ### HTTP request headers
242
229
 
243
- - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
230
+ - **Content-Type**: application/json
244
231
  - **Accept**: application/json
245
232
 
246
233
 
@@ -292,7 +279,7 @@ Name | Type | Description | Notes
292
279
 
293
280
  ### HTTP request headers
294
281
 
295
- - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
282
+ - **Content-Type**: application/json
296
283
  - **Accept**: application/json
297
284
 
298
285
 
@@ -471,7 +458,7 @@ Name | Type | Description | Notes
471
458
 
472
459
 
473
460
 
474
-
461
+ Trigger an asynchronous create task
475
462
 
476
463
  ### Example
477
464
  ```ruby
@@ -523,7 +510,7 @@ Name | Type | Description | Notes
523
510
 
524
511
 
525
512
 
526
-
513
+ Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
527
514
 
528
515
  ### Example
529
516
  ```ruby
@@ -574,7 +561,7 @@ nil (empty response body)
574
561
 
575
562
 
576
563
 
577
-
564
+ Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
578
565
 
579
566
  ### Example
580
567
  ```ruby
@@ -641,7 +628,7 @@ Name | Type | Description | Notes
641
628
 
642
629
 
643
630
 
644
-
631
+ Trigger an asynchronous partial update task
645
632
 
646
633
  ### Example
647
634
  ```ruby
@@ -696,7 +683,7 @@ Name | Type | Description | Notes
696
683
 
697
684
 
698
685
 
699
-
686
+ Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
700
687
 
701
688
  ### Example
702
689
  ```ruby
@@ -748,7 +735,7 @@ Name | Type | Description | Notes
748
735
 
749
736
 
750
737
 
751
-
738
+ Trigger an asynchronous update task
752
739
 
753
740
  ### Example
754
741
  ```ruby
@@ -2113,7 +2100,7 @@ Name | Type | Description | Notes
2113
2100
 
2114
2101
 
2115
2102
  # **repositories_versions_create**
2116
- > AsyncOperationResponse repositories_versions_create(repository_pk, data)
2103
+ > AsyncOperationResponse repositories_versions_create(repository_href, data)
2117
2104
 
2118
2105
 
2119
2106
 
@@ -2132,13 +2119,13 @@ end
2132
2119
 
2133
2120
  api_instance = Zest::PulpApi.new
2134
2121
 
2135
- repository_pk = "repository_pk_example" # String |
2122
+ repository_href = "repository_href_example" # String | URI of Repository. e.g.: /pulp/api/v3/repositories/1/
2136
2123
 
2137
2124
  data = Zest::RepositoryVersionCreate.new # RepositoryVersionCreate |
2138
2125
 
2139
2126
 
2140
2127
  begin
2141
- result = api_instance.repositories_versions_create(repository_pk, data)
2128
+ result = api_instance.repositories_versions_create(repository_href, data)
2142
2129
  p result
2143
2130
  rescue Zest::ApiError => e
2144
2131
  puts "Exception when calling PulpApi->repositories_versions_create: #{e}"
@@ -2149,7 +2136,7 @@ end
2149
2136
 
2150
2137
  Name | Type | Description | Notes
2151
2138
  ------------- | ------------- | ------------- | -------------
2152
- **repository_pk** | **String**| |
2139
+ **repository_href** | **String**| URI of Repository. e.g.: /pulp/api/v3/repositories/1/ |
2153
2140
  **data** | [**RepositoryVersionCreate**](RepositoryVersionCreate.md)| |
2154
2141
 
2155
2142
  ### Return type
@@ -2220,7 +2207,7 @@ Name | Type | Description | Notes
2220
2207
 
2221
2208
 
2222
2209
  # **repositories_versions_list**
2223
- > InlineResponse2007 repositories_versions_list(repository_pk, , opts)
2210
+ > InlineResponse2007 repositories_versions_list(repository_href, , opts)
2224
2211
 
2225
2212
 
2226
2213
 
@@ -2239,7 +2226,7 @@ end
2239
2226
 
2240
2227
  api_instance = Zest::PulpApi.new
2241
2228
 
2242
- repository_pk = "repository_pk_example" # String |
2229
+ repository_href = "repository_href_example" # String | URI of Repository. e.g.: /pulp/api/v3/repositories/1/
2243
2230
 
2244
2231
  opts = {
2245
2232
  ordering: "ordering_example", # String | Which field to use when ordering the results.
@@ -2261,7 +2248,7 @@ opts = {
2261
2248
  }
2262
2249
 
2263
2250
  begin
2264
- result = api_instance.repositories_versions_list(repository_pk, , opts)
2251
+ result = api_instance.repositories_versions_list(repository_href, , opts)
2265
2252
  p result
2266
2253
  rescue Zest::ApiError => e
2267
2254
  puts "Exception when calling PulpApi->repositories_versions_list: #{e}"
@@ -2272,7 +2259,7 @@ end
2272
2259
 
2273
2260
  Name | Type | Description | Notes
2274
2261
  ------------- | ------------- | ------------- | -------------
2275
- **repository_pk** | **String**| |
2262
+ **repository_href** | **String**| URI of Repository. e.g.: /pulp/api/v3/repositories/1/ |
2276
2263
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
2277
2264
  **number** | **Float**| | [optional]
2278
2265
  **number__lt** | **Float**| Filter results where number is less than value | [optional]
@@ -2765,13 +2752,65 @@ Name | Type | Description | Notes
2765
2752
 
2766
2753
 
2767
2754
 
2768
- # **users_delete**
2769
- > users_delete(user_href)
2755
+ # **uploads_create**
2756
+ > Upload uploads_create(data)
2757
+
2758
+
2759
+
2760
+ Handle POST requests.
2761
+
2762
+ ### Example
2763
+ ```ruby
2764
+ # load the gem
2765
+ require 'zest'
2766
+ # setup authorization
2767
+ Zest.configure do |config|
2768
+ # Configure HTTP basic authorization: Basic
2769
+ config.username = 'YOUR USERNAME'
2770
+ config.password = 'YOUR PASSWORD'
2771
+ end
2772
+
2773
+ api_instance = Zest::PulpApi.new
2774
+
2775
+ data = Zest::Upload.new # Upload |
2776
+
2777
+
2778
+ begin
2779
+ result = api_instance.uploads_create(data)
2780
+ p result
2781
+ rescue Zest::ApiError => e
2782
+ puts "Exception when calling PulpApi->uploads_create: #{e}"
2783
+ end
2784
+ ```
2785
+
2786
+ ### Parameters
2787
+
2788
+ Name | Type | Description | Notes
2789
+ ------------- | ------------- | ------------- | -------------
2790
+ **data** | [**Upload**](Upload.md)| |
2791
+
2792
+ ### Return type
2793
+
2794
+ [**Upload**](Upload.md)
2795
+
2796
+ ### Authorization
2797
+
2798
+ [Basic](../README.md#Basic)
2799
+
2800
+ ### HTTP request headers
2801
+
2802
+ - **Content-Type**: application/json
2803
+ - **Accept**: application/json
2770
2804
 
2771
2805
 
2772
2806
 
2807
+ # **uploads_create_0**
2808
+ > Upload uploads_create_0(upload_href, data)
2773
2809
 
2774
2810
 
2811
+
2812
+ Handle POST requests.
2813
+
2775
2814
  ### Example
2776
2815
  ```ruby
2777
2816
  # load the gem
@@ -2785,13 +2824,16 @@ end
2785
2824
 
2786
2825
  api_instance = Zest::PulpApi.new
2787
2826
 
2788
- user_href = "user_href_example" # String | URI of User. e.g.: /pulp/api/v3/users/1/
2827
+ upload_href = "upload_href_example" # String | URI of Upload. e.g.: /pulp/api/v3/uploads/1/
2828
+
2829
+ data = Zest::Upload.new # Upload |
2789
2830
 
2790
2831
 
2791
2832
  begin
2792
- api_instance.users_delete(user_href)
2833
+ result = api_instance.uploads_create_0(upload_href, data)
2834
+ p result
2793
2835
  rescue Zest::ApiError => e
2794
- puts "Exception when calling PulpApi->users_delete: #{e}"
2836
+ puts "Exception when calling PulpApi->uploads_create_0: #{e}"
2795
2837
  end
2796
2838
  ```
2797
2839
 
@@ -2799,11 +2841,12 @@ end
2799
2841
 
2800
2842
  Name | Type | Description | Notes
2801
2843
  ------------- | ------------- | ------------- | -------------
2802
- **user_href** | **String**| URI of User. e.g.: /pulp/api/v3/users/1/ |
2844
+ **upload_href** | **String**| URI of Upload. e.g.: /pulp/api/v3/uploads/1/ |
2845
+ **data** | [**Upload**](Upload.md)| |
2803
2846
 
2804
2847
  ### Return type
2805
2848
 
2806
- nil (empty response body)
2849
+ [**Upload**](Upload.md)
2807
2850
 
2808
2851
  ### Authorization
2809
2852
 
@@ -2816,13 +2859,59 @@ nil (empty response body)
2816
2859
 
2817
2860
 
2818
2861
 
2819
- # **users_list**
2820
- > InlineResponse2009 users_list(opts)
2862
+ # **uploads_read**
2863
+ > Upload uploads_read
2864
+
2865
+
2866
+
2867
+ Handle GET requests.
2868
+
2869
+ ### Example
2870
+ ```ruby
2871
+ # load the gem
2872
+ require 'zest'
2873
+ # setup authorization
2874
+ Zest.configure do |config|
2875
+ # Configure HTTP basic authorization: Basic
2876
+ config.username = 'YOUR USERNAME'
2877
+ config.password = 'YOUR PASSWORD'
2878
+ end
2879
+
2880
+ api_instance = Zest::PulpApi.new
2881
+
2882
+ begin
2883
+ result = api_instance.uploads_read
2884
+ p result
2885
+ rescue Zest::ApiError => e
2886
+ puts "Exception when calling PulpApi->uploads_read: #{e}"
2887
+ end
2888
+ ```
2889
+
2890
+ ### Parameters
2891
+ This endpoint does not need any parameter.
2892
+
2893
+ ### Return type
2894
+
2895
+ [**Upload**](Upload.md)
2896
+
2897
+ ### Authorization
2821
2898
 
2899
+ [Basic](../README.md#Basic)
2822
2900
 
2901
+ ### HTTP request headers
2823
2902
 
2903
+ - **Content-Type**: application/json
2904
+ - **Accept**: application/json
2824
2905
 
2825
2906
 
2907
+
2908
+ # **uploads_read_0**
2909
+ > Upload uploads_read_0(upload_href, )
2910
+
2911
+
2912
+
2913
+ Handle GET requests.
2914
+
2826
2915
  ### Example
2827
2916
  ```ruby
2828
2917
  # load the gem
@@ -2836,18 +2925,14 @@ end
2836
2925
 
2837
2926
  api_instance = Zest::PulpApi.new
2838
2927
 
2839
- opts = {
2840
- username: "username_example", # String |
2841
- username__in: "username__in_example", # String | Filter results where username is in a comma-separated list of values
2842
- page: 56, # Integer | A page number within the paginated result set.
2843
- page_size: 56 # Integer | Number of results to return per page.
2844
- }
2928
+ upload_href = "upload_href_example" # String | URI of Upload. e.g.: /pulp/api/v3/uploads/1/
2929
+
2845
2930
 
2846
2931
  begin
2847
- result = api_instance.users_list(opts)
2932
+ result = api_instance.uploads_read_0(upload_href, )
2848
2933
  p result
2849
2934
  rescue Zest::ApiError => e
2850
- puts "Exception when calling PulpApi->users_list: #{e}"
2935
+ puts "Exception when calling PulpApi->uploads_read_0: #{e}"
2851
2936
  end
2852
2937
  ```
2853
2938
 
@@ -2855,14 +2940,11 @@ end
2855
2940
 
2856
2941
  Name | Type | Description | Notes
2857
2942
  ------------- | ------------- | ------------- | -------------
2858
- **username** | **String**| | [optional]
2859
- **username__in** | **String**| Filter results where username is in a comma-separated list of values | [optional]
2860
- **page** | **Integer**| A page number within the paginated result set. | [optional]
2861
- **page_size** | **Integer**| Number of results to return per page. | [optional]
2943
+ **upload_href** | **String**| URI of Upload. e.g.: /pulp/api/v3/uploads/1/ |
2862
2944
 
2863
2945
  ### Return type
2864
2946
 
2865
- [**InlineResponse2009**](InlineResponse2009.md)
2947
+ [**Upload**](Upload.md)
2866
2948
 
2867
2949
  ### Authorization
2868
2950
 
@@ -2875,12 +2957,64 @@ Name | Type | Description | Notes
2875
2957
 
2876
2958
 
2877
2959
 
2878
- # **users_read**
2879
- > User users_read(user_href)
2960
+ # **uploads_update**
2961
+ > Upload uploads_update(data)
2962
+
2963
+
2964
+
2965
+ Handle PUT requests.
2966
+
2967
+ ### Example
2968
+ ```ruby
2969
+ # load the gem
2970
+ require 'zest'
2971
+ # setup authorization
2972
+ Zest.configure do |config|
2973
+ # Configure HTTP basic authorization: Basic
2974
+ config.username = 'YOUR USERNAME'
2975
+ config.password = 'YOUR PASSWORD'
2976
+ end
2977
+
2978
+ api_instance = Zest::PulpApi.new
2979
+
2980
+ data = Zest::Upload.new # Upload |
2880
2981
 
2881
2982
 
2983
+ begin
2984
+ result = api_instance.uploads_update(data)
2985
+ p result
2986
+ rescue Zest::ApiError => e
2987
+ puts "Exception when calling PulpApi->uploads_update: #{e}"
2988
+ end
2989
+ ```
2882
2990
 
2991
+ ### Parameters
2883
2992
 
2993
+ Name | Type | Description | Notes
2994
+ ------------- | ------------- | ------------- | -------------
2995
+ **data** | [**Upload**](Upload.md)| |
2996
+
2997
+ ### Return type
2998
+
2999
+ [**Upload**](Upload.md)
3000
+
3001
+ ### Authorization
3002
+
3003
+ [Basic](../README.md#Basic)
3004
+
3005
+ ### HTTP request headers
3006
+
3007
+ - **Content-Type**: application/json
3008
+ - **Accept**: application/json
3009
+
3010
+
3011
+
3012
+ # **uploads_update_0**
3013
+ > Upload uploads_update_0(upload_href, data)
3014
+
3015
+
3016
+
3017
+ Handle PUT requests.
2884
3018
 
2885
3019
  ### Example
2886
3020
  ```ruby
@@ -2895,14 +3029,16 @@ end
2895
3029
 
2896
3030
  api_instance = Zest::PulpApi.new
2897
3031
 
2898
- user_href = "user_href_example" # String | URI of User. e.g.: /pulp/api/v3/users/1/
3032
+ upload_href = "upload_href_example" # String | URI of Upload. e.g.: /pulp/api/v3/uploads/1/
3033
+
3034
+ data = Zest::Upload.new # Upload |
2899
3035
 
2900
3036
 
2901
3037
  begin
2902
- result = api_instance.users_read(user_href)
3038
+ result = api_instance.uploads_update_0(upload_href, data)
2903
3039
  p result
2904
3040
  rescue Zest::ApiError => e
2905
- puts "Exception when calling PulpApi->users_read: #{e}"
3041
+ puts "Exception when calling PulpApi->uploads_update_0: #{e}"
2906
3042
  end
2907
3043
  ```
2908
3044
 
@@ -2910,11 +3046,12 @@ end
2910
3046
 
2911
3047
  Name | Type | Description | Notes
2912
3048
  ------------- | ------------- | ------------- | -------------
2913
- **user_href** | **String**| URI of User. e.g.: /pulp/api/v3/users/1/ |
3049
+ **upload_href** | **String**| URI of Upload. e.g.: /pulp/api/v3/uploads/1/ |
3050
+ **data** | [**Upload**](Upload.md)| |
2914
3051
 
2915
3052
  ### Return type
2916
3053
 
2917
- [**User**](User.md)
3054
+ [**Upload**](Upload.md)
2918
3055
 
2919
3056
  ### Authorization
2920
3057
 
@@ -2928,7 +3065,7 @@ Name | Type | Description | Notes
2928
3065
 
2929
3066
 
2930
3067
  # **workers_list**
2931
- > InlineResponse20010 workers_list(opts)
3068
+ > InlineResponse2009 workers_list(opts)
2932
3069
 
2933
3070
 
2934
3071
 
@@ -2989,7 +3126,7 @@ Name | Type | Description | Notes
2989
3126
 
2990
3127
  ### Return type
2991
3128
 
2992
- [**InlineResponse20010**](InlineResponse20010.md)
3129
+ [**InlineResponse2009**](InlineResponse2009.md)
2993
3130
 
2994
3131
  ### Authorization
2995
3132