docs/ContentCollectionVersionsApi.md in pulp_ansible_client-0.20.10 vs docs/ContentCollectionVersionsApi.md in pulp_ansible_client-0.21.0
- old
+ new
@@ -1,8 +1,8 @@
# PulpAnsibleClient::ContentCollectionVersionsApi
-All URIs are relative to *http://localhost:24817*
+All URIs are relative to *http://pulp*
Method | HTTP request | Description
------------- | ------------- | -------------
[**create**](ContentCollectionVersionsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_versions/ | Create a collection version
[**list**](ContentCollectionVersionsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_versions/ | List collection versions
@@ -30,14 +30,14 @@
config.password = 'YOUR PASSWORD'
end
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
opts = {
+ upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
artifact: 'artifact_example', # String | Artifact file representing the physical content
- upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
+ file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
expected_name: 'expected_name_example', # String | The name of the collection.
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
expected_version: 'expected_version_example' # String | The version of the collection.
}
@@ -53,13 +53,13 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
**artifact** | **String**| Artifact file representing the physical content | [optional]
- **upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
- **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
+ **file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
**expected_name** | **String**| The name of the collection. | [optional]
**expected_namespace** | **String**| The namespace of the collection. | [optional]
**expected_version** | **String**| The version of the collection. | [optional]
### Return type