Sha256: f32990ab4313bf4b75fd61806991579104dd1ce5b4bac41ab22ba209129401e3

Contents?: true

Size: 1.97 KB

Versions: 7

Compression:

Stored size: 1.97 KB

Contents

# PulpAnsibleClient::PulpAnsibleTagsApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**list**](PulpAnsibleTagsApi.md#list) | **GET** /pulp/api/v3/pulp_ansible/tags/ | List tags



## list

> InlineResponse2004 list(opts)

List tags

ViewSet for Tag models.

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

### Parameters


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

[**InlineResponse2004**](InlineResponse2004.md)

### Authorization

[basicAuth](../README.md#basicAuth)

### HTTP request headers

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pulp_ansible_client-0.5.11 docs/PulpAnsibleTagsApi.md
pulp_ansible_client-0.5.10 docs/PulpAnsibleTagsApi.md
pulp_ansible_client-0.4.2 docs/PulpAnsibleTagsApi.md
pulp_ansible_client-0.4.1 docs/PulpAnsibleTagsApi.md
pulp_ansible_client-0.4.0 docs/PulpAnsibleTagsApi.md
pulp_ansible_client-0.3.0 docs/PulpAnsibleTagsApi.md
pulp_ansible_client-0.2.0 docs/PulpAnsibleTagsApi.md