# PulpContainerClient::ContentTagsApi All URIs are relative to *https://pulp* Method | HTTP request | Description ------------- | ------------- | ------------- [**list**](ContentTagsApi.md#list) | **GET** /pulp/api/v3/content/container/tags/ | List tags [**read**](ContentTagsApi.md#read) | **GET** {container_tag_href} | Inspect a tag ## list > PaginatedcontainerTagResponseList list(opts) List tags ViewSet for Tag. ### Example ```ruby # load the gem require 'pulp_container_client' # setup authorization PulpContainerClient.configure do |config| # Configure HTTP basic authorization: basicAuth config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = PulpContainerClient::ContentTagsApi.new opts = { digest: ['digest_example'], # Array | Multiple values may be separated by commas. limit: 56, # Integer | Number of results to return per page. media_type: ['media_type_example'], # Array | name: 'name_example', # String | Filter results where name matches value name__in: ['name__in_example'], # Array | Filter results where name is in a comma-separated list of values offset: 56, # Integer | The initial index from which to return the results. ordering: 'ordering_example', # String | Which field to use when ordering the results. repository_version: 'repository_version_example', # String | Repository Version referenced by HREF repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF 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 PulpContainerClient::ApiError => e puts "Exception when calling ContentTagsApi->list: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **digest** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional] **limit** | **Integer**| Number of results to return per page. | [optional] **media_type** | [**Array<String>**](String.md)| | [optional] **name** | **String**| Filter results where name matches value | [optional] **name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional] **offset** | **Integer**| The initial index from which to return the results. | [optional] **ordering** | **String**| Which field to use when ordering the results. | [optional] **repository_version** | **String**| Repository Version referenced by HREF | [optional] **repository_version_added** | **String**| Repository Version referenced by HREF | [optional] **repository_version_removed** | **String**| Repository Version referenced by HREF | [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 [**PaginatedcontainerTagResponseList**](PaginatedcontainerTagResponseList.md) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ## read > ContainerTagResponse read(container_tag_href, opts) Inspect a tag ViewSet for Tag. ### Example ```ruby # load the gem require 'pulp_container_client' # setup authorization PulpContainerClient.configure do |config| # Configure HTTP basic authorization: basicAuth config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = PulpContainerClient::ContentTagsApi.new container_tag_href = 'container_tag_href_example' # String | opts = { 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 #Inspect a tag result = api_instance.read(container_tag_href, opts) p result rescue PulpContainerClient::ApiError => e puts "Exception when calling ContentTagsApi->read: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **container_tag_href** | **String**| | **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 [**ContainerTagResponse**](ContainerTagResponse.md) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json