Sha256: 683e6572733a9cb26e692d49553074246a505aa0279b99c1e1a4897864937329

Contents?: true

Size: 1.36 KB

Versions: 56

Compression:

Stored size: 1.36 KB

Contents

# PulpRpmClient::RpmCopyApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**copy_content**](RpmCopyApi.md#copy_content) | **POST** /pulp/api/v3/rpm/copy/ | Copy content



## copy_content

> AsyncOperationResponse copy_content(copy)

Copy content

Trigger an asynchronous task to copy RPM contentfrom one repository into another, creating a newrepository version.

### Example

```ruby
# load the gem
require 'pulp_rpm_client'
# setup authorization
PulpRpmClient.configure do |config|
  # Configure HTTP basic authorization: basicAuth
  config.username = 'YOUR USERNAME'
  config.password = 'YOUR PASSWORD'
end

api_instance = PulpRpmClient::RpmCopyApi.new
copy = PulpRpmClient::Copy.new # Copy | 

begin
  #Copy content
  result = api_instance.copy_content(copy)
  p result
rescue PulpRpmClient::ApiError => e
  puts "Exception when calling RpmCopyApi->copy_content: #{e}"
end
```

### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **copy** | [**Copy**](Copy.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

56 entries across 56 versions & 1 rubygems

Version Path
pulp_rpm_client-3.27.1 docs/RpmCopyApi.md
pulp_rpm_client-3.27.0 docs/RpmCopyApi.md
pulp_rpm_client-3.22.8 docs/RpmCopyApi.md
pulp_rpm_client-3.23.4 docs/RpmCopyApi.md
pulp_rpm_client-3.25.5 docs/RpmCopyApi.md
pulp_rpm_client-3.26.1 docs/RpmCopyApi.md
pulp_rpm_client-3.25.3 docs/RpmCopyApi.md
pulp_rpm_client-3.25.2 docs/RpmCopyApi.md
pulp_rpm_client-3.25.1 docs/RpmCopyApi.md
pulp_rpm_client-3.23.3 docs/RpmCopyApi.md
pulp_rpm_client-3.22.7 docs/RpmCopyApi.md
pulp_rpm_client-3.23.2 docs/RpmCopyApi.md
pulp_rpm_client-3.25.0 docs/RpmCopyApi.md
pulp_rpm_client-3.24.0 docs/RpmCopyApi.md
pulp_rpm_client-3.22.6 docs/RpmCopyApi.md
pulp_rpm_client-3.23.0 docs/RpmCopyApi.md
pulp_rpm_client-3.22.5 docs/RpmCopyApi.md
pulp_rpm_client-3.22.4 docs/RpmCopyApi.md
pulp_rpm_client-3.14.20 docs/RpmCopyApi.md
pulp_rpm_client-3.14.19 docs/RpmCopyApi.md