# PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionImportsApi All URIs are relative to *http://localhost:24817* Method | HTTP request | Description ------------- | ------------- | ------------- [**read**](PulpAnsibleGalaxyApiCollectionImportsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collection-imports/{task} | Inspect a collection import ## read > CollectionImportDetail read(path, task, opts) Inspect a collection import Returns a CollectionImport object. ### Example ```ruby # load the gem require 'pulp_ansible_client' # setup authorization PulpAnsibleClient.configure do |config| # Configure HTTP basic authorization: Basic config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionImportsApi.new path = 'path_example' # String | task = 'task_example' # String | A unique value identifying this collection import. 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. since: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | Filter messages since a given timestamp } begin #Inspect a collection import result = api_instance.read(path, task, opts) p result rescue PulpAnsibleClient::ApiError => e puts "Exception when calling PulpAnsibleGalaxyApiCollectionImportsApi->read: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **path** | **String**| | **task** | **String**| A unique value identifying this collection import. | **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] **since** | **DateTime**| Filter messages since a given timestamp | [optional] ### Return type [**CollectionImportDetail**](CollectionImportDetail.md) ### Authorization [Basic](../README.md#Basic) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json