windmill-api 1.544.2

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

All URIs are relative to */api*

Method | HTTP request | Description
------------- | ------------- | -------------
[**list_assets**]AssetApi.md#list_assets | **GET** /w/{workspace}/assets/list | List all assets in the workspace
[**list_assets_by_usage**]AssetApi.md#list_assets_by_usage | **POST** /w/{workspace}/assets/list_by_usages | List all assets used by given usages paths



## list_assets

> Vec<models::ListAssets200ResponseInner> list_assets(workspace)
List all assets in the workspace

### Parameters


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

### Return type

[**Vec<models::ListAssets200ResponseInner>**](listAssets_200_response_inner.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)


## list_assets_by_usage

> Vec<Vec<models::ListAssetsByUsage200ResponseInnerInner>> list_assets_by_usage(workspace, list_assets_by_usage_request)
List all assets used by given usages paths

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**list_assets_by_usage_request** | [**ListAssetsByUsageRequest**]ListAssetsByUsageRequest.md | list assets by usages | [required] |

### Return type

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

### Authorization

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

### HTTP request headers

- **Content-Type**: application/json
- **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)