Sha256: 397ef91949e45566fe8915bc898a43bf47f59ad6ff1397a76362809dcdad0913

Contents?: true

Size: 1.71 KB

Versions: 21

Compression:

Stored size: 1.71 KB

Contents

# PulpAnsibleClient::ApiRolesApi

All URIs are relative to *https://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

21 entries across 21 versions & 1 rubygems

Version Path
pulp_ansible_client-0.13.6 docs/ApiRolesApi.md
pulp_ansible_client-0.10.5 docs/ApiRolesApi.md
pulp_ansible_client-0.16.0 docs/ApiRolesApi.md
pulp_ansible_client-0.10.4 docs/ApiRolesApi.md
pulp_ansible_client-0.13.5 docs/ApiRolesApi.md
pulp_ansible_client-0.15.0 docs/ApiRolesApi.md
pulp_ansible_client-0.14.2 docs/ApiRolesApi.md
pulp_ansible_client-0.14.1 docs/ApiRolesApi.md
pulp_ansible_client-0.13.4 docs/ApiRolesApi.md
pulp_ansible_client-0.14.0 docs/ApiRolesApi.md
pulp_ansible_client-0.13.2 docs/ApiRolesApi.md
pulp_ansible_client-0.13.1 docs/ApiRolesApi.md
pulp_ansible_client-0.10.3 docs/ApiRolesApi.md
pulp_ansible_client-0.12.1 docs/ApiRolesApi.md
pulp_ansible_client-0.13.0 docs/ApiRolesApi.md
pulp_ansible_client-0.12.0 docs/ApiRolesApi.md
pulp_ansible_client-0.10.2 docs/ApiRolesApi.md
pulp_ansible_client-0.11.1 docs/ApiRolesApi.md
pulp_ansible_client-0.11.0 docs/ApiRolesApi.md
pulp_ansible_client-0.10.1 docs/ApiRolesApi.md