Skip to content

Display Settings

List of valid attributes:

AttributeDescriptionSpecifics
date_formatDate FormatCannot be empty, Must be either yyyy-MM-dd or dd.MM.yyyy
discarded_atDate of removalNull or timestamp, cannot be set
languageLanguageCannot be empty, Must be either de or en
resource_idID of the record the display settings belong toCannot be set
resource_typeType of the record the display settings belong toCannot be set

Show

This endpoint returns JSON structured like this:

{
"data": {
"id": "c825720c-fe84-481f-8530-954ac92ae8cf",
"type": "display_settings",
"attributes": {
...
}
}
}

This endpoint returns the account’s default display settings. Newly created users inherit their settings from those.

HTTP Request

GET /api/v1/display_settings

Update

Example request:

{
"data": {
"type": "display_settings",
"attributes": {
"date_format": "dd.MM.yyyy",
"language": "de"
}
}
}

Example response:

{
"data": {
"id": "c825720c-fe84-481f-8530-954ac92ae8cf",
"type": "display_settings",
"attributes": {
...
}
}
}

This endpoint updates the account’s default display settings.

HTTP Request

PUT /api/v1/display_settings