Sha256: 26093c119fd45a92eab7f3861795a713c48e65296a4e704d1867b93da38a7b55
Contents?: true
Size: 1.38 KB
Versions: 214
Compression:
Stored size: 1.38 KB
Contents
# PulpcoreClient::RepositoriesReclaimSpaceApi All URIs are relative to *https://pulp* Method | HTTP request | Description ------------- | ------------- | ------------- [**reclaim**](RepositoriesReclaimSpaceApi.md#reclaim) | **POST** /pulp/api/v3/repositories/reclaim_space/ | ## reclaim > AsyncOperationResponse reclaim(reclaim_space) Trigger an asynchronous space reclaim operation. ### Example ```ruby # load the gem require 'pulpcore_client' # setup authorization PulpcoreClient.configure do |config| # Configure HTTP basic authorization: basicAuth config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = PulpcoreClient::RepositoriesReclaimSpaceApi.new reclaim_space = PulpcoreClient::ReclaimSpace.new # ReclaimSpace | begin result = api_instance.reclaim(reclaim_space) p result rescue PulpcoreClient::ApiError => e puts "Exception when calling RepositoriesReclaimSpaceApi->reclaim: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **reclaim_space** | [**ReclaimSpace**](ReclaimSpace.md)| | ### Return type [**AsyncOperationResponse**](AsyncOperationResponse.md) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data - **Accept**: application/json
Version data entries
214 entries across 214 versions & 1 rubygems