Sha256: 40952266b53cff83f61191cbbddaa3f91e758461cc43245a33f46f3346e29e71

Contents?: true

Size: 1.79 KB

Versions: 16

Compression:

Stored size: 1.79 KB

Contents

# PulpAnsibleClient::ApiRolesApi

All URIs are relative to *http://localhost:24817*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get**](ApiRolesApi.md#get) | **GET** {ansible_role_href}api/v1/roles/ | 



## get

> PaginatedGalaxyRoleResponseList get(ansible_role_href, opts)



APIView for Roles.

### Example

```ruby
# load the gem
require 'pulp_ansible_client'

api_instance = PulpAnsibleClient::ApiRolesApi.new
ansible_role_href = 'ansible_role_href_example' # String | 
opts = {
  limit: 56, # Integer | Number of results to return per page.
  offset: 56, # Integer | The initial index from which to return the results.
  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.get(ansible_role_href, opts)
  p result
rescue PulpAnsibleClient::ApiError => e
  puts "Exception when calling ApiRolesApi->get: #{e}"
end
```

### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ansible_role_href** | **String**|  | 
 **limit** | **Integer**| Number of results to return per page. | [optional] 
 **offset** | **Integer**| The initial index from which to return the results. | [optional] 
 **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

[**PaginatedGalaxyRoleResponseList**](PaginatedGalaxyRoleResponseList.md)

### Authorization

No authorization required

### HTTP request headers

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
pulp_ansible_client-0.20.10 docs/ApiRolesApi.md
pulp_ansible_client-0.16.6 docs/ApiRolesApi.md
pulp_ansible_client-0.23.1 docs/ApiRolesApi.md
pulp_ansible_client-0.22.3 docs/ApiRolesApi.md
pulp_ansible_client-0.23.0 docs/ApiRolesApi.md
pulp_ansible_client-0.15.6 docs/ApiRolesApi.md
pulp_ansible_client-0.16.5 docs/ApiRolesApi.md
pulp_ansible_client-0.18.3 docs/ApiRolesApi.md
pulp_ansible_client-0.20.9 docs/ApiRolesApi.md
pulp_ansible_client-0.21.9 docs/ApiRolesApi.md
pulp_ansible_client-0.22.2 docs/ApiRolesApi.md
pulp_ansible_client-0.16.4 docs/ApiRolesApi.md
pulp_ansible_client-0.21.8 docs/ApiRolesApi.md
pulp_ansible_client-0.20.8 docs/ApiRolesApi.md
pulp_ansible_client-0.22.1 docs/ApiRolesApi.md
pulp_ansible_client-0.21.7 docs/ApiRolesApi.md