GET api/consumer/v1/users/settings/{key}

Get a user setting

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

Key of the setting

string

Required

Body Parameters

None

Response Information

Resource Description

The setting

UserSettingDto
NameDescriptionTypeAdditional information
User

User

UserMinDto

None

Key

The key

string

None

Value

The value

string

None

Id

Unique ID

integer

None

Response Formats

application/json, text/json

Sample:
{
  "User": {
    "Login": "sample string 1",
    "FullName": "sample string 2",
    "Avatar": "sample string 3",
    "Id": 4
  },
  "Key": "sample string 1",
  "Value": "sample string 2",
  "Id": 3
}

application/xml, text/xml

Sample:
<UserSettingDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models">
  <Id>3</Id>
  <Key>sample string 1</Key>
  <User>
    <Id>4</Id>
    <Avatar>sample string 3</Avatar>
    <FullName>sample string 2</FullName>
    <Login>sample string 1</Login>
  </User>
  <Value>sample string 2</Value>
</UserSettingDto>