Sha256: 4dd563ae729f90de04fc2ff51d5034d56919acddd26c83c59f98de8f416d1d5a

Contents?: true

Size: 1.36 KB

Versions: 214

Compression:

Stored size: 1.36 KB

Contents

# PulpcoreClient::RepairApi

All URIs are relative to *https://pulp*

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



## post

> AsyncOperationResponse 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.post(repair)
  p result
rescue PulpcoreClient::ApiError => e
  puts "Exception when calling RepairApi->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

214 entries across 214 versions & 1 rubygems

Version Path
pulpcore_client-3.22.12 docs/RepairApi.md
pulpcore_client-3.18.25 docs/RepairApi.md
pulpcore_client-3.16.18 docs/RepairApi.md
pulpcore_client-3.23.13 docs/RepairApi.md
pulpcore_client-3.18.24 docs/RepairApi.md
pulpcore_client-3.22.11 docs/RepairApi.md
pulpcore_client-3.21.14 docs/RepairApi.md
pulpcore_client-3.28.7 docs/RepairApi.md
pulpcore_client-3.29.6 docs/RepairApi.md
pulpcore_client-3.29.5 docs/RepairApi.md
pulpcore_client-3.28.6 docs/RepairApi.md
pulpcore_client-3.23.12 docs/RepairApi.md
pulpcore_client-3.22.10 docs/RepairApi.md
pulpcore_client-3.21.13 docs/RepairApi.md
pulpcore_client-3.18.23 docs/RepairApi.md
pulpcore_client-3.29.4 docs/RepairApi.md
pulpcore_client-3.23.11 docs/RepairApi.md
pulpcore_client-3.28.5 docs/RepairApi.md
pulpcore_client-3.18.22 docs/RepairApi.md
pulpcore_client-3.21.12 docs/RepairApi.md