User Tools

Site Tools


api:pbx:app:settings:desktop:theme

API : PBX : APP: Settings : Desktop : Theme

Introduction

This request is used to retrieve a list of the available themes.

Request

URL https://api.telecomx.dk/pbx/app/settings/desktop/theme
Method GET
Access level PERSONAL, VIEWER, MANAGER, OWNER, RESELLER, RESELLER_ADMIN, ADMIN.

Query examples

https://api.telecomx.dk/pbx/app/settings/desktop/theme

Response

An array with themes.

JSON object
_id string Id of the theme
nameEn string Name of the theme in english
nameDa string Name of the theme in danish

Example - normal

[
  {
    _id: 'EARTH',
    nameEn: 'Earth',
    nameDa: 'Jord'
  },
  {
    _id: 'TEAL',
    nameEn: 'Teal',
    nameDa: 'Tyrkis'
  },
  {
    _id: 'DARK',
    nameEn: 'Dark mode',
    nameDa: 'Mørkt'
  }
]

Errors

Error code Message Description
403 access_denied Access denied
500 internal_error <Unspecified>
api/pbx/app/settings/desktop/theme.txt · Last modified: 2025/01/24 11:00 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki