Sha256: f0eaa6ef4e9936ab6b964fe157d965b3ed5a1363934ac927ce41a719a45e6a4a

Contents?: true

Size: 1.41 KB

Versions: 6

Compression:

Stored size: 1.41 KB

Contents

# PulpcoreClient::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 '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::RepairApi.new
repair = PulpcoreClient::Repair.new # Repair | 

begin
  #Repair Artifact Storage
  result = api_instance.repair_post(repair)
  p result
rescue PulpcoreClient::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

6 entries across 6 versions & 1 rubygems

Version Path
pulpcore_client-3.55.2 docs/RepairApi.md
pulpcore_client-3.49.14 docs/RepairApi.md
pulpcore_client-3.39.18 docs/RepairApi.md
pulpcore_client-3.28.30 docs/RepairApi.md
pulpcore_client-3.22.29 docs/RepairApi.md
pulpcore_client-3.21.32 docs/RepairApi.md