docs/ContentFilesApi.md in pulp_file_client-3.49.14 vs docs/ContentFilesApi.md in pulp_file_client-3.49.15

- old
+ new

@@ -2,19 +2,19 @@ All URIs are relative to *http://localhost:24817* Method | HTTP request | Description ------------- | ------------- | ------------- -[**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**](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 +## create -> AsyncOperationResponse content_file_files_create(relative_path, opts) +> AsyncOperationResponse 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.content_file_files_create(relative_path, opts) + result = api_instance.create(relative_path, opts) p result rescue PulpFileClient::ApiError => e - puts "Exception when calling ContentFilesApi->content_file_files_create: #{e}" + puts "Exception when calling ContentFilesApi->create: #{e}" end ``` ### Parameters @@ -71,13 +71,13 @@ - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded - **Accept**: application/json -## content_file_files_list +## list -> PaginatedfileFileContentResponseList content_file_files_list(opts) +> PaginatedfileFileContentResponseList 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.content_file_files_list(opts) + result = api_instance.list(opts) p result rescue PulpFileClient::ApiError => e - puts "Exception when calling ContentFilesApi->content_file_files_list: #{e}" + puts "Exception when calling ContentFilesApi->list: #{e}" end ``` ### Parameters @@ -152,13 +152,13 @@ - **Content-Type**: Not defined - **Accept**: application/json -## content_file_files_read +## read -> FileFileContentResponse content_file_files_read(file_file_content_href, opts) +> FileFileContentResponse 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.content_file_files_read(file_file_content_href, opts) + result = api_instance.read(file_file_content_href, opts) p result rescue PulpFileClient::ApiError => e - puts "Exception when calling ContentFilesApi->content_file_files_read: #{e}" + puts "Exception when calling ContentFilesApi->read: #{e}" end ``` ### Parameters