docs/ContentCollectionVersionsApi.md in pulp_ansible_client-0.16.0 vs docs/ContentCollectionVersionsApi.md in pulp_ansible_client-0.16.1
- old
+ new
@@ -30,13 +30,13 @@
config.password = 'YOUR PASSWORD'
end
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
opts = {
- artifact: 'artifact_example', # String | Artifact file representing the physical content
file: File.new('/path/to/file'), # File | An uploaded file 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.
+ 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.
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
------------- | ------------- | ------------- | -------------
- **artifact** | **String**| Artifact file representing the physical content | [optional]
**file** | **File**| An uploaded file 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]
+ **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]
**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]
@@ -109,12 +109,12 @@
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
tags: 'tags_example', # String | Filter by comma separate list of tags that must all be matched
version: 'version_example', # String | Filter results where version matches value
- fields: 'fields_example', # String | A list of fields to include in the response.
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
}
begin
#List collection versions
result = api_instance.list(opts)
@@ -139,12 +139,12 @@
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
**tags** | **String**| Filter by comma separate list of tags that must all be matched | [optional]
**version** | **String**| Filter results where version matches value | [optional]
- **fields** | **String**| A list of fields to include in the response. | [optional]
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
+ **fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
+ **exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
### Return type
[**PaginatedansibleCollectionVersionResponseList**](PaginatedansibleCollectionVersionResponseList.md)
@@ -179,12 +179,12 @@
end
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
ansible_collection_version_href = 'ansible_collection_version_href_example' # String |
opts = {
- fields: 'fields_example', # String | A list of fields to include in the response.
- exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
}
begin
#Inspect a collection version
result = api_instance.read(ansible_collection_version_href, opts)
@@ -198,11 +198,11 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ansible_collection_version_href** | **String**| |
- **fields** | **String**| A list of fields to include in the response. | [optional]
- **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
+ **fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
+ **exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
### Return type
[**AnsibleCollectionVersionResponse**](AnsibleCollectionVersionResponse.md)