Display Settings
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
List of valid attributes:
| Attribute | Description | Specifics |
|---|---|---|
| date_format | Date Format | Cannot be empty, Must be either yyyy-MM-dd or dd.MM.yyyy |
| duration_format | Format used to display durations | Cannot be empty, Must be either hours-minutes or decimal |
| discarded_at | Date of removal | Null or timestamp, cannot be set |
| language | Language | Cannot be empty, Must be either de or en |
| resource_id | ID of the record the display settings belong to | Cannot be set |
| resource_type | Type of the record the display settings belong to | Cannot 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", "duration_format": "hours-minutes", "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