# PulpcoreClient::ExportersFilesystemExportsApi All URIs are relative to *http://localhost:24817* Method | HTTP request | Description ------------- | ------------- | ------------- [**exporters_core_filesystem_exports_create**](ExportersFilesystemExportsApi.md#exporters_core_filesystem_exports_create) | **POST** {filesystem_exporter_href}exports/ | Create a filesystem export [**exporters_core_filesystem_exports_delete**](ExportersFilesystemExportsApi.md#exporters_core_filesystem_exports_delete) | **DELETE** {filesystem_filesystem_export_href} | Delete a filesystem export [**exporters_core_filesystem_exports_list**](ExportersFilesystemExportsApi.md#exporters_core_filesystem_exports_list) | **GET** {filesystem_exporter_href}exports/ | List filesystem exports [**exporters_core_filesystem_exports_read**](ExportersFilesystemExportsApi.md#exporters_core_filesystem_exports_read) | **GET** {filesystem_filesystem_export_href} | Inspect a filesystem export ## exporters_core_filesystem_exports_create > AsyncOperationResponse exporters_core_filesystem_exports_create(filesystem_exporter_href, filesystem_export) Create a filesystem export Trigger an asynchronous task to export files to the filesystem ### Example ```ruby # load the gem require 'pulpcore_client' # setup authorization PulpcoreClient.configure do |config| # Configure HTTP basic authorization: basicAuth config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = PulpcoreClient::ExportersFilesystemExportsApi.new filesystem_exporter_href = 'filesystem_exporter_href_example' # String | filesystem_export = PulpcoreClient::FilesystemExport.new # FilesystemExport | begin #Create a filesystem export result = api_instance.exporters_core_filesystem_exports_create(filesystem_exporter_href, filesystem_export) p result rescue PulpcoreClient::ApiError => e puts "Exception when calling ExportersFilesystemExportsApi->exporters_core_filesystem_exports_create: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **filesystem_exporter_href** | **String**| | **filesystem_export** | [**FilesystemExport**](FilesystemExport.md)| | ### Return type [**AsyncOperationResponse**](AsyncOperationResponse.md) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data - **Accept**: application/json ## exporters_core_filesystem_exports_delete > exporters_core_filesystem_exports_delete(filesystem_filesystem_export_href) Delete a filesystem export Endpoint for managing FilesystemExports. ### Example ```ruby # load the gem require 'pulpcore_client' # setup authorization PulpcoreClient.configure do |config| # Configure HTTP basic authorization: basicAuth config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = PulpcoreClient::ExportersFilesystemExportsApi.new filesystem_filesystem_export_href = 'filesystem_filesystem_export_href_example' # String | begin #Delete a filesystem export api_instance.exporters_core_filesystem_exports_delete(filesystem_filesystem_export_href) rescue PulpcoreClient::ApiError => e puts "Exception when calling ExportersFilesystemExportsApi->exporters_core_filesystem_exports_delete: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **filesystem_filesystem_export_href** | **String**| | ### Return type nil (empty response body) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined ## exporters_core_filesystem_exports_list > PaginatedFilesystemExportResponseList exporters_core_filesystem_exports_list(filesystem_exporter_href, opts) List filesystem exports Endpoint for managing FilesystemExports. ### Example ```ruby # load the gem require 'pulpcore_client' # setup authorization PulpcoreClient.configure do |config| # Configure HTTP basic authorization: basicAuth config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = PulpcoreClient::ExportersFilesystemExportsApi.new filesystem_exporter_href = 'filesystem_exporter_href_example' # String | opts = { limit: 56, # Integer | Number of results to return per page. offset: 56, # Integer | The initial index from which to return the results. fields: ['fields_example'], # Array | A list of fields to include in the response. exclude_fields: ['exclude_fields_example'] # Array | A list of fields to exclude from the response. } begin #List filesystem exports result = api_instance.exporters_core_filesystem_exports_list(filesystem_exporter_href, opts) p result rescue PulpcoreClient::ApiError => e puts "Exception when calling ExportersFilesystemExportsApi->exporters_core_filesystem_exports_list: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **filesystem_exporter_href** | **String**| | **limit** | **Integer**| Number of results to return per page. | [optional] **offset** | **Integer**| The initial index from which to return the results. | [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 [**PaginatedFilesystemExportResponseList**](PaginatedFilesystemExportResponseList.md) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ## exporters_core_filesystem_exports_read > FilesystemExportResponse exporters_core_filesystem_exports_read(filesystem_filesystem_export_href, opts) Inspect a filesystem export Endpoint for managing FilesystemExports. ### Example ```ruby # load the gem require 'pulpcore_client' # setup authorization PulpcoreClient.configure do |config| # Configure HTTP basic authorization: basicAuth config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = PulpcoreClient::ExportersFilesystemExportsApi.new filesystem_filesystem_export_href = 'filesystem_filesystem_export_href_example' # String | opts = { fields: ['fields_example'], # Array | A list of fields to include in the response. exclude_fields: ['exclude_fields_example'] # Array | A list of fields to exclude from the response. } begin #Inspect a filesystem export result = api_instance.exporters_core_filesystem_exports_read(filesystem_filesystem_export_href, opts) p result rescue PulpcoreClient::ApiError => e puts "Exception when calling ExportersFilesystemExportsApi->exporters_core_filesystem_exports_read: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **filesystem_filesystem_export_href** | **String**| | **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 [**FilesystemExportResponse**](FilesystemExportResponse.md) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json