windmill-api 1.683.2

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

All URIs are relative to */api*

Method | HTTP request | Description
------------- | ------------- | -------------
[**delete_concurrency_group**]ConcurrencyGroupsApi.md#delete_concurrency_group | **DELETE** /concurrency_groups/prune/{concurrency_id} | Delete concurrency group
[**get_concurrency_key**]ConcurrencyGroupsApi.md#get_concurrency_key | **GET** /concurrency_groups/{id}/key | Get the concurrency key for a job that has concurrency limits enabled
[**list_concurrency_groups**]ConcurrencyGroupsApi.md#list_concurrency_groups | **GET** /concurrency_groups/list | List all concurrency groups
[**list_extended_jobs**]ConcurrencyGroupsApi.md#list_extended_jobs | **GET** /w/{workspace}/concurrency_groups/list_jobs | Get intervals of job runtime concurrency



## delete_concurrency_group

> serde_json::Value delete_concurrency_group(concurrency_id)
Delete concurrency group

### Parameters


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

> String get_concurrency_key(id)
Get the concurrency key for a job that has concurrency limits enabled

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** |  | [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_concurrency_groups

> Vec<models::ConcurrencyGroup> list_concurrency_groups()
List all concurrency groups

### Parameters

This endpoint does not need any parameter.

### Return type

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

> models::ExtendedJobs list_extended_jobs(workspace, concurrency_key, row_limit, created_by, label, parent_job, script_path_exact, script_path_start, schedule_path, script_hash, started_before, started_after, running, scheduled_for_before_now, completed_before, completed_after, created_before_queue, created_after_queue, job_kinds, args, tag, result, allow_wildcards, page, per_page, trigger_kind, is_skipped, is_flow_step, has_null_parent, success, all_workspaces, is_not_schedule)
Get intervals of job runtime concurrency

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**concurrency_key** | Option<**String**> |  |  |
**row_limit** | Option<**f64**> |  |  |
**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') |  |
**label** | Option<**String**> | filter by exact matching job label. Supports comma-separated list (e.g. 'deploy,release') and negation by prefixing all values with '!' (e.g. '!deploy,!release') |  |
**parent_job** | Option<**uuid::Uuid**> | The parent job that is at the origin and responsible for the execution of this script if any |  |
**script_path_exact** | Option<**String**> | filter by exact matching script path. Supports comma-separated list (e.g. 'f/script1,f/script2') and negation by prefixing all values with '!' (e.g. '!f/script1,!f/script2') |  |
**script_path_start** | Option<**String**> | filter by script path prefix. Supports comma-separated list (e.g. 'f/folder1,f/folder2') and negation by prefixing all values with '!' (e.g. '!f/folder1,!f/folder2') |  |
**schedule_path** | Option<**String**> | mask to filter by schedule path |  |
**script_hash** | Option<**String**> | mask to filter exact matching path |  |
**started_before** | Option<**String**> | filter on started before (inclusive) timestamp |  |
**started_after** | Option<**String**> | filter on started after (exclusive) timestamp |  |
**running** | Option<**bool**> | filter on running jobs |  |
**scheduled_for_before_now** | Option<**bool**> | filter on jobs scheduled_for before now (hence waitinf for a worker) |  |
**completed_before** | Option<**String**> | filter on started before (inclusive) timestamp |  |
**completed_after** | Option<**String**> | filter on started after (exclusive) timestamp |  |
**created_before_queue** | Option<**String**> | filter on jobs created before X for jobs in the queue only |  |
**created_after_queue** | Option<**String**> | filter on jobs created after X for jobs in the queue only |  |
**job_kinds** | Option<**String**> | filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies') |  |
**args** | Option<**String**> | filter on jobs containing those args as a json subset (@> in postgres) |  |
**tag** | Option<**String**> | filter by tag/worker group. Supports comma-separated list (e.g. 'gpu,highmem') and negation by prefixing all values with '!' (e.g. '!gpu,!highmem') |  |
**result** | Option<**String**> | filter on jobs containing those result as a json subset (@> in postgres) |  |
**allow_wildcards** | Option<**bool**> | allow wildcards (*) in the filter of label, tag, worker |  |
**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) |  |
**trigger_kind** | Option<**String**> | filter by trigger kind. Supports comma-separated list (e.g. 'schedule,webhook') and negation by prefixing all values with '!' (e.g. '!schedule,!webhook') |  |
**is_skipped** | Option<**bool**> | is the job skipped |  |
**is_flow_step** | Option<**bool**> | is the job a flow step |  |
**has_null_parent** | Option<**bool**> | has null parent |  |
**success** | Option<**bool**> | filter on successful jobs |  |
**all_workspaces** | Option<**bool**> | get jobs from all workspaces (only valid if request come from the `admins` workspace) |  |
**is_not_schedule** | Option<**bool**> | is not a scheduled job |  |

### Return type

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