docs/ContentFilesApi.md in pulp_file_client-3.55.3 vs docs/ContentFilesApi.md in pulp_file_client-3.56.0
- old
+ new
@@ -34,11 +34,12 @@
relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
opts = {
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
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
- upload: 'upload_example' # String | An uncommitted upload that may be turned into the content unit.
+ upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
+ url: 'url_example' # String | A url that Pulp can download and turn into the content unit.
}
begin
#Create a file content
result = api_instance.create(relative_path, opts)
@@ -56,9 +57,10 @@
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
**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]
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
+ **url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
### Return type
[**AsyncOperationResponse**](AsyncOperationResponse.md)