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.28 docs/RepairApi.md
pulpcore_client-3.21.31 docs/RepairApi.md
pulpcore_client-3.28.29 docs/RepairApi.md
pulpcore_client-3.28.28 docs/RepairApi.md
pulpcore_client-3.22.27 docs/RepairApi.md
pulpcore_client-3.21.30 docs/RepairApi.md
pulpcore_client-3.28.26 docs/RepairApi.md
pulpcore_client-3.22.25 docs/RepairApi.md
pulpcore_client-3.22.24 docs/RepairApi.md
pulpcore_client-3.28.25 docs/RepairApi.md
pulpcore_client-3.28.24 docs/RepairApi.md
pulpcore_client-3.21.26 docs/RepairApi.md
pulpcore_client-3.18.35 docs/RepairApi.md
pulpcore_client-3.28.23 docs/RepairApi.md
pulpcore_client-3.22.22 docs/RepairApi.md
pulpcore_client-3.28.22 docs/RepairApi.md
pulpcore_client-3.28.21 docs/RepairApi.md
pulpcore_client-3.28.20 docs/RepairApi.md
pulpcore_client-3.18.34 docs/RepairApi.md
pulpcore_client-3.22.21 docs/RepairApi.md