Sha256: b216b0518bbdba306fbe702bd8098666a4cd2fbd2e61aecddf66764c84af413b

Contents?: true

Size: 1.14 KB

Versions: 11

Compression:

Stored size: 1.14 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 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

begin
  #Repair Artifact Storage
  result = api_instance.post
  p result
rescue PulpcoreClient::ApiError => e
  puts "Exception when calling RepairApi->post: #{e}"
end
```

### Parameters

This endpoint does not need any parameter.

### Return type

[**AsyncOperationResponse**](AsyncOperationResponse.md)

### Authorization

[basicAuth](../README.md#basicAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pulpcore_client-3.11.2 docs/RepairApi.md
pulpcore_client-3.13.0 docs/RepairApi.md
pulpcore_client-3.12.2 docs/RepairApi.md
pulpcore_client-3.11.1 docs/RepairApi.md
pulpcore_client-3.12.1 docs/RepairApi.md
pulpcore_client-3.12.0 docs/RepairApi.md
pulpcore_client-3.11.0.post0 docs/RepairApi.md
pulpcore_client-3.11.0 docs/RepairApi.md
pulpcore_client-3.10.0 docs/RepairApi.md
pulpcore_client-3.9.1 docs/RepairApi.md
pulpcore_client-3.9.0 docs/RepairApi.md