# \QuarantineApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_quarantine_status**](QuarantineApi.md#get_quarantine_status) | **GET** /api/v1/quarantine/{artifact_id} | Get quarantine status for an artifact
[**reject_quarantined_artifact**](QuarantineApi.md#reject_quarantined_artifact) | **POST** /api/v1/quarantine/{artifact_id}/reject | Reject a quarantined artifact (admin only)
[**release_artifact**](QuarantineApi.md#release_artifact) | **POST** /api/v1/quarantine/{artifact_id}/release | Release an artifact from quarantine (admin only)



## get_quarantine_status

> models::QuarantineStatusResponse get_quarantine_status(artifact_id)
Get quarantine status for an artifact

### Parameters


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

### Return type

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


## reject_quarantined_artifact

> models::QuarantineActionResponse reject_quarantined_artifact(artifact_id, reject_request)
Reject a quarantined artifact (admin only)

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**artifact_id** | **uuid::Uuid** | Artifact ID | [required] |
**reject_request** | [**RejectRequest**](RejectRequest.md) |  | [required] |

### Return type

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


## release_artifact

> models::QuarantineActionResponse release_artifact(artifact_id)
Release an artifact from quarantine (admin only)

### Parameters


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

### Return type

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

