windmill-api 1.684.1

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
# \VolumeApi

All URIs are relative to */api*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create_volume**]VolumeApi.md#create_volume | **POST** /w/{workspace}/volumes/create | Create a new volume
[**delete_volume**]VolumeApi.md#delete_volume | **DELETE** /w/{workspace}/volumes/delete/{name} | Delete a volume (admin only)
[**get_volume_storage**]VolumeApi.md#get_volume_storage | **GET** /w/{workspace}/volumes/storage | Get the volume storage name (secondary storage) or null for primary
[**list_volumes**]VolumeApi.md#list_volumes | **GET** /w/{workspace}/volumes/list | List all volumes in the workspace



## create_volume

> String create_volume(workspace, list_hub_integrations200_response_inner)
Create a new volume

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**list_hub_integrations200_response_inner** | [**ListHubIntegrations200ResponseInner**]ListHubIntegrations200ResponseInner.md |  | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: text/plain

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## delete_volume

> String delete_volume(workspace, name)
Delete a volume (admin only)

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**name** | **String** |  | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: text/plain

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_volume_storage

> String get_volume_storage(workspace)
Get the volume storage name (secondary storage) or null for primary

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_volumes

> Vec<models::Volume> list_volumes(workspace)
List all volumes in the workspace

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |

### Return type

[**Vec<models::Volume>**](Volume.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)