artifact-keeper-client 1.2.1

Rust client for the Artifact Keeper REST API
Documentation
# \SearchApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**advanced_search**]SearchApi.md#advanced_search | **GET** /api/v1/search/advanced | 
[**checksum_search**]SearchApi.md#checksum_search | **GET** /api/v1/search/checksum | 
[**quick_search**]SearchApi.md#quick_search | **GET** /api/v1/search/quick | 
[**recent**]SearchApi.md#recent | **GET** /api/v1/search/recent | 
[**suggest**]SearchApi.md#suggest | **GET** /api/v1/search/suggest | 
[**trending**]SearchApi.md#trending | **GET** /api/v1/search/trending | 



## advanced_search

> models::AdvancedSearchResponse advanced_search(query, format, repository_key, name, path, version, min_size, max_size, created_after, created_before, page, per_page, sort_by, sort_order)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**query** | Option<**String**> |  |  |
**format** | Option<**String**> |  |  |
**repository_key** | Option<**String**> |  |  |
**name** | Option<**String**> |  |  |
**path** | Option<**String**> |  |  |
**version** | Option<**String**> |  |  |
**min_size** | Option<**i64**> |  |  |
**max_size** | Option<**i64**> |  |  |
**created_after** | Option<**String**> |  |  |
**created_before** | Option<**String**> |  |  |
**page** | Option<**i32**> |  |  |
**per_page** | Option<**i32**> |  |  |
**sort_by** | Option<**String**> |  |  |
**sort_order** | Option<**String**> |  |  |

### Return type

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

### Authorization

No authorization required

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


## checksum_search

> models::ChecksumSearchResponse checksum_search(checksum, algorithm)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**checksum** | **String** |  | [required] |
**algorithm** | Option<**String**> |  |  |

### Return type

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

### Authorization

No authorization required

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


## quick_search

> models::QuickSearchResponse quick_search(q, limit, types)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**q** | Option<**String**> |  |  |
**limit** | Option<**i64**> |  |  |
**types** | Option<**String**> |  |  |

### Return type

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

### Authorization

No authorization required

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


## recent

> Vec<models::SearchResultItem> recent(limit)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**limit** | Option<**i64**> |  |  |

### Return type

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

### Authorization

No authorization required

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


## suggest

> models::SuggestResponse suggest(prefix, limit)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**prefix** | **String** |  | [required] |
**limit** | Option<**i64**> |  |  |

### Return type

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

### Authorization

No authorization required

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


## trending

> Vec<models::SearchResultItem> trending(days, limit)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**days** | Option<**i32**> |  |  |
**limit** | Option<**i64**> |  |  |

### Return type

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

### Authorization

No authorization required

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