PUT api/admin/app-appearance

Request Information

URI Parameters

None.

Body Parameters

AppAppearanceDto
NameDescriptionTypeAdditional information
FontScale

decimal number

None.

Accent

string

None.

TextColorLight

string

None.

TextColorDark

string

None.

MutedTextLight

string

None.

MutedTextDark

string

None.

BackgroundLight

string

None.

BackgroundDark

string

None.

Request Formats

application/json, text/json

Sample:
{
  "fontScale": 1.0,
  "accent": "sample string 2",
  "textColorLight": "sample string 3",
  "textColorDark": "sample string 4",
  "mutedTextLight": "sample string 5",
  "mutedTextDark": "sample string 6",
  "backgroundLight": "sample string 7",
  "backgroundDark": "sample string 8"
}

application/xml, text/xml

Sample:
<AppAppearanceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Del.Api.Models.Dtos">
  <Accent>sample string 2</Accent>
  <BackgroundDark>sample string 8</BackgroundDark>
  <BackgroundLight>sample string 7</BackgroundLight>
  <FontScale>1</FontScale>
  <MutedTextDark>sample string 6</MutedTextDark>
  <MutedTextLight>sample string 5</MutedTextLight>
  <TextColorDark>sample string 4</TextColorDark>
  <TextColorLight>sample string 3</TextColorLight>
</AppAppearanceDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AppAppearanceDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.