Sha256: b73d6365c6d1cc6018628eab9fda4c343c350db0e4bf9a9878481ee1932530b1

Contents?: true

Size: 1.89 KB

Versions: 14

Compression:

Stored size: 1.89 KB

Contents

# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**read**](PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md#read) | **GET** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/content/{distro_base_path}/collections/ | 



## read

> RepoMetadataResponse read(distro_base_path, opts)



ViewSet for Repository Metadata.

### 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::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.new
distro_base_path = 'distro_base_path_example' # String | 
opts = {
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
}

begin
  result = api_instance.read(distro_base_path, opts)
  p result
rescue PulpAnsibleClient::ApiError => e
  puts "Exception when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi->read: #{e}"
end
```

### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **distro_base_path** | **String**|  | 
 **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**RepoMetadataResponse**](RepoMetadataResponse.md)

### Authorization

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

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
pulp_ansible_client-0.16.2 docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md
pulp_ansible_client-0.15.4 docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md
pulp_ansible_client-0.17.5 docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md
pulp_ansible_client-0.17.4 docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md
pulp_ansible_client-0.19.0 docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md
pulp_ansible_client-0.17.3 docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md
pulp_ansible_client-0.17.2 docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md
pulp_ansible_client-0.18.0 docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md
pulp_ansible_client-0.17.1 docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md
pulp_ansible_client-0.17.0 docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md
pulp_ansible_client-0.15.3 docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md
pulp_ansible_client-0.16.1 docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md
pulp_ansible_client-0.15.2 docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md
pulp_ansible_client-0.15.1 docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md