# \CertificatesApi
All URIs are relative to *http://localhost*
[**api_certificates_get**](CertificatesApi.md#api_certificates_get) | **GET** /api/certificates |
[**api_certificates_id_delete**](CertificatesApi.md#api_certificates_id_delete) | **DELETE** /api/certificates/{id} |
[**api_certificates_id_put**](CertificatesApi.md#api_certificates_id_put) | **PUT** /api/certificates/{id} |
[**api_certificates_post**](CertificatesApi.md#api_certificates_post) | **POST** /api/certificates |
## api_certificates_get
> crate::models::CertificateItemPage api_certificates_get(search_text, page_index, page_size, sort_by, is_sorted_ascending)
### Parameters
**search_text** | Option<**String**> | | |[default to ]
**page_index** | Option<**i32**> | | |[default to 0]
**page_size** | Option<**i32**> | | |[default to 50]
**sort_by** | Option<**String**> | | |[default to Name]
**is_sorted_ascending** | Option<**bool**> | | |[default to true]
### Return type
[**crate::models::CertificateItemPage**](CertificateItemPage.md)
### Authorization
[Bearer](../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain, application/json, text/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)
## api_certificates_id_delete
> api_certificates_id_delete(id)
### Parameters
**id** | **uuid::Uuid** | | [required] |
### Return type
(empty response body)
### Authorization
[Bearer](../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[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)
## api_certificates_id_put
> api_certificates_id_put(id, update_certificate_command)
### Parameters
**id** | **uuid::Uuid** | | [required] |
**update_certificate_command** | Option<[**UpdateCertificateCommand**](UpdateCertificateCommand.md)> | | |
### Return type
(empty response body)
### Authorization
[Bearer](../README.md#Bearer)
### HTTP request headers
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json
- **Accept**: Not defined
[[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)
## api_certificates_post
> uuid::Uuid api_certificates_post(create_certificate_command)
### Parameters
**create_certificate_command** | Option<[**CreateCertificateCommand**](CreateCertificateCommand.md)> | | |
### Return type
[**uuid::Uuid**](uuid::Uuid.md)
### Authorization
[Bearer](../README.md#Bearer)
### HTTP request headers
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json
- **Accept**: text/plain, application/json, text/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)