docs/ContentCollectionVersionsApi.md in pulp_ansible_client-0.14.0 vs docs/ContentCollectionVersionsApi.md in pulp_ansible_client-0.14.1
- old
+ new
@@ -33,13 +33,13 @@
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
name = 'name_example' # String | The name of the collection.
namespace = 'namespace_example' # String | The namespace of the collection.
version = 'version_example' # String | The version of the collection.
opts = {
+ repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
- upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
- repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
+ upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
}
begin
#Create a collection version
result = api_instance.create(name, namespace, version, opts)
@@ -55,12 +55,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**name** | **String**| The name of the collection. |
**namespace** | **String**| The namespace of the collection. |
**version** | **String**| The version of the collection. |
+ **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
**upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
- **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
### Return type
[**AsyncOperationResponse**](AsyncOperationResponse.md)