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.18.20 docs/RepairApi.md
pulpcore_client-3.23.7 docs/RepairApi.md
pulpcore_client-3.22.6 docs/RepairApi.md
pulpcore_client-3.18.19 docs/RepairApi.md
pulpcore_client-3.21.9 docs/RepairApi.md
pulpcore_client-3.27.1 docs/RepairApi.md
pulpcore_client-3.27.0 docs/RepairApi.md
pulpcore_client-3.21.8 docs/RepairApi.md
pulpcore_client-3.22.5 docs/RepairApi.md
pulpcore_client-3.23.6 docs/RepairApi.md
pulpcore_client-3.18.18 docs/RepairApi.md
pulpcore_client-3.26.1 docs/RepairApi.md
pulpcore_client-3.25.1 docs/RepairApi.md
pulpcore_client-3.23.5 docs/RepairApi.md
pulpcore_client-3.26.0 docs/RepairApi.md
pulpcore_client-3.25.0 docs/RepairApi.md
pulpcore_client-3.23.4 docs/RepairApi.md
pulpcore_client-3.24.1 docs/RepairApi.md
pulpcore_client-3.24.0 docs/RepairApi.md
pulpcore_client-3.23.3 docs/RepairApi.md