Sha256: d8b5bf55d5407c4d318a477acb67098e98e4f4e8ca334e1b6d49c0c04647716c

Contents?: true

Size: 1.8 KB

Versions: 6

Compression:

Stored size: 1.8 KB

Contents

# PulpAnsibleClient::PulpAnsibleTagsApi

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

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: Basic
  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.
  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] 
 **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

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

### HTTP request headers

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pulp_ansible_client-0.2.0b11 docs/PulpAnsibleTagsApi.md
pulp_ansible_client-0.2.0b10 docs/PulpAnsibleTagsApi.md
pulp_ansible_client-0.2.0b9 docs/PulpAnsibleTagsApi.md
pulp_ansible_client-0.2.0b8 docs/PulpAnsibleTagsApi.md
pulp_ansible_client-0.2.0b7 docs/PulpAnsibleTagsApi.md
pulp_ansible_client-0.2.0b6 docs/PulpAnsibleTagsApi.md