zest 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +185 -0
- data/Rakefile +8 -0
- data/api.json +1 -0
- data/config.json +6 -0
- data/docs/Artifact.md +17 -0
- data/docs/AsyncOperationResponse.md +8 -0
- data/docs/Distribution.md +16 -0
- data/docs/FileContent.md +12 -0
- data/docs/FilePublisher.md +14 -0
- data/docs/FileRemote.md +23 -0
- data/docs/InlineResponse200.md +11 -0
- data/docs/InlineResponse2001.md +11 -0
- data/docs/InlineResponse20010.md +11 -0
- data/docs/InlineResponse2002.md +11 -0
- data/docs/InlineResponse2003.md +11 -0
- data/docs/InlineResponse2004.md +11 -0
- data/docs/InlineResponse2005.md +11 -0
- data/docs/InlineResponse2006.md +11 -0
- data/docs/InlineResponse2007.md +11 -0
- data/docs/InlineResponse2008.md +11 -0
- data/docs/InlineResponse2009.md +11 -0
- data/docs/ProgressReport.md +13 -0
- data/docs/Publication.md +13 -0
- data/docs/PulpApi.md +3056 -0
- data/docs/Repository.md +13 -0
- data/docs/RepositoryPublishURL.md +9 -0
- data/docs/RepositorySyncURL.md +9 -0
- data/docs/RepositoryVersion.md +17 -0
- data/docs/RepositoryVersionCreate.md +10 -0
- data/docs/Task.md +21 -0
- data/docs/User.md +11 -0
- data/docs/Worker.md +13 -0
- data/git_push.sh +55 -0
- data/katello_pulp_api-0.0.1.gem +0 -0
- data/katello_pulp_api.gemspec +46 -0
- data/lib/katello_pulp_api.rb +67 -0
- data/lib/katello_pulp_api/api/pulp_api.rb +3277 -0
- data/lib/katello_pulp_api/api_client.rb +389 -0
- data/lib/katello_pulp_api/api_error.rb +38 -0
- data/lib/katello_pulp_api/configuration.rb +209 -0
- data/lib/katello_pulp_api/models/artifact.rb +278 -0
- data/lib/katello_pulp_api/models/async_operation_response.rb +194 -0
- data/lib/katello_pulp_api/models/distribution.rb +350 -0
- data/lib/katello_pulp_api/models/file_content.rb +272 -0
- data/lib/katello_pulp_api/models/file_publisher.rb +306 -0
- data/lib/katello_pulp_api/models/file_remote.rb +452 -0
- data/lib/katello_pulp_api/models/inline_response_200.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_1.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_10.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_2.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_3.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_4.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_5.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_6.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_7.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_8.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_9.rb +227 -0
- data/lib/katello_pulp_api/models/progress_report.rb +271 -0
- data/lib/katello_pulp_api/models/publication.rb +249 -0
- data/lib/katello_pulp_api/models/repository.rb +260 -0
- data/lib/katello_pulp_api/models/repository_publish_url.rb +199 -0
- data/lib/katello_pulp_api/models/repository_sync_url.rb +206 -0
- data/lib/katello_pulp_api/models/repository_version.rb +277 -0
- data/lib/katello_pulp_api/models/repository_version_create.rb +223 -0
- data/lib/katello_pulp_api/models/task.rb +363 -0
- data/lib/katello_pulp_api/models/user.rb +284 -0
- data/lib/katello_pulp_api/models/worker.rb +254 -0
- data/lib/katello_pulp_api/version.rb +15 -0
- data/lib/zest.rb +67 -0
- data/lib/zest/api/pulp_api.rb +3277 -0
- data/lib/zest/api_client.rb +389 -0
- data/lib/zest/api_error.rb +38 -0
- data/lib/zest/configuration.rb +209 -0
- data/lib/zest/models/artifact.rb +278 -0
- data/lib/zest/models/async_operation_response.rb +194 -0
- data/lib/zest/models/distribution.rb +350 -0
- data/lib/zest/models/file_content.rb +272 -0
- data/lib/zest/models/file_publisher.rb +306 -0
- data/lib/zest/models/file_remote.rb +452 -0
- data/lib/zest/models/inline_response_200.rb +227 -0
- data/lib/zest/models/inline_response_200_1.rb +227 -0
- data/lib/zest/models/inline_response_200_10.rb +227 -0
- data/lib/zest/models/inline_response_200_2.rb +227 -0
- data/lib/zest/models/inline_response_200_3.rb +227 -0
- data/lib/zest/models/inline_response_200_4.rb +227 -0
- data/lib/zest/models/inline_response_200_5.rb +227 -0
- data/lib/zest/models/inline_response_200_6.rb +227 -0
- data/lib/zest/models/inline_response_200_7.rb +227 -0
- data/lib/zest/models/inline_response_200_8.rb +227 -0
- data/lib/zest/models/inline_response_200_9.rb +227 -0
- data/lib/zest/models/progress_report.rb +271 -0
- data/lib/zest/models/publication.rb +249 -0
- data/lib/zest/models/repository.rb +260 -0
- data/lib/zest/models/repository_publish_url.rb +199 -0
- data/lib/zest/models/repository_sync_url.rb +206 -0
- data/lib/zest/models/repository_version.rb +277 -0
- data/lib/zest/models/repository_version_create.rb +223 -0
- data/lib/zest/models/task.rb +363 -0
- data/lib/zest/models/user.rb +284 -0
- data/lib/zest/models/worker.rb +254 -0
- data/lib/zest/version.rb +15 -0
- data/spec/api/pulp_api_spec.rb +784 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/artifact_spec.rb +96 -0
- data/spec/models/async_operation_response_spec.rb +42 -0
- data/spec/models/distribution_spec.rb +90 -0
- data/spec/models/file_content_spec.rb +66 -0
- data/spec/models/file_publisher_spec.rb +78 -0
- data/spec/models/file_remote_spec.rb +136 -0
- data/spec/models/inline_response_200_10_spec.rb +60 -0
- data/spec/models/inline_response_200_1_spec.rb +60 -0
- data/spec/models/inline_response_200_2_spec.rb +60 -0
- data/spec/models/inline_response_200_3_spec.rb +60 -0
- data/spec/models/inline_response_200_4_spec.rb +60 -0
- data/spec/models/inline_response_200_5_spec.rb +60 -0
- data/spec/models/inline_response_200_6_spec.rb +60 -0
- data/spec/models/inline_response_200_7_spec.rb +60 -0
- data/spec/models/inline_response_200_8_spec.rb +60 -0
- data/spec/models/inline_response_200_9_spec.rb +60 -0
- data/spec/models/inline_response_200_spec.rb +60 -0
- data/spec/models/progress_report_spec.rb +72 -0
- data/spec/models/publication_spec.rb +72 -0
- data/spec/models/repository_publish_url_spec.rb +48 -0
- data/spec/models/repository_spec.rb +72 -0
- data/spec/models/repository_sync_url_spec.rb +48 -0
- data/spec/models/repository_version_create_spec.rb +54 -0
- data/spec/models/repository_version_spec.rb +96 -0
- data/spec/models/task_spec.rb +120 -0
- data/spec/models/user_spec.rb +60 -0
- data/spec/models/worker_spec.rb +72 -0
- data/spec/spec_helper.rb +111 -0
- data/zest.gemspec +46 -0
- metadata +391 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: bc3a5990ebb20855437983f229f4aa4ce6b5a7c5
|
4
|
+
data.tar.gz: 0bcdccc3c649bf0f07d93d1d238d8b2a42cfed93
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cfe98fe5f88c024be38449f84bdb8ab15fa72cc44ff8d68540e2450206097eb1973d69d27773b343f009bbecd5c58977f7d21ef51906f6f1cf30978f19420081
|
7
|
+
data.tar.gz: 0d3ad9dad7bcd49f49a687d659d514f3a71f6c711e7a42053d6604c0ff86f0497e046ebf91b43480eab7cf713473ff8661c00fe1a05ad1ed74379e636377dfa2
|
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,185 @@
|
|
1
|
+
# zest
|
2
|
+
|
3
|
+
Zest - the Ruby gem for the Pulp3 API
|
4
|
+
|
5
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
6
|
+
|
7
|
+
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
|
+
|
9
|
+
- API version: v3
|
10
|
+
- Package version: 0.0.1
|
11
|
+
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
|
+
|
13
|
+
## Installation
|
14
|
+
|
15
|
+
### Build a gem
|
16
|
+
|
17
|
+
To build the Ruby code into a gem:
|
18
|
+
|
19
|
+
```shell
|
20
|
+
gem build zest.gemspec
|
21
|
+
```
|
22
|
+
|
23
|
+
Then either install the gem locally:
|
24
|
+
|
25
|
+
```shell
|
26
|
+
gem install ./zest-0.0.1.gem
|
27
|
+
```
|
28
|
+
(for development, run `gem install --dev ./zest-0.0.1.gem` to install the development dependencies)
|
29
|
+
|
30
|
+
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
|
+
|
32
|
+
Finally add this to the Gemfile:
|
33
|
+
|
34
|
+
gem 'zest', '~> 0.0.1'
|
35
|
+
|
36
|
+
### Install from Git
|
37
|
+
|
38
|
+
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
|
39
|
+
|
40
|
+
gem 'zest', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
41
|
+
|
42
|
+
### Include the Ruby code directly
|
43
|
+
|
44
|
+
Include the Ruby code directly using `-I` as follows:
|
45
|
+
|
46
|
+
```shell
|
47
|
+
ruby -Ilib script.rb
|
48
|
+
```
|
49
|
+
|
50
|
+
## Getting Started
|
51
|
+
|
52
|
+
Please follow the [installation](#installation) procedure and then run the following code:
|
53
|
+
```ruby
|
54
|
+
# Load the gem
|
55
|
+
require 'zest'
|
56
|
+
|
57
|
+
# Setup authorization
|
58
|
+
Zest.configure do |config|
|
59
|
+
# Configure HTTP basic authorization: Basic
|
60
|
+
config.username = 'YOUR USERNAME'
|
61
|
+
config.password = 'YOUR PASSWORD'
|
62
|
+
end
|
63
|
+
|
64
|
+
api_instance = Zest::PulpApi.new
|
65
|
+
|
66
|
+
file = File.new("/path/to/file.txt") # File | The stored file.
|
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
|
+
|
78
|
+
begin
|
79
|
+
result = api_instance.artifacts_create(file, opts)
|
80
|
+
p result
|
81
|
+
rescue Zest::ApiError => e
|
82
|
+
puts "Exception when calling PulpApi->artifacts_create: #{e}"
|
83
|
+
end
|
84
|
+
|
85
|
+
```
|
86
|
+
|
87
|
+
## Documentation for API Endpoints
|
88
|
+
|
89
|
+
All URIs are relative to *http://katello-gem-builder*
|
90
|
+
|
91
|
+
Class | Method | HTTP request | Description
|
92
|
+
------------ | ------------- | ------------- | -------------
|
93
|
+
*Zest::PulpApi* | [**artifacts_create**](docs/PulpApi.md#artifacts_create) | **POST** /pulp/api/v3/artifacts/ |
|
94
|
+
*Zest::PulpApi* | [**artifacts_delete**](docs/PulpApi.md#artifacts_delete) | **DELETE** {artifact_href} |
|
95
|
+
*Zest::PulpApi* | [**artifacts_list**](docs/PulpApi.md#artifacts_list) | **GET** /pulp/api/v3/artifacts/ |
|
96
|
+
*Zest::PulpApi* | [**artifacts_read**](docs/PulpApi.md#artifacts_read) | **GET** {artifact_href} |
|
97
|
+
*Zest::PulpApi* | [**content_file_files_create**](docs/PulpApi.md#content_file_files_create) | **POST** /pulp/api/v3/content/file/files/ |
|
98
|
+
*Zest::PulpApi* | [**content_file_files_list**](docs/PulpApi.md#content_file_files_list) | **GET** /pulp/api/v3/content/file/files/ |
|
99
|
+
*Zest::PulpApi* | [**content_file_files_read**](docs/PulpApi.md#content_file_files_read) | **GET** {file_content_href} |
|
100
|
+
*Zest::PulpApi* | [**distributions_create**](docs/PulpApi.md#distributions_create) | **POST** /pulp/api/v3/distributions/ |
|
101
|
+
*Zest::PulpApi* | [**distributions_delete**](docs/PulpApi.md#distributions_delete) | **DELETE** {distribution_href} |
|
102
|
+
*Zest::PulpApi* | [**distributions_list**](docs/PulpApi.md#distributions_list) | **GET** /pulp/api/v3/distributions/ |
|
103
|
+
*Zest::PulpApi* | [**distributions_partial_update**](docs/PulpApi.md#distributions_partial_update) | **PATCH** {distribution_href} |
|
104
|
+
*Zest::PulpApi* | [**distributions_read**](docs/PulpApi.md#distributions_read) | **GET** {distribution_href} |
|
105
|
+
*Zest::PulpApi* | [**distributions_update**](docs/PulpApi.md#distributions_update) | **PUT** {distribution_href} |
|
106
|
+
*Zest::PulpApi* | [**orphans_delete**](docs/PulpApi.md#orphans_delete) | **DELETE** /pulp/api/v3/orphans/ |
|
107
|
+
*Zest::PulpApi* | [**publications_delete**](docs/PulpApi.md#publications_delete) | **DELETE** {publication_href} |
|
108
|
+
*Zest::PulpApi* | [**publications_list**](docs/PulpApi.md#publications_list) | **GET** /pulp/api/v3/publications/ |
|
109
|
+
*Zest::PulpApi* | [**publications_read**](docs/PulpApi.md#publications_read) | **GET** {publication_href} |
|
110
|
+
*Zest::PulpApi* | [**publishers_file_file_create**](docs/PulpApi.md#publishers_file_file_create) | **POST** /pulp/api/v3/publishers/file/file/ |
|
111
|
+
*Zest::PulpApi* | [**publishers_file_file_delete**](docs/PulpApi.md#publishers_file_file_delete) | **DELETE** {file_publisher_href} |
|
112
|
+
*Zest::PulpApi* | [**publishers_file_file_list**](docs/PulpApi.md#publishers_file_file_list) | **GET** /pulp/api/v3/publishers/file/file/ |
|
113
|
+
*Zest::PulpApi* | [**publishers_file_file_partial_update**](docs/PulpApi.md#publishers_file_file_partial_update) | **PATCH** {file_publisher_href} |
|
114
|
+
*Zest::PulpApi* | [**publishers_file_file_publish**](docs/PulpApi.md#publishers_file_file_publish) | **POST** {file_publisher_href}publish/ |
|
115
|
+
*Zest::PulpApi* | [**publishers_file_file_read**](docs/PulpApi.md#publishers_file_file_read) | **GET** {file_publisher_href} |
|
116
|
+
*Zest::PulpApi* | [**publishers_file_file_update**](docs/PulpApi.md#publishers_file_file_update) | **PUT** {file_publisher_href} |
|
117
|
+
*Zest::PulpApi* | [**remotes_file_file_create**](docs/PulpApi.md#remotes_file_file_create) | **POST** /pulp/api/v3/remotes/file/file/ |
|
118
|
+
*Zest::PulpApi* | [**remotes_file_file_delete**](docs/PulpApi.md#remotes_file_file_delete) | **DELETE** {file_remote_href} |
|
119
|
+
*Zest::PulpApi* | [**remotes_file_file_list**](docs/PulpApi.md#remotes_file_file_list) | **GET** /pulp/api/v3/remotes/file/file/ |
|
120
|
+
*Zest::PulpApi* | [**remotes_file_file_partial_update**](docs/PulpApi.md#remotes_file_file_partial_update) | **PATCH** {file_remote_href} |
|
121
|
+
*Zest::PulpApi* | [**remotes_file_file_read**](docs/PulpApi.md#remotes_file_file_read) | **GET** {file_remote_href} |
|
122
|
+
*Zest::PulpApi* | [**remotes_file_file_sync**](docs/PulpApi.md#remotes_file_file_sync) | **POST** {file_remote_href}sync/ |
|
123
|
+
*Zest::PulpApi* | [**remotes_file_file_update**](docs/PulpApi.md#remotes_file_file_update) | **PUT** {file_remote_href} |
|
124
|
+
*Zest::PulpApi* | [**repositories_create**](docs/PulpApi.md#repositories_create) | **POST** /pulp/api/v3/repositories/ |
|
125
|
+
*Zest::PulpApi* | [**repositories_delete**](docs/PulpApi.md#repositories_delete) | **DELETE** {repository_href} |
|
126
|
+
*Zest::PulpApi* | [**repositories_list**](docs/PulpApi.md#repositories_list) | **GET** /pulp/api/v3/repositories/ |
|
127
|
+
*Zest::PulpApi* | [**repositories_partial_update**](docs/PulpApi.md#repositories_partial_update) | **PATCH** {repository_href} |
|
128
|
+
*Zest::PulpApi* | [**repositories_read**](docs/PulpApi.md#repositories_read) | **GET** {repository_href} |
|
129
|
+
*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/ |
|
131
|
+
*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/ |
|
133
|
+
*Zest::PulpApi* | [**repositories_versions_partial_update**](docs/PulpApi.md#repositories_versions_partial_update) | **PATCH** {repository_version_href} |
|
134
|
+
*Zest::PulpApi* | [**repositories_versions_read**](docs/PulpApi.md#repositories_versions_read) | **GET** {repository_version_href} |
|
135
|
+
*Zest::PulpApi* | [**repositories_versions_update**](docs/PulpApi.md#repositories_versions_update) | **PUT** {repository_version_href} |
|
136
|
+
*Zest::PulpApi* | [**status_list**](docs/PulpApi.md#status_list) | **GET** /pulp/api/v3/status/ |
|
137
|
+
*Zest::PulpApi* | [**tasks_cancel**](docs/PulpApi.md#tasks_cancel) | **POST** {task_href}cancel/ |
|
138
|
+
*Zest::PulpApi* | [**tasks_delete**](docs/PulpApi.md#tasks_delete) | **DELETE** {task_href} |
|
139
|
+
*Zest::PulpApi* | [**tasks_list**](docs/PulpApi.md#tasks_list) | **GET** /pulp/api/v3/tasks/ |
|
140
|
+
*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} |
|
144
|
+
*Zest::PulpApi* | [**workers_list**](docs/PulpApi.md#workers_list) | **GET** /pulp/api/v3/workers/ |
|
145
|
+
*Zest::PulpApi* | [**workers_read**](docs/PulpApi.md#workers_read) | **GET** {worker_href} |
|
146
|
+
|
147
|
+
|
148
|
+
## Documentation for Models
|
149
|
+
|
150
|
+
- [Zest::Artifact](docs/Artifact.md)
|
151
|
+
- [Zest::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
152
|
+
- [Zest::Distribution](docs/Distribution.md)
|
153
|
+
- [Zest::FileContent](docs/FileContent.md)
|
154
|
+
- [Zest::FilePublisher](docs/FilePublisher.md)
|
155
|
+
- [Zest::FileRemote](docs/FileRemote.md)
|
156
|
+
- [Zest::InlineResponse200](docs/InlineResponse200.md)
|
157
|
+
- [Zest::InlineResponse2001](docs/InlineResponse2001.md)
|
158
|
+
- [Zest::InlineResponse20010](docs/InlineResponse20010.md)
|
159
|
+
- [Zest::InlineResponse2002](docs/InlineResponse2002.md)
|
160
|
+
- [Zest::InlineResponse2003](docs/InlineResponse2003.md)
|
161
|
+
- [Zest::InlineResponse2004](docs/InlineResponse2004.md)
|
162
|
+
- [Zest::InlineResponse2005](docs/InlineResponse2005.md)
|
163
|
+
- [Zest::InlineResponse2006](docs/InlineResponse2006.md)
|
164
|
+
- [Zest::InlineResponse2007](docs/InlineResponse2007.md)
|
165
|
+
- [Zest::InlineResponse2008](docs/InlineResponse2008.md)
|
166
|
+
- [Zest::InlineResponse2009](docs/InlineResponse2009.md)
|
167
|
+
- [Zest::ProgressReport](docs/ProgressReport.md)
|
168
|
+
- [Zest::Publication](docs/Publication.md)
|
169
|
+
- [Zest::Repository](docs/Repository.md)
|
170
|
+
- [Zest::RepositoryPublishURL](docs/RepositoryPublishURL.md)
|
171
|
+
- [Zest::RepositorySyncURL](docs/RepositorySyncURL.md)
|
172
|
+
- [Zest::RepositoryVersion](docs/RepositoryVersion.md)
|
173
|
+
- [Zest::RepositoryVersionCreate](docs/RepositoryVersionCreate.md)
|
174
|
+
- [Zest::Task](docs/Task.md)
|
175
|
+
- [Zest::User](docs/User.md)
|
176
|
+
- [Zest::Worker](docs/Worker.md)
|
177
|
+
|
178
|
+
|
179
|
+
## Documentation for Authorization
|
180
|
+
|
181
|
+
|
182
|
+
### Basic
|
183
|
+
|
184
|
+
- **Type**: HTTP basic authentication
|
185
|
+
|
data/Rakefile
ADDED
data/api.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"swagger": "2.0", "info": {"title": "Pulp3 API", "version": "v3"}, "host": "katello-gem-builder", "schemes": ["http"], "basePath": "/", "consumes": ["application/json"], "produces": ["application/json"], "securityDefinitions": {"Basic": {"type": "basic"}}, "security": [{"Basic": []}], "paths": {"/pulp/api/v3/artifacts/": {"get": {"operationId": "artifacts_list", "description": "", "parameters": [{"name": "md5", "in": "query", "description": "Filter results where md5 matches value", "required": false, "type": "string"}, {"name": "sha1", "in": "query", "description": "Filter results where sha1 matches value", "required": false, "type": "string"}, {"name": "sha224", "in": "query", "description": "Filter results where sha224 matches value", "required": false, "type": "string"}, {"name": "sha256", "in": "query", "description": "Filter results where sha256 matches value", "required": false, "type": "string"}, {"name": "sha384", "in": "query", "description": "Filter results where sha384 matches value", "required": false, "type": "string"}, {"name": "sha512", "in": "query", "description": "Filter results where sha512 matches value", "required": false, "type": "string"}, {"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}, {"name": "page_size", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/Artifact"}}}}}}, "consumes": ["multipart/form-data", "application/x-www-form-urlencoded"], "tags": ["pulp"]}, "post": {"operationId": "artifacts_create", "description": "", "parameters": [{"name": "file", "in": "formData", "description": "The stored file.", "required": true, "type": "file"}, {"name": "size", "in": "formData", "description": "The size of the file in bytes.", "required": false, "type": "integer"}, {"name": "md5", "in": "formData", "description": "The MD5 checksum of the file if available.", "required": false, "type": "string"}, {"name": "sha1", "in": "formData", "description": "The SHA-1 checksum of the file if available.", "required": false, "type": "string"}, {"name": "sha224", "in": "formData", "description": "The SHA-224 checksum of the file if available.", "required": false, "type": "string"}, {"name": "sha256", "in": "formData", "description": "The SHA-256 checksum of the file if available.", "required": false, "type": "string"}, {"name": "sha384", "in": "formData", "description": "The SHA-384 checksum of the file if available.", "required": false, "type": "string"}, {"name": "sha512", "in": "formData", "description": "The SHA-512 checksum of the file if available.", "required": false, "type": "string"}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Artifact"}}}, "consumes": ["multipart/form-data", "application/x-www-form-urlencoded"], "tags": ["pulp"]}, "parameters": []}, "{artifact_href}": {"get": {"operationId": "artifacts_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Artifact"}}}, "consumes": ["multipart/form-data", "application/x-www-form-urlencoded"], "tags": ["pulp"]}, "delete": {"operationId": "artifacts_delete", "description": "Remove Artifact only if it is not associated with any Content.", "parameters": [], "responses": {"204": {"description": ""}}, "consumes": ["multipart/form-data", "application/x-www-form-urlencoded"], "tags": ["pulp"]}, "parameters": [{"name": "artifact_href", "in": "path", "description": "URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/", "required": true, "type": "string"}]}, "/pulp/api/v3/content/file/files/": {"get": {"operationId": "content_file_files_list", "description": "ViewSet for FileContent.", "parameters": [{"name": "relative_path", "in": "query", "description": "Filter results where relative_path matches value", "required": false, "type": "string"}, {"name": "digest", "in": "query", "description": "Filter results where digest matches value", "required": false, "type": "string"}, {"name": "repository_version", "in": "query", "description": "Repository Version referenced by HREF", "required": false, "type": "string"}, {"name": "repository_version_added", "in": "query", "description": "Repository Version referenced by HREF", "required": false, "type": "string"}, {"name": "repository_version_removed", "in": "query", "description": "Repository Version referenced by HREF", "required": false, "type": "string"}, {"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}, {"name": "page_size", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/FileContent"}}}}}}, "tags": ["pulp"]}, "post": {"operationId": "content_file_files_create", "description": "Create a new FileContent from a request.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/FileContent"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/FileContent"}}}, "tags": ["pulp"]}, "parameters": []}, "{file_content_href}": {"get": {"operationId": "content_file_files_read", "description": "ViewSet for FileContent.", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/FileContent"}}}, "tags": ["pulp"]}, "parameters": [{"name": "file_content_href", "in": "path", "description": "URI of File Content. e.g.: /pulp/api/v3/content/file/files/1/", "required": true, "type": "string"}]}, "/pulp/api/v3/distributions/": {"get": {"operationId": "distributions_list", "description": "", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name__in", "in": "query", "description": "Filter results where name is in a comma-separated list of values", "required": false, "type": "string"}, {"name": "base_path", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "base_path__contains", "in": "query", "description": "Filter results where base_path contains value", "required": false, "type": "string"}, {"name": "base_path__icontains", "in": "query", "description": "Filter results where base_path contains value", "required": false, "type": "string"}, {"name": "base_path__in", "in": "query", "description": "Filter results where base_path is in a comma-separated list of values", "required": false, "type": "string"}, {"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}, {"name": "page_size", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/Distribution"}}}}}}, "tags": ["pulp"]}, "post": {"operationId": "distributions_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Distribution"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Distribution"}}}, "tags": ["pulp"]}, "parameters": []}, "{distribution_href}": {"get": {"operationId": "distributions_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Distribution"}}}, "tags": ["pulp"]}, "put": {"operationId": "distributions_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Distribution"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Distribution"}}}, "tags": ["pulp"]}, "patch": {"operationId": "distributions_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Distribution"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Distribution"}}}, "tags": ["pulp"]}, "delete": {"operationId": "distributions_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["pulp"]}, "parameters": [{"name": "distribution_href", "in": "path", "description": "URI of Distribution. e.g.: /pulp/api/v3/distributions/1/", "required": true, "type": "string"}]}, "/pulp/api/v3/orphans/": {"delete": {"operationId": "orphans_delete", "description": "Cleans up all the Content and Artifact orphans in the system", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["pulp"]}, "parameters": []}, "/pulp/api/v3/publications/": {"get": {"operationId": "publications_list", "description": "", "parameters": [{"name": "ordering", "in": "query", "description": "Which field to use when ordering the results.", "required": false, "type": "string"}, {"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}, {"name": "page_size", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/Publication"}}}}}}, "tags": ["pulp"]}, "parameters": []}, "{publication_href}": {"get": {"operationId": "publications_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Publication"}}}, "tags": ["pulp"]}, "delete": {"operationId": "publications_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["pulp"]}, "parameters": [{"name": "publication_href", "in": "path", "description": "URI of Publication. e.g.: /pulp/api/v3/publications/1/", "required": true, "type": "string"}]}, "/pulp/api/v3/publishers/file/file/": {"get": {"operationId": "publishers_file_file_list", "description": "ViewSet for File Publishers.", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name__in", "in": "query", "description": "Filter results where name is in a comma-separated list of values", "required": false, "type": "string"}, {"name": "_last_updated__lt", "in": "query", "description": "Filter results where _last_updated is less than value", "required": false, "type": "string"}, {"name": "_last_updated__lte", "in": "query", "description": "Filter results where _last_updated is less than or equal to value", "required": false, "type": "string"}, {"name": "_last_updated__gt", "in": "query", "description": "Filter results where _last_updated is greater than value", "required": false, "type": "string"}, {"name": "_last_updated__gte", "in": "query", "description": "Filter results where _last_updated is greater than or equal to value", "required": false, "type": "string"}, {"name": "_last_updated__range", "in": "query", "description": "Filter results where _last_updated is between two comma separated values", "required": false, "type": "string"}, {"name": "_last_updated", "in": "query", "description": "ISO 8601 formatted dates are supported", "required": false, "type": "string"}, {"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}, {"name": "page_size", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/FilePublisher"}}}}}}, "tags": ["pulp"]}, "post": {"operationId": "publishers_file_file_create", "description": "ViewSet for File Publishers.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/FilePublisher"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/FilePublisher"}}}, "tags": ["pulp"]}, "parameters": []}, "{file_publisher_href}": {"get": {"operationId": "publishers_file_file_read", "description": "ViewSet for File Publishers.", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/FilePublisher"}}}, "tags": ["pulp"]}, "put": {"operationId": "publishers_file_file_update", "description": "Trigger an asynchronous update task", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/FilePublisher"}}], "responses": {"202": {"description": "", "schema": {"$ref": "#/definitions/AsyncOperationResponse"}}}, "tags": ["pulp"]}, "patch": {"operationId": "publishers_file_file_partial_update", "description": "Trigger an asynchronous partial update task", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/FilePublisher"}}], "responses": {"202": {"description": "", "schema": {"$ref": "#/definitions/AsyncOperationResponse"}}}, "tags": ["pulp"]}, "delete": {"operationId": "publishers_file_file_delete", "description": "Trigger an asynchronous delete task", "parameters": [], "responses": {"202": {"description": "", "schema": {"$ref": "#/definitions/AsyncOperationResponse"}}}, "tags": ["pulp"]}, "parameters": [{"name": "file_publisher_href", "in": "path", "description": "URI of File Publisher. e.g.: /pulp/api/v3/publishers/file/file/1/", "required": true, "type": "string"}]}, "{file_publisher_href}publish/": {"post": {"operationId": "publishers_file_file_publish", "description": "Trigger an asynchronous task to publish file content.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/RepositoryPublishURL"}}], "responses": {"202": {"description": "", "schema": {"$ref": "#/definitions/AsyncOperationResponse"}}}, "tags": ["pulp"]}, "parameters": [{"name": "file_publisher_href", "in": "path", "description": "URI of File Publisher. e.g.: /pulp/api/v3/publishers/file/file/1/", "required": true, "type": "string"}]}, "/pulp/api/v3/remotes/file/file/": {"get": {"operationId": "remotes_file_file_list", "description": "ViewSet for File Remotes.", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name__in", "in": "query", "description": "Filter results where name is in a comma-separated list of values", "required": false, "type": "string"}, {"name": "_last_updated__lt", "in": "query", "description": "Filter results where _last_updated is less than value", "required": false, "type": "string"}, {"name": "_last_updated__lte", "in": "query", "description": "Filter results where _last_updated is less than or equal to value", "required": false, "type": "string"}, {"name": "_last_updated__gt", "in": "query", "description": "Filter results where _last_updated is greater than value", "required": false, "type": "string"}, {"name": "_last_updated__gte", "in": "query", "description": "Filter results where _last_updated is greater than or equal to value", "required": false, "type": "string"}, {"name": "_last_updated__range", "in": "query", "description": "Filter results where _last_updated is between two comma separated values", "required": false, "type": "string"}, {"name": "_last_updated", "in": "query", "description": "ISO 8601 formatted dates are supported", "required": false, "type": "string"}, {"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}, {"name": "page_size", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/FileRemote"}}}}}}, "tags": ["pulp"]}, "post": {"operationId": "remotes_file_file_create", "description": "ViewSet for File Remotes.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/FileRemote"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/FileRemote"}}}, "tags": ["pulp"]}, "parameters": []}, "{file_remote_href}": {"get": {"operationId": "remotes_file_file_read", "description": "ViewSet for File Remotes.", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/FileRemote"}}}, "tags": ["pulp"]}, "put": {"operationId": "remotes_file_file_update", "description": "Trigger an asynchronous update task", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/FileRemote"}}], "responses": {"202": {"description": "", "schema": {"$ref": "#/definitions/AsyncOperationResponse"}}}, "tags": ["pulp"]}, "patch": {"operationId": "remotes_file_file_partial_update", "description": "Trigger an asynchronous partial update task", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/FileRemote"}}], "responses": {"202": {"description": "", "schema": {"$ref": "#/definitions/AsyncOperationResponse"}}}, "tags": ["pulp"]}, "delete": {"operationId": "remotes_file_file_delete", "description": "Trigger an asynchronous delete task", "parameters": [], "responses": {"202": {"description": "", "schema": {"$ref": "#/definitions/AsyncOperationResponse"}}}, "tags": ["pulp"]}, "parameters": [{"name": "file_remote_href", "in": "path", "description": "URI of File Remote. e.g.: /pulp/api/v3/remotes/file/file/1/", "required": true, "type": "string"}]}, "{file_remote_href}sync/": {"post": {"operationId": "remotes_file_file_sync", "description": "Trigger an asynchronous task to sync file content.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/RepositorySyncURL"}}], "responses": {"202": {"description": "", "schema": {"$ref": "#/definitions/AsyncOperationResponse"}}}, "tags": ["pulp"]}, "parameters": [{"name": "file_remote_href", "in": "path", "description": "URI of File Remote. e.g.: /pulp/api/v3/remotes/file/file/1/", "required": true, "type": "string"}]}, "/pulp/api/v3/repositories/": {"get": {"operationId": "repositories_list", "description": "", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name__in", "in": "query", "description": "Filter results where name is in a comma-separated list of values", "required": false, "type": "string"}, {"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}, {"name": "page_size", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/Repository"}}}}}}, "tags": ["pulp"]}, "post": {"operationId": "repositories_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Repository"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Repository"}}}, "tags": ["pulp"]}, "parameters": []}, "{repository_href}": {"get": {"operationId": "repositories_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Repository"}}}, "tags": ["pulp"]}, "put": {"operationId": "repositories_update", "description": "Trigger an asynchronous task to updatea repository.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Repository"}}], "responses": {"202": {"description": "", "schema": {"$ref": "#/definitions/AsyncOperationResponse"}}}, "tags": ["pulp"]}, "patch": {"operationId": "repositories_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Repository"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Repository"}}}, "tags": ["pulp"]}, "delete": {"operationId": "repositories_delete", "description": "Trigger an asynchronous task to delete a repository.", "parameters": [], "responses": {"202": {"description": "", "schema": {"$ref": "#/definitions/AsyncOperationResponse"}}}, "tags": ["pulp"]}, "parameters": [{"name": "repository_href", "in": "path", "description": "URI of Repository. e.g.: /pulp/api/v3/repositories/1/", "required": true, "type": "string"}]}, "/pulp/api/v3/repositories/{repository_pk}/versions/": {"get": {"operationId": "repositories_versions_list", "description": "", "parameters": [{"name": "ordering", "in": "query", "description": "Which field to use when ordering the results.", "required": false, "type": "string"}, {"name": "number", "in": "query", "description": "", "required": false, "type": "number"}, {"name": "number__lt", "in": "query", "description": "Filter results where number is less than value", "required": false, "type": "number"}, {"name": "number__lte", "in": "query", "description": "Filter results where number is less than or equal to value", "required": false, "type": "number"}, {"name": "number__gt", "in": "query", "description": "Filter results where number is greater than value", "required": false, "type": "number"}, {"name": "number__gte", "in": "query", "description": "Filter results where number is greater than or equal to value", "required": false, "type": "number"}, {"name": "number__range", "in": "query", "description": "Filter results where number is between two comma separated values", "required": false, "type": "number"}, {"name": "_created__lt", "in": "query", "description": "Filter results where _created is less than value", "required": false, "type": "string"}, {"name": "_created__lte", "in": "query", "description": "Filter results where _created is less than or equal to value", "required": false, "type": "string"}, {"name": "_created__gt", "in": "query", "description": "Filter results where _created is greater than value", "required": false, "type": "string"}, {"name": "_created__gte", "in": "query", "description": "Filter results where _created is greater than or equal to value", "required": false, "type": "string"}, {"name": "_created__range", "in": "query", "description": "Filter results where _created is between two comma separated values", "required": false, "type": "string"}, {"name": "content", "in": "query", "description": "Content Unit referenced by HREF", "required": false, "type": "string"}, {"name": "_created", "in": "query", "description": "ISO 8601 formatted dates are supported", "required": false, "type": "string"}, {"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}, {"name": "page_size", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/RepositoryVersion"}}}}}}, "tags": ["pulp"]}, "post": {"operationId": "repositories_versions_create", "description": "Trigger an asynchronous task to create a new repository version.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/RepositoryVersionCreate"}}], "responses": {"202": {"description": "", "schema": {"$ref": "#/definitions/AsyncOperationResponse"}}}, "tags": ["pulp"]}, "parameters": [{"name": "repository_pk", "in": "path", "required": true, "type": "string"}]}, "{repository_version_href}": {"get": {"operationId": "repositories_versions_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/RepositoryVersion"}}}, "tags": ["pulp"]}, "put": {"operationId": "repositories_versions_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/RepositoryVersion"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/RepositoryVersion"}}}, "tags": ["pulp"]}, "patch": {"operationId": "repositories_versions_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/RepositoryVersion"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/RepositoryVersion"}}}, "tags": ["pulp"]}, "delete": {"operationId": "repositories_versions_delete", "description": "Trigger an asynchronous task to delete a repositroy version.", "parameters": [], "responses": {"202": {"description": "", "schema": {"$ref": "#/definitions/AsyncOperationResponse"}}}, "tags": ["pulp"]}, "parameters": [{"name": "repository_version_href", "in": "path", "description": "URI of Repository Version. e.g.: /pulp/api/v3/repositories/1/versions/1/", "required": true, "type": "string"}]}, "/pulp/api/v3/status/": {"get": {"operationId": "status_list", "description": "Returns app information including the version of pulpcore and loaded pulp plugins,\nknown workers, database connection status, and messaging connection status", "parameters": [], "responses": {"200": {"description": ""}}, "tags": ["pulp"]}, "parameters": []}, "/pulp/api/v3/tasks/": {"get": {"operationId": "tasks_list", "description": "", "parameters": [{"name": "ordering", "in": "query", "description": "Which field to use when ordering the results.", "required": false, "type": "string"}, {"name": "state", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "state__in", "in": "query", "description": "Filter results where state is in a comma-separated list of values", "required": false, "type": "string"}, {"name": "worker", "in": "query", "description": "Foreign Key referenced by HREF", "required": false, "type": "string"}, {"name": "worker__in", "in": "query", "description": "Filter results where worker is in a comma-separated list of values", "required": false, "type": "string"}, {"name": "name__contains", "in": "query", "description": "Filter results where name contains value", "required": false, "type": "string"}, {"name": "started_at__lt", "in": "query", "description": "Filter results where started_at is less than value", "required": false, "type": "string"}, {"name": "started_at__lte", "in": "query", "description": "Filter results where started_at is less than or equal to value", "required": false, "type": "string"}, {"name": "started_at__gt", "in": "query", "description": "Filter results where started_at is greater than value", "required": false, "type": "string"}, {"name": "started_at__gte", "in": "query", "description": "Filter results where started_at is greater than or equal to value", "required": false, "type": "string"}, {"name": "started_at__range", "in": "query", "description": "Filter results where started_at is between two comma separated values", "required": false, "type": "string"}, {"name": "finished_at__lt", "in": "query", "description": "Filter results where finished_at is less than value", "required": false, "type": "string"}, {"name": "finished_at__lte", "in": "query", "description": "Filter results where finished_at is less than or equal to value", "required": false, "type": "string"}, {"name": "finished_at__gt", "in": "query", "description": "Filter results where finished_at is greater than value", "required": false, "type": "string"}, {"name": "finished_at__gte", "in": "query", "description": "Filter results where finished_at is greater than or equal to value", "required": false, "type": "string"}, {"name": "finished_at__range", "in": "query", "description": "Filter results where finished_at is between two comma separated values", "required": false, "type": "string"}, {"name": "parent", "in": "query", "description": "Foreign Key referenced by HREF", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "started_at", "in": "query", "description": "ISO 8601 formatted dates are supported", "required": false, "type": "string"}, {"name": "finished_at", "in": "query", "description": "ISO 8601 formatted dates are supported", "required": false, "type": "string"}, {"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}, {"name": "page_size", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/Task"}}}}}}, "tags": ["pulp"]}, "parameters": []}, "{task_href}": {"get": {"operationId": "tasks_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Task"}}}, "tags": ["pulp"]}, "delete": {"operationId": "tasks_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["pulp"]}, "parameters": [{"name": "task_href", "in": "path", "description": "URI of Task. e.g.: /pulp/api/v3/tasks/1/", "required": true, "type": "string"}]}, "{task_href}cancel/": {"post": {"operationId": "tasks_cancel", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Task"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Task"}}}, "tags": ["pulp"]}, "parameters": [{"name": "task_href", "in": "path", "description": "URI of Task. e.g.: /pulp/api/v3/tasks/1/", "required": true, "type": "string"}]}, "/pulp/api/v3/users/": {"get": {"operationId": "users_list", "description": "", "parameters": [{"name": "username", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "username__in", "in": "query", "description": "Filter results where username is in a comma-separated list of values", "required": false, "type": "string"}, {"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}, {"name": "page_size", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/User"}}}}}}, "tags": ["pulp"]}, "parameters": []}, "{user_href}": {"get": {"operationId": "users_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/User"}}}, "tags": ["pulp"]}, "delete": {"operationId": "users_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["pulp"]}, "parameters": [{"name": "user_href", "in": "path", "description": "URI of User. e.g.: /pulp/api/v3/users/1/", "required": true, "type": "string"}]}, "/pulp/api/v3/workers/": {"get": {"operationId": "workers_list", "description": "", "parameters": [{"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name__in", "in": "query", "description": "Filter results where name is in a comma-separated list of values", "required": false, "type": "string"}, {"name": "last_heartbeat__lt", "in": "query", "description": "Filter results where last_heartbeat is less than value", "required": false, "type": "string"}, {"name": "last_heartbeat__lte", "in": "query", "description": "Filter results where last_heartbeat is less than or equal to value", "required": false, "type": "string"}, {"name": "last_heartbeat__gt", "in": "query", "description": "Filter results where last_heartbeat is greater than value", "required": false, "type": "string"}, {"name": "last_heartbeat__gte", "in": "query", "description": "Filter results where last_heartbeat is greater than or equal to value", "required": false, "type": "string"}, {"name": "last_heartbeat__range", "in": "query", "description": "Filter results where last_heartbeat is between two comma separated values", "required": false, "type": "string"}, {"name": "online", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "missing", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "last_heartbeat", "in": "query", "description": "ISO 8601 formatted dates are supported", "required": false, "type": "string"}, {"name": "page", "in": "query", "description": "A page number within the paginated result set.", "required": false, "type": "integer"}, {"name": "page_size", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/Worker"}}}}}}, "tags": ["pulp"]}, "parameters": []}, "{worker_href}": {"get": {"operationId": "workers_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Worker"}}}, "tags": ["pulp"]}, "parameters": [{"name": "worker_href", "in": "path", "description": "URI of Worker. e.g.: /pulp/api/v3/workers/1/", "required": true, "type": "string"}]}}, "definitions": {"Artifact": {"type": "object", "properties": {"_href": {"title": " href", "type": "string", "format": "uri", "readOnly": true}, "_created": {"title": " created", "description": "Timestamp of creation.", "type": "string", "format": "date-time", "readOnly": true}, "file": {"title": "File", "description": "The stored file.", "type": "string", "readOnly": true}, "size": {"title": "Size", "description": "The size of the file in bytes.", "type": "integer"}, "md5": {"title": "Md5", "description": "The MD5 checksum of the file if available.", "type": "string"}, "sha1": {"title": "Sha1", "description": "The SHA-1 checksum of the file if available.", "type": "string"}, "sha224": {"title": "Sha224", "description": "The SHA-224 checksum of the file if available.", "type": "string"}, "sha256": {"title": "Sha256", "description": "The SHA-256 checksum of the file if available.", "type": "string"}, "sha384": {"title": "Sha384", "description": "The SHA-384 checksum of the file if available.", "type": "string"}, "sha512": {"title": "Sha512", "description": "The SHA-512 checksum of the file if available.", "type": "string"}}}, "FileContent": {"required": ["_artifact", "relative_path"], "type": "object", "properties": {"_href": {"title": " href", "type": "string", "format": "uri", "readOnly": true}, "_created": {"title": " created", "description": "Timestamp of creation.", "type": "string", "format": "date-time", "readOnly": true}, "_type": {"title": " type", "type": "string", "readOnly": true, "minLength": 1}, "_artifact": {"title": " artifact", "description": "Artifact file representing the physical content", "type": "string", "format": "uri"}, "relative_path": {"title": "Relative path", "description": "Relative location of the file within the repository", "type": "string", "minLength": 1}}}, "Distribution": {"required": ["name", "base_path"], "type": "object", "properties": {"_href": {"title": " href", "type": "string", "format": "uri", "readOnly": true}, "_created": {"title": " created", "description": "Timestamp of creation.", "type": "string", "format": "date-time", "readOnly": true}, "name": {"title": "Name", "description": "A unique distribution name. Ex, `rawhide` and `stable`.", "type": "string", "maxLength": 255, "minLength": 1}, "base_path": {"title": "Base path", "description": "The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")", "type": "string", "maxLength": 255, "minLength": 1}, "publisher": {"title": "Publisher", "description": "Publications created by this publisher and repository are automaticallyserved as defined by this distribution", "type": "string", "format": "uri", "x-nullable": true}, "publication": {"title": "Publication", "description": "The publication being served as defined by this distribution", "type": "string", "format": "uri", "x-nullable": true}, "base_url": {"title": "Base url", "description": "The URL for accessing the publication as defined by this distribution.", "type": "string", "readOnly": true, "minLength": 1}, "repository": {"title": "Repository", "description": "Publications created by this repository and publisher are automaticallyserved as defined by this distribution", "type": "string", "format": "uri", "x-nullable": true}, "content_guard": {"title": "Content guard", "description": "An optional content-guard.", "type": "string", "format": "uri", "x-nullable": true}}}, "Publication": {"required": ["pass_through", "publisher"], "type": "object", "properties": {"_href": {"title": " href", "type": "string", "format": "uri", "readOnly": true}, "_created": {"title": " created", "description": "Timestamp of creation.", "type": "string", "format": "date-time", "readOnly": true}, "pass_through": {"title": "Pass through", "description": "The publication is a pass-through for the repository version.", "type": "boolean"}, "publisher": {"title": "Publisher", "description": "The publisher that created this publication.", "type": "string", "format": "uri"}, "distributions": {"description": "This publication is currently being served asdefined by these distributions.", "type": "array", "items": {"description": "This publication is currently being served asdefined by these distributions.", "type": "string", "format": "uri"}, "readOnly": true, "uniqueItems": true}, "repository_version": {"title": "Repository version", "type": "string", "format": "uri", "readOnly": true}}}, "FilePublisher": {"required": ["name"], "type": "object", "properties": {"_href": {"title": " href", "type": "string", "format": "uri", "readOnly": true}, "_created": {"title": " created", "description": "Timestamp of creation.", "type": "string", "format": "date-time", "readOnly": true}, "_type": {"title": " type", "type": "string", "readOnly": true, "minLength": 1}, "name": {"title": "Name", "description": "A unique name for this publisher.", "type": "string", "minLength": 1}, "_last_updated": {"title": " last updated", "description": "Timestamp of the most recent update of the publisher configuration.", "type": "string", "format": "date-time", "readOnly": true}, "distributions": {"type": "array", "items": {"type": "string", "format": "uri"}, "readOnly": true, "uniqueItems": true}, "manifest": {"title": "Manifest", "description": "Name of the file manifest, the full path will be url/manifest", "type": "string", "default": "PULP_MANIFEST", "minLength": 1}}}, "AsyncOperationResponse": {"required": ["task"], "type": "object", "properties": {"task": {"title": "Task", "description": "The href of the task.", "type": "string", "format": "uri"}}}, "RepositoryPublishURL": {"type": "object", "properties": {"repository": {"title": "Repository", "description": "A URI of the repository to be synchronized.", "type": "string", "format": "uri"}, "repository_version": {"title": "Repository Version", "description": "A URI of the repository version to be published.", "type": "string", "format": "uri"}}}, "FileRemote": {"required": ["name", "url"], "type": "object", "properties": {"_href": {"title": " href", "type": "string", "format": "uri", "readOnly": true}, "_created": {"title": " created", "description": "Timestamp of creation.", "type": "string", "format": "date-time", "readOnly": true}, "_type": {"title": " type", "type": "string", "readOnly": true, "minLength": 1}, "name": {"title": "Name", "description": "A unique name for this remote.", "type": "string", "minLength": 1}, "url": {"title": "Url", "description": "The URL of an external content source.", "type": "string", "minLength": 1}, "validate": {"title": "Validate", "description": "If True, the plugin will validate imported artifacts.", "type": "boolean"}, "ssl_ca_certificate": {"title": "Ssl ca certificate", "description": "A PEM encoded CA certificate used to validate the server certificate presented by the remote server.", "type": "string", "readOnly": true}, "ssl_client_certificate": {"title": "Ssl client certificate", "description": "A PEM encoded client certificate used for authentication.", "type": "string", "readOnly": true}, "ssl_client_key": {"title": "Ssl client key", "description": "A PEM encoded private key used for authentication.", "type": "string", "readOnly": true}, "ssl_validation": {"title": "Ssl validation", "description": "If True, SSL peer validation must be performed.", "type": "boolean"}, "proxy_url": {"title": "Proxy url", "description": "The proxy URL. Format: scheme://user:password@host:port", "type": "string"}, "username": {"title": "Username", "description": "The username to be used for authentication when syncing.", "type": "string"}, "password": {"title": "Password", "description": "The password to be used for authentication when syncing.", "type": "string"}, "_last_updated": {"title": " last updated", "description": "Timestamp of the most recent update of the remote.", "type": "string", "format": "date-time", "readOnly": true}, "download_concurrency": {"title": "Download concurrency", "description": "Total number of simultaneous connections.", "type": "integer", "minimum": 1}, "policy": {"title": "Policy", "description": "The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default.", "type": "string", "enum": ["immediate", "on_demand", "streamed"], "default": "immediate"}}}, "RepositorySyncURL": {"required": ["repository"], "type": "object", "properties": {"repository": {"title": "Repository", "description": "A URI of the repository to be synchronized.", "type": "string", "format": "uri"}, "mirror": {"title": "Mirror", "description": "The synchronization mode, True for \"mirror\" and False for \"additive\" mode.", "type": "boolean", "default": true}}}, "Repository": {"required": ["name"], "type": "object", "properties": {"_href": {"title": " href", "type": "string", "format": "uri", "readOnly": true}, "_created": {"title": " created", "description": "Timestamp of creation.", "type": "string", "format": "date-time", "readOnly": true}, "_versions_href": {"title": " versions href", "type": "string", "format": "uri", "readOnly": true}, "_latest_version_href": {"title": " latest version href", "type": "string", "format": "uri", "readOnly": true}, "name": {"title": "Name", "description": "A unique name for this repository.", "type": "string", "minLength": 1}, "description": {"title": "Description", "description": "An optional description.", "type": "string"}}}, "RepositoryVersion": {"type": "object", "properties": {"_href": {"title": " href", "type": "string", "format": "uri", "readOnly": true}, "_created": {"title": " created", "description": "Timestamp of creation.", "type": "string", "format": "date-time", "readOnly": true}, "number": {"title": "Number", "type": "integer", "readOnly": true}, "base_version": {"title": "Base version", "description": "A repository version whose content was used as the initial set of content for this repository version", "type": "string", "format": "uri"}, "content_hrefs": {"title": "Content hrefs", "description": "A mapping of the types of content in this version, and the HREF to view them.", "type": "string", "readOnly": true}, "content_added_hrefs": {"title": "Content added hrefs", "description": "A mapping of the types of content added in this version, and the HREF to view them.", "type": "string", "readOnly": true}, "content_removed_hrefs": {"title": "Content removed hrefs", "description": "A mapping of the types of content removed from this version, and the HREF to view them.", "type": "string", "readOnly": true}, "content_summary": {"title": "Content summary", "description": "A list of counts of each type of content in this version.", "type": "string", "readOnly": true}, "content_added_summary": {"title": "Content added summary", "description": "A list of counts of each type of content added in this version.", "type": "string", "readOnly": true}, "content_removed_summary": {"title": "Content removed summary", "description": "A list of counts of each type of content removed in this version.", "type": "string", "readOnly": true}}}, "RepositoryVersionCreate": {"required": ["add_content_units", "remove_content_units"], "type": "object", "properties": {"add_content_units": {"description": "A list of content units to add to a new repository version", "type": "array", "items": {"type": "string"}}, "remove_content_units": {"description": "A list of content units to remove from the latest repository version", "type": "array", "items": {"type": "string"}}, "base_version": {"title": "Base version", "description": "A repository version whose content will be used as the initial set of content for the new repository version", "type": "string", "format": "uri"}}}, "ProgressReport": {"type": "object", "properties": {"message": {"title": "Message", "description": "The message shown to the user for the progress report.", "type": "string", "readOnly": true, "minLength": 1}, "state": {"title": "State", "description": "The current state of the progress report. The possible values are: 'waiting', 'skipped', 'running', 'completed', 'failed' and 'canceled'. The default is 'waiting'.", "type": "string", "readOnly": true, "minLength": 1}, "total": {"title": "Total", "description": "The total count of items to be handled by the ProgressBar.", "type": "integer", "readOnly": true}, "done": {"title": "Done", "description": "The count of items already processed. Defaults to 0.", "type": "integer", "readOnly": true}, "suffix": {"title": "Suffix", "description": "The suffix to be shown with the progress report.", "type": "string", "readOnly": true}, "task": {"title": "Task", "description": "The task associated with this progress report.", "type": "string", "format": "uri", "readOnly": true}}}, "Task": {"required": ["name"], "type": "object", "properties": {"_href": {"title": " href", "type": "string", "format": "uri", "readOnly": true}, "_created": {"title": " created", "description": "Timestamp of creation.", "type": "string", "format": "date-time", "readOnly": true}, "job_id": {"title": "Job id", "description": "ID of the job in rq.", "type": "string", "format": "uuid", "readOnly": true}, "state": {"title": "State", "description": "The current state of the task. The possible values include: 'waiting', 'skipped', 'running', 'completed', 'failed' and 'canceled'.", "type": "string", "readOnly": true, "minLength": 1}, "name": {"title": "Name", "description": "The name of task.", "type": "string", "minLength": 1}, "started_at": {"title": "Started at", "description": "Timestamp of the when this task started execution.", "type": "string", "format": "date-time", "readOnly": true}, "finished_at": {"title": "Finished at", "description": "Timestamp of the when this task stopped execution.", "type": "string", "format": "date-time", "readOnly": true}, "non_fatal_errors": {"title": "Non fatal errors", "description": "A JSON Object of non-fatal errors encountered during the execution of this task.", "type": "string", "readOnly": true}, "error": {"title": "Error", "description": "A JSON Object of a fatal error encountered during the execution of this task.", "type": "string", "readOnly": true}, "worker": {"title": "Worker", "description": "The worker associated with this task. This field is empty if a worker is not yet assigned.", "type": "string", "format": "uri", "readOnly": true}, "parent": {"title": "Parent", "description": "The parent task that spawned this task.", "type": "string", "format": "uri", "readOnly": true}, "spawned_tasks": {"description": "Any tasks spawned by this task.", "type": "array", "items": {"description": "Any tasks spawned by this task.", "type": "string", "format": "uri"}, "readOnly": true, "uniqueItems": true}, "progress_reports": {"type": "array", "items": {"$ref": "#/definitions/ProgressReport"}, "readOnly": true}, "created_resources": {"description": "Resources created by this task.", "type": "array", "items": {"description": "Resources created by this task.", "type": "string", "format": "uri"}, "readOnly": true, "uniqueItems": true}}}, "User": {"required": ["username", "password"], "type": "object", "properties": {"_href": {"title": " href", "type": "string", "format": "uri", "readOnly": true}, "_created": {"title": " created", "description": "Timestamp of creation.", "type": "string", "format": "date-time", "readOnly": true}, "username": {"title": "Username", "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", "type": "string", "pattern": "^[\\w.@+-]+$", "maxLength": 150, "minLength": 1}, "password": {"title": "Password", "description": "Password", "type": "string", "minLength": 1}}}, "Worker": {"type": "object", "properties": {"_href": {"title": " href", "type": "string", "format": "uri", "readOnly": true}, "_created": {"title": " created", "description": "Timestamp of creation.", "type": "string", "format": "date-time", "readOnly": true}, "name": {"title": "Name", "description": "The name of the worker.", "type": "string", "readOnly": true, "minLength": 1}, "last_heartbeat": {"title": "Last heartbeat", "description": "Timestamp of the last time the worker talked to the service.", "type": "string", "format": "date-time", "readOnly": true}, "online": {"title": "Online", "description": "True if the worker is considered online, otherwise False", "type": "boolean", "readOnly": true}, "missing": {"title": "Missing", "description": "True if the worker is considerd missing, otherwise False", "type": "boolean", "readOnly": true}}}}}
|
data/config.json
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
{
|
2
|
+
"gemName": "zest",
|
3
|
+
"gemVersion": "0.0.1",
|
4
|
+
"gemDescription": "Api bindings for pulp3, built with the following components: , p, u, l, p, c, o, r, e, -, 3, ., 0, ., 0, b, 2, 1, , , p, u, l, p, c, o, r, e, -, p, l, u, g, i, n, -, 0, ., 1, ., 0, b, 1, 9, , , p, u, l, p, _, f, i, l, e, -, 0, ., 0, ., 1, b, 8, "
|
5
|
+
}
|
6
|
+
|
data/docs/Artifact.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Zest::Artifact
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**_href** | **String** | | [optional]
|
7
|
+
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
8
|
+
**file** | **String** | The stored file. | [optional]
|
9
|
+
**size** | **Integer** | The size of the file in bytes. | [optional]
|
10
|
+
**md5** | **String** | The MD5 checksum of the file if available. | [optional]
|
11
|
+
**sha1** | **String** | The SHA-1 checksum of the file if available. | [optional]
|
12
|
+
**sha224** | **String** | The SHA-224 checksum of the file if available. | [optional]
|
13
|
+
**sha256** | **String** | The SHA-256 checksum of the file if available. | [optional]
|
14
|
+
**sha384** | **String** | The SHA-384 checksum of the file if available. | [optional]
|
15
|
+
**sha512** | **String** | The SHA-512 checksum of the file if available. | [optional]
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Zest::Distribution
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**_href** | **String** | | [optional]
|
7
|
+
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
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
|
+
**publisher** | **String** | Publications created by this publisher and repository are automaticallyserved as defined by this distribution | [optional]
|
11
|
+
**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
|
+
**repository** | **String** | Publications created by this repository and publisher are automaticallyserved as defined by this distribution | [optional]
|
14
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
15
|
+
|
16
|
+
|
data/docs/FileContent.md
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# Zest::FileContent
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**_href** | **String** | | [optional]
|
7
|
+
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
8
|
+
**_type** | **String** | | [optional]
|
9
|
+
**_artifact** | **String** | Artifact file representing the physical content |
|
10
|
+
**relative_path** | **String** | Relative location of the file within the repository |
|
11
|
+
|
12
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Zest::FilePublisher
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**_href** | **String** | | [optional]
|
7
|
+
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
8
|
+
**_type** | **String** | | [optional]
|
9
|
+
**name** | **String** | A unique name for this publisher. |
|
10
|
+
**_last_updated** | **DateTime** | Timestamp of the most recent update of the publisher configuration. | [optional]
|
11
|
+
**distributions** | **Array<String>** | | [optional]
|
12
|
+
**manifest** | **String** | Name of the file manifest, the full path will be url/manifest | [optional] [default to "PULP_MANIFEST"]
|
13
|
+
|
14
|
+
|
data/docs/FileRemote.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# Zest::FileRemote
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**_href** | **String** | | [optional]
|
7
|
+
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
8
|
+
**_type** | **String** | | [optional]
|
9
|
+
**name** | **String** | A unique name for this remote. |
|
10
|
+
**url** | **String** | The URL of an external content source. |
|
11
|
+
**validate** | **BOOLEAN** | If True, the plugin will validate imported artifacts. | [optional]
|
12
|
+
**ssl_ca_certificate** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
13
|
+
**ssl_client_certificate** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
14
|
+
**ssl_client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
15
|
+
**ssl_validation** | **BOOLEAN** | If True, SSL peer validation must be performed. | [optional]
|
16
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
17
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
18
|
+
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
19
|
+
**_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional]
|
20
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
21
|
+
**policy** | **String** | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional] [default to "immediate"]
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Zest::InlineResponse200
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**count** | **Integer** | |
|
7
|
+
**_next** | **String** | | [optional]
|
8
|
+
**previous** | **String** | | [optional]
|
9
|
+
**results** | [**Array<Artifact>**](Artifact.md) | |
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Zest::InlineResponse2001
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**count** | **Integer** | |
|
7
|
+
**_next** | **String** | | [optional]
|
8
|
+
**previous** | **String** | | [optional]
|
9
|
+
**results** | [**Array<FileContent>**](FileContent.md) | |
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Zest::InlineResponse20010
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**count** | **Integer** | |
|
7
|
+
**_next** | **String** | | [optional]
|
8
|
+
**previous** | **String** | | [optional]
|
9
|
+
**results** | [**Array<Worker>**](Worker.md) | |
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Zest::InlineResponse2002
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**count** | **Integer** | |
|
7
|
+
**_next** | **String** | | [optional]
|
8
|
+
**previous** | **String** | | [optional]
|
9
|
+
**results** | [**Array<Distribution>**](Distribution.md) | |
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Zest::InlineResponse2003
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**count** | **Integer** | |
|
7
|
+
**_next** | **String** | | [optional]
|
8
|
+
**previous** | **String** | | [optional]
|
9
|
+
**results** | [**Array<Publication>**](Publication.md) | |
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Zest::InlineResponse2004
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**count** | **Integer** | |
|
7
|
+
**_next** | **String** | | [optional]
|
8
|
+
**previous** | **String** | | [optional]
|
9
|
+
**results** | [**Array<FilePublisher>**](FilePublisher.md) | |
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Zest::InlineResponse2005
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**count** | **Integer** | |
|
7
|
+
**_next** | **String** | | [optional]
|
8
|
+
**previous** | **String** | | [optional]
|
9
|
+
**results** | [**Array<FileRemote>**](FileRemote.md) | |
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Zest::InlineResponse2006
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**count** | **Integer** | |
|
7
|
+
**_next** | **String** | | [optional]
|
8
|
+
**previous** | **String** | | [optional]
|
9
|
+
**results** | [**Array<Repository>**](Repository.md) | |
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Zest::InlineResponse2007
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**count** | **Integer** | |
|
7
|
+
**_next** | **String** | | [optional]
|
8
|
+
**previous** | **String** | | [optional]
|
9
|
+
**results** | [**Array<RepositoryVersion>**](RepositoryVersion.md) | |
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Zest::InlineResponse2008
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**count** | **Integer** | |
|
7
|
+
**_next** | **String** | | [optional]
|
8
|
+
**previous** | **String** | | [optional]
|
9
|
+
**results** | [**Array<Task>**](Task.md) | |
|
10
|
+
|
11
|
+
|