# AvatarApi

All URIs are relative to *https://www.gitlab.com/api/v4*

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**getApiV4Avatar**](#getapiv4avatar) | **GET** /avatar | |

# **getApiV4Avatar**
> APIEntitiesAvatar getApiV4Avatar()

Return avatar url for a user

### Example

```typescript
import {
    AvatarApi,
    Configuration
} from 'berg';

const configuration = new Configuration();
const apiInstance = new AvatarApi(configuration);

let email: string; //Public email address of the user (default to undefined)
let size: number; //Single pixel dimension for Gravatar images (optional) (default to undefined)

const { status, data } = await apiInstance.getApiV4Avatar(
    email,
    size
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **email** | [**string**] | Public email address of the user | defaults to undefined|
| **size** | [**number**] | Single pixel dimension for Gravatar images | (optional) defaults to undefined|


### Return type

**APIEntitiesAvatar**

### Authorization

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

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Return avatar url for a user |  -  |

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

