# \QualityApi

All URIs are relative to *http://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create_gate**](QualityApi.md#create_gate) | **POST** /api/v1/quality/gates | 
[**delete_gate**](QualityApi.md#delete_gate) | **DELETE** /api/v1/quality/gates/{id} | 
[**evaluate_gate**](QualityApi.md#evaluate_gate) | **POST** /api/v1/quality/gates/evaluate/{artifact_id} | 
[**get_artifact_health**](QualityApi.md#get_artifact_health) | **GET** /api/v1/quality/health/artifacts/{artifact_id} | 
[**get_check**](QualityApi.md#get_check) | **GET** /api/v1/quality/checks/{id} | 
[**get_gate**](QualityApi.md#get_gate) | **GET** /api/v1/quality/gates/{id} | 
[**get_health_dashboard**](QualityApi.md#get_health_dashboard) | **GET** /api/v1/quality/health/dashboard | 
[**get_repo_health**](QualityApi.md#get_repo_health) | **GET** /api/v1/quality/health/repositories/{key} | 
[**list_check_issues**](QualityApi.md#list_check_issues) | **GET** /api/v1/quality/checks/{id}/issues | 
[**list_checks**](QualityApi.md#list_checks) | **GET** /api/v1/quality/checks | 
[**list_gates**](QualityApi.md#list_gates) | **GET** /api/v1/quality/gates | 
[**suppress_issue**](QualityApi.md#suppress_issue) | **POST** /api/v1/quality/issues/{id}/suppress | 
[**trigger_checks**](QualityApi.md#trigger_checks) | **POST** /api/v1/quality/checks/trigger | 
[**unsuppress_issue**](QualityApi.md#unsuppress_issue) | **DELETE** /api/v1/quality/issues/{id}/suppress | 
[**update_gate**](QualityApi.md#update_gate) | **PUT** /api/v1/quality/gates/{id} | 



## create_gate

> models::GateResponse create_gate(create_gate_request)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**create_gate_request** | [**CreateGateRequest**](CreateGateRequest.md) |  | [required] |

### Return type

[**models::GateResponse**](GateResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### 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)


## delete_gate

> serde_json::Value delete_gate(id)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Quality gate ID | [required] |

### Return type

[**serde_json::Value**](serde_json::Value.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### 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)


## evaluate_gate

> models::GateEvaluationResponse evaluate_gate(artifact_id, repository_id)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**artifact_id** | **uuid::Uuid** | Artifact ID to evaluate | [required] |
**repository_id** | Option<**uuid::Uuid**> |  |  |

### Return type

[**models::GateEvaluationResponse**](GateEvaluationResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### 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_artifact_health

> models::ArtifactHealthResponse get_artifact_health(artifact_id)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**artifact_id** | **uuid::Uuid** | Artifact ID | [required] |

### Return type

[**models::ArtifactHealthResponse**](ArtifactHealthResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### 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_check

> models::CheckResponse get_check(id)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Check result ID | [required] |

### Return type

[**models::CheckResponse**](CheckResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### 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_gate

> models::GateResponse get_gate(id)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Quality gate ID | [required] |

### Return type

[**models::GateResponse**](GateResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### 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_health_dashboard

> models::HealthDashboardResponse get_health_dashboard()


### Parameters

This endpoint does not need any parameter.

### Return type

[**models::HealthDashboardResponse**](HealthDashboardResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### 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_repo_health

> models::RepoHealthResponse get_repo_health(key)


### Parameters


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

### Return type

[**models::RepoHealthResponse**](RepoHealthResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### 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_check_issues

> Vec<models::IssueResponse> list_check_issues(id)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Check result ID | [required] |

### Return type

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

### Authorization

[bearer_auth](../README.md#bearer_auth)

### 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_checks

> Vec<models::CheckResponse> list_checks(artifact_id, repository_id)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**artifact_id** | Option<**uuid::Uuid**> |  |  |
**repository_id** | Option<**uuid::Uuid**> |  |  |

### Return type

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

### Authorization

[bearer_auth](../README.md#bearer_auth)

### 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_gates

> Vec<models::GateResponse> list_gates()


### Parameters

This endpoint does not need any parameter.

### Return type

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

### Authorization

[bearer_auth](../README.md#bearer_auth)

### 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)


## suppress_issue

> models::IssueResponse suppress_issue(id, suppress_issue_request)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Issue ID | [required] |
**suppress_issue_request** | [**SuppressIssueRequest**](SuppressIssueRequest.md) |  | [required] |

### Return type

[**models::IssueResponse**](IssueResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### 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)


## trigger_checks

> models::TriggerChecksResponse trigger_checks(trigger_checks_request)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**trigger_checks_request** | [**TriggerChecksRequest**](TriggerChecksRequest.md) |  | [required] |

### Return type

[**models::TriggerChecksResponse**](TriggerChecksResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### 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)


## unsuppress_issue

> models::IssueResponse unsuppress_issue(id)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Issue ID | [required] |

### Return type

[**models::IssueResponse**](IssueResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### 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_gate

> models::GateResponse update_gate(id, update_gate_request)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Quality gate ID | [required] |
**update_gate_request** | [**UpdateGateRequest**](UpdateGateRequest.md) |  | [required] |

### Return type

[**models::GateResponse**](GateResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### 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)

