orvanta-api 1.5.1

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

All URIs are relative to */api*

Method | HTTP request | Description
------------- | ------------- | -------------
[**archive_bpmn_flow_by_path**]BpmnFlowApi.md#archive_bpmn_flow_by_path | **POST** /w/{workspace}/bpmn_flows/archive/{path} | archive BPMN flow by path
[**create_bpmn_flow**]BpmnFlowApi.md#create_bpmn_flow | **POST** /w/{workspace}/bpmn_flows/create | create BPMN flow
[**delete_bpmn_flow_by_path**]BpmnFlowApi.md#delete_bpmn_flow_by_path | **DELETE** /w/{workspace}/bpmn_flows/delete/{path} | delete BPMN flow by path
[**exists_bpmn_flow_by_path**]BpmnFlowApi.md#exists_bpmn_flow_by_path | **GET** /w/{workspace}/bpmn_flows/exists/{path} | exists BPMN flow by path
[**get_bpmn_flow_by_path**]BpmnFlowApi.md#get_bpmn_flow_by_path | **GET** /w/{workspace}/bpmn_flows/get/{path} | get BPMN flow by path
[**get_bpmn_flow_by_path_with_draft**]BpmnFlowApi.md#get_bpmn_flow_by_path_with_draft | **GET** /w/{workspace}/bpmn_flows/get/draft/{path} | get BPMN flow by path with draft
[**get_bpmn_flow_history**]BpmnFlowApi.md#get_bpmn_flow_history | **GET** /w/{workspace}/bpmn_flows/history/p/{path} | get BPMN flow history by path
[**get_bpmn_flow_version**]BpmnFlowApi.md#get_bpmn_flow_version | **GET** /w/{workspace}/bpmn_flows/get/v/{version}/p/{path} | get BPMN flow version
[**list_bpmn_flows**]BpmnFlowApi.md#list_bpmn_flows | **GET** /w/{workspace}/bpmn_flows/list | list all BPMN flows
[**list_bpmn_paths**]BpmnFlowApi.md#list_bpmn_paths | **GET** /w/{workspace}/bpmn_flows/list_paths | list all BPMN flow paths
[**update_bpmn_flow**]BpmnFlowApi.md#update_bpmn_flow | **POST** /w/{workspace}/bpmn_flows/update/{path} | update BPMN flow



## archive_bpmn_flow_by_path

> String archive_bpmn_flow_by_path(workspace, path, archive_flow_by_path_request)
archive BPMN flow by path

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |
**archive_flow_by_path_request** | [**ArchiveFlowByPathRequest**]ArchiveFlowByPathRequest.md | archive BPMN flow | [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)


## create_bpmn_flow

> String create_bpmn_flow(workspace, new_bpmn_flow)
create BPMN flow

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**new_bpmn_flow** | [**NewBpmnFlow**]NewBpmnFlow.md | BPMN flow to create | [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_bpmn_flow_by_path

> String delete_bpmn_flow_by_path(workspace, path)
delete BPMN flow by path

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**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)


## exists_bpmn_flow_by_path

> bool exists_bpmn_flow_by_path(workspace, path)
exists BPMN flow by path

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**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_bpmn_flow_by_path

> models::BpmnFlow get_bpmn_flow_by_path(workspace, path)
get BPMN flow by path

### Parameters


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

### Return type

[**models::BpmnFlow**](BpmnFlow.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_bpmn_flow_by_path_with_draft

> models::BpmnFlowWithDraft get_bpmn_flow_by_path_with_draft(workspace, path)
get BPMN flow by path with draft

### Parameters


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

### Return type

[**models::BpmnFlowWithDraft**](BpmnFlowWithDraft.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_bpmn_flow_history

> Vec<models::BpmnFlowVersion> get_bpmn_flow_history(workspace, path)
get BPMN flow history by path

### Parameters


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

### Return type

[**Vec<models::BpmnFlowVersion>**](BpmnFlowVersion.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_bpmn_flow_version

> models::BpmnFlow get_bpmn_flow_version(workspace, version, path)
get BPMN flow version

### Parameters


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

### Return type

[**models::BpmnFlow**](BpmnFlow.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_bpmn_flows

> Vec<models::ListableBpmnFlow> list_bpmn_flows(workspace, page, per_page, order_desc, path_start, path_exact, show_archived, include_draft_only, label, edited_by, without_description)
list all BPMN flows

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**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) |  |
**path_start** | Option<**String**> | mask to filter matching starting path |  |
**path_exact** | Option<**String**> | mask to filter exact matching path |  |
**show_archived** | Option<**bool**> |  |  |
**include_draft_only** | Option<**bool**> |  |  |
**label** | Option<**String**> | Filter by label |  |
**edited_by** | Option<**String**> | Filter by the user who last edited the flow |  |
**without_description** | Option<**bool**> | Return NULL for description to reduce payload size |  |

### Return type

[**Vec<models::ListableBpmnFlow>**](ListableBpmnFlow.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_bpmn_paths

> Vec<String> list_bpmn_paths(workspace)
list all BPMN flow paths

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **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)


## update_bpmn_flow

> String update_bpmn_flow(workspace, path, new_bpmn_flow)
update BPMN flow

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |
**new_bpmn_flow** | [**NewBpmnFlow**]NewBpmnFlow.md | BPMN flow to update | [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)