# ApplicationApi

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

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**getApiV4ApplicationAppearance**](#getapiv4applicationappearance) | **GET** /application/appearance | |
|[**putApiV4ApplicationAppearance**](#putapiv4applicationappearance) | **PUT** /application/appearance | |

# **getApiV4ApplicationAppearance**
> APIEntitiesAppearance getApiV4ApplicationAppearance()

Get the current appearance

### Example

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

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

const { status, data } = await apiInstance.getApiV4ApplicationAppearance();
```

### Parameters
This endpoint does not have any parameters.


### Return type

**APIEntitiesAppearance**

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Get the current appearance |  -  |

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

# **putApiV4ApplicationAppearance**
> APIEntitiesAppearance putApiV4ApplicationAppearance()

Modify appearance

### Example

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

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

let title: string; //Instance title on the sign in / sign up page (optional) (default to undefined)
let description: string; //Markdown text shown on the sign in / sign up page (optional) (default to undefined)
let pwaName: string; //Name of the Progressive Web App (optional) (default to undefined)
let pwaShortName: string; //Optional, short name for Progressive Web App (optional) (default to undefined)
let pwaDescription: string; //An explanation of what the Progressive Web App does (optional) (default to undefined)
let logo: File; //Instance image used on the sign in / sign up page (optional) (default to undefined)
let pwaIcon: File; //Icon used for Progressive Web App (optional) (default to undefined)
let headerLogo: File; //Instance image used for the main navigation bar (optional) (default to undefined)
let favicon: File; //Instance favicon in .ico/.png format (optional) (default to undefined)
let newProjectGuidelines: string; //Markdown text shown on the new project page (optional) (default to undefined)
let profileImageGuidelines: string; //Markdown text shown on the profile page below Public Avatar (optional) (default to undefined)
let headerMessage: string; //Message within the system header bar (optional) (default to undefined)
let footerMessage: string; //Message within the system footer bar (optional) (default to undefined)
let messageBackgroundColor: string; //Background color for the system header / footer bar (optional) (default to undefined)
let messageFontColor: string; //Font color for the system header / footer bar (optional) (default to undefined)
let emailHeaderAndFooterEnabled: boolean; //Add header and footer to all outgoing emails if enabled (optional) (default to undefined)

const { status, data } = await apiInstance.putApiV4ApplicationAppearance(
    title,
    description,
    pwaName,
    pwaShortName,
    pwaDescription,
    logo,
    pwaIcon,
    headerLogo,
    favicon,
    newProjectGuidelines,
    profileImageGuidelines,
    headerMessage,
    footerMessage,
    messageBackgroundColor,
    messageFontColor,
    emailHeaderAndFooterEnabled
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **title** | [**string**] | Instance title on the sign in / sign up page | (optional) defaults to undefined|
| **description** | [**string**] | Markdown text shown on the sign in / sign up page | (optional) defaults to undefined|
| **pwaName** | [**string**] | Name of the Progressive Web App | (optional) defaults to undefined|
| **pwaShortName** | [**string**] | Optional, short name for Progressive Web App | (optional) defaults to undefined|
| **pwaDescription** | [**string**] | An explanation of what the Progressive Web App does | (optional) defaults to undefined|
| **logo** | [**File**] | Instance image used on the sign in / sign up page | (optional) defaults to undefined|
| **pwaIcon** | [**File**] | Icon used for Progressive Web App | (optional) defaults to undefined|
| **headerLogo** | [**File**] | Instance image used for the main navigation bar | (optional) defaults to undefined|
| **favicon** | [**File**] | Instance favicon in .ico/.png format | (optional) defaults to undefined|
| **newProjectGuidelines** | [**string**] | Markdown text shown on the new project page | (optional) defaults to undefined|
| **profileImageGuidelines** | [**string**] | Markdown text shown on the profile page below Public Avatar | (optional) defaults to undefined|
| **headerMessage** | [**string**] | Message within the system header bar | (optional) defaults to undefined|
| **footerMessage** | [**string**] | Message within the system footer bar | (optional) defaults to undefined|
| **messageBackgroundColor** | [**string**] | Background color for the system header / footer bar | (optional) defaults to undefined|
| **messageFontColor** | [**string**] | Font color for the system header / footer bar | (optional) defaults to undefined|
| **emailHeaderAndFooterEnabled** | [**boolean**] | Add header and footer to all outgoing emails if enabled | (optional) defaults to undefined|


### Return type

**APIEntitiesAppearance**

### Authorization

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

### HTTP request headers

 - **Content-Type**: multipart/form-data
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Modify appearance |  -  |

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

