harbor-api 2.0.0

These APIs provide services for manipulating Harbor project.
Documentation
# \IconApi

All URIs are relative to *http://localhost/api/v2.0*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_icon**]IconApi.md#get_icon | **GET** /icons/{digest} | Get artifact icon



## get_icon

> models::Icon get_icon(digest, x_request_id)
Get artifact icon

Get the artifact icon with the specified digest. As the original icon image is resized and encoded before returning, the parameter \"digest\" in the path doesn't match the hash of the returned content

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**digest** | **String** | The digest of the resource | [required] |
**x_request_id** | Option<**String**> | An unique ID for the request |  |

### Return type

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

### Authorization

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

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