pulp_maven_client 0.1.0b2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +79 -0
- data/README.md +119 -0
- data/Rakefile +10 -0
- data/docs/AsyncOperationResponse.md +17 -0
- data/docs/ContentApi.md +188 -0
- data/docs/DistributionsApi.md +352 -0
- data/docs/InlineResponse200.md +23 -0
- data/docs/InlineResponse2001.md +23 -0
- data/docs/InlineResponse2002.md +23 -0
- data/docs/MavenArtifact.md +33 -0
- data/docs/MavenDistribution.md +29 -0
- data/docs/MavenRemote.md +47 -0
- data/docs/RemotesApi.md +356 -0
- data/git_push.sh +55 -0
- data/lib/pulp_maven_client/api/content_api.rb +231 -0
- data/lib/pulp_maven_client/api/distributions_api.rb +430 -0
- data/lib/pulp_maven_client/api/remotes_api.rb +436 -0
- data/lib/pulp_maven_client/api_client.rb +387 -0
- data/lib/pulp_maven_client/api_error.rb +57 -0
- data/lib/pulp_maven_client/configuration.rb +251 -0
- data/lib/pulp_maven_client/models/async_operation_response.rb +202 -0
- data/lib/pulp_maven_client/models/inline_response200.rb +235 -0
- data/lib/pulp_maven_client/models/inline_response2001.rb +235 -0
- data/lib/pulp_maven_client/models/inline_response2002.rb +235 -0
- data/lib/pulp_maven_client/models/maven_artifact.rb +379 -0
- data/lib/pulp_maven_client/models/maven_distribution.rb +337 -0
- data/lib/pulp_maven_client/models/maven_remote.rb +549 -0
- data/lib/pulp_maven_client/version.rb +15 -0
- data/lib/pulp_maven_client.rb +49 -0
- data/pulp_maven_client.gemspec +45 -0
- data/spec/api/content_api_spec.rb +79 -0
- data/spec/api/distributions_api_spec.rb +116 -0
- data/spec/api/remotes_api_spec.rb +118 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/async_operation_response_spec.rb +41 -0
- data/spec/models/inline_response2001_spec.rb +59 -0
- data/spec/models/inline_response2002_spec.rb +59 -0
- data/spec/models/inline_response200_spec.rb +59 -0
- data/spec/models/maven_artifact_spec.rb +89 -0
- data/spec/models/maven_distribution_spec.rb +77 -0
- data/spec/models/maven_remote_spec.rb +135 -0
- data/spec/spec_helper.rb +111 -0
- metadata +281 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 677996f42cafa0182f8ec2e26687488735d2b2d8224241d555ecd83f3bb2833f
|
4
|
+
data.tar.gz: 4f35bfcc6388673b9ec9dd9a26744d9876e79936abcb6f61ad686345374bcafe
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d23bc78850fab1d88d2d3405e6a89b14751bf25e5baa20bb73e23cef3b23ca60adfcce6e399c45e234c3d9eae33fcde3c7557adde4da67e9b050800b2756500d
|
7
|
+
data.tar.gz: 0ba5fd0135068f9c1e011678a5fb660b4c8b580bbd79b4f2a42b15e124e8877c88c47e6ba6ff25e7dc3a6c52d6cf594eb4af509f498ce96bb0f4e97c293e7928
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
pulp_maven_client (0.1.0b2)
|
5
|
+
json (~> 2.1, >= 2.1.0)
|
6
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
ZenTest (4.11.2)
|
12
|
+
addressable (2.5.2)
|
13
|
+
public_suffix (>= 2.0.2, < 4.0)
|
14
|
+
autotest (4.4.6)
|
15
|
+
ZenTest (>= 4.4.1)
|
16
|
+
autotest-fsevent (0.2.14)
|
17
|
+
sys-uname
|
18
|
+
autotest-growl (0.2.16)
|
19
|
+
autotest-rails-pure (4.1.2)
|
20
|
+
byebug (10.0.2)
|
21
|
+
coderay (1.1.2)
|
22
|
+
crack (0.4.3)
|
23
|
+
safe_yaml (~> 1.0.0)
|
24
|
+
diff-lcs (1.3)
|
25
|
+
ethon (0.11.0)
|
26
|
+
ffi (>= 1.3.0)
|
27
|
+
ffi (1.9.25)
|
28
|
+
hashdiff (0.3.7)
|
29
|
+
json (2.1.0)
|
30
|
+
method_source (0.9.0)
|
31
|
+
pry (0.11.3)
|
32
|
+
coderay (~> 1.1.0)
|
33
|
+
method_source (~> 0.9.0)
|
34
|
+
pry-byebug (3.6.0)
|
35
|
+
byebug (~> 10.0)
|
36
|
+
pry (~> 0.10)
|
37
|
+
public_suffix (3.0.3)
|
38
|
+
rake (12.0.0)
|
39
|
+
rspec (3.8.0)
|
40
|
+
rspec-core (~> 3.8.0)
|
41
|
+
rspec-expectations (~> 3.8.0)
|
42
|
+
rspec-mocks (~> 3.8.0)
|
43
|
+
rspec-core (3.8.0)
|
44
|
+
rspec-support (~> 3.8.0)
|
45
|
+
rspec-expectations (3.8.1)
|
46
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
47
|
+
rspec-support (~> 3.8.0)
|
48
|
+
rspec-mocks (3.8.0)
|
49
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
50
|
+
rspec-support (~> 3.8.0)
|
51
|
+
rspec-support (3.8.0)
|
52
|
+
safe_yaml (1.0.4)
|
53
|
+
sys-uname (1.0.3)
|
54
|
+
ffi (>= 1.0.0)
|
55
|
+
typhoeus (1.3.0)
|
56
|
+
ethon (>= 0.9.0)
|
57
|
+
vcr (3.0.3)
|
58
|
+
webmock (1.24.6)
|
59
|
+
addressable (>= 2.3.6)
|
60
|
+
crack (>= 0.3.2)
|
61
|
+
hashdiff
|
62
|
+
|
63
|
+
PLATFORMS
|
64
|
+
ruby
|
65
|
+
|
66
|
+
DEPENDENCIES
|
67
|
+
autotest (~> 4.4, >= 4.4.6)
|
68
|
+
autotest-fsevent (~> 0.2, >= 0.2.12)
|
69
|
+
autotest-growl (~> 0.2, >= 0.2.16)
|
70
|
+
autotest-rails-pure (~> 4.1, >= 4.1.2)
|
71
|
+
pulp_maven_client!
|
72
|
+
pry-byebug
|
73
|
+
rake (~> 12.0.0)
|
74
|
+
rspec (~> 3.6, >= 3.6.0)
|
75
|
+
vcr (~> 3.0, >= 3.0.1)
|
76
|
+
webmock (~> 1.24, >= 1.24.3)
|
77
|
+
|
78
|
+
BUNDLED WITH
|
79
|
+
1.16.1
|
data/README.md
ADDED
@@ -0,0 +1,119 @@
|
|
1
|
+
# pulp_maven_client
|
2
|
+
|
3
|
+
PulpMavenClient - the Ruby gem for the Pulp 3 API
|
4
|
+
|
5
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
6
|
+
|
7
|
+
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
|
+
|
9
|
+
- API version: v3
|
10
|
+
- Package version: 0.1.0b2
|
11
|
+
- Build package: org.openapitools.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 pulp_maven_client.gemspec
|
21
|
+
```
|
22
|
+
|
23
|
+
Then either install the gem locally:
|
24
|
+
|
25
|
+
```shell
|
26
|
+
gem install ./pulp_maven_client-0.1.0b2.gem
|
27
|
+
```
|
28
|
+
|
29
|
+
(for development, run `gem install --dev ./pulp_maven_client-0.1.0b2.gem` to install the development dependencies)
|
30
|
+
|
31
|
+
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
|
+
|
33
|
+
Finally add this to the Gemfile:
|
34
|
+
|
35
|
+
gem 'pulp_maven_client', '~> 0.1.0b2'
|
36
|
+
|
37
|
+
### Install from Git
|
38
|
+
|
39
|
+
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:
|
40
|
+
|
41
|
+
gem 'pulp_maven_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
42
|
+
|
43
|
+
### Include the Ruby code directly
|
44
|
+
|
45
|
+
Include the Ruby code directly using `-I` as follows:
|
46
|
+
|
47
|
+
```shell
|
48
|
+
ruby -Ilib script.rb
|
49
|
+
```
|
50
|
+
|
51
|
+
## Getting Started
|
52
|
+
|
53
|
+
Please follow the [installation](#installation) procedure and then run the following code:
|
54
|
+
|
55
|
+
```ruby
|
56
|
+
# Load the gem
|
57
|
+
require 'pulp_maven_client'
|
58
|
+
|
59
|
+
# Setup authorization
|
60
|
+
PulpMavenClient.configure do |config|
|
61
|
+
# Configure HTTP basic authorization: Basic
|
62
|
+
config.username = 'YOUR_USERNAME'
|
63
|
+
config.password = 'YOUR_PASSWORD'
|
64
|
+
end
|
65
|
+
|
66
|
+
api_instance = PulpMavenClient::ContentApi.new
|
67
|
+
data = PulpMavenClient::MavenArtifact.new # MavenArtifact |
|
68
|
+
|
69
|
+
begin
|
70
|
+
#Create a maven artifact
|
71
|
+
result = api_instance.content_maven_artifact_create(data)
|
72
|
+
p result
|
73
|
+
rescue PulpMavenClient::ApiError => e
|
74
|
+
puts "Exception when calling ContentApi->content_maven_artifact_create: #{e}"
|
75
|
+
end
|
76
|
+
|
77
|
+
```
|
78
|
+
|
79
|
+
## Documentation for API Endpoints
|
80
|
+
|
81
|
+
All URIs are relative to *http://localhost:24817*
|
82
|
+
|
83
|
+
Class | Method | HTTP request | Description
|
84
|
+
------------ | ------------- | ------------- | -------------
|
85
|
+
*PulpMavenClient::ContentApi* | [**content_maven_artifact_create**](docs/ContentApi.md#content_maven_artifact_create) | **POST** /pulp/api/v3/content/maven/artifact/ | Create a maven artifact
|
86
|
+
*PulpMavenClient::ContentApi* | [**content_maven_artifact_list**](docs/ContentApi.md#content_maven_artifact_list) | **GET** /pulp/api/v3/content/maven/artifact/ | List maven artifacts
|
87
|
+
*PulpMavenClient::ContentApi* | [**content_maven_artifact_read**](docs/ContentApi.md#content_maven_artifact_read) | **GET** {maven_artifact_href} | Inspect a maven artifact
|
88
|
+
*PulpMavenClient::DistributionsApi* | [**distributions_maven_maven_create**](docs/DistributionsApi.md#distributions_maven_maven_create) | **POST** /pulp/api/v3/distributions/maven/maven/ | Create a maven distribution
|
89
|
+
*PulpMavenClient::DistributionsApi* | [**distributions_maven_maven_delete**](docs/DistributionsApi.md#distributions_maven_maven_delete) | **DELETE** {maven_distribution_href} | Delete a maven distribution
|
90
|
+
*PulpMavenClient::DistributionsApi* | [**distributions_maven_maven_list**](docs/DistributionsApi.md#distributions_maven_maven_list) | **GET** /pulp/api/v3/distributions/maven/maven/ | List maven distributions
|
91
|
+
*PulpMavenClient::DistributionsApi* | [**distributions_maven_maven_partial_update**](docs/DistributionsApi.md#distributions_maven_maven_partial_update) | **PATCH** {maven_distribution_href} | Partially update a maven distribution
|
92
|
+
*PulpMavenClient::DistributionsApi* | [**distributions_maven_maven_read**](docs/DistributionsApi.md#distributions_maven_maven_read) | **GET** {maven_distribution_href} | Inspect a maven distribution
|
93
|
+
*PulpMavenClient::DistributionsApi* | [**distributions_maven_maven_update**](docs/DistributionsApi.md#distributions_maven_maven_update) | **PUT** {maven_distribution_href} | Update a maven distribution
|
94
|
+
*PulpMavenClient::RemotesApi* | [**remotes_maven_maven_create**](docs/RemotesApi.md#remotes_maven_maven_create) | **POST** /pulp/api/v3/remotes/maven/maven/ | Create a maven remote
|
95
|
+
*PulpMavenClient::RemotesApi* | [**remotes_maven_maven_delete**](docs/RemotesApi.md#remotes_maven_maven_delete) | **DELETE** {maven_remote_href} | Delete a maven remote
|
96
|
+
*PulpMavenClient::RemotesApi* | [**remotes_maven_maven_list**](docs/RemotesApi.md#remotes_maven_maven_list) | **GET** /pulp/api/v3/remotes/maven/maven/ | List maven remotes
|
97
|
+
*PulpMavenClient::RemotesApi* | [**remotes_maven_maven_partial_update**](docs/RemotesApi.md#remotes_maven_maven_partial_update) | **PATCH** {maven_remote_href} | Partially update a maven remote
|
98
|
+
*PulpMavenClient::RemotesApi* | [**remotes_maven_maven_read**](docs/RemotesApi.md#remotes_maven_maven_read) | **GET** {maven_remote_href} | Inspect a maven remote
|
99
|
+
*PulpMavenClient::RemotesApi* | [**remotes_maven_maven_update**](docs/RemotesApi.md#remotes_maven_maven_update) | **PUT** {maven_remote_href} | Update a maven remote
|
100
|
+
|
101
|
+
|
102
|
+
## Documentation for Models
|
103
|
+
|
104
|
+
- [PulpMavenClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
105
|
+
- [PulpMavenClient::InlineResponse200](docs/InlineResponse200.md)
|
106
|
+
- [PulpMavenClient::InlineResponse2001](docs/InlineResponse2001.md)
|
107
|
+
- [PulpMavenClient::InlineResponse2002](docs/InlineResponse2002.md)
|
108
|
+
- [PulpMavenClient::MavenArtifact](docs/MavenArtifact.md)
|
109
|
+
- [PulpMavenClient::MavenDistribution](docs/MavenDistribution.md)
|
110
|
+
- [PulpMavenClient::MavenRemote](docs/MavenRemote.md)
|
111
|
+
|
112
|
+
|
113
|
+
## Documentation for Authorization
|
114
|
+
|
115
|
+
|
116
|
+
### Basic
|
117
|
+
|
118
|
+
- **Type**: HTTP basic authentication
|
119
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpMavenClient::AsyncOperationResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**task** | **String** | The href of the task. |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpMavenClient'
|
13
|
+
|
14
|
+
instance = PulpMavenClient::AsyncOperationResponse.new(task: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/ContentApi.md
ADDED
@@ -0,0 +1,188 @@
|
|
1
|
+
# PulpMavenClient::ContentApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**content_maven_artifact_create**](ContentApi.md#content_maven_artifact_create) | **POST** /pulp/api/v3/content/maven/artifact/ | Create a maven artifact
|
8
|
+
[**content_maven_artifact_list**](ContentApi.md#content_maven_artifact_list) | **GET** /pulp/api/v3/content/maven/artifact/ | List maven artifacts
|
9
|
+
[**content_maven_artifact_read**](ContentApi.md#content_maven_artifact_read) | **GET** {maven_artifact_href} | Inspect a maven artifact
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
## content_maven_artifact_create
|
14
|
+
|
15
|
+
> MavenArtifact content_maven_artifact_create(data)
|
16
|
+
|
17
|
+
Create a maven artifact
|
18
|
+
|
19
|
+
A ViewSet for MavenArtifact.
|
20
|
+
|
21
|
+
### Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
# load the gem
|
25
|
+
require 'pulp_maven_client'
|
26
|
+
# setup authorization
|
27
|
+
PulpMavenClient.configure do |config|
|
28
|
+
# Configure HTTP basic authorization: Basic
|
29
|
+
config.username = 'YOUR USERNAME'
|
30
|
+
config.password = 'YOUR PASSWORD'
|
31
|
+
end
|
32
|
+
|
33
|
+
api_instance = PulpMavenClient::ContentApi.new
|
34
|
+
data = PulpMavenClient::MavenArtifact.new # MavenArtifact |
|
35
|
+
|
36
|
+
begin
|
37
|
+
#Create a maven artifact
|
38
|
+
result = api_instance.content_maven_artifact_create(data)
|
39
|
+
p result
|
40
|
+
rescue PulpMavenClient::ApiError => e
|
41
|
+
puts "Exception when calling ContentApi->content_maven_artifact_create: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
|
48
|
+
Name | Type | Description | Notes
|
49
|
+
------------- | ------------- | ------------- | -------------
|
50
|
+
**data** | [**MavenArtifact**](MavenArtifact.md)| |
|
51
|
+
|
52
|
+
### Return type
|
53
|
+
|
54
|
+
[**MavenArtifact**](MavenArtifact.md)
|
55
|
+
|
56
|
+
### Authorization
|
57
|
+
|
58
|
+
[Basic](../README.md#Basic)
|
59
|
+
|
60
|
+
### HTTP request headers
|
61
|
+
|
62
|
+
- **Content-Type**: application/json
|
63
|
+
- **Accept**: application/json
|
64
|
+
|
65
|
+
|
66
|
+
## content_maven_artifact_list
|
67
|
+
|
68
|
+
> InlineResponse200 content_maven_artifact_list(opts)
|
69
|
+
|
70
|
+
List maven artifacts
|
71
|
+
|
72
|
+
A ViewSet for MavenArtifact.
|
73
|
+
|
74
|
+
### Example
|
75
|
+
|
76
|
+
```ruby
|
77
|
+
# load the gem
|
78
|
+
require 'pulp_maven_client'
|
79
|
+
# setup authorization
|
80
|
+
PulpMavenClient.configure do |config|
|
81
|
+
# Configure HTTP basic authorization: Basic
|
82
|
+
config.username = 'YOUR USERNAME'
|
83
|
+
config.password = 'YOUR PASSWORD'
|
84
|
+
end
|
85
|
+
|
86
|
+
api_instance = PulpMavenClient::ContentApi.new
|
87
|
+
opts = {
|
88
|
+
group_id: 'group_id_example', # String | Filter results where group_id matches value
|
89
|
+
artifact_id: 'artifact_id_example', # String | Filter results where artifact_id matches value
|
90
|
+
version: 'version_example', # String | Filter results where version matches value
|
91
|
+
filename: 'filename_example', # String | Filter results where filename matches value
|
92
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
93
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
94
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
95
|
+
page: 56, # Integer | A page number within the paginated result set.
|
96
|
+
page_size: 56 # Integer | Number of results to return per page.
|
97
|
+
}
|
98
|
+
|
99
|
+
begin
|
100
|
+
#List maven artifacts
|
101
|
+
result = api_instance.content_maven_artifact_list(opts)
|
102
|
+
p result
|
103
|
+
rescue PulpMavenClient::ApiError => e
|
104
|
+
puts "Exception when calling ContentApi->content_maven_artifact_list: #{e}"
|
105
|
+
end
|
106
|
+
```
|
107
|
+
|
108
|
+
### Parameters
|
109
|
+
|
110
|
+
|
111
|
+
Name | Type | Description | Notes
|
112
|
+
------------- | ------------- | ------------- | -------------
|
113
|
+
**group_id** | **String**| Filter results where group_id matches value | [optional]
|
114
|
+
**artifact_id** | **String**| Filter results where artifact_id matches value | [optional]
|
115
|
+
**version** | **String**| Filter results where version matches value | [optional]
|
116
|
+
**filename** | **String**| Filter results where filename matches value | [optional]
|
117
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
118
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
119
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
120
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
121
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
122
|
+
|
123
|
+
### Return type
|
124
|
+
|
125
|
+
[**InlineResponse200**](InlineResponse200.md)
|
126
|
+
|
127
|
+
### Authorization
|
128
|
+
|
129
|
+
[Basic](../README.md#Basic)
|
130
|
+
|
131
|
+
### HTTP request headers
|
132
|
+
|
133
|
+
- **Content-Type**: Not defined
|
134
|
+
- **Accept**: application/json
|
135
|
+
|
136
|
+
|
137
|
+
## content_maven_artifact_read
|
138
|
+
|
139
|
+
> MavenArtifact content_maven_artifact_read(maven_artifact_href)
|
140
|
+
|
141
|
+
Inspect a maven artifact
|
142
|
+
|
143
|
+
A ViewSet for MavenArtifact.
|
144
|
+
|
145
|
+
### Example
|
146
|
+
|
147
|
+
```ruby
|
148
|
+
# load the gem
|
149
|
+
require 'pulp_maven_client'
|
150
|
+
# setup authorization
|
151
|
+
PulpMavenClient.configure do |config|
|
152
|
+
# Configure HTTP basic authorization: Basic
|
153
|
+
config.username = 'YOUR USERNAME'
|
154
|
+
config.password = 'YOUR PASSWORD'
|
155
|
+
end
|
156
|
+
|
157
|
+
api_instance = PulpMavenClient::ContentApi.new
|
158
|
+
maven_artifact_href = 'maven_artifact_href_example' # String | URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
|
159
|
+
|
160
|
+
begin
|
161
|
+
#Inspect a maven artifact
|
162
|
+
result = api_instance.content_maven_artifact_read(maven_artifact_href)
|
163
|
+
p result
|
164
|
+
rescue PulpMavenClient::ApiError => e
|
165
|
+
puts "Exception when calling ContentApi->content_maven_artifact_read: #{e}"
|
166
|
+
end
|
167
|
+
```
|
168
|
+
|
169
|
+
### Parameters
|
170
|
+
|
171
|
+
|
172
|
+
Name | Type | Description | Notes
|
173
|
+
------------- | ------------- | ------------- | -------------
|
174
|
+
**maven_artifact_href** | **String**| URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/ |
|
175
|
+
|
176
|
+
### Return type
|
177
|
+
|
178
|
+
[**MavenArtifact**](MavenArtifact.md)
|
179
|
+
|
180
|
+
### Authorization
|
181
|
+
|
182
|
+
[Basic](../README.md#Basic)
|
183
|
+
|
184
|
+
### HTTP request headers
|
185
|
+
|
186
|
+
- **Content-Type**: Not defined
|
187
|
+
- **Accept**: application/json
|
188
|
+
|