# PulpAnsibleClient::PulpAnsibleApiV2CollectionsVersionsApi All URIs are relative to *http://localhost:24817* Method | HTTP request | Description ------------- | ------------- | ------------- [**get**](PulpAnsibleApiV2CollectionsVersionsApi.md#get) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collections/{namespace}/{name}/versions/{version}/ | ## get > get(name, namespace, path, version, opts) Return a response to the \"GET\" action. ### Example ```ruby # load the gem require 'pulp_ansible_client' api_instance = PulpAnsibleClient::PulpAnsibleApiV2CollectionsVersionsApi.new name = 'name_example' # String | namespace = 'namespace_example' # String | path = 'path_example' # String | version = 'version_example' # String | opts = { fields: ['fields_example'], # Array | A list of fields to include in the response. exclude_fields: ['exclude_fields_example'] # Array | A list of fields to exclude from the response. } begin api_instance.get(name, namespace, path, version, opts) rescue PulpAnsibleClient::ApiError => e puts "Exception when calling PulpAnsibleApiV2CollectionsVersionsApi->get: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| | **namespace** | **String**| | **path** | **String**| | **version** | **String**| | **fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional] **exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional] ### Return type nil (empty response body) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined