Operations with Specific AppearanceSettings
This resource lets you work with the Visual settings of your YouTrack service.
Resource |
|
---|---|
Returned entity | AppearanceSettings. For the description of the entity attributes, see Supported Fields section. |
Supported methods |
Represents the Visual settings of the YouTrack service.
Below you can find the list of resources that let you work with this entity.
This table describes attributes of the AppearanceSettings
entity.
To receive an attribute in the response from the server, specify it explicitly in the
fields
request parameter.To update an attribute, provide it in the body of a POST request.
Field | Type | Description |
---|---|---|
id | String | The ID of the AppearanceSettings. |
timeZone | Default application time zone | |
dateFieldFormat | Default format for dates presentation. | |
logo | Application logo. |
Read the Visual settings of your YouTrack service.
GET /api/admin/globalSettings/appearanceSettings?{fields}
null | Database ID of AppearanceSettings |
---|
Parameter | Type | Description |
---|---|---|
fields | String | A list of AppearanceSettings attributes that should be returned in the response. If no field is specified, only the |
https://example.youtrack.cloud/api/admin/globalSettings/appearanceSettings?fields=dateFieldFormat(datePattern,pattern,presentation),timeZone(id,presentation,offset)
{
"timeZone": {
"presentation": "Moscow Standard Time (UTC/GMT +3 hours)",
"id": "Europe/Moscow",
"offset": 180,
"$type": "TimeZoneDescriptor"
},
"dateFieldFormat": {
"pattern": "d MMM yyyy HH:mm",
"presentation": "Default date format (31 Dec 2000 23:59)",
"datePattern": "d MMM yyyy",
"$type": "DateFormatDescriptor"
},
"$type": "AppearanceSettings"
}
Change the Visual settings of your YouTrack service.
Requires permissions: Low-level Admin Write
POST /api/admin/globalSettings/appearanceSettings?{fields}
null | Database ID of AppearanceSettings |
---|
Parameter | Type | Description |
---|---|---|
fields | String | A list of AppearanceSettings attributes that should be returned in the response. If no field is specified, only the |
https://example.youtrack.cloud/api/admin/globalSettings/appearanceSettings?fields=dateFieldFormat(id,presentation),timeZone(id,presentation)
{
"timeZone": {
"id": "Europe/Moscow"
}
}
{
"timeZone": {
"presentation": "Moscow Standard Time (UTC/GMT +3 hours)",
"id": "Europe/Moscow",
"$type": "TimeZoneDescriptor"
},
"dateFieldFormat": {
"presentation": "Default date format (31 Dec 2000 23:59)",
"id": "",
"$type": "DateFormatDescriptor"
},
"$type": "AppearanceSettings"
}