pulp_maven_client 0.22.1 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -11
- data/docs/MavenMavenDistribution.md +1 -3
- data/docs/MavenMavenDistributionResponse.md +1 -3
- data/docs/MavenMavenRepository.md +1 -3
- data/docs/MavenMavenRepositoryResponse.md +1 -3
- data/docs/PatchedmavenMavenDistribution.md +1 -3
- data/docs/PatchedmavenMavenRepository.md +1 -3
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +5 -16
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +5 -16
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +5 -17
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +5 -17
- data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +5 -16
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +5 -17
- data/lib/pulp_maven_client/version.rb +1 -1
- data/lib/pulp_maven_client.rb +0 -4
- data/spec/models/maven_maven_distribution_response_spec.rb +0 -6
- data/spec/models/maven_maven_distribution_spec.rb +0 -6
- data/spec/models/maven_maven_repository_response_spec.rb +0 -6
- data/spec/models/maven_maven_repository_spec.rb +0 -6
- data/spec/models/patchedmaven_maven_distribution_spec.rb +0 -6
- data/spec/models/patchedmaven_maven_repository_spec.rb +0 -6
- metadata +2 -18
- data/docs/MavenMavenPublication.md +0 -20
- data/docs/MavenMavenPublicationResponse.md +0 -28
- data/docs/PaginatedmavenMavenPublicationResponseList.md +0 -24
- data/docs/PublicationsMavenApi.md +0 -350
- data/lib/pulp_maven_client/api/publications_maven_api.rb +0 -356
- data/lib/pulp_maven_client/models/maven_maven_publication.rb +0 -225
- data/lib/pulp_maven_client/models/maven_maven_publication_response.rb +0 -264
- data/lib/pulp_maven_client/models/paginatedmaven_maven_publication_response_list.rb +0 -257
- data/spec/api/publications_maven_api_spec.rb +0 -109
- data/spec/models/maven_maven_publication_response_spec.rb +0 -66
- data/spec/models/maven_maven_publication_spec.rb +0 -42
- data/spec/models/paginatedmaven_maven_publication_response_list_spec.rb +0 -54
|
@@ -75,10 +75,4 @@ describe PulpMavenClient::PatchedmavenMavenDistribution do
|
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
describe 'test attribute "publication"' do
|
|
79
|
-
it 'should work' do
|
|
80
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
|
|
84
78
|
end
|
|
@@ -63,10 +63,4 @@ describe PulpMavenClient::PatchedmavenMavenRepository do
|
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "autopublish"' do
|
|
67
|
-
it 'should work' do
|
|
68
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
-
end
|
|
70
|
-
end
|
|
71
|
-
|
|
72
66
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_maven_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.23.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -97,8 +97,6 @@ files:
|
|
|
97
97
|
- docs/MavenMavenDistribution.md
|
|
98
98
|
- docs/MavenMavenDistributionResponse.md
|
|
99
99
|
- docs/MavenMavenMetadataResponse.md
|
|
100
|
-
- docs/MavenMavenPublication.md
|
|
101
|
-
- docs/MavenMavenPublicationResponse.md
|
|
102
100
|
- docs/MavenMavenRemote.md
|
|
103
101
|
- docs/MavenMavenRemoteResponse.md
|
|
104
102
|
- docs/MavenMavenRemoteResponseHiddenFieldsInner.md
|
|
@@ -108,14 +106,12 @@ files:
|
|
|
108
106
|
- docs/PaginatedmavenMavenArtifactResponseList.md
|
|
109
107
|
- docs/PaginatedmavenMavenDistributionResponseList.md
|
|
110
108
|
- docs/PaginatedmavenMavenMetadataResponseList.md
|
|
111
|
-
- docs/PaginatedmavenMavenPublicationResponseList.md
|
|
112
109
|
- docs/PaginatedmavenMavenRemoteResponseList.md
|
|
113
110
|
- docs/PaginatedmavenMavenRepositoryResponseList.md
|
|
114
111
|
- docs/PatchedmavenMavenDistribution.md
|
|
115
112
|
- docs/PatchedmavenMavenRemote.md
|
|
116
113
|
- docs/PatchedmavenMavenRepository.md
|
|
117
114
|
- docs/PolicyEnum.md
|
|
118
|
-
- docs/PublicationsMavenApi.md
|
|
119
115
|
- docs/PulpMavenApi.md
|
|
120
116
|
- docs/RemoteNetworkConfig.md
|
|
121
117
|
- docs/RemoteNetworkConfigResponse.md
|
|
@@ -134,7 +130,6 @@ files:
|
|
|
134
130
|
- lib/pulp_maven_client/api/content_artifact_api.rb
|
|
135
131
|
- lib/pulp_maven_client/api/content_metadata_api.rb
|
|
136
132
|
- lib/pulp_maven_client/api/distributions_maven_api.rb
|
|
137
|
-
- lib/pulp_maven_client/api/publications_maven_api.rb
|
|
138
133
|
- lib/pulp_maven_client/api/pulp_maven_api.rb
|
|
139
134
|
- lib/pulp_maven_client/api/remotes_maven_api.rb
|
|
140
135
|
- lib/pulp_maven_client/api/repositories_maven_api.rb
|
|
@@ -148,8 +143,6 @@ files:
|
|
|
148
143
|
- lib/pulp_maven_client/models/maven_maven_distribution.rb
|
|
149
144
|
- lib/pulp_maven_client/models/maven_maven_distribution_response.rb
|
|
150
145
|
- lib/pulp_maven_client/models/maven_maven_metadata_response.rb
|
|
151
|
-
- lib/pulp_maven_client/models/maven_maven_publication.rb
|
|
152
|
-
- lib/pulp_maven_client/models/maven_maven_publication_response.rb
|
|
153
146
|
- lib/pulp_maven_client/models/maven_maven_remote.rb
|
|
154
147
|
- lib/pulp_maven_client/models/maven_maven_remote_response.rb
|
|
155
148
|
- lib/pulp_maven_client/models/maven_maven_remote_response_hidden_fields_inner.rb
|
|
@@ -159,7 +152,6 @@ files:
|
|
|
159
152
|
- lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb
|
|
160
153
|
- lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb
|
|
161
154
|
- lib/pulp_maven_client/models/paginatedmaven_maven_metadata_response_list.rb
|
|
162
|
-
- lib/pulp_maven_client/models/paginatedmaven_maven_publication_response_list.rb
|
|
163
155
|
- lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb
|
|
164
156
|
- lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb
|
|
165
157
|
- lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb
|
|
@@ -181,7 +173,6 @@ files:
|
|
|
181
173
|
- spec/api/content_artifact_api_spec.rb
|
|
182
174
|
- spec/api/content_metadata_api_spec.rb
|
|
183
175
|
- spec/api/distributions_maven_api_spec.rb
|
|
184
|
-
- spec/api/publications_maven_api_spec.rb
|
|
185
176
|
- spec/api/pulp_maven_api_spec.rb
|
|
186
177
|
- spec/api/remotes_maven_api_spec.rb
|
|
187
178
|
- spec/api/repositories_maven_api_spec.rb
|
|
@@ -192,8 +183,6 @@ files:
|
|
|
192
183
|
- spec/models/maven_maven_distribution_response_spec.rb
|
|
193
184
|
- spec/models/maven_maven_distribution_spec.rb
|
|
194
185
|
- spec/models/maven_maven_metadata_response_spec.rb
|
|
195
|
-
- spec/models/maven_maven_publication_response_spec.rb
|
|
196
|
-
- spec/models/maven_maven_publication_spec.rb
|
|
197
186
|
- spec/models/maven_maven_remote_response_hidden_fields_inner_spec.rb
|
|
198
187
|
- spec/models/maven_maven_remote_response_spec.rb
|
|
199
188
|
- spec/models/maven_maven_remote_spec.rb
|
|
@@ -203,7 +192,6 @@ files:
|
|
|
203
192
|
- spec/models/paginatedmaven_maven_artifact_response_list_spec.rb
|
|
204
193
|
- spec/models/paginatedmaven_maven_distribution_response_list_spec.rb
|
|
205
194
|
- spec/models/paginatedmaven_maven_metadata_response_list_spec.rb
|
|
206
|
-
- spec/models/paginatedmaven_maven_publication_response_list_spec.rb
|
|
207
195
|
- spec/models/paginatedmaven_maven_remote_response_list_spec.rb
|
|
208
196
|
- spec/models/paginatedmaven_maven_repository_response_list_spec.rb
|
|
209
197
|
- spec/models/patchedmaven_maven_distribution_spec.rb
|
|
@@ -249,11 +237,9 @@ test_files:
|
|
|
249
237
|
- spec/api/distributions_maven_api_spec.rb
|
|
250
238
|
- spec/api/content_artifact_api_spec.rb
|
|
251
239
|
- spec/api/remotes_maven_api_spec.rb
|
|
252
|
-
- spec/api/publications_maven_api_spec.rb
|
|
253
240
|
- spec/api/repositories_maven_versions_api_spec.rb
|
|
254
241
|
- spec/api/pulp_maven_api_spec.rb
|
|
255
242
|
- spec/api/content_metadata_api_spec.rb
|
|
256
|
-
- spec/models/paginatedmaven_maven_publication_response_list_spec.rb
|
|
257
243
|
- spec/models/maven_maven_metadata_response_spec.rb
|
|
258
244
|
- spec/models/content_summary_response_spec.rb
|
|
259
245
|
- spec/models/remote_network_config_spec.rb
|
|
@@ -277,11 +263,9 @@ test_files:
|
|
|
277
263
|
- spec/models/async_operation_response_spec.rb
|
|
278
264
|
- spec/models/paginatedmaven_maven_metadata_response_list_spec.rb
|
|
279
265
|
- spec/models/policy_enum_spec.rb
|
|
280
|
-
- spec/models/maven_maven_publication_response_spec.rb
|
|
281
266
|
- spec/models/repository_add_cached_content_spec.rb
|
|
282
267
|
- spec/models/set_label_response_spec.rb
|
|
283
268
|
- spec/models/paginatedmaven_maven_repository_response_list_spec.rb
|
|
284
|
-
- spec/models/maven_maven_publication_spec.rb
|
|
285
269
|
- spec/models/patchedmaven_maven_repository_spec.rb
|
|
286
270
|
- spec/models/repository_version_response_spec.rb
|
|
287
271
|
- spec/models/paginatedmaven_maven_artifact_response_list_spec.rb
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# PulpMavenClient::MavenMavenPublication
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **repository_version** | **String** | | [optional] |
|
|
8
|
-
| **repository** | **String** | A URI of the repository to be published. | [optional] |
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```ruby
|
|
13
|
-
require 'pulp_maven_client'
|
|
14
|
-
|
|
15
|
-
instance = PulpMavenClient::MavenMavenPublication.new(
|
|
16
|
-
repository_version: null,
|
|
17
|
-
repository: null
|
|
18
|
-
)
|
|
19
|
-
```
|
|
20
|
-
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# PulpMavenClient::MavenMavenPublicationResponse
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
|
8
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
9
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
|
-
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
11
|
-
| **repository_version** | **String** | | [optional] |
|
|
12
|
-
| **repository** | **String** | A URI of the repository to be published. | [optional] |
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```ruby
|
|
17
|
-
require 'pulp_maven_client'
|
|
18
|
-
|
|
19
|
-
instance = PulpMavenClient::MavenMavenPublicationResponse.new(
|
|
20
|
-
pulp_href: null,
|
|
21
|
-
prn: null,
|
|
22
|
-
pulp_created: null,
|
|
23
|
-
pulp_last_updated: null,
|
|
24
|
-
repository_version: null,
|
|
25
|
-
repository: null
|
|
26
|
-
)
|
|
27
|
-
```
|
|
28
|
-
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# PulpMavenClient::PaginatedmavenMavenPublicationResponseList
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **count** | **Integer** | | |
|
|
8
|
-
| **_next** | **String** | | [optional] |
|
|
9
|
-
| **previous** | **String** | | [optional] |
|
|
10
|
-
| **results** | [**Array<MavenMavenPublicationResponse>**](MavenMavenPublicationResponse.md) | | |
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```ruby
|
|
15
|
-
require 'pulp_maven_client'
|
|
16
|
-
|
|
17
|
-
instance = PulpMavenClient::PaginatedmavenMavenPublicationResponseList.new(
|
|
18
|
-
count: 123,
|
|
19
|
-
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
|
20
|
-
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
|
21
|
-
results: null
|
|
22
|
-
)
|
|
23
|
-
```
|
|
24
|
-
|
|
@@ -1,350 +0,0 @@
|
|
|
1
|
-
# PulpMavenClient::PublicationsMavenApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost:24817*
|
|
4
|
-
|
|
5
|
-
| Method | HTTP request | Description |
|
|
6
|
-
| ------ | ------------ | ----------- |
|
|
7
|
-
| [**create**](PublicationsMavenApi.md#create) | **POST** /pulp/api/v3/publications/maven/maven/ | Create a maven publication |
|
|
8
|
-
| [**delete**](PublicationsMavenApi.md#delete) | **DELETE** {maven_maven_publication_href} | Delete a maven publication |
|
|
9
|
-
| [**list**](PublicationsMavenApi.md#list) | **GET** /pulp/api/v3/publications/maven/maven/ | List maven publications |
|
|
10
|
-
| [**read**](PublicationsMavenApi.md#read) | **GET** {maven_maven_publication_href} | Inspect a maven publication |
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## create
|
|
14
|
-
|
|
15
|
-
> <AsyncOperationResponse> create(maven_maven_publication, opts)
|
|
16
|
-
|
|
17
|
-
Create a maven publication
|
|
18
|
-
|
|
19
|
-
Trigger an asynchronous task to publish Maven content.
|
|
20
|
-
|
|
21
|
-
### Examples
|
|
22
|
-
|
|
23
|
-
```ruby
|
|
24
|
-
require 'time'
|
|
25
|
-
require 'pulp_maven_client'
|
|
26
|
-
# setup authorization
|
|
27
|
-
PulpMavenClient.configure do |config|
|
|
28
|
-
# Configure HTTP basic authorization: basicAuth
|
|
29
|
-
config.username = 'YOUR USERNAME'
|
|
30
|
-
config.password = 'YOUR PASSWORD'
|
|
31
|
-
end
|
|
32
|
-
|
|
33
|
-
api_instance = PulpMavenClient::PublicationsMavenApi.new
|
|
34
|
-
maven_maven_publication = PulpMavenClient::MavenMavenPublication.new # MavenMavenPublication |
|
|
35
|
-
opts = {
|
|
36
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
begin
|
|
40
|
-
# Create a maven publication
|
|
41
|
-
result = api_instance.create(maven_maven_publication, opts)
|
|
42
|
-
p result
|
|
43
|
-
rescue PulpMavenClient::ApiError => e
|
|
44
|
-
puts "Error when calling PublicationsMavenApi->create: #{e}"
|
|
45
|
-
end
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
#### Using the create_with_http_info variant
|
|
49
|
-
|
|
50
|
-
This returns an Array which contains the response data, status code and headers.
|
|
51
|
-
|
|
52
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(maven_maven_publication, opts)
|
|
53
|
-
|
|
54
|
-
```ruby
|
|
55
|
-
begin
|
|
56
|
-
# Create a maven publication
|
|
57
|
-
data, status_code, headers = api_instance.create_with_http_info(maven_maven_publication, opts)
|
|
58
|
-
p status_code # => 2xx
|
|
59
|
-
p headers # => { ... }
|
|
60
|
-
p data # => <AsyncOperationResponse>
|
|
61
|
-
rescue PulpMavenClient::ApiError => e
|
|
62
|
-
puts "Error when calling PublicationsMavenApi->create_with_http_info: #{e}"
|
|
63
|
-
end
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
### Parameters
|
|
67
|
-
|
|
68
|
-
| Name | Type | Description | Notes |
|
|
69
|
-
| ---- | ---- | ----------- | ----- |
|
|
70
|
-
| **maven_maven_publication** | [**MavenMavenPublication**](MavenMavenPublication.md) | | |
|
|
71
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
72
|
-
|
|
73
|
-
### Return type
|
|
74
|
-
|
|
75
|
-
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
76
|
-
|
|
77
|
-
### Authorization
|
|
78
|
-
|
|
79
|
-
[basicAuth](../README.md#basicAuth)
|
|
80
|
-
|
|
81
|
-
### HTTP request headers
|
|
82
|
-
|
|
83
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
84
|
-
- **Accept**: application/json
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
## delete
|
|
88
|
-
|
|
89
|
-
> delete(maven_maven_publication_href, opts)
|
|
90
|
-
|
|
91
|
-
Delete a maven publication
|
|
92
|
-
|
|
93
|
-
A ViewSet for MavenPublication.
|
|
94
|
-
|
|
95
|
-
### Examples
|
|
96
|
-
|
|
97
|
-
```ruby
|
|
98
|
-
require 'time'
|
|
99
|
-
require 'pulp_maven_client'
|
|
100
|
-
# setup authorization
|
|
101
|
-
PulpMavenClient.configure do |config|
|
|
102
|
-
# Configure HTTP basic authorization: basicAuth
|
|
103
|
-
config.username = 'YOUR USERNAME'
|
|
104
|
-
config.password = 'YOUR PASSWORD'
|
|
105
|
-
end
|
|
106
|
-
|
|
107
|
-
api_instance = PulpMavenClient::PublicationsMavenApi.new
|
|
108
|
-
maven_maven_publication_href = 'maven_maven_publication_href_example' # String |
|
|
109
|
-
opts = {
|
|
110
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
begin
|
|
114
|
-
# Delete a maven publication
|
|
115
|
-
api_instance.delete(maven_maven_publication_href, opts)
|
|
116
|
-
rescue PulpMavenClient::ApiError => e
|
|
117
|
-
puts "Error when calling PublicationsMavenApi->delete: #{e}"
|
|
118
|
-
end
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
#### Using the delete_with_http_info variant
|
|
122
|
-
|
|
123
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
124
|
-
|
|
125
|
-
> <Array(nil, Integer, Hash)> delete_with_http_info(maven_maven_publication_href, opts)
|
|
126
|
-
|
|
127
|
-
```ruby
|
|
128
|
-
begin
|
|
129
|
-
# Delete a maven publication
|
|
130
|
-
data, status_code, headers = api_instance.delete_with_http_info(maven_maven_publication_href, opts)
|
|
131
|
-
p status_code # => 2xx
|
|
132
|
-
p headers # => { ... }
|
|
133
|
-
p data # => nil
|
|
134
|
-
rescue PulpMavenClient::ApiError => e
|
|
135
|
-
puts "Error when calling PublicationsMavenApi->delete_with_http_info: #{e}"
|
|
136
|
-
end
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
### Parameters
|
|
140
|
-
|
|
141
|
-
| Name | Type | Description | Notes |
|
|
142
|
-
| ---- | ---- | ----------- | ----- |
|
|
143
|
-
| **maven_maven_publication_href** | **String** | | |
|
|
144
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
145
|
-
|
|
146
|
-
### Return type
|
|
147
|
-
|
|
148
|
-
nil (empty response body)
|
|
149
|
-
|
|
150
|
-
### Authorization
|
|
151
|
-
|
|
152
|
-
[basicAuth](../README.md#basicAuth)
|
|
153
|
-
|
|
154
|
-
### HTTP request headers
|
|
155
|
-
|
|
156
|
-
- **Content-Type**: Not defined
|
|
157
|
-
- **Accept**: Not defined
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
## list
|
|
161
|
-
|
|
162
|
-
> <PaginatedmavenMavenPublicationResponseList> list(opts)
|
|
163
|
-
|
|
164
|
-
List maven publications
|
|
165
|
-
|
|
166
|
-
A ViewSet for MavenPublication.
|
|
167
|
-
|
|
168
|
-
### Examples
|
|
169
|
-
|
|
170
|
-
```ruby
|
|
171
|
-
require 'time'
|
|
172
|
-
require 'pulp_maven_client'
|
|
173
|
-
# setup authorization
|
|
174
|
-
PulpMavenClient.configure do |config|
|
|
175
|
-
# Configure HTTP basic authorization: basicAuth
|
|
176
|
-
config.username = 'YOUR USERNAME'
|
|
177
|
-
config.password = 'YOUR PASSWORD'
|
|
178
|
-
end
|
|
179
|
-
|
|
180
|
-
api_instance = PulpMavenClient::PublicationsMavenApi.new
|
|
181
|
-
opts = {
|
|
182
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
183
|
-
checkpoint: true, # Boolean | Filter results where checkpoint matches value
|
|
184
|
-
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
|
185
|
-
content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
186
|
-
limit: 56, # Integer | Number of results to return per page.
|
|
187
|
-
offset: 56, # Integer | The initial index from which to return the results.
|
|
188
|
-
ordering: ['-checkpoint'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
189
|
-
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
190
|
-
pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
|
|
191
|
-
pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
|
|
192
|
-
pulp_created__gte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than or equal to value
|
|
193
|
-
pulp_created__isnull: true, # Boolean | Filter results where pulp_created has a null value
|
|
194
|
-
pulp_created__lt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is less than value
|
|
195
|
-
pulp_created__lte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is less than or equal to value
|
|
196
|
-
pulp_created__range: [Time.now], # Array<Time> | Filter results where pulp_created is between two comma separated values
|
|
197
|
-
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
198
|
-
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
199
|
-
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
200
|
-
repository: 'repository_example', # String | Repository referenced by HREF/PRN
|
|
201
|
-
repository_version: 'repository_version_example', # String |
|
|
202
|
-
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
203
|
-
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
begin
|
|
207
|
-
# List maven publications
|
|
208
|
-
result = api_instance.list(opts)
|
|
209
|
-
p result
|
|
210
|
-
rescue PulpMavenClient::ApiError => e
|
|
211
|
-
puts "Error when calling PublicationsMavenApi->list: #{e}"
|
|
212
|
-
end
|
|
213
|
-
```
|
|
214
|
-
|
|
215
|
-
#### Using the list_with_http_info variant
|
|
216
|
-
|
|
217
|
-
This returns an Array which contains the response data, status code and headers.
|
|
218
|
-
|
|
219
|
-
> <Array(<PaginatedmavenMavenPublicationResponseList>, Integer, Hash)> list_with_http_info(opts)
|
|
220
|
-
|
|
221
|
-
```ruby
|
|
222
|
-
begin
|
|
223
|
-
# List maven publications
|
|
224
|
-
data, status_code, headers = api_instance.list_with_http_info(opts)
|
|
225
|
-
p status_code # => 2xx
|
|
226
|
-
p headers # => { ... }
|
|
227
|
-
p data # => <PaginatedmavenMavenPublicationResponseList>
|
|
228
|
-
rescue PulpMavenClient::ApiError => e
|
|
229
|
-
puts "Error when calling PublicationsMavenApi->list_with_http_info: #{e}"
|
|
230
|
-
end
|
|
231
|
-
```
|
|
232
|
-
|
|
233
|
-
### Parameters
|
|
234
|
-
|
|
235
|
-
| Name | Type | Description | Notes |
|
|
236
|
-
| ---- | ---- | ----------- | ----- |
|
|
237
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
238
|
-
| **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
|
|
239
|
-
| **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
|
240
|
-
| **content__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
241
|
-
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
242
|
-
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
243
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
244
|
-
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
245
|
-
| **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
|
|
246
|
-
| **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
|
|
247
|
-
| **pulp_created__gte** | **Time** | Filter results where pulp_created is greater than or equal to value | [optional] |
|
|
248
|
-
| **pulp_created__isnull** | **Boolean** | Filter results where pulp_created has a null value | [optional] |
|
|
249
|
-
| **pulp_created__lt** | **Time** | Filter results where pulp_created is less than value | [optional] |
|
|
250
|
-
| **pulp_created__lte** | **Time** | Filter results where pulp_created is less than or equal to value | [optional] |
|
|
251
|
-
| **pulp_created__range** | [**Array<Time>**](Time.md) | Filter results where pulp_created is between two comma separated values | [optional] |
|
|
252
|
-
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
253
|
-
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
254
|
-
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
255
|
-
| **repository** | **String** | Repository referenced by HREF/PRN | [optional] |
|
|
256
|
-
| **repository_version** | **String** | | [optional] |
|
|
257
|
-
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
258
|
-
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
259
|
-
|
|
260
|
-
### Return type
|
|
261
|
-
|
|
262
|
-
[**PaginatedmavenMavenPublicationResponseList**](PaginatedmavenMavenPublicationResponseList.md)
|
|
263
|
-
|
|
264
|
-
### Authorization
|
|
265
|
-
|
|
266
|
-
[basicAuth](../README.md#basicAuth)
|
|
267
|
-
|
|
268
|
-
### HTTP request headers
|
|
269
|
-
|
|
270
|
-
- **Content-Type**: Not defined
|
|
271
|
-
- **Accept**: application/json
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
## read
|
|
275
|
-
|
|
276
|
-
> <MavenMavenPublicationResponse> read(maven_maven_publication_href, opts)
|
|
277
|
-
|
|
278
|
-
Inspect a maven publication
|
|
279
|
-
|
|
280
|
-
A ViewSet for MavenPublication.
|
|
281
|
-
|
|
282
|
-
### Examples
|
|
283
|
-
|
|
284
|
-
```ruby
|
|
285
|
-
require 'time'
|
|
286
|
-
require 'pulp_maven_client'
|
|
287
|
-
# setup authorization
|
|
288
|
-
PulpMavenClient.configure do |config|
|
|
289
|
-
# Configure HTTP basic authorization: basicAuth
|
|
290
|
-
config.username = 'YOUR USERNAME'
|
|
291
|
-
config.password = 'YOUR PASSWORD'
|
|
292
|
-
end
|
|
293
|
-
|
|
294
|
-
api_instance = PulpMavenClient::PublicationsMavenApi.new
|
|
295
|
-
maven_maven_publication_href = 'maven_maven_publication_href_example' # String |
|
|
296
|
-
opts = {
|
|
297
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
298
|
-
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
299
|
-
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
begin
|
|
303
|
-
# Inspect a maven publication
|
|
304
|
-
result = api_instance.read(maven_maven_publication_href, opts)
|
|
305
|
-
p result
|
|
306
|
-
rescue PulpMavenClient::ApiError => e
|
|
307
|
-
puts "Error when calling PublicationsMavenApi->read: #{e}"
|
|
308
|
-
end
|
|
309
|
-
```
|
|
310
|
-
|
|
311
|
-
#### Using the read_with_http_info variant
|
|
312
|
-
|
|
313
|
-
This returns an Array which contains the response data, status code and headers.
|
|
314
|
-
|
|
315
|
-
> <Array(<MavenMavenPublicationResponse>, Integer, Hash)> read_with_http_info(maven_maven_publication_href, opts)
|
|
316
|
-
|
|
317
|
-
```ruby
|
|
318
|
-
begin
|
|
319
|
-
# Inspect a maven publication
|
|
320
|
-
data, status_code, headers = api_instance.read_with_http_info(maven_maven_publication_href, opts)
|
|
321
|
-
p status_code # => 2xx
|
|
322
|
-
p headers # => { ... }
|
|
323
|
-
p data # => <MavenMavenPublicationResponse>
|
|
324
|
-
rescue PulpMavenClient::ApiError => e
|
|
325
|
-
puts "Error when calling PublicationsMavenApi->read_with_http_info: #{e}"
|
|
326
|
-
end
|
|
327
|
-
```
|
|
328
|
-
|
|
329
|
-
### Parameters
|
|
330
|
-
|
|
331
|
-
| Name | Type | Description | Notes |
|
|
332
|
-
| ---- | ---- | ----------- | ----- |
|
|
333
|
-
| **maven_maven_publication_href** | **String** | | |
|
|
334
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
335
|
-
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
336
|
-
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
337
|
-
|
|
338
|
-
### Return type
|
|
339
|
-
|
|
340
|
-
[**MavenMavenPublicationResponse**](MavenMavenPublicationResponse.md)
|
|
341
|
-
|
|
342
|
-
### Authorization
|
|
343
|
-
|
|
344
|
-
[basicAuth](../README.md#basicAuth)
|
|
345
|
-
|
|
346
|
-
### HTTP request headers
|
|
347
|
-
|
|
348
|
-
- **Content-Type**: Not defined
|
|
349
|
-
- **Accept**: application/json
|
|
350
|
-
|