Sha256: 56054371243d564385d1bcf1bf341a3eafdcfa1e2cfdb8d7d750a1cec1019c49

Contents?: true

Size: 1.41 KB

Versions: 2

Compression:

Stored size: 1.41 KB

Contents

# PulpFileClient::RepairApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**repair_post**](RepairApi.md#repair_post) | **POST** /pulp/api/v3/repair/ | Repair Artifact Storage



## repair_post

> AsyncOperationResponse repair_post(repair)

Repair Artifact Storage

Trigger an asynchronous task that checks for missing or corrupted artifacts, and attempts to redownload them.

### Example

```ruby
# load the gem
require 'pulp_file_client'
# setup authorization
PulpFileClient.configure do |config|
  # Configure HTTP basic authorization: basicAuth
  config.username = 'YOUR USERNAME'
  config.password = 'YOUR PASSWORD'
end

api_instance = PulpFileClient::RepairApi.new
repair = PulpFileClient::Repair.new # Repair | 

begin
  #Repair Artifact Storage
  result = api_instance.repair_post(repair)
  p result
rescue PulpFileClient::ApiError => e
  puts "Exception when calling RepairApi->repair_post: #{e}"
end
```

### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **repair** | [**Repair**](Repair.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

2 entries across 2 versions & 1 rubygems

Version Path
pulp_file_client-3.55.2 docs/RepairApi.md
pulp_file_client-3.49.14 docs/RepairApi.md