Sha256: bd6dbda0b48759a71a964348ca97feb28a5a7da4ad4174c417df4260604291af
Contents?: true
Size: 1.97 KB
Versions: 5
Compression:
Stored size: 1.97 KB
Contents
# PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsAllApi All URIs are relative to *https://pulp* Method | HTTP request | Description ------------- | ------------- | ------------- [**list**](PulpAnsibleDefaultApiV3CollectionsAllApi.md#list) | **GET** /pulp_ansible/galaxy/default/api/v3/collections/all/ | ## list > Array<CollectionResponse> list(opts) Legacy v3 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::PulpAnsibleDefaultApiV3CollectionsAllApi.new opts = { deprecated: true, # Boolean | name: 'name_example', # String | namespace: 'namespace_example', # String | ordering: ['ordering_example'], # Array<String> | Ordering 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 result = api_instance.list(opts) p result rescue PulpAnsibleClient::ApiError => e puts "Exception when calling PulpAnsibleDefaultApiV3CollectionsAllApi->list: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **deprecated** | **Boolean**| | [optional] **name** | **String**| | [optional] **namespace** | **String**| | [optional] **ordering** | [**Array<String>**](String.md)| Ordering | [optional] **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 [**Array<CollectionResponse>**](CollectionResponse.md) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json
Version data entries
5 entries across 5 versions & 1 rubygems