Sha256: 731358f72ccf8d0961f2a567346438516e2878c53577dfeae011d29ccc6e6e63

Contents?: true

Size: 1.94 KB

Versions: 72

Compression:

Stored size: 1.94 KB

Contents

# PulpcoreClient::ImportersPulpImportCheckApi

All URIs are relative to *http://localhost:24817*

Method | HTTP request | Description
------------- | ------------- | -------------
[**pulp_import_check_post**](ImportersPulpImportCheckApi.md#pulp_import_check_post) | **POST** /pulp/api/v3/importers/core/pulp/import-check/ | Validate the parameters to be used for a PulpImport call



## pulp_import_check_post

> PulpImportCheckResponse pulp_import_check_post(pulp_import_check)

Validate the parameters to be used for a PulpImport call

Evaluates validity of proposed PulpImport parameters 'toc', 'path', and 'repo_mapping'.  * Checks that toc, path are in ALLOWED_IMPORT_PATHS * if ALLOWED:   * Checks that toc, path exist and are readable   * If toc specified, checks that containing dir is writeable * Checks that repo_mapping is valid JSON

### 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::ImportersPulpImportCheckApi.new
pulp_import_check = PulpcoreClient::PulpImportCheck.new # PulpImportCheck | 

begin
  #Validate the parameters to be used for a PulpImport call
  result = api_instance.pulp_import_check_post(pulp_import_check)
  p result
rescue PulpcoreClient::ApiError => e
  puts "Exception when calling ImportersPulpImportCheckApi->pulp_import_check_post: #{e}"
end
```

### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **pulp_import_check** | [**PulpImportCheck**](PulpImportCheck.md)|  | 

### Return type

[**PulpImportCheckResponse**](PulpImportCheckResponse.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

72 entries across 72 versions & 1 rubygems

Version Path
pulpcore_client-3.28.36 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.49.30 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.39.25 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.22.35 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.63.7 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.49.29 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.49.28 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.63.6 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.69.0 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.63.5 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.68.2 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.49.27 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.49.26 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.63.4 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.22.34 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.68.1 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.28.35 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.49.25 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.39.24 docs/ImportersPulpImportCheckApi.md
pulpcore_client-3.63.3 docs/ImportersPulpImportCheckApi.md