Sha256: ff93754eefe2c3c988c548a8428e0923e24ee2ed01c0c52f98efbf7309629f82

Contents?: true

Size: 1.36 KB

Versions: 87

Compression:

Stored size: 1.36 KB

Contents

# PulpcoreClient::RepairApi

All URIs are relative to *http://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

87 entries across 87 versions & 1 rubygems

Version Path
pulpcore_client-3.49.13 docs/RepairApi.md
pulpcore_client-3.39.17 docs/RepairApi.md
pulpcore_client-3.49.12 docs/RepairApi.md
pulpcore_client-3.55.1 docs/RepairApi.md
pulpcore_client-3.55.0 docs/RepairApi.md
pulpcore_client-3.54.1 docs/RepairApi.md
pulpcore_client-3.49.11 docs/RepairApi.md
pulpcore_client-3.39.16 docs/RepairApi.md
pulpcore_client-3.49.6 docs/RepairApi.md
pulpcore_client-3.53.0 docs/RepairApi.md
pulpcore_client-3.51.3 docs/RepairApi.md
pulpcore_client-3.52.0 docs/RepairApi.md
pulpcore_client-3.51.2 docs/RepairApi.md
pulpcore_client-3.49.5 docs/RepairApi.md
pulpcore_client-3.39.13 docs/RepairApi.md
pulpcore_client-3.51.1 docs/RepairApi.md
pulpcore_client-3.50.3 docs/RepairApi.md
pulpcore_client-3.49.4 docs/RepairApi.md
pulpcore_client-3.51.0 docs/RepairApi.md
pulpcore_client-3.50.2 docs/RepairApi.md