Sha256: fc88fbe7f38877a6e7e7e6e7671e29e81bb533d84d254ef958cd81aab051471d

Contents?: true

Size: 1.96 KB

Versions: 11

Compression:

Stored size: 1.96 KB

Contents

# PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi

All URIs are relative to *https://pulp*

Method | HTTP request | Description
------------- | ------------- | -------------
[**download**](PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md#download) | **GET** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/artifacts/{filename} | 



## download

> download(distro_base_path, filename, path, opts)



Collection download endpoint.

### Example

```ruby
# load the gem
require 'pulp_ansible_client'
# setup authorization
PulpAnsibleClient.configure do |config|
  # Configure HTTP basic authorization: basicAuth
  config.username = 'YOUR USERNAME'
  config.password = 'YOUR PASSWORD'
end

api_instance = PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.new
distro_base_path = 'distro_base_path_example' # String | 
filename = 'filename_example' # String | 
path = 'path_example' # String | 
opts = {
  fields: 'fields_example', # String | A list of fields to include in the response.
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
}

begin
  api_instance.download(distro_base_path, filename, path, opts)
rescue PulpAnsibleClient::ApiError => e
  puts "Exception when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi->download: #{e}"
end
```

### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **distro_base_path** | **String**|  | 
 **filename** | **String**|  | 
 **path** | **String**|  | 
 **fields** | **String**| A list of fields to include in the response. | [optional] 
 **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional] 

### Return type

nil (empty response body)

### Authorization

[basicAuth](../README.md#basicAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pulp_ansible_client-0.13.6 docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md
pulp_ansible_client-0.16.0 docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md
pulp_ansible_client-0.13.5 docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md
pulp_ansible_client-0.15.0 docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md
pulp_ansible_client-0.14.2 docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md
pulp_ansible_client-0.14.1 docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md
pulp_ansible_client-0.13.4 docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md
pulp_ansible_client-0.14.0 docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md
pulp_ansible_client-0.13.2 docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md
pulp_ansible_client-0.13.1 docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md
pulp_ansible_client-0.13.0 docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md