docs/ContentFilesApi.md in pulp_file_client-3.55.1 vs docs/ContentFilesApi.md in pulp_file_client-3.55.2
- old
+ new
@@ -1,20 +1,20 @@
# PulpFileClient::ContentFilesApi
-All URIs are relative to *http://pulp*
+All URIs are relative to *http://localhost:24817*
Method | HTTP request | Description
------------- | ------------- | -------------
-[**create**](ContentFilesApi.md#create) | **POST** /pulp/api/v3/content/file/files/ | Create a file content
-[**list**](ContentFilesApi.md#list) | **GET** /pulp/api/v3/content/file/files/ | List file contents
-[**read**](ContentFilesApi.md#read) | **GET** {file_file_content_href} | Inspect a file content
+[**content_file_files_create**](ContentFilesApi.md#content_file_files_create) | **POST** /pulp/api/v3/content/file/files/ | Create a file content
+[**content_file_files_list**](ContentFilesApi.md#content_file_files_list) | **GET** /pulp/api/v3/content/file/files/ | List file contents
+[**content_file_files_read**](ContentFilesApi.md#content_file_files_read) | **GET** {file_file_content_href} | Inspect a file content
-## create
+## content_file_files_create
-> AsyncOperationResponse create(relative_path, opts)
+> AsyncOperationResponse content_file_files_create(relative_path, opts)
Create a file content
Trigger an asynchronous task to create content,optionally create new repository version.
@@ -39,14 +39,14 @@
upload: 'upload_example' # String | An uncommitted upload that may be turned into the content unit.
}
begin
#Create a file content
- result = api_instance.create(relative_path, opts)
+ result = api_instance.content_file_files_create(relative_path, opts)
p result
rescue PulpFileClient::ApiError => e
- puts "Exception when calling ContentFilesApi->create: #{e}"
+ puts "Exception when calling ContentFilesApi->content_file_files_create: #{e}"
end
```
### Parameters
@@ -71,13 +71,13 @@
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
- **Accept**: application/json
-## list
+## content_file_files_list
-> PaginatedfileFileContentResponseList list(opts)
+> PaginatedfileFileContentResponseList content_file_files_list(opts)
List file contents
FileContent represents a single file and its metadata, which can be added and removed from repositories.
@@ -111,14 +111,14 @@
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
}
begin
#List file contents
- result = api_instance.list(opts)
+ result = api_instance.content_file_files_list(opts)
p result
rescue PulpFileClient::ApiError => e
- puts "Exception when calling ContentFilesApi->list: #{e}"
+ puts "Exception when calling ContentFilesApi->content_file_files_list: #{e}"
end
```
### Parameters
@@ -152,13 +152,13 @@
- **Content-Type**: Not defined
- **Accept**: application/json
-## read
+## content_file_files_read
-> FileFileContentResponse read(file_file_content_href, opts)
+> FileFileContentResponse content_file_files_read(file_file_content_href, opts)
Inspect a file content
FileContent represents a single file and its metadata, which can be added and removed from repositories.
@@ -181,13 +181,13 @@
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
}
begin
#Inspect a file content
- result = api_instance.read(file_file_content_href, opts)
+ result = api_instance.content_file_files_read(file_file_content_href, opts)
p result
rescue PulpFileClient::ApiError => e
- puts "Exception when calling ContentFilesApi->read: #{e}"
+ puts "Exception when calling ContentFilesApi->content_file_files_read: #{e}"
end
```
### Parameters