Sha256: e26e05bbc81ca414280fa6a1758f20b006ee3c0f442b713add860d0862d8f0bc

Contents?: true

Size: 1.71 KB

Versions: 26

Compression:

Stored size: 1.71 KB

Contents

# PulpAnsibleClient::ApiRolesApi

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

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', # 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.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** | **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

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

### Authorization

No authorization required

### HTTP request headers

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
pulp_ansible_client-0.7.6 docs/ApiRolesApi.md
pulp_ansible_client-0.7.5 docs/ApiRolesApi.md
pulp_ansible_client-0.7.4 docs/ApiRolesApi.md
pulp_ansible_client-0.9.2 docs/ApiRolesApi.md
pulp_ansible_client-0.9.1 docs/ApiRolesApi.md
pulp_ansible_client-0.9.0 docs/ApiRolesApi.md
pulp_ansible_client-0.8.1 docs/ApiRolesApi.md
pulp_ansible_client-0.8.0 docs/ApiRolesApi.md
pulp_ansible_client-0.7.3 docs/ApiRolesApi.md
pulp_ansible_client-0.5.9 docs/ApiRolesApi.md
pulp_ansible_client-0.7.2 docs/ApiRolesApi.md
pulp_ansible_client-0.5.8 docs/ApiRolesApi.md
pulp_ansible_client-0.7.1 docs/ApiRolesApi.md
pulp_ansible_client-0.6.2 docs/ApiRolesApi.md
pulp_ansible_client-0.5.7 docs/ApiRolesApi.md
pulp_ansible_client-0.7.0 docs/ApiRolesApi.md
pulp_ansible_client-0.6.1 docs/ApiRolesApi.md
pulp_ansible_client-0.5.6 docs/ApiRolesApi.md
pulp_ansible_client-0.5.5 docs/ApiRolesApi.md
pulp_ansible_client-0.5.4 docs/ApiRolesApi.md