# \AppApi
All URIs are relative to */api*
[**create_app**](AppApi.md#create_app) | **POST** /w/{workspace}/apps/create | create app
[**custom_path_exists**](AppApi.md#custom_path_exists) | **GET** /w/{workspace}/apps/custom_path_exists/{custom_path} | check if custom path exists
[**delete_app**](AppApi.md#delete_app) | **DELETE** /w/{workspace}/apps/delete/{path} | delete app
[**delete_s3_file_from_app**](AppApi.md#delete_s3_file_from_app) | **DELETE** /w/{workspace}/apps_u/delete_s3_file | delete s3 file from app
[**execute_component**](AppApi.md#execute_component) | **POST** /w/{workspace}/apps_u/execute_component/{path} | executeComponent
[**exists_app**](AppApi.md#exists_app) | **GET** /w/{workspace}/apps/exists/{path} | does an app exisst at path
[**get_app_by_path**](AppApi.md#get_app_by_path) | **GET** /w/{workspace}/apps/get/p/{path} | get app by path
[**get_app_by_path_with_draft**](AppApi.md#get_app_by_path_with_draft) | **GET** /w/{workspace}/apps/get/draft/{path} | get app by path with draft
[**get_app_by_version**](AppApi.md#get_app_by_version) | **GET** /w/{workspace}/apps/get/v/{id} | get app by version
[**get_app_history_by_path**](AppApi.md#get_app_history_by_path) | **GET** /w/{workspace}/apps/history/p/{path} | get app history by path
[**get_app_latest_version**](AppApi.md#get_app_latest_version) | **GET** /w/{workspace}/apps/get_latest_version/{path} | get apps's latest version
[**get_app_lite_by_path**](AppApi.md#get_app_lite_by_path) | **GET** /w/{workspace}/apps/get/lite/{path} | get app lite by path
[**get_hub_app_by_id**](AppApi.md#get_hub_app_by_id) | **GET** /apps/hub/get/{id} | get hub app by id
[**get_hub_raw_app_by_id**](AppApi.md#get_hub_raw_app_by_id) | **GET** /apps/hub/get_raw/{id} | get hub raw app by id
[**get_public_app_by_custom_path**](AppApi.md#get_public_app_by_custom_path) | **GET** /apps_u/public_app_by_custom_path/{custom_path} | get public app by custom path
[**get_public_app_by_secret**](AppApi.md#get_public_app_by_secret) | **GET** /w/{workspace}/apps_u/public_app/{path} | get public app by secret
[**get_public_resource**](AppApi.md#get_public_resource) | **GET** /w/{workspace}/apps_u/public_resource/{path} | get public resource
[**get_public_secret_of_app**](AppApi.md#get_public_secret_of_app) | **GET** /w/{workspace}/apps/secret_of/{path} | get public secret of app
[**get_public_secret_of_latest_version_of_app**](AppApi.md#get_public_secret_of_latest_version_of_app) | **GET** /w/{workspace}/apps/secret_of_latest_version/{path} | get public secret of latest version of an app bundle
[**get_raw_app_data**](AppApi.md#get_raw_app_data) | **GET** /w/{workspace}/apps/get_data/v/{secretWithExtension} | get raw app data by
[**list_app_paths_from_workspace_runnable**](AppApi.md#list_app_paths_from_workspace_runnable) | **GET** /w/{workspace}/apps/list_paths_from_workspace_runnable/{runnable_kind}/{path} | list app paths from workspace runnable
[**list_apps**](AppApi.md#list_apps) | **GET** /w/{workspace}/apps/list | list all apps
[**list_hub_apps**](AppApi.md#list_hub_apps) | **GET** /apps/hub/list | list all hub apps
[**list_search_app**](AppApi.md#list_search_app) | **GET** /w/{workspace}/apps/list_search | list apps for search
[**sign_s3_objects**](AppApi.md#sign_s3_objects) | **POST** /w/{workspace}/apps/sign_s3_objects | sign s3 objects, to be used by anonymous users in public apps
[**update_app**](AppApi.md#update_app) | **POST** /w/{workspace}/apps/update/{path} | update app
[**update_app_history**](AppApi.md#update_app_history) | **POST** /w/{workspace}/apps/history_update/a/{id}/v/{version} | update app history
[**upload_s3_file_from_app**](AppApi.md#upload_s3_file_from_app) | **POST** /w/{workspace}/apps_u/upload_s3_file/{path} | upload s3 file from app
## create_app
> String create_app(workspace, create_app_request)
create app
### Parameters
**workspace** | **String** | | [required] |
**create_app_request** | [**CreateAppRequest**](CreateAppRequest.md) | new app | [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)
## custom_path_exists
> bool custom_path_exists(workspace, custom_path)
check if custom path exists
### Parameters
**workspace** | **String** | | [required] |
**custom_path** | **String** | | [required] |
### Return type
**bool**
### 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)
## delete_app
> String delete_app(workspace, path)
delete app
### Parameters
**workspace** | **String** | | [required] |
**path** | **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)
## delete_s3_file_from_app
> String delete_s3_file_from_app(workspace, delete_token)
delete s3 file from app
### Parameters
**workspace** | **String** | | [required] |
**delete_token** | **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)
## execute_component
> String execute_component(workspace, path, execute_component_request)
executeComponent
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
**execute_component_request** | [**ExecuteComponentRequest**](ExecuteComponentRequest.md) | update app | [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)
## exists_app
> bool exists_app(workspace, path)
does an app exisst at path
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
**bool**
### 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)
## get_app_by_path
> models::AppWithLastVersion get_app_by_path(workspace, path, with_starred_info)
get app by path
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
**with_starred_info** | Option<**bool**> | | |
### Return type
[**models::AppWithLastVersion**](AppWithLastVersion.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)
## get_app_by_path_with_draft
> models::AppWithLastVersionWDraft get_app_by_path_with_draft(workspace, path)
get app by path with draft
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
[**models::AppWithLastVersionWDraft**](AppWithLastVersionWDraft.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)
## get_app_by_version
> models::AppWithLastVersion get_app_by_version(workspace, id)
get app by version
### Parameters
**workspace** | **String** | | [required] |
**id** | **i32** | | [required] |
### Return type
[**models::AppWithLastVersion**](AppWithLastVersion.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)
## get_app_history_by_path
> Vec<models::AppHistory> get_app_history_by_path(workspace, path)
get app history by path
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
[**Vec<models::AppHistory>**](AppHistory.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)
## get_app_latest_version
> models::AppHistory get_app_latest_version(workspace, path)
get apps's latest version
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
[**models::AppHistory**](AppHistory.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)
## get_app_lite_by_path
> models::AppWithLastVersion get_app_lite_by_path(workspace, path)
get app lite by path
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
[**models::AppWithLastVersion**](AppWithLastVersion.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)
## get_hub_app_by_id
> models::GetHubAppById200Response get_hub_app_by_id(id)
get hub app by id
### Parameters
**id** | **i32** | | [required] |
### Return type
[**models::GetHubAppById200Response**](getHubAppById_200_response.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)
## get_hub_raw_app_by_id
> models::GetHubAppById200Response get_hub_raw_app_by_id(id)
get hub raw app by id
### Parameters
**id** | **i32** | | [required] |
### Return type
[**models::GetHubAppById200Response**](getHubAppById_200_response.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)
## get_public_app_by_custom_path
> models::GetPublicAppByCustomPath200Response get_public_app_by_custom_path(custom_path)
get public app by custom path
### Parameters
**custom_path** | **String** | | [required] |
### Return type
[**models::GetPublicAppByCustomPath200Response**](getPublicAppByCustomPath_200_response.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)
## get_public_app_by_secret
> models::AppWithLastVersion get_public_app_by_secret(workspace, path)
get public app by secret
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
[**models::AppWithLastVersion**](AppWithLastVersion.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)
## get_public_resource
> serde_json::Value get_public_resource(workspace, path)
get public resource
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
[**serde_json::Value**](serde_json::Value.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)
## get_public_secret_of_app
> String get_public_secret_of_app(workspace, path)
get public secret of app
### Parameters
**workspace** | **String** | | [required] |
**path** | **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_public_secret_of_latest_version_of_app
> String get_public_secret_of_latest_version_of_app(workspace, path)
get public secret of latest version of an app bundle
### Parameters
**workspace** | **String** | | [required] |
**path** | **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_raw_app_data
> String get_raw_app_data(workspace, secret_with_extension)
get raw app data by
### Parameters
**workspace** | **String** | | [required] |
**secret_with_extension** | **String** | | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/javascript
[[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_app_paths_from_workspace_runnable
> Vec<String> list_app_paths_from_workspace_runnable(workspace, runnable_kind, path)
list app paths from workspace runnable
### Parameters
**workspace** | **String** | | [required] |
**runnable_kind** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
**Vec<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_apps
> Vec<models::ListableApp> list_apps(workspace, page, per_page, order_desc, created_by, path_start, path_exact, starred_only, include_draft_only, with_deployment_msg, label)
list all apps
### Parameters
**workspace** | **String** | | [required] |
**page** | Option<**i32**> | which page to return (start at 1, default 1) | |
**per_page** | Option<**i32**> | number of items to return for a given page (default 30, max 100) | |
**order_desc** | Option<**bool**> | order by desc order (default true) | |
**created_by** | Option<**String**> | filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob') | |
**path_start** | Option<**String**> | mask to filter matching starting path | |
**path_exact** | Option<**String**> | mask to filter exact matching path | |
**starred_only** | Option<**bool**> | (default false) show only the starred items | |
**include_draft_only** | Option<**bool**> | (default false) include items that have no deployed version | |
**with_deployment_msg** | Option<**bool**> | (default false) include deployment message | |
**label** | Option<**String**> | Filter by label | |
### Return type
[**Vec<models::ListableApp>**](ListableApp.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_hub_apps
> models::ListHubApps200Response list_hub_apps()
list all hub apps
### Parameters
This endpoint does not need any parameter.
### Return type
[**models::ListHubApps200Response**](listHubApps_200_response.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_search_app
> Vec<models::ListSearchResource200ResponseInner> list_search_app(workspace)
list apps for search
### Parameters
**workspace** | **String** | | [required] |
### Return type
[**Vec<models::ListSearchResource200ResponseInner>**](listSearchResource_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)
## sign_s3_objects
> Vec<models::S3Object> sign_s3_objects(workspace, sign_s3_objects_request)
sign s3 objects, to be used by anonymous users in public apps
### Parameters
**workspace** | **String** | | [required] |
**sign_s3_objects_request** | [**SignS3ObjectsRequest**](SignS3ObjectsRequest.md) | s3 objects to sign | [required] |
### Return type
[**Vec<models::S3Object>**](S3Object.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)
## update_app
> String update_app(workspace, path, update_app_request)
update app
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
**update_app_request** | [**UpdateAppRequest**](UpdateAppRequest.md) | update app | [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)
## update_app_history
> String update_app_history(workspace, id, version, update_script_history_request)
update app history
### Parameters
**workspace** | **String** | | [required] |
**id** | **i32** | | [required] |
**version** | **i32** | | [required] |
**update_script_history_request** | [**UpdateScriptHistoryRequest**](UpdateScriptHistoryRequest.md) | App deployment message | [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)
## upload_s3_file_from_app
> models::UploadS3FileFromApp200Response upload_s3_file_from_app(workspace, path, body, file_key, file_extension, s3_resource_path, resource_type, storage, content_type, content_disposition)
upload s3 file from app
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
**body** | **std::path::PathBuf** | File content | [required] |
**file_key** | Option<**String**> | | |
**file_extension** | Option<**String**> | | |
**s3_resource_path** | Option<**String**> | | |
**resource_type** | Option<**String**> | | |
**storage** | Option<**String**> | | |
**content_type** | Option<**String**> | | |
**content_disposition** | Option<**String**> | | |
### Return type
[**models::UploadS3FileFromApp200Response**](uploadS3FileFromApp_200_response.md)
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/octet-stream
- **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)